Intel

AIKIDO-2026-223383

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

Improper Certificate ValidationGHSA-mh5j-7xj5-9h45 Published 5 days ago

74

High Risk

This Affects:

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

TL;DR

Name constraint matching compares DNS names, email addresses and URIs without canonicalisation, so names that clients treat as equal are not byte-equal to the constrained form. A trailing dot such as bank.example.com. evades a DNS or email excludedSubtrees entry, and PHP parse_url() parses URIs differently from WHATWG for backslashes and percent-encoding. A subordinate CA constrained to a namespace can issue certificates for names outside it. The fix canonicalises names before matching.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on DNS, email, or URI name constraints when validating certification paths.

Background info

spomky-labs/pki-framework is vulnerable to Improper Certificate Validation in versions 1.0.0 - 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