fix: prevent SSRF via push notification URL validation by ehsavoie · Pull Request #1096 · a2aproject/a2a-java · GitHub
Skip to content

fix: prevent SSRF via push notification URL validation - #1096

Merged
kabir merged 1 commit into
mainfrom
advisory-fix-2
Aug 26, 2026
Merged

kabir merged 1 commit into
mainfrom
advisory-fix-2

Conversation

@ehsavoie

Copy link
Copy Markdown
Collaborator
  • Add PushNotificationUrlValidator with SSRF-safe default (scheme allowlist, private-network blocking incl. IPv4-mapped IPv6)
  • Disable HTTP redirect following on push notification POST requests
  • Add a2a.push-notifications.enabled config to gate push config storage

Fixes #GHSA-q78c-5jjq-57g8 🦕

@kabir kabir closed this Aug 26, 2026
@kabir
kabir deleted the advisory-fix-2 branch August 26, 2026 12:26
@ehsavoie
ehsavoie restored the advisory-fix-2 branch August 26, 2026 12:36
@ehsavoie ehsavoie reopened this Aug 26, 2026
@ehsavoie
ehsavoie force-pushed the advisory-fix-2 branch 2 times, most recently from 7b443b3 to 2592457 Compare August 26, 2026 13:22
- Add PushNotificationUrlValidator with SSRF-safe default (scheme
  allowlist, private-network blocking incl. IPv4-mapped IPv6)
- Disable HTTP redirect following on push notification POST requests
- Add a2a.push-notifications.enabled config to gate push config storage

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@kabir
kabir merged commit b855b2a into main Aug 26, 2026
23 of 26 checks passed
@kabir
kabir deleted the advisory-fix-2 branch August 26, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants