GHSA-mvm6-f9r3-fgfx: AWSSDK.CloudFront Improper Escaping Of Special Characters Vulnerability
HIGHGHSA-mvm6-f9r3-fgfx is a HIGH improper escaping of special characters vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting AWSSDK.CloudFront libraries in the NuGet ecosystem. The issue involves improper escaping of special characters in cloudfront policy document construction. Remediation is available by upgrading affected packages to version 3.7.510.7, 4.0.0.26.
GHSA-mvm6-f9r3-fgfx at a Glance
How to Fix GHSA-mvm6-f9r3-fgfx
To remediate this vulnerability, upgrade all affected AWSSDK.CloudFront dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade AWSSDK.CloudFront to 3.7.510.7
Upgrade AWSSDK.Extensions.CloudFront.Signers to 4.0.0.26
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for AWSSDK.CloudFront
How to Check if You Are Affected
To determine whether your application is affected by GHSA-mvm6-f9r3-fgfx, inspect your project dependencies for AWSSDK.CloudFront:
inspect dependencies for AWSSDK.CloudFront
Analyze the terminal output to locate any version of AWSSDK.CloudFront in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.510.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. In AWSSDK.CloudFront, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-mvm6-f9r3-fgfx Affected AWSSDK.CloudFront Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
AWSSDK.CloudFront
|
NuGet |
< 3.7.510.7
|
3.7.510.7
|
|
AWSSDK.Extensions.CloudFront.Signers
|
NuGet |
≥ 4.0.0.0
< 4.0.0.26
|
4.0.0.26
|
References
Frequently Asked Questions
What is GHSA-mvm6-f9r3-fgfx?
Which AWSSDK.CloudFront versions are affected?
What version fixes GHSA-mvm6-f9r3-fgfx?
Is AWSSDK.CloudFront affected?
Is AWSSDK.Extensions.CloudFront.Signers affected?
What CWE is associated with GHSA-mvm6-f9r3-fgfx?
How can I check NuGet dependencies for GHSA-mvm6-f9r3-fgfx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mvm6-f9r3-fgfx",
"modified" : "2026-03-27T22:22:28Z",
"published" : "2026-03-27T22:22:28Z",
"aliases" : [ ],
"summary" : "AWS SDK for .NET: Improper escaping of special characters in CloudFront policy document construction",
"details" : "### Summary \nThis notification is related to the CloudFront signing utilities in the AWS SDK for .NET, which are used to generate Amazon CloudFront signed URLs and signed cookies. A defense-in-depth enhancement has been implemented to improve handling of special characters, such as double quotes and backslashes, in input values. \n\n### Impact \nThe CloudFront signing utilities build policy documents that define access restrictions for signed URLs and cookies. If an application passes unsanitized input containing special characters to these utilities, the resulting policy document may not reflect the application's intended access restrictions. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations. Applications that already follow AWS security best practices for input validation are not impacted. \n\n### Impacted versions: \n- AWS SDK for .NET V3 (`AWSSDK.CloudFront`): < 3.7.510.7\n- AWS SDK for .NET V4 (`AWSSDK.Extensions.CloudFront.Signers`): 4.0.0.0 - 4.0.0.25 \n\n### Patches \nOn February 25th, 2026, an enhancement was made to the AWS SDK for .NET CloudFront signing utilities. The enhancement ensures that special characters in input values are correctly handled. We recommend upgrading to the latest version. \n\n### Workarounds \nNo workarounds are needed, but customers should ensure that your application is following security best practices: \n- Implement proper input validation in your application code before passing values to CloudFront signing utilities \n- Update to the latest AWS SDK release on a regular basis \n- Follow AWS security best practices for SDK configuration\n\n### References \nIf there are any questions or comments about this advisory, contact AWS Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n### Acknowledgement\nAWS SDK for .NET thanks the Amazon Inspector Security Research team for identifying this issue and working through the coordinated process together.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "AWSSDK.CloudFront"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.510.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "AWSSDK.Extensions.CloudFront.Signers"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0.0"
}, {
"fixed" : "4.0.0.26"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/aws/aws-sdk-net/security/advisories/GHSA-mvm6-f9r3-fgfx"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/aws/aws-sdk-net"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-116", "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-27T22:22:28Z",
"nvd_published_at" : null
}
}