VYPR
Critical severity10.0NVD Advisory· Published Jun 1, 2026

CVE-2026-40965

CVE-2026-40965

Description

Cloud Foundry UAA versions v76.12.0-v78.12.0 expose EC private keys via the /token_keys endpoint, allowing attackers to forge JWT tokens.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Cloud Foundry UAA versions v76.12.0-v78.12.0 expose EC private keys via the /token_keys endpoint, allowing attackers to forge JWT tokens.

Vulnerability

Cloud Foundry UAA versions v76.12.0 through v78.12.0 are vulnerable to a private key exposure. The server incorrectly exposes private key components for EC keys through the public /token_keys endpoint, which is intended for public key material for JWT verification. This affects deployments using EC keys for JWT signing, but not RSA key configurations [1].

Exploitation

An unauthenticated attacker with network access to the /token_keys endpoint can exploit this vulnerability. The attacker simply needs to make a request to the /token_keys endpoint to retrieve the exposed EC private key components. This allows the attacker to forge JWT tokens that appear to be legitimately signed by the server [1].

Impact

Successful exploitation allows an attacker to forge JWT tokens, which can lead to unauthorized access to protected resources or impersonation of legitimate users. This could result in significant security breaches, including data disclosure and unauthorized actions within the Cloud Foundry environment [1].

Mitigation

Users of uaa_release should upgrade to v78.13.0 or later. For CF Deployment, upgrade to v56.1.0 or later, which includes uaa_release v78.13.0. These versions address the vulnerability by preventing the exposure of EC private keys [1].

AI Insight generated on Jun 1, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

3
  • Cloudfoundry/Uaainferred2 versions
    >=v76.12.0,<v78.13.0+ 1 more
    • (no CPE)range: >=v76.12.0,<v78.13.0
    • (no CPE)range: v76.12.0 through v78.12.0
  • Range: v30.0.0 through v56.0.0

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

1

News mentions

0

No linked articles in our index yet.