CVE-2026-72887: Net::OAuth::Client versions before 0.32 for Perl allow the service provider to silently downgrade OAuth 1.0a to OAuth 1.0 in get_request_token
Net::OAuth::Client versions before 0.32 for Perl allow the service provider to silently downgrade OAuth 1.0a to OAuth 1.0 in getrequesttoken.
Passing a callback to the constructor selects OAuth 1.0a. getrequesttoken then revokes that choice when the request token response omits oauthcallbackconfirmed, with no exception, no warning and no option to require 1.0a. The access token request is built from the OAuth 1.0 message class, which has no verifier parameter, so oauthverifier is dropped from the request even when getaccesstoken was passed one.
oauthverifier is the binding that OAuth 1.0a added between the authorization step and the token exchange. An application that asked for 1.0a and gets 1.0 is open to OAuth 1.0 session fixation, where an attacker obtains a request token, has the victim authorize it, and then completes the exchange themselves, linking the victim's provider account to a session the attacker controls. No attacker action sets up the downgrade: a provider that does not confirm the callback is enough.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Net::OAuth::Client (Perl)to a version that resolves this vulnerability.Fixed in 0.32 - Configuration
In Net-OAuth, pass a callback to the constructor so the client selects OAuth 1.0a (as described: “Passing a callback to the constructor selects OAuth 1.0a”).
Net::OAuth::Client (Perl) OAuth version selection = OAuth 1.0a - Operational
After upgrading to Net-OAuth 0.32 or later, review and remediate any OAuth request/access token flows that may have been silently downgraded (OAuth 1.0a to OAuth 1.0) when using get_request_token in versions before 0.32.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72887?
CVE-2026-72887 has a risk rating of 56.
How do I fix CVE-2026-72887?
To fix CVE-2026-72887, upgrade Net::OAuth::Client to version 0.32 or later.
What does CVE-2026-72887 affect?
CVE-2026-72887 affects versions of the Net::OAuth::Client for Perl prior to 0.32.
What kind of vulnerability is CVE-2026-72887?
CVE-2026-72887 is an OAuth downgrade vulnerability that allows the service provider to revert from OAuth 1.0a to OAuth 1.0.
When was CVE-2026-72887 published?
CVE-2026-72887 was published on August 16, 2026.