CVE-2026-72889: CWE-347 Improper Verification of Cryptographic Signature
Net::OAuth versions before 0.33 for Perl contain a vulnerability where the signature verification algorithm is chosen by the sender, allowing signature forgery. This improper verification of cryptographic signatures can enable attackers to forge requests by exploiting the way HMAC signatures are validated against a placeholder key. The flaw affects versions prior to 0.33 and has a critical severity rating.
AI Analysis
Technical Summary
Net::OAuth versions before 0.33 for Perl allow the sender of a message to specify the signature algorithm used in the verification process via the signature_method parameter. This parameter is required on every request, but the verifying party cannot enforce or pin the expected signature method. When the message specifies HMAC-SHA1 or HMAC-SHA256, the verification key is derived from consumer_secret and token_secret instead of the provider's deployed key. For providers using RSA-SHA1, which relies on the consumer public key and does not use consumer_secret, a placeholder key is used. An attacker can exploit this by naming HMAC-SHA1 in the message, causing the signature to be checked against the placeholder key, which if guessable, allows forging requests for any consumer key and token. This results in improper verification of cryptographic signatures (CWE-347) and potentially incorrect use of cryptographic keys (CWE-757).
Potential Impact
An attacker can forge OAuth requests by exploiting the ability to specify the signature algorithm, bypassing the intended cryptographic protections. This can lead to unauthorized access, data manipulation, or other high-impact consequences as the signature verification can be tricked into accepting forged signatures. The CVSS score of 9.8 reflects critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or fix is currently documented. Users should upgrade to Net::OAuth version 0.33 or later once available. Until then, avoid using vulnerable versions or implement strict validation to pin the expected signature method rather than relying on the sender's specified algorithm. Monitor vendor advisories for updates on remediation.
CVE-2026-72889: CWE-347 Improper Verification of Cryptographic Signature
Description
Net::OAuth versions before 0.33 for Perl contain a vulnerability where the signature verification algorithm is chosen by the sender, allowing signature forgery. This improper verification of cryptographic signatures can enable attackers to forge requests by exploiting the way HMAC signatures are validated against a placeholder key. The flaw affects versions prior to 0.33 and has a critical severity rating.
CVSS v3.1
Score 9.8critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Net::OAuth versions before 0.33 for Perl allow the sender of a message to specify the signature algorithm used in the verification process via the signature_method parameter. This parameter is required on every request, but the verifying party cannot enforce or pin the expected signature method. When the message specifies HMAC-SHA1 or HMAC-SHA256, the verification key is derived from consumer_secret and token_secret instead of the provider's deployed key. For providers using RSA-SHA1, which relies on the consumer public key and does not use consumer_secret, a placeholder key is used. An attacker can exploit this by naming HMAC-SHA1 in the message, causing the signature to be checked against the placeholder key, which if guessable, allows forging requests for any consumer key and token. This results in improper verification of cryptographic signatures (CWE-347) and potentially incorrect use of cryptographic keys (CWE-757).
Potential Impact
An attacker can forge OAuth requests by exploiting the ability to specify the signature algorithm, bypassing the intended cryptographic protections. This can lead to unauthorized access, data manipulation, or other high-impact consequences as the signature verification can be tricked into accepting forged signatures. The CVSS score of 9.8 reflects critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or fix is currently documented. Users should upgrade to Net::OAuth version 0.33 or later once available. Until then, avoid using vulnerable versions or implement strict validation to pin the expected signature method rather than relying on the sender's specified algorithm. Monitor vendor advisories for updates on remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-08-10T15:44:58.172Z
- State
- PUBLISHED
Threat ID: 6a855c9ec6e8be03325b476b
Added to database: 08/19/2026, 07:34:54 UTC
Last enriched: 09/11/2026, 09:34:39 UTC
Last updated: 10/02/2026, 02:46:06 UTC
Views: 75
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.