You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: x509_v2basicConstraints does not validate pathlen against issuer cert #70042
When creating a CA certificate with a basicConstraints extension, salt.utils.x509._create_basic_constraints does not validate that an explicit pathlen is at most one lower than the one specified in the issuer certificate.
Also, if pathlen is not specified, it should default to pathlen_of_issuer - 1, while it currently issues a cert without one.
Type of salt install
Official deb
Major version
3006.x, 3007.x, 3008.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
Activity
fix: validate basicConstraints pathlen against issuer certificate
dwoz commentedon Oct 16, 2026
This was fixed in v3006.28 and v3007.15. If you can still reproduce it on either release, please comment and we'll reopen.