CVE-2026-44308
Spring Cloud AWS missing SNS message signature verification allows spoofing of HTTP/HTTPS endpoint notifications
Description
Impact
Applications using Spring Cloud AWS SNS HTTP/HTTPS endpoint support (@NotificationMessageMapping, @NotificationSubscriptionMapping, @NotificationUnsubscribeConfirmationMapping) did not verify the signature of incoming SNS messages.
An unauthenticated attacker who knows the endpoint URL could send crafted HTTP POST requests mimicking SNS Notification or SubscriptionConfirmation messages, causing the application to:
- Process arbitrary payloads as if they were legitimate SNS notifications.
- Auto-confirm subscriptions or unsubscribe from attacker-controlled topics.
Affected versions: 3.0.0 through 3.4.2, 4.0.0, and 4.0.1.
The 3.x line will not receive a fix; users on 3.x should apply the workaround below or upgrade to 4.0.2.
Patches
Fixed in Spring Cloud AWS 4.0.2. When using Spring Boot auto-configuration, signature verification is enabled by default. Users should upgrade to 4.0.2.
Workarounds
Manually verify the SNS message signature in a servlet filter or Spring HandlerInterceptor before the request reaches the controller, using SnsMessageManager from the AWS SDK v2 sns-message-manager module.
Resources
- AWS SNS: Verifying the signatures of Amazon SNS messages (https://docs.aws.amazon.com/sns/latest/dg/sns-verify-signature-of-message.html)
- AWS SDK for Java v2: SnsMessageManager (https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/messagemanager/sns/SnsMessageManager.html)
- Fix PR: #1614
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.awspring.cloud » spring-cloud-aws-sns | >= 3.0.0, <= 3.4.2>= 4.0.0, < 4.0.2 | 4.0.2 |
Blast radius
33% of the dependent artifacts (4) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 252 |
| 2 hops | 35 |
Most used dependents
- io.awspring.cloud » spring-cloud-aws-starter-sns10 usages
- uk.gov.justice.service.hmpps » hmpps-sqs-spring-boot-starter2 usages
- uk.gov.justice.service.hmpps » hmpps-sqs-spring-boot-autoconfigure1 usages
- org.springframework.modulith » spring-modulith-events-aws-sns0 usages
- io.github.springwolf » springwolf-sns0 usages
- be.appify.prefab » prefab-sns-sqs0 usages
- io.awspring.cloud » spring-cloud-aws-modulith-events-sns0 usages
- uk.gov.justice.service.hmpps » hmpps-audit-sdk0 usages
- io.namastack » namastack-outbox-sns0 usages
- io.awspring.cloud » spring-cloud-aws-starter-integration-sns0 usages
- de.idealo.spring » spring-cloud-stream-binder-sns0 usages
- io.github.stellarhold170nt » namastack-outbox-sns0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-44308 | nvd.nist.gov |
| Package | awspring/spring-cloud-aws | github.com |
| Web | awspring/spring-cloud-aws advisory GHSA-r4w4-wv68-qv85 | github.com |
| Web | awspring/spring-cloud-aws pull request #1614 | github.com |
| Web | awspring/spring-cloud-aws commit 6ab2efd | github.com |
