{"vuln_id":"GHSA-v2wp-frmc-5q3v","aliases":["CVE-2026-55166"],"description":"Lemur: ACME SSRF + creator-equality IDOR lead to AWS IAM/PKI compromise","published_at":"2026-06-25T22:07:19Z","modified_at":"2026-11-16T15:35:56Z","first_seen_at":"2026-11-21T19:15:20.315917Z","severity":"critical","severity_source":"ghsa","cvss_score":9.9,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","cwe":["CWE-285","CWE-639","CWE-918"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-v2wp-frmc-5q3v"},"matched_alias":null,"items":[{"id":2562,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-v2wp-frmc-5q3v / CVE-2026-55166: Lemur: ACME SSRF + creator-equality IDOR lead to AWS IAM/PKI compromise","summary":"Lemur: ACME SSRF + creator-equality IDOR lead to AWS IAM/PKI compromise\n\nLemur 1.9.0: any SSO-authenticated user achieves AWS IAM compromise and permanent PKI key access via ACME acme_url SSRF and creator-equality IDOR\n\nVulnerability Summary\n\nField | Value\n-- | --\nTitle | Lemur 1.9.0: any SSO-authenticated user achieves AWS IAM compromise and permanent PKI key access via ACME acme_url SSRF and creator-equality IDOR\nComponent | lemur/lemur/plugins/lemur_acme/acme_handlers.py:161-201 (SSRF), lemur/lemur/certificates/views.py:734 (IDOR), lemur/lemur/auth/views.py:300-308 (SSO auto-provision)\nCWE | CWE-918 (SSRF) + CWE-639 (Authorization Bypass Through User-Controlled Key) + CWE-285 (Improper Authorization)\nAttack Prerequisite | A valid SSO session against the deployment's IdP. Lemur auto-provisions any new SSO identity at active=True, so an attacker with corporate SSO (or any federated IdP Lemur trusts) clears this bar.\nAffected Versions | github.com/Netflix/lemur __version__ = \"1.9.0\" (see lemur/lemur/__about__.py) and every prior release that carries the same three sinks.\n\nExecutive Summary\n\nA low-privilege user with a freshly-provisioned SSO account turns Lemur into an AWS IAM credential-exfiltration tool and walks away with a permanent copy of any TLS private key Lemur issued. Three sinks combine: (1) Lemur auto-creates every new SSO identity as\nactive=True\nwith no admin approval; (2) the ACME authority-creation endpoint accepts an attacker-supplied\nacme_url\nand fetches it server-side with no allowlist, reaching EC2 IMDS at\n169.254.169.254\n; (3) the certificate key-fetch endpoint grants\ncert.user\n(the original creator) unconditional access even after ownership is transferred to a different team. The combined chain hands the attacker AWS STS credentials of the lemur worker role and a PKI private key that survives the customary \"rotate the owner\" remediation. I reproduced the full chain in an isolated Docker lab. The recording is on asciinema and the offline\n.cast\nships with this report.\n\nWalkthrough:\nhttps://asciinema.org/a/CFYaoR2fxWEIdZDf\n\nDescription\n\nLemur is Netflix's TLS certificate management service. It brokers between corporate SSO, internal authorities (CFSSL, an internal CA), and ACME-style external authorities such as Let's Encrypt. The bug here is a chain of three independent decisions in three different files, each defensible on its own, that combine into a critical authorization break.\n\nSink 1 — SSO auto-provision\n(\nlemur/lemur/auth/views.py:300-308\n). When a new federa\n\nAffected packages: pip:lemur\nPatched: lemur 1.9.2","url":"https://github.com/advisories/GHSA-v2wp-frmc-5q3v","published_at":"2026-06-25T22:07:19Z","updated_at":"2026-11-16T15:35:56Z","fetched_at":"2026-11-21T19:15:18.416935Z","severity":"critical","cvss_score":9.9,"epss":0.00287,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"lemur","vuln_id":"CVE-2026-55166","vuln_ids":["CVE-2026-55166","GHSA-V2WP-FRMC-5Q3V"],"tags":["ghsa","pip","CWE-285","CWE-639","CWE-918"],"cluster_id":2572,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2562","html":"https://vulnwatch.ve1ve2.com/item/2562"}}]}