Skip to content

fix!: enforce fail-closed default for task authorization - #1095

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

kabir merged 1 commit into
mainfrom
advisory-fix-1

Conversation

@kabir

@kabir kabir commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Move authorization from the CDI-only AuthorizationRequestHandlerDecorator directly into DefaultRequestHandler so it is enforced on both the CDI and builder paths. When no TaskAuthorizationProvider is configured, all task operations are now denied by default (fail-closed). Set a2a.authorization.required=false to restore the previous open behavior for single-user deployments or testing.

BREAKING CHANGE: Applications without a TaskAuthorizationProvider will now reject all task operations. Either provide a provider or set a2a.authorization.required=false.

Ref: GHSA-qw47-mcm5-934w

Move authorization from the CDI-only AuthorizationRequestHandlerDecorator
directly into DefaultRequestHandler so it is enforced on both the CDI and
builder paths. When no TaskAuthorizationProvider is configured, all task
operations are now denied by default (fail-closed). Set
a2a.authorization.required=false to restore the previous open behavior for
single-user deployments or testing.

BREAKING CHANGE: Applications without a TaskAuthorizationProvider will now
reject all task operations. Either provide a provider or set
a2a.authorization.required=false.

Ref: GHSA-qw47-mcm5-934w

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@ehsavoie
ehsavoie self-requested a review August 26, 2026 11:29
@kabir
kabir merged commit efb4e98 into main Aug 26, 2026
21 checks passed
@kabir
kabir deleted the advisory-fix-1 branch August 26, 2026 11:48
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