Skip to content

CVE-2026-47074 ex_aws_sns SigningCertURL not validated in verify_message/1

HighCVSS 8.7 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Cloud Platforms

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 ExAws.SNS.verify_message/1, ExAws.SNS.PublicKeyCache.get/1.

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.0 before 2.3.5.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
ex-aws ex aws sns >= 2.0.0, < 2.3.5; >= a7ec21880943f4dac1d59bda557db0ffcd2b61fa, < 1853d280b152d10384a1e21a22cf22152a60be48 2.3.5, 1853d280b152d10384a1e21a22cf22152a60be48 Fixed
hex ex_aws_sns(Hex) >= 2.0.1, < 2.3.5 2.3.5 Fixed

Affected products

ProductAffected versionsFixed in
hex ex_aws_sns(Hex) >= 2.0.1, < 2.3.5 2.3.5
ex-aws ex aws sns >= 2.0.0, < 2.3.5 2.3.5
ex-aws ex aws sns >= a7ec21880943f4dac1d59bda557db0ffcd2b61fa, < 1853d280b152d10384a1e21a22cf22152a60be48 1853d280b152d10384a1e21a22cf22152a60be48

References