{"schemaVersion":4,"id":"CVE-2026-126816","aliases":[],"status":"published","duplicateOf":null,"title":"Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server","description":"Improper limitation of a pathname to a restricted directory in the cost report generation tool in AWS Pricing MCP Server (aws-pricing-mcp-server) before 1.0.31 might allow an actor who can influence the MCP agent to write actor controlled content to arbitrary locations outside the intended output directory via absolute paths or directory traversal sequences in the report output path.\n\n\n\nTo remediate this issue, users should upgrade to version 1.0.31 or later. Users of the deprecated awslabs.cost-analysis-mcp-server package should migrate to awslabs.aws-pricing-mcp-server version 1.0.31 or later.","dates":{"published":"2026-11-16T20:05:54.357Z","modified":"2026-11-16T21:01:19.333Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.8,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00292,"percentile":0.23421,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-17T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00292,"percentile":0.23421}],"last30":[{"date":"2026-11-17T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00292,"percentile":0.23421}]},"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":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-357","name":"Insufficient UI Warning of Dangerous Operations","description":"The user interface provides a warning to a user regarding dangerous or sensitive operations, but the warning is not noticeable enough to warrant attention.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/357.html"}],"affected":[{"vendor":"aws","product":"aws-pricing-mcp-server","name":"aws-pricing-mcp-server","label":"aws-pricing-mcp-server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.31","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.31","endInclusive":false}}],"versionsText":"< 1.0.31","eol":null,"hubHref":"/vendor/aws/aws-pricing-mcp-server"},{"vendor":"aws","product":"cost-analysis-mcp-server","name":"cost-analysis-mcp-server","label":"cost-analysis-mcp-server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.0.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.5","endInclusive":true}}],"versionsText":"≤ 1.0.5","eol":null,"hubHref":"/vendor/aws/cost-analysis-mcp-server"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://pypi.org/project/awslabs.aws-pricing-mcp-server/1.0.31/","label":"pypi.org/project/awslabs.aws-pricing-mcp-server/1.0.31/","hostname":"pypi.org","tags":["Release Notes","Patch"]},{"url":"https://github.com/awslabs/mcp/security/advisories/GHSA-mqm3-w68j-75mw","label":"github.com/awslabs/mcp/security/advisories/GHSA-mqm3-w68j-75mw","hostname":"github.com","tags":["Third Party Advisory"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-184-aws/","label":"aws.amazon.com/security/security-bulletins/2026-184-aws/","hostname":"aws.amazon.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-16T20:05:54.357Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-16T21:01:19.333Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,68],"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.00292,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-16T21:01:19.333Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-16T21:01:19.333Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-16T21:01:19.333Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-16T21:01:19.333Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-16T21:00:58.037Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00292,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:59:36.737Z","stale":false,"partial":false}}