{"schemaVersion":4,"id":"CVE-2026-59395","aliases":[],"status":"published","duplicateOf":null,"title":"Spring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* Headers","description":"SimpleAmqpHeaderMapper.toHeaders() first populates the Spring Messaging headers with framework-derived values from the received MessageProperties (such as amqp_receivedUserId , amqp_consumerQueue , amqp_deliveryTag and amqp_redelivered ) and then copies the raw AMQP message headers, which are fully controlled by the publisher. As a result, a publisher can supply custom headers whose names collide with the amqp_* constants and silently replace the trusted values that downstream @RabbitListener handlers see via @Header or MessageHeaders .\n\n Applications are affected if an attacker is able to publish messages routed to a listener and the application relies on an amqp_* framework header, for example AmqpHeaders.RECEIVED_USER_ID (broker-validated identity) or AmqpHeaders.CONSUMER_QUEUE , for authorization or routing decisions.","dates":{"published":"2026-12-02T07:11:15.679Z","modified":"2026-12-02T07:11:15.679Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.2,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00307,"percentile":0.25271,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00307,"percentile":0.25271}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00307,"percentile":0.25271}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"spring","product":"spring amqp","name":"Spring AMQP","label":"spring amqp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.1.0, < 4.1.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.1.0","startInclusive":true,"end":"4.1.2.1","endInclusive":false}},{"text":"≥ 4.0.0, < 4.0.6.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.0.6.1","endInclusive":false}},{"text":"≥ 3.2.0, < 3.2.14","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.2.0","startInclusive":true,"end":"3.2.14","endInclusive":false}},{"text":"< 2.4.20","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.4.20","endInclusive":false}},{"text":"≥ 4.1.0, < 4.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.1.0","startInclusive":true,"end":"4.1.3","endInclusive":false}},{"text":"≥ 4.0.0, < 4.0.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.0.7","endInclusive":false}}],"versionsText":"≥ 4.1.0, < 4.1.2.1 | ≥ 4.0.0, < 4.0.6.1 | ≥ 3.2.0, < 3.2.14 | < 2.4.20 | ≥ 4.1.0, < 4.1.3 | ≥ 4.0.0, < 4.0.7","eol":null,"hubHref":"/vendor/spring/spring_amqp"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-59395","label":"spring.io/security/cve-2026-59395","hostname":"spring.io","tags":[]},{"url":"https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N&version=3.1","label":"nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N&version=3.1","hostname":"nvd.nist.gov","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T07:11:15.679Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,42],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00307,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-02T07:11:15.679Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-02T07:11:15.679Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}],"epss":{"value":0.00307,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:57:09.016Z","stale":false,"partial":false}}