CVE-2026-71308
Lemur: Unchecked `replaces[]` lets any user silence notifications and hijack auto-rotation for arbitrary certificates
Lemur manages TLS certificate creation. From 0.5.0 until 1.9.3, certificate create, upload, and edit requests accepted replaces[] or replacements identifiers that AssociatedCertificateSchema resolved with fetch_objects without a CertificatePermission check. Assigning those objects to Certificate.replaces invoked an append listener that disabled the victim certificate notifications and marked it as replaced. The victim was then excluded from get_all_pending_reissue, and certificate_rotate could deploy the attacker certificate to endpoints serving the victim. An authenticated non-read-only user could target certificates for which the user had no ownership or role, suppress lifecycle automation, and cause fleet-wide TLS disruption or unauthorized substitution. The fix authorizes every referenced replacement certificate before mutation. This issue is fixed in version 1.9.3.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
Lemur: Unchecked `replaces[]` lets any user silence notifications and hijack auto-rotation for arbitrary certificates
Lemur manages TLS certificate creation. From 0.5.0 until 1.9.3, certificate create, upload, and edit requests accepted replaces[] or replacements identifiers that AssociatedCertificateSchema resolved with fetch_objects without a CertificatePermission check. Assigning those objects to Certificate.replaces invoked an append listener that disabled the victim certificate notifications and marked it as replaced. The victim was then excluded from get_all_pending_reissue, and certificate_rotate could deploy the attacker certificate to endpoints serving the victim. An authenticated non-read-only user could target certificates for which the user had no ownership or role, suppress lifecycle automation, and cause fleet-wide TLS disruption or unauthorized substitution. The fix authorizes every referenced replacement certificate before mutation. This issue is fixed in version 1.9.3.
- Record
CVE-2026-71308- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-639, CWE-862
- Updated
- 2026-11-02
EUVDEUVD-2026-61152
8.1
Lemur manages TLS certificate creation. From 0.5.0 until 1.9.3, certificate create, upload, and edit requests accepted replaces[] or replacements identifiers that AssociatedCertificateSchema resolved with fetch_objects without a CertificatePermission check. Assigning those objects to Certificate.replaces invoked an append listener that disabled the victim certificate notifications and marked it as replaced. The victim was then excluded from get_all_pending_reissue, and certificate_rotate could deploy the attacker certificate to endpoints serving the victim. An authenticated non-read-only user could target certificates for which the user had no ownership or role, suppress lifecycle automation, and cause fleet-wide TLS disruption or unauthorized substitution. The fix authorizes every referenced replacement certificate before mutation. This issue is fixed in version 1.9.3.
- Record
EUVD-2026-61152- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-cfh6-pv5c-38jv
8.1
Lemur: Unchecked `replaces[]` lets any user silence notifications and hijack auto-rotation for arbitrary certificates
Summary
Repo under test: https://github.com/Netflix/lemur
The certificate create and upload endpoints accept a replaces[] (alias replacements) array that is resolved to live Certificate ORM objects with no ownership or CertificatePermission check on the referenced certificates. The SQLAlchemy Certificate.replaces append listener then immediately sets victim.notify = False and populates victim.replaced. From that point the victim certificate is excluded from auto-reissue, its expiration notifications are silenced, and the periodic certificate_rotate Celery task deploys the attacker's certificate (endpoint.certificate.replaced[0]) onto every endpoint serving the victim certificate.
Any authenticated non-read-only user can therefore silently substitute their own certificate onto production load balancers and Kubernetes secrets they hold no role on, while suppressing the legitimate certificate's lifecycle automation.
Affected route
POST /api/1/certificates
POST /api/1/certificates/upload
PUT /api/1/certificates/<id>
Affected code
lemur/certificates/schemas.py:402—replaces = fields.Nested(AssociatedCertificateSchema, missing=[], many=True)accepted on create/upload/editlemur/schemas.py:152—AssociatedCertificateSchemaresolves any certificate by id/name viafetch_objects(Certificate, data)with no permission checklemur/certificates/views.py:651— onlyStrictRolePermission().can()gates/certificates/upload; no check ondata['replaces']lemur/certificates/models.py:506—@event.listens_for(Certificate.replaces, 'append')setsvalue.notify = Falseon the victimlemur/certificates/service.py:277—get_all_pending_reissue()filtersnot_(Certificate.replaced.any()), excluding the victimlemur/certificates/cli.py:347—request_rotation(endpoint, endpoint.certificate.replaced[0], message, commit)deploys the attacker certlemur/common/celery.py:638— periodiccertificate_rotatetask runscli_certificate.rotate(..., commit=True)lemur/deployment/service.py:17—endpoint.source.plugin.update_endpoint(endpoint, new_cert)pushes to ELB/CloudFront/ACM/K8s
Impact
An authenticated insider or holder of a stolen low-privilege token can, without holding any role on a target certificate:
- Upload a self-signed or attacker-minted certificate listing arbitrary high-value production certificate IDs in
replaces. - Immediately disable expiration notifications and auto-reissue for those production certificates.
- On the next scheduled
certificate_rotateCelery run, have the attacker's certificate pushed to every endpoint (AWS ELB/CloudFront/ACM, Kubernetes, SFTP, etc.) currently serving the victim certificate, while the legitimate certificate is detached.
Minimum impact is fleet-wide TLS denial of service equivalent to mass revocation. Where internal clients trust the substituted chain (or combined with the sub-CA finding LEMUR-BUG-07), it escalates to TLS interception. This directly violates the invariant that a user may only modify or revoke a certificate if they are its owner, a member of an owning role, or an administrator.
Root cause
AssociatedCertificateSchema.get_object calls fetch_objects(Certificate, data) and returns the ORM rows verbatim. No caller on the create/upload/edit path iterates the…
- Record
GHSA-cfh6-pv5c-38jv- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-639, CWE-862
- Updated
- 2026-11-02
NVD
8.1
Lemur manages TLS certificate creation. From 0.5.0 until 1.9.3, certificate create, upload, and edit requests accepted replaces[] or replacements identifiers that AssociatedCertificateSchema resolved with fetch_objects without a CertificatePermission check. Assigning those objects to Certificate.replaces invoked an append listener that disabled the victim certificate notifications and marked it as replaced. The victim was then excluded from get_all_pending_reissue, and certificate_rotate could deploy the attacker certificate to endpoints serving the victim. An authenticated non-read-only user could target certificates for which the user had no ownership or role, suppress lifecycle automation, and cause fleet-wide TLS disruption or unauthorized substitution. The fix authorizes every referenced replacement certificate before mutation. This issue is fixed in version 1.9.3.
- Record
CVE-2026-71308- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-639, CWE-862
- Updated
- 2026-11-02
OSV
8.1
Lemur: Unchecked `replaces[]` lets any user silence notifications and hijack auto-rotation for arbitrary certificates
Lemur manages TLS certificate creation. From 0.5.0 until 1.9.3, certificate create, upload, and edit requests accepted replaces[] or replacements identifiers that AssociatedCertificateSchema resolved with fetch_objects without a CertificatePermission check. Assigning those objects to Certificate.replaces invoked an append listener that disabled the victim certificate notifications and marked it as replaced. The victim was then excluded from get_all_pending_reissue, and certificate_rotate could deploy the attacker certificate to endpoints serving the victim. An authenticated non-read-only user could target certificates for which the user had no ownership or role, suppress lifecycle automation, and cause fleet-wide TLS disruption or unauthorized substitution. The fix authorizes every referenced replacement certificate before mutation. This issue is fixed in version 1.9.3.
- Record
CVE-2026-71308- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-639, CWE-862
- Updated
- 2026-11-02
OSVGHSA-cfh6-pv5c-38jv
8.1
Lemur: Unchecked `replaces[]` lets any user silence notifications and hijack auto-rotation for arbitrary certificates
Summary
Repo under test: https://github.com/Netflix/lemur
The certificate create and upload endpoints accept a replaces[] (alias replacements) array that is resolved to live Certificate ORM objects with no ownership or CertificatePermission check on the referenced certificates. The SQLAlchemy Certificate.replaces append listener then immediately sets victim.notify = False and populates victim.replaced. From that point the victim certificate is excluded from auto-reissue, its expiration notifications are silenced, and the periodic certificate_rotate Celery task deploys the attacker's certificate (endpoint.certificate.replaced[0]) onto every endpoint serving the victim certificate.
Any authenticated non-read-only user can therefore silently substitute their own certificate onto production load balancers and Kubernetes secrets they hold no role on, while suppressing the legitimate certificate's lifecycle automation.
Affected route
POST /api/1/certificates
POST /api/1/certificates/upload
PUT /api/1/certificates/<id>
Affected code
lemur/certificates/schemas.py:402—replaces = fields.Nested(AssociatedCertificateSchema, missing=[], many=True)accepted on create/upload/editlemur/schemas.py:152—AssociatedCertificateSchemaresolves any certificate by id/name viafetch_objects(Certificate, data)with no permission checklemur/certificates/views.py:651— onlyStrictRolePermission().can()gates/certificates/upload; no check ondata['replaces']lemur/certificates/models.py:506—@event.listens_for(Certificate.replaces, 'append')setsvalue.notify = Falseon the victimlemur/certificates/service.py:277—get_all_pending_reissue()filtersnot_(Certificate.replaced.any()), excluding the victimlemur/certificates/cli.py:347—request_rotation(endpoint, endpoint.certificate.replaced[0], message, commit)deploys the attacker certlemur/common/celery.py:638— periodiccertificate_rotatetask runscli_certificate.rotate(..., commit=True)lemur/deployment/service.py:17—endpoint.source.plugin.update_endpoint(endpoint, new_cert)pushes to ELB/CloudFront/ACM/K8s
Impact
An authenticated insider or holder of a stolen low-privilege token can, without holding any role on a target certificate:
- Upload a self-signed or attacker-minted certificate listing arbitrary high-value production certificate IDs in
replaces. - Immediately disable expiration notifications and auto-reissue for those production certificates.
- On the next scheduled
certificate_rotateCelery run, have the attacker's certificate pushed to every endpoint (AWS ELB/CloudFront/ACM, Kubernetes, SFTP, etc.) currently serving the victim certificate, while the legitimate certificate is detached.
Minimum impact is fleet-wide TLS denial of service equivalent to mass revocation. Where internal clients trust the substituted chain (or combined with the sub-CA finding LEMUR-BUG-07), it escalates to TLS interception. This directly violates the invariant that a user may only modify or revoke a certificate if they are its owner, a member of an owning role, or an administrator.
Root cause
AssociatedCertificateSchema.get_object calls fetch_objects(Certificate, data) and returns the ORM rows verbatim. No caller on the create/upload/edit path iterates the…
- Record
GHSA-cfh6-pv5c-38jv- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Weakness
- CWE-639, CWE-862
- Updated
- 2026-11-02
OSVPYSEC-2026-3675
8.1
Lemur: Unchecked `replaces[]` lets any user silence notifications and hijack auto-rotation for arbitrary certificates
Summary
Repo under test: https://github.com/Netflix/lemur
The certificate create and upload endpoints accept a replaces[] (alias replacements) array that is resolved to live Certificate ORM objects with no ownership or CertificatePermission check on the referenced certificates. The SQLAlchemy Certificate.replaces append listener then immediately sets victim.notify = False and populates victim.replaced. From that point the victim certificate is excluded from auto-reissue, its expiration notifications are silenced, and the periodic certificate_rotate Celery task deploys the attacker's certificate (endpoint.certificate.replaced[0]) onto every endpoint serving the victim certificate.
Any authenticated non-read-only user can therefore silently substitute their own certificate onto production load balancers and Kubernetes secrets they hold no role on, while suppressing the legitimate certificate's lifecycle automation.
Affected route
POST /api/1/certificates
POST /api/1/certificates/upload
PUT /api/1/certificates/<id>
Affected code
lemur/certificates/schemas.py:402—replaces = fields.Nested(AssociatedCertificateSchema, missing=[], many=True)accepted on create/upload/editlemur/schemas.py:152—AssociatedCertificateSchemaresolves any certificate by id/name viafetch_objects(Certificate, data)with no permission checklemur/certificates/views.py:651— onlyStrictRolePermission().can()gates/certificates/upload; no check ondata['replaces']lemur/certificates/models.py:506—@event.listens_for(Certificate.replaces, 'append')setsvalue.notify = Falseon the victimlemur/certificates/service.py:277—get_all_pending_reissue()filtersnot_(Certificate.replaced.any()), excluding the victimlemur/certificates/cli.py:347—request_rotation(endpoint, endpoint.certificate.replaced[0], message, commit)deploys the attacker certlemur/common/celery.py:638— periodiccertificate_rotatetask runscli_certificate.rotate(..., commit=True)lemur/deployment/service.py:17—endpoint.source.plugin.update_endpoint(endpoint, new_cert)pushes to ELB/CloudFront/ACM/K8s
Impact
An authenticated insider or holder of a stolen low-privilege token can, without holding any role on a target certificate:
- Upload a self-signed or attacker-minted certificate listing arbitrary high-value production certificate IDs in
replaces. - Immediately disable expiration notifications and auto-reissue for those production certificates.
- On the next scheduled
certificate_rotateCelery run, have the attacker's certificate pushed to every endpoint (AWS ELB/CloudFront/ACM, Kubernetes, SFTP, etc.) currently serving the victim certificate, while the legitimate certificate is detached.
Minimum impact is fleet-wide TLS denial of service equivalent to mass revocation. Where internal clients trust the substituted chain (or combined with the sub-CA finding LEMUR-BUG-07), it escalates to TLS interception. This directly violates the invariant that a user may only modify or revoke a certificate if they are its owner, a member of an owning role, or an administrator.
Root cause
AssociatedCertificateSchema.get_object calls fetch_objects(Certificate, data) and returns the ORM rows verbatim. No caller on the create/upload/edit path iterates the…
- Record
PYSEC-2026-3675- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-71308 is a high vulnerability (CVSS 8.1) in Netflix Lemur, published August 18, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 24th percentile. Fixed in lemur 1.9.3.
References
github.com/Netflix/lemur/security/advisories/GHSA-cfh6-pv5c-38jv
github.com/Netflix/lemur/commit/286874535160952143b0afe2d356642669f9d4c6
github.com/Netflix/lemur/releases/tag/v1.9.3
github.com/advisories/GHSA-cfh6-pv5c-38jv
github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71308.json
nvd.nist.gov/vuln/detail/CVE-2026-71308
github.com/Netflix/lemur
pypi.org/project/lemur
Left out here: the rest of 3 source descriptions. The JSON record has them.