Skip to content

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

Closed

Description

@ehsavoie

What happened?

BasePushNotificationSender.dispatchNotification built the Authorization header as scheme + " " + credentials with direct string concatenation. Both values are client-controlled (stored in the push notification config), so a credential or scheme containing \r/\n could inject arbitrary extra headers (CWE-113). The JDK HttpClient happens to validate headers, but A2AHttpClient is a pluggable SPI whose implementations (including custom ones) cannot be assumed to do the same.

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added theissue type on Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions