From 8006a7c5a213657461c1ffc492bec8f4af385bc4 Mon Sep 17 00:00:00 2001 From: johanbeytell1 <107624055+johanbeytell1@users.noreply.github.com> Date: Tue, 24 Nov 2026 09:06:21 +0000 Subject: [PATCH] Docs: reference GHSA-m85r-gp57-6p5q for the v0.0.6 sandbox-escape advisory Add the GitHub Security Advisory ID to the README and SECURITY advisory tables and to the supported-versions note. The CVE ID is intentionally omitted: GitHub assigns it when the advisory is published. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com> --- README.md | 4 ++-- SECURITY.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 61bd3a5..8b02f4b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ An open-source Python library for code encryption, decryption, and safe evaluati | Advisory | CVE / GHSA | Affected | Fixed in | | :--- | :--- | :--- | :--- | | `safe_eval` sandbox escape via indirect subscript call | CVE-2026-133467 · [GHSA-7gp8-3j6q-v4h8](https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8) | 0.0.1 - 0.0.4 | 0.0.5 | -| `safe_eval` sandbox escape via dunder attribute access with `allow_attributes=True` (string-argument indirection, e.g. `().__getattribute__('__class__')`) | Pending assignment | 0.0.3 - 0.0.5 | **0.0.6** | +| `safe_eval` sandbox escape via dunder attribute access with `allow_attributes=True` (string-argument indirection, e.g. `().__getattribute__('__class__')`) | [GHSA-m85r-gp57-6p5q](https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-m85r-gp57-6p5q) · CVE pending | 0.0.3 - 0.0.5 | **0.0.6** | You can browse all advisories at https://github.com/Infinitode/CodeSafe/security/advisories @@ -35,7 +35,7 @@ You can browse all advisories at https://github.com/Infinitode/CodeSafe/security - **Affected versions**: 0.0.3, 0.0.4, 0.0.5 - **Fixed in**: Version **0.0.6** - all attribute names starting with `__` are now always rejected. - **Workaround for older versions**: leave `allow_attributes` at its default (`False`). There is no complete workaround otherwise - upgrade. -- **Advisory**: a GitHub Security Advisory is being prepared for this issue and will be published together with v0.0.6, at which point a CVE ID will be requested and assigned. Track it under [GitHub Security Advisories](https://github.com/Infinitode/CodeSafe/security/advisories). +- **Advisory**: [GHSA-m85r-gp57-6p5q](https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-m85r-gp57-6p5q) (High, 8.1). Fixed in v0.0.6, which is live on PyPI. A CVE ID will be requested from and assigned by GitHub when the advisory is published; see the advisory for the CVE once it has been assigned. ### Critical Vulnerability Fixed in v0.0.5 diff --git a/SECURITY.md b/SECURITY.md index 257abea..345594a 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -33,7 +33,7 @@ We ask that you give us reasonable time to release a fix before any public discl | Version | Supported | | :--- | :--- | | 0.0.6 and later | ✅ Yes | -| 0.0.5 | ⚠️ Known issue — see [Security Advisory](README.md#security-advisory); upgrade to 0.0.6 | +| 0.0.5 | ⚠️ Known issue — see [GHSA-m85r-gp57-6p5q](https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-m85r-gp57-6p5q); upgrade to 0.0.6 | | 0.0.1 – 0.0.4 | ❌ No — critical sandbox escape, [CVE-2026-133467](https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8) | Only the latest release receives fixes. Please upgrade rather than report issues that may already be fixed. @@ -43,7 +43,7 @@ Only the latest release receives fixes. Please upgrade rather than report issues | Advisory | CVE / GHSA | Affected | Fixed in | | :--- | :--- | :--- | :--- | | `safe_eval` sandbox escape via indirect subscript call | CVE-2026-133467 · [GHSA-7gp8-3j6q-v4h8](https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8) | 0.0.1 - 0.0.4 | 0.0.5 | -| `safe_eval` sandbox escape via dunder attribute string-argument (`allow_attributes=True`) | Pending assignment (draft advisory) | 0.0.3 - 0.0.5 | 0.0.6 | +| `safe_eval` sandbox escape via dunder attribute string-argument (`allow_attributes=True`) | [GHSA-m85r-gp57-6p5q](https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-m85r-gp57-6p5q) · CVE pending | 0.0.3 - 0.0.5 | 0.0.6 | See https://github.com/Infinitode/CodeSafe/security/advisories for the canonical list.