CVE-2026-47074: CWE-295 Improper Certificate Validation in ex-aws ex_aws_sns
Improper Certificate Validation vulnerability in ex-aws ex_aws_sns (ExAws.SNS, ExAws.SNS.PublicKeyCache modules) allows Signature Spoofing by Improper Validation. This vulnerability is associated with program files lib/ex_aws/sns.ex, lib/ex_aws/sns/public_key_cache.ex and program routines 'Elixir.ExAws.SNS':verify_message/1, 'Elixir.ExAws.SNS.PublicKeyCache':get/1. 'Elixir.ExAws.SNS':verify_message/1 fetches the signing certificate from the SigningCertURL field of the incoming SNS message without validating that the URL uses HTTPS or that the host matches an AWS-owned SNS certificate domain. An unauthenticated attacker who can POST to an endpoint that calls verify_message/1 can supply an attacker-controlled SigningCertURL, sign a forged SNS message with their own key, and cause the function to return :ok, completely bypassing SNS signature verification. This issue affects ex_aws_sns: from 2.0.1 before 2.3.5.
AI Analysis
Technical Summary
The ex_aws ex_aws_sns library versions 2.0.1 up to but not including 2.3.5 contain an improper certificate validation vulnerability (CWE-295) in the verify_message/1 function. This function fetches the signing certificate from the SigningCertURL field of incoming SNS messages without verifying that the URL uses HTTPS or that the host is an AWS-owned SNS certificate domain. An unauthenticated attacker able to POST to an endpoint calling verify_message/1 can supply a malicious SigningCertURL and sign a forged SNS message with their own key. This causes the function to incorrectly return :ok, bypassing SNS signature verification and enabling signature spoofing. The vulnerability has a CVSS 4.0 score of 8.7 (high severity). The affected product is a cloud service, and a patch is available.
Potential Impact
Successful exploitation allows an unauthenticated attacker to bypass SNS signature verification by supplying a malicious SigningCertURL and forged signature. This can lead to acceptance of spoofed SNS messages, potentially causing unauthorized actions or misinformation in systems relying on SNS message authenticity. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available for ex_aws_sns versions prior to 2.3.5. Users should upgrade to version 2.3.5 or later to remediate this vulnerability. Since ex_aws_sns is a cloud service, the vendor typically manages remediation server-side; users should verify with the vendor advisory for confirmation and ensure their deployments are updated accordingly.
CVE-2026-47074: CWE-295 Improper Certificate Validation in ex-aws ex_aws_sns
Description
Improper Certificate Validation vulnerability in ex-aws ex_aws_sns (ExAws.SNS, ExAws.SNS.PublicKeyCache modules) allows Signature Spoofing by Improper Validation. This vulnerability is associated with program files lib/ex_aws/sns.ex, lib/ex_aws/sns/public_key_cache.ex and program routines 'Elixir.ExAws.SNS':verify_message/1, 'Elixir.ExAws.SNS.PublicKeyCache':get/1. 'Elixir.ExAws.SNS':verify_message/1 fetches the signing certificate from the SigningCertURL field of the incoming SNS message without validating that the URL uses HTTPS or that the host matches an AWS-owned SNS certificate domain. An unauthenticated attacker who can POST to an endpoint that calls verify_message/1 can supply an attacker-controlled SigningCertURL, sign a forged SNS message with their own key, and cause the function to return :ok, completely bypassing SNS signature verification. This issue affects ex_aws_sns: from 2.0.1 before 2.3.5.
CVSS v4.0
Score 8.7high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ex_aws ex_aws_sns library versions 2.0.1 up to but not including 2.3.5 contain an improper certificate validation vulnerability (CWE-295) in the verify_message/1 function. This function fetches the signing certificate from the SigningCertURL field of incoming SNS messages without verifying that the URL uses HTTPS or that the host is an AWS-owned SNS certificate domain. An unauthenticated attacker able to POST to an endpoint calling verify_message/1 can supply a malicious SigningCertURL and sign a forged SNS message with their own key. This causes the function to incorrectly return :ok, bypassing SNS signature verification and enabling signature spoofing. The vulnerability has a CVSS 4.0 score of 8.7 (high severity). The affected product is a cloud service, and a patch is available.
Potential Impact
Successful exploitation allows an unauthenticated attacker to bypass SNS signature verification by supplying a malicious SigningCertURL and forged signature. This can lead to acceptance of spoofed SNS messages, potentially causing unauthorized actions or misinformation in systems relying on SNS message authenticity. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available for ex_aws_sns versions prior to 2.3.5. Users should upgrade to version 2.3.5 or later to remediate this vulnerability. Since ex_aws_sns is a cloud service, the vendor typically manages remediation server-side; users should verify with the vendor advisory for confirmation and ensure their deployments are updated accordingly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-18T17:28:08.322Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a181685e29bf47b50d4f6da
Added to database: 5/28/2026, 10:18:45 AM
Last enriched: 5/28/2026, 10:33:26 AM
Last updated: 5/29/2026, 6:34:31 PM
Views: 26
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.