fix(server-common): reject CR/LF in push notification headers (CWE-113) by ehsavoie · Pull Request #1053 · a2aproject/a2a-java · GitHub
Skip to content

fix(server-common): reject CR/LF in push notification headers (CWE-113) - #1053

Merged
kabir merged 1 commit into
a2aproject:mainfrom
ehsavoie:push-auth-header-crlf
Aug 11, 2026
Merged

kabir merged 1 commit into
a2aproject:mainfrom
ehsavoie:push-auth-header-crlf

Conversation

@ehsavoie

Copy link
Copy Markdown
Collaborator
  • Validate X-A2A-Notification-Token and Authorization values before dispatch
  • Mark AuthenticationInfo.credentials as @nullable per the protocol spec

Fixes #1052 🦕

- Validate X-A2A-Notification-Token and Authorization values before dispatch
- Mark AuthenticationInfo.credentials as @nullable per the protocol spec

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@kabir
kabir merged commit 247a655 into a2aproject:main Aug 11, 2026
14 checks passed
@ehsavoie
ehsavoie deleted the push-auth-header-crlf branch August 26, 2026 16:06
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.

[Bug]: reject CR/LF in push notification Authorization header

3 participants