{"id":"GHSA-x32g-jvvm-4725","summary":"A2A Java SDK: Push notification credentials logged in cleartext on protobuf parse failure","details":"### *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.\n\n**Where.** `transport/rest/src/main/java/org/a2aproject/sdk/transport/rest/handler/RestHandler.java:676` in `parseRequestBody`\n\n**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.\n\n**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.\n\n**Preconditions.**\n- Attacker must have access to server log files (centralized logging, log aggregation, shared infrastructure, or insider access)\n- Push notification capability must be enabled\n- A request body must fail protobuf deserialization while being valid JSON (unknown fields with strict parsing, schema mismatches)\n\n**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)`.\n\n**Verification.** 3/3 lens verifiers confirmed.","aliases":["CVE-2026-111762"],"modified":"2026-10-20T21:15:04.056033613Z","published":"2026-10-20T21:08:33Z","database_specific":{"cwe_ids":["CWE-532"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-10-20T21:08:33Z","nvd_published_at":"2026-10-20T15:17:13Z"},"references":[{"type":"WEB","url":"https://github.com/a2aproject/a2a-java/security/advisories/GHSA-x32g-jvvm-4725"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111762"},{"type":"WEB","url":"https://github.com/a2aproject/a2a-java/commit/88827105fee0daaac0d883a4a68eb644571d7230"},{"type":"PACKAGE","url":"https://github.com/a2aproject/a2a-java"},{"type":"WEB","url":"https://github.com/a2aproject/a2a-java/releases/tag/v1.3.0.Final"}],"affected":[{"package":{"name":"org.a2aproject.sdk:a2a-java-sdk-transport-rest","ecosystem":"Maven","purl":"pkg:maven/org.a2aproject.sdk/a2a-java-sdk-transport-rest"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0.Final"}]}],"versions":["1.0.0.Alpha4","1.0.0.Beta1","1.0.0.CR1","1.0.0.Final","1.1.0.Final","1.2.0.Final"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-x32g-jvvm-4725/GHSA-x32g-jvvm-4725.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}