CVE-2026-111762
A2A Java SDK: Push notification credentials logged in cleartext on protobuf parse failure
Description
Impact.* Push notification bearer tokens and authentication credentials submitted by clients are written to server log files in cleartext. Any operator, log aggregation system, or attacker with log access can read these secrets and use them to authenticate to the client's push notification endpoints, potentially sending forged task status updates.
Where.transport/rest/src/main/java/org/a2aproject/sdk/transport/rest/handler/RestHandler.java:676 in parseRequestBody
What. The parseRequestBody method logs the entire JSON request body at SEVERE level when JsonFormat.parser().merge() throws InvalidProtocolBufferException. This method is called from createTaskPushNotificationConfiguration (line 377), where the body contains client-supplied push notification bearer tokens (field token) and authentication credentials (field authentication.credentials). These secrets are written to server log files in full.
Exploit scenario. A client creates a push notification configuration by POSTing to /v1/tenants/{tenant}/tasks/{taskId}/pushNotificationConfigs with a body containing {"url": "https://client.example.com/webhook", "token": "secret-bearer-token", "authentication": {"scheme": "Bearer", "credentials": "oauth-access-token"}, "extraField": "value"}. The extra field causes JsonFormat.parser().merge() to throw InvalidProtocolBufferException. The entire body including secret-bearer-token and oauth-access-token is logged at SEVERE level. An attacker with log access retrieves the cleartext credentials.
Preconditions.
- Attacker must have access to server log files (centralized logging, log aggregation, shared infrastructure, or insider access)
- Push notification capability must be enabled
- A request body must fail protobuf deserialization while being valid JSON (unknown fields with strict parsing, schema mismatches)
Fix. Do not log the raw request body. Log only a sanitized summary — body length and content type, not content. Replace the log call with something like: log.log(Level.SEVERE, "Error parsing JSON request body (length={0})", body != null ? body.length() : 0).
Verification. 3/3 lens verifiers confirmed.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.a2aproject.sdk » a2a-java-sdk-transport-rest | < 1.3.0.Final | 1.3.0.Final |
Blast radius
65% of the dependent artifacts (13) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 30 |
| 2 hops | 34 |
| 3 hops | 6 |
Most used dependents
- org.a2aproject.sdk » a2a-java-sdk-reference-rest9 usages
- org.wildfly.a2a » a2a-jakarta-rest4 usages
- org.a2aproject.sdk » a2a-java-sdk-reference-multiversion-rest2 usages
- org.a2aproject.sdk » a2a-java-sdk-tck-sut2 usages
- net.openan.workflow.sdk » spring-boot-starter1 usages
- org.wildfly.a2a » a2a-jakarta-rest-web1 usages
- org.wildfly.a2a » a2a-java-sdk-jakarta-rest1 usages
- net.openan.workflow.sdk » workflow-engine-samples0 usages
- org.a2aproject.sdk » a2a-java-sdk-examples-server0 usages
- org.a2aproject.sdk » a2a-java-sdk-tests-multiversion-rest0 usages
- net.openan.a2a-t.sdk » a2a-t-sample0 usages
- org.a2aproject.sdk » a2a-java-sdk-itk0 usages
- org.wildfly.a2a » a2a-jakarta-tck-wildfly0 usages
- io.github.zhoujie628 » workflow-exec-engine-spring-boot-starter0 usages
- org.a2aproject.sdk » a2a-java-sdk-examples-stream-lifecycle-server0 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-111762 | nvd.nist.gov |
| Package | a2aproject/a2a-java | github.com |
| Web | a2aproject/a2a-java advisory GHSA-x32g-jvvm-4725 | github.com |
| Web | a2aproject/a2a-java commit 8882710 | github.com |
| Web | a2aproject/a2a-java release v1.3.0.Final | github.com |
