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

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T22:05:17.000Z
- Modified: 2026-09-08T21:02:26.047Z
- Also known as: GHSA-r9gp-7f88-9r54, PYSEC-2026-2589
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Netflix lemur: < 1.9.2
- lemur (PyPI): before 1.9.2

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/Netflix/lemur/security/advisories/GHSA-r9gp-7f88-9r54> (exploit, web)
- <https://github.com/Netflix/lemur/commit/89898e665beed044cf7bd5927dfaa484e55bf242>
- <https://github.com/Netflix/lemur/releases/tag/v1.9.2> (web)
- <https://github.com/Netflix/lemur> (package)
- <https://pypi.org/project/lemur> (package)
- <https://github.com/advisories/GHSA-r9gp-7f88-9r54> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55165> (advisory)

## Sources

- CVE List: [CVE-2026-55165](https://www.cve.org/CVERecord?id=CVE-2026-55165), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-r9gp-7f88-9r54](https://github.com/advisories/GHSA-r9gp-7f88-9r54), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-55165](https://nvd.nist.gov/vuln/detail/CVE-2026-55165), Public domain, modified 2026-09-08
- PyPA Advisory Database: [PYSEC-2026-2589](https://osv.dev/vulnerability/PYSEC-2026-2589), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-55165 · Whole record: https://cve.day/CVE-2026-55165.json · Rebuilt by cve.day 2026-11-25T22:59:33.555Z
