/

CVE-2026-105034

Severity:

HIGH RISK

(8.2)

Improper Authentication (CWE-287) in Eilik NestJS Auth

CVE-2026-105034

Deferred

Vulnerability type

Category:

Improper Authentication

CWE:

CWE-287, CWE-306

Impact:

Unauthorized Device Impersonation

Severity:

HIGH RISK

(8.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

The EnergizeLab Eilik NestJS authentication service issues valid device tokens for arbitrary robot serial numbers without verifying the requester's identity. An unauthenticated remote attacker may obtain a token for another device and use it to impersonate that device against connected cloud services.

The EnergizeLab Eilik NestJS authentication service issues valid device tokens for arbitrary robot serial numbers without verifying the requester's identity. An unauthenticated remote attacker may obtain a token for another device and use it to impersonate that device against connected cloud services.

Affected context

The vulnerability occurs in deployments where the Eilik NestJS authentication service accepts a robot serial number as sufficient authority for issuing a device token. It is especially risky when the service is reachable remotely, does not require prior authentication, and cloud APIs trust issued tokens as proof of device identity.

The vulnerability occurs in deployments where the Eilik NestJS authentication service accepts a robot serial number as sufficient authority for issuing a device token. It is especially risky when the service is reachable remotely, does not require prior authentication, and cloud APIs trust issued tokens as proof of device identity.

Exploit preconditions

  • Attack surface: Remotely reachable device-token issuance endpoint
  • Required access: No authentication or valid device credentials
  • Trigger point: A token request containing a robot serial number
  • Why exploitation is possible: The service does not establish ownership of the requested serial number before issuing a token
  • Attack surface: Remotely reachable device-token issuance endpoint
  • Required access: No authentication or valid device credentials
  • Trigger point: A token request containing a robot serial number
  • Why exploitation is possible: The service does not establish ownership of the requested serial number before issuing a token

Why this happens

The underlying flaw is an authentication decision based on an attacker-controlled device identifier. A serial number functions as an identifier, but the service treats it as proof of identity and issues a bearer token without an independent authentication or ownership check. This maps primarily to CWE-287: Improper Authentication and is also consistent with CWE-306: Missing Authentication for Critical Function.

The underlying flaw is an authentication decision based on an attacker-controlled device identifier. A serial number functions as an identifier, but the service treats it as proof of identity and issues a bearer token without an independent authentication or ownership check. This maps primarily to CWE-287: Improper Authentication and is also consistent with CWE-306: Missing Authentication for Critical Function.

Potential impact

  • An attacker could impersonate arbitrary registered robots
  • Cloud services may accept unauthorized commands or requests as a device
  • Device-associated data could be accessed, modified, or exposed
  • Device activity and audit records could be attributed to the impersonated robot
  • Compromised tokens could support broader abuse of trusted cloud-service workflows
  • An attacker could impersonate arbitrary registered robots
  • Cloud services may accept unauthorized commands or requests as a device
  • Device-associated data could be accessed, modified, or exposed
  • Device activity and audit records could be attributed to the impersonated robot
  • Compromised tokens could support broader abuse of trusted cloud-service workflows

General mitigation guidance

Mitigation generally focuses on ensuring that device identifiers are not treated as authentication credentials.

Common defensive patterns include:

  • Require strong device authentication or mutual proof of possession before issuing tokens
  • Bind tokens to verified device credentials, cryptographic keys, or enrollment records
  • Validate device ownership and enrollment state on every token-issuance path
  • Apply least privilege and narrow scopes to device tokens
  • Use short token lifetimes with rotation and revocation capabilities
  • Rate-limit and monitor authentication-related requests
  • Avoid exposing token-issuance endpoints without an authenticated trust bootstrap

Mitigation generally focuses on ensuring that device identifiers are not treated as authentication credentials.

Common defensive patterns include:

  • Require strong device authentication or mutual proof of possession before issuing tokens
  • Bind tokens to verified device credentials, cryptographic keys, or enrollment records
  • Validate device ownership and enrollment state on every token-issuance path
  • Apply least privilege and narrow scopes to device tokens
  • Use short token lifetimes with rotation and revocation capabilities
  • Rate-limit and monitor authentication-related requests
  • Avoid exposing token-issuance endpoints without an authenticated trust bootstrap

How teams detect issues like this

Organizations can look for:

  • Static analysis and code review findings where user-supplied serial numbers directly authorize token creation
  • Authentication handlers that issue bearer tokens without credential, signature, or ownership verification
  • API policies requiring authentication on device enrollment and token-issuance operations
  • Logs showing repeated token requests for multiple serial numbers from unauthenticated clients
  • Tests that attempt token issuance for unowned, unknown, or already-enrolled devices

Automated API security testing and policy checks can help identify endpoints that expose privileged token-generation behavior without authentication.

Organizations can look for:

  • Static analysis and code review findings where user-supplied serial numbers directly authorize token creation
  • Authentication handlers that issue bearer tokens without credential, signature, or ownership verification
  • API policies requiring authentication on device enrollment and token-issuance operations
  • Logs showing repeated token requests for multiple serial numbers from unauthenticated clients
  • Tests that attempt token issuance for unowned, unknown, or already-enrolled devices

Automated API security testing and policy checks can help identify endpoints that expose privileged token-generation behavior without authentication.

Sources

SourceLink
github.comgithub.com/xn0tsa/your-secrets-are-safe-with-me
takeonme.orgtakeonme.org/gcves/GCVE-1337-2026-00000000000000000001111111111100000000000000000000000011111111001111111111000000000000000000010110111111111100000000000000000001110/
theverge.comtheverge.com/tech/1010727/eiliko-robot-hack-energize-lab

Frequently asked

questions

Yes. The described service accepts unauthenticated remote requests, so exploitation does not require local access when the endpoint is externally reachable.

The attacker needs a target serial number or another identifier accepted by the service. Possession of the serial number should not, by itself, grant device authority.

Require an independently verified device credential or proof of possession before issuing a token, and bind the token to the authenticated device identity.

Treat identifiers as lookup values rather than credentials, enforce authentication on all privileged token-issuance paths, apply narrow token scopes, and test authorization boundaries during API reviews.

Yes. The described service accepts unauthenticated remote requests, so exploitation does not require local access when the endpoint is externally reachable.

The attacker needs a target serial number or another identifier accepted by the service. Possession of the serial number should not, by itself, grant device authority.

Require an independently verified device credential or proof of possession before issuing a token, and bind the token to the authenticated device identity.

Treat identifiers as lookup values rather than credentials, enforce authentication on all privileged token-issuance paths, apply narrow token scopes, and test authorization boundaries during API reviews.

Find out what's already
exploitable in your codebase.