# CVE-2026-55165: Lemur : JWT verifier trusts attacker-supplied alg from token header — defense-in-depth gap; chain-dependent ATO with secret disclosure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-347
- **Aliases:** GHSA-r9gp-7f88-9r54, PYSEC-2026-2589
- **Published:** 2026-06-25T22:05:17.000Z
- **Modified:** 2026-09-08T21:02:26.047Z

## Who should check

- Projects that depend on PyPI package lemur (\< 1.9.2)
- Anyone running Netflix lemur \< 1.9.2

## Description

Lemur manages TLS certificate creation. Prior to 1.9.2, the JWT verifier in lemur/auth/service.py:130-137 used fetch\_token\_header to read header\_data\["alg"\] from an unverified token and passed that attacker-controlled value to decode\_with\_multiple\_secrets. PyJWT 2.x rejects alg=none with the configured key, so the flaw is a defense-in-depth gap rather than a direct authentication bypass in the shipped configuration. The unpinned algorithm can become exploitable after an asymmetric-signing migration through algorithm confusion, and it weakens algorithm-based anomaly detection because the token chooses the recorded value. A separate disclosure of LEMUR\_TOKEN\_SECRET would also permit forged HS256 tokens, although that disclosure is an independent prerequisite. The fix introduces the server-controlled LEMUR\_TOKEN\_ALGORITHMS allowlist and defaults it to HS256. This issue is fixed in version 1.9.2.

## Affected and fixed versions

- PyPI `lemur`: affected \< 1.9.2; fixed 1.9.2 (osv)
- Netflix lemur: \< 1.9.2 (cvelist)

## Mitigation

- Upgrade lemur to 1.9.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55165. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55165.md
Affected: lemur < 1.9.2
Fixed in: 1.9.2

Steps:
1. Search this machine and project for lemur (PyPI), Netflix lemur: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55165 being exploited?

There is no confirmed exploitation: CVE-2026-55165 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55165?

Medium: CVSS 4.8 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

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

lemur \< 1.9.2.

### Is there a fix for CVE-2026-55165?

Yes. Fixed in 1.9.2. Upgrade lemur to 1.9.2 or later.

### How do I check if I'm affected by CVE-2026-55165?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Netflix/lemur/security/advisories/GHSA-r9gp-7f88-9r54>
- vendor: <https://github.com/advisories/GHSA-r9gp-7f88-9r54>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-55165>
- patch: <https://github.com/Netflix/lemur/commit/89898e665beed044cf7bd5927dfaa484e55bf242>
- other: <https://github.com/Netflix/lemur/releases/tag/v1.9.2>
- other: <https://github.com/Netflix/lemur>
- other: <https://pypi.org/project/lemur>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55165>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r9gp-7f88-9r54> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2589> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55165> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55165>
