# CVE-2026-134460: web-token jwt-framework 1.2.0 before 3.4.10 Missing Authentication in Chacha20Poly1305 Key Encryption

> Attackers on the token path can modify encrypted content keys undetected in apps using experimental Chacha20Poly1305 key encryption.

- **Severity:** Medium 6.3 (`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** Yes (`encryptKey()`, `decryptKey()`)
- **Fix available:** No
- **Published:** 21 Nov 2026
- **Updated:** 25 Nov 2026
- **Also known as:** GHSA-6vvh-pxr4-25r7, GHSA-jx3v-ph8p-hg73, MINI-xxxm-7h36-88xx

## What is CVE-2026-134460?

CVE-2026-134460 is a medium-severity weak cryptography vulnerability in web-token jwt-experimental, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

web-token jwt-framework 1.2.0 before 3.4.10, jwt-experimental before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 contain a missing integrity check in the experimental Chacha20Poly1305 key-encryption algorithm, which discards the Poly1305 tag in encryptKey() and calls openssl_decrypt() without it in decryptKey(). Attackers on the token path can modify the encrypted content encryption key undetected.

Weakness: CWE-353 (Missing Support for Integrity Check)

## Which versions are affected by CVE-2026-134460?

4 open source packages ship an affected version, including web-token/jwt-experimental and web-token/jwt-library.

An affected version is only exploitable if your software calls encryptKey() or decryptKey(). Many projects that include it are not exposed.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `web-token/jwt-experimental` | Packagist | `pkg:composer/web-token/jwt-experimental` | All versions to 4.1.6 | None |
| `web-token/jwt-library` | Packagist | `pkg:composer/web-token/jwt-library` | All versions | 3.4.10 |
| `web-token/jwt-library` | Packagist | `pkg:composer/web-token/jwt-library` | From 4.0.0 | 4.0.7 |
| `web-token/jwt-library` | Packagist | `pkg:composer/web-token/jwt-library` | From 4.1.0 | 4.1.7 |

Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Upstream |  | fixed | `web-token/jwt-library`, `web-token/jwt-experimental` | 3.4.10, 4.0.7, 4.1.7 |

## How do I fix CVE-2026-134460?

Upgrade each affected package to the fixed version listed for it above. Each package has its own fixed versions.

## Is CVE-2026-134460 being exploited?

There is no known exploitation of CVE-2026-134460 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-134460 and fix it if it is affected.

What it is: CVE-2026-134460 is a medium-severity weak cryptography vulnerability in web-token jwt-experimental, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-134460 in the wild and no public exploit code.
Exposure: An affected version is only exploitable if your software calls encryptKey() or decryptKey(). Many projects that include it are not exposed.

Affected packages and fixed versions:
- web-token/jwt-experimental (Packagist): affected all versions up to 4.1.6; no fix listed
- web-token/jwt-library (Packagist): affected all versions; fixed in 3.4.10
- web-token/jwt-library (Packagist): affected from 4.0.0; fixed in 4.0.7
- web-token/jwt-library (Packagist): affected from 4.1.0; fixed in 4.1.7

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
   If an affected version is present, also search the code for calls to encryptKey() or decryptKey() and report whether any exist.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-134460/ (Markdown: https://insights.sbomify.com/CVE-2026-134460/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-134460
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-134460
- OSV: https://osv.dev/vulnerability/CVE-2026-134460

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-134460/
Summaries are generated and may contain mistakes; the official description above is the record.
