Intel

AIKIDO-2026-383869

spomky-labs/pki-framework is vulnerable to Improper Certificate Validation

Improper Certificate ValidationGHSA-6pj8-5pjp-gj6w Published 5 days ago

59

Medium Risk

This Affects:

PHPspomky-labs/pki-framework
0.0.1 - 1.6.1
Fixed in 1.6.2
Are you affected? Scan for Free

TL;DR

ACValidator::validate() does not reject an attribute certificate with an unsupported critical extension, contrary to RFC 5755 section 5 check 7. Restriction bearing extensions such as basicAttConstraints, timeSpecification, acceptablePrivilegePolicies and holderNameConstraints are ignored, so issuer limits are discarded and attributes are granted unconditionally. The same criticality check already existed for public key certificates but was never applied to attribute certificates. The fix rejects unsupported critical extensions on attribute certificates.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you validate attribute certificates.

Background info

spomky-labs/pki-framework is vulnerable to Improper Certificate Validation in versions 0.0.1 - 1.6.1.

How to fix this

Upgrade the spomky-labs/pki-framework library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform