CWE-94
Allowed-with-ReviewImproper Control of Generation of Code ('Code Injection')
Abstraction: Base · Status: Draft
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
8832 vulnerabilities reference this CWE, most recent first.
GHSA-XFR4-984J-RH45
Vulnerability from github – Published: 2022-05-02 06:09 – Updated: 2022-05-02 06:09ImageIO in Apple Safari before 4.0.5 and iTunes before 9.1 on Windows allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via a crafted TIFF image.
{
"affected": [],
"aliases": [
"CVE-2010-0043"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2010-03-15T13:28:00Z",
"severity": "HIGH"
},
"details": "ImageIO in Apple Safari before 4.0.5 and iTunes before 9.1 on Windows allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via a crafted TIFF image.",
"id": "GHSA-xfr4-984j-rh45",
"modified": "2022-05-02T06:09:48Z",
"published": "2022-05-02T06:09:48Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-0043"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6901"
},
{
"type": "WEB",
"url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"
},
{
"type": "WEB",
"url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00003.html"
},
{
"type": "WEB",
"url": "http://lists.apple.com/archives/security-announce/2010/Jun/msg00003.html"
},
{
"type": "WEB",
"url": "http://lists.apple.com/archives/security-announce/2010/Mar/msg00000.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/39135"
},
{
"type": "WEB",
"url": "http://support.apple.com/kb/HT4070"
},
{
"type": "WEB",
"url": "http://support.apple.com/kb/HT4077"
},
{
"type": "WEB",
"url": "http://support.apple.com/kb/HT4105"
},
{
"type": "WEB",
"url": "http://support.apple.com/kb/HT4225"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/38671"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/38673"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1023706"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-XFRF-736F-2G8P
Vulnerability from github – Published: 2022-05-01 23:50 – Updated: 2022-05-01 23:50CRLF injection vulnerability in Mambo before 4.6.4 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via unspecified vectors.
{
"affected": [],
"aliases": [
"CVE-2008-2497"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-05-28T15:32:00Z",
"severity": "MODERATE"
},
"details": "CRLF injection vulnerability in Mambo before 4.6.4 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via unspecified vectors.",
"id": "GHSA-xfrf-736f-2g8p",
"modified": "2022-05-01T23:50:27Z",
"published": "2022-05-01T23:50:27Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-2497"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/42645"
},
{
"type": "WEB",
"url": "http://forum.mambo-foundation.org/showthread.php?t=11799"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/30343"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/29373"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2008/1660/references"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-XFVW-4C4P-X4MF
Vulnerability from github – Published: 2022-05-01 07:06 – Updated: 2022-05-01 07:06Multiple PHP remote file inclusion vulnerabilities in mcGuestbook 1.3 allow remote attackers to execute arbitrary PHP code via a URL in the lang parameter to (1) admin.php, (2) ecrire.php, and (3) lire.php. NOTE: it was later reported that the ecrire.php vector also affects 1.2. NOTE: this issue might be limited to a race condition during installation or an improper installation, since a completed installation creates an include file that prevents external control of the $lang variable.
{
"affected": [],
"aliases": [
"CVE-2006-3175"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2006-06-23T00:02:00Z",
"severity": "HIGH"
},
"details": "Multiple PHP remote file inclusion vulnerabilities in mcGuestbook 1.3 allow remote attackers to execute arbitrary PHP code via a URL in the lang parameter to (1) admin.php, (2) ecrire.php, and (3) lire.php. NOTE: it was later reported that the ecrire.php vector also affects 1.2. NOTE: this issue might be limited to a race condition during installation or an improper installation, since a completed installation creates an include file that prevents external control of the $lang variable.",
"id": "GHSA-xfvw-4c4p-x4mf",
"modified": "2022-05-01T07:06:36Z",
"published": "2022-05-01T07:06:36Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2006-3175"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/27114"
},
{
"type": "WEB",
"url": "http://securityreason.com/securityalert/1125"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27460"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27461"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27462"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/437028/100/200/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/437448/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/18476"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-XFW8-HCHC-MC9R
Vulnerability from github – Published: 2022-05-14 03:31 – Updated: 2022-05-14 03:31An issue was discovered in zzcms 8.2. It allows PHP code injection via the siteurl parameter to install/index.php, as demonstrated by injecting a phpinfo() call into /inc/config.php.
{
"affected": [],
"aliases": [
"CVE-2018-8966"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2018-03-24T18:29:00Z",
"severity": "HIGH"
},
"details": "An issue was discovered in zzcms 8.2. It allows PHP code injection via the siteurl parameter to install/index.php, as demonstrated by injecting a phpinfo() call into /inc/config.php.",
"id": "GHSA-xfw8-hchc-mc9r",
"modified": "2022-05-14T03:31:27Z",
"published": "2022-05-14T03:31:27Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8966"
},
{
"type": "WEB",
"url": "https://github.com/Ni9htMar3/vulnerability/blob/master/zzcms_8.2/install.md"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-XFWX-G8WM-38Q3
Vulnerability from github – Published: 2022-05-01 17:53 – Updated: 2022-05-01 17:53Multiple PHP remote file inclusion vulnerabilities in PMB Services 3.0.13 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the (1) class_path parameter to (a) includes/resa_func.inc.php (b) admin/notices/perso.inc.php, or (c) admin/quotas/main.inc.php; the (2) base_path parameter to (d) opac_css/rec_panier.php or (e) opac_css/includes/author_see.inc.php; or the (3) include_path parameter to (f) bull_info.inc.php or (g) misc.inc.php in includes/; (h) options_date_box.php, (i) options_file_box.php, (j) options_list.php, (k) options_query_list.php, or (l) options_text.php in includes/options/; (m) options.php, (n) options_comment.php, (o) options_date_box.php, (p) options_list.php, (q) options_query_list.php, or (r) options_text.php in includes/options_empr/; or (s) admin/import/iimport_expl.php, (t) admin/netbase/clean.php, (u) admin/param/param_func.inc.php, (v) admin/sauvegarde/lieux.inc.php, (w) autorites.php, (x) account.php, (y) cart.php, or (z) edit.php.
{
"affected": [],
"aliases": [
"CVE-2007-1415"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2007-03-12T23:19:00Z",
"severity": "HIGH"
},
"details": "Multiple PHP remote file inclusion vulnerabilities in PMB Services 3.0.13 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the (1) class_path parameter to (a) includes/resa_func.inc.php (b) admin/notices/perso.inc.php, or (c) admin/quotas/main.inc.php; the (2) base_path parameter to (d) opac_css/rec_panier.php or (e) opac_css/includes/author_see.inc.php; or the (3) include_path parameter to (f) bull_info.inc.php or (g) misc.inc.php in includes/; (h) options_date_box.php, (i) options_file_box.php, (j) options_list.php, (k) options_query_list.php, or (l) options_text.php in includes/options/; (m) options.php, (n) options_comment.php, (o) options_date_box.php, (p) options_list.php, (q) options_query_list.php, or (r) options_text.php in includes/options_empr/; or (s) admin/import/iimport_expl.php, (t) admin/netbase/clean.php, (u) admin/param/param_func.inc.php, (v) admin/sauvegarde/lieux.inc.php, (w) autorites.php, (x) account.php, (y) cart.php, or (z) edit.php.",
"id": "GHSA-xfwx-g8wm-38q3",
"modified": "2022-05-01T17:53:21Z",
"published": "2022-05-01T17:53:21Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-1415"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/32890"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/3443"
},
{
"type": "WEB",
"url": "http://advisories.echo.or.id/adv/adv68-K-159-2007.txt"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35101"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35102"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35103"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35104"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35105"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35106"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35107"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35108"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35109"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35110"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35111"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35112"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35113"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35114"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35115"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35116"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35117"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35118"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35119"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35120"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35121"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35122"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35123"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35124"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/35125"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/462452/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/22895"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2007/0917"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-XFXH-47FX-QRXV
Vulnerability from github – Published: 2022-05-01 02:21 – Updated: 2022-05-01 02:21PHP remote file inclusion vulnerability in athena.php in Oliver May Athena PHP Website Administration 0.1a allows remote attackers to execute arbitrary PHP code via a URL in the athena_dir parameter.
{
"affected": [],
"aliases": [
"CVE-2005-3860"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2005-11-29T11:03:00Z",
"severity": "HIGH"
},
"details": "PHP remote file inclusion vulnerability in athena.php in Oliver May Athena PHP Website Administration 0.1a allows remote attackers to execute arbitrary PHP code via a URL in the athena_dir parameter.",
"id": "GHSA-xfxh-47fx-qrxv",
"modified": "2022-05-01T02:21:51Z",
"published": "2022-05-01T02:21:51Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2005-3860"
},
{
"type": "WEB",
"url": "http://securityreason.com/securityalert/208"
},
{
"type": "WEB",
"url": "http://securitytracker.com/id?1015278"
},
{
"type": "WEB",
"url": "http://sourceforge.net/forum/forum.php?forum_id=514746"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/417796/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/15574"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2005/2599"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-XG2H-5XR2-29JW
Vulnerability from github – Published: 2026-07-24 15:44 – Updated: 2026-08-17 14:52Code Generation Literal Injection in Kiota Ruby Generator Leads to Arbitrary Code Execution
Impact
The Kiota Ruby code generator is vulnerable to a code generation literal injection attack. The generator embeds string values from OpenAPI default fields and property names directly into Ruby double-quoted string literals without properly escaping the # character. Since Ruby evaluates string interpolation expressions like #{expr}, #$var, and #@var within double-quoted strings at runtime, an attacker who controls an OpenAPI specification file can inject arbitrary Ruby code into generated model classes.
Who is impacted
Developers using Kiota to generate Ruby API clients from external or untrusted OpenAPI specifications Teams with CI/CD pipelines configured to automatically regenerate client code from remote specs Applications that deploy generated Ruby code to production servers
Vulnerability details
Affected component: CodeMethodWriter.cs Root cause: The shared SanitizeForQuotedLiteral() function in Writers/StringExtensions.cs does not escape the # character
Attack vectors
OpenAPI default fields in schema properties Property wire-name hash keys in deserializer/serializer methods Any schema-derived string embedded in Ruby double-quoted literals Severity: Critical when generated code reaches production; High for CI/CD environments with access to production secrets; Medium for public third-party specs; Low for developer-controlled specs.
Patches
https://github.com/microsoft/kiota/pull/7746
Workarounds
If you cannot upgrade immediately:
- Audit and sanitize OpenAPI specifications: Review all OpenAPI specification files for any default values or property names containing the # character. Remove or replace any suspicious strings before code generation.
- Code review of generated files: Implement mandatory code review of all generated Ruby files before merging into any branch. Look for double-quoted strings containing #{, #$, or #@ patterns.
- Restrict specification sources: Only consume OpenAPI specifications from trusted internal sources. Avoid automatic code generation from external or third-party APIs until this patch is applied.
- Isolate generated code from production: Do not deploy generated Ruby models to production environments unless the specification source has been verified and reviewed.
- Manual escaping (temporary): If regeneration is not possible, manually inspect and edit generated files to escape any # characters in string literals (replace # with # in double-quoted strings).
Remediation
Upgrade Kiota to 1.29.1, 1.32.0, or later. Regenerate/refresh existing generated clients as a precaution:
kiota update
Refreshing generated clients ensures previously generated vulnerable code is replaced with hardened output.
{
"affected": [
{
"package": {
"ecosystem": "NuGet",
"name": "Microsoft.OpenAPI.Kiota"
},
"ranges": [
{
"events": [
{
"introduced": "1.30.0"
},
{
"fixed": "1.32.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "NuGet",
"name": "Microsoft.OpenAPI.Kiota.Builder"
},
"ranges": [
{
"events": [
{
"introduced": "1.30.0"
},
{
"fixed": "1.32.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "NuGet",
"name": "Microsoft.OpenApi.Kiota"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.29.1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "NuGet",
"name": "Microsoft.OpenApi.Kiota.Builder"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.29.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-59861"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2026-07-24T15:44:32Z",
"nvd_published_at": "2026-07-16T15:16:35Z",
"severity": "HIGH"
},
"details": "Code Generation Literal Injection in Kiota Ruby Generator Leads to Arbitrary Code Execution\n\n# Impact\n\nThe Kiota Ruby code generator is vulnerable to a code generation literal injection attack. The generator embeds string values from OpenAPI default fields and property names directly into Ruby double-quoted string literals without properly escaping the # character. Since Ruby evaluates string interpolation expressions like #{expr}, #$var, and #@var within double-quoted strings at runtime, an attacker who controls an OpenAPI specification file can inject arbitrary Ruby code into generated model classes.\n\n# Who is impacted\n\nDevelopers using Kiota to generate Ruby API clients from external or untrusted OpenAPI specifications\nTeams with CI/CD pipelines configured to automatically regenerate client code from remote specs\nApplications that deploy generated Ruby code to production servers\n\n# Vulnerability details\n\nAffected component: CodeMethodWriter.cs\nRoot cause: The shared SanitizeForQuotedLiteral() function in Writers/StringExtensions.cs does not escape the # character\n\n# Attack vectors\n\nOpenAPI default fields in schema properties\nProperty wire-name hash keys in deserializer/serializer methods\nAny schema-derived string embedded in Ruby double-quoted literals\nSeverity: Critical when generated code reaches production; High for CI/CD environments with access to production secrets; Medium for public third-party specs; Low for developer-controlled specs.\n\n# Patches\n\nhttps://github.com/microsoft/kiota/pull/7746\n\n# Workarounds\n\nIf you cannot upgrade immediately:\n\n1. Audit and sanitize OpenAPI specifications: Review all OpenAPI specification files for any default values or property names containing the # character. Remove or replace any suspicious strings before code generation.\n1. Code review of generated files: Implement mandatory code review of all generated Ruby files before merging into any branch. Look for double-quoted strings containing #{, #$, or #@ patterns.\n1. Restrict specification sources: Only consume OpenAPI specifications from trusted internal sources. Avoid automatic code generation from external or third-party APIs until this patch is applied.\n1. Isolate generated code from production: Do not deploy generated Ruby models to production environments unless the specification source has been verified and reviewed.\n1. Manual escaping (temporary): If regeneration is not possible, manually inspect and edit generated files to escape any # characters in string literals (replace # with \\# in double-quoted strings).\n\n# Remediation\n\nUpgrade Kiota to 1.29.1, 1.32.0, or later.\nRegenerate/refresh existing generated clients as a precaution:\n\n```shell\nkiota update\n```\n\nRefreshing generated clients ensures previously generated vulnerable code is replaced with hardened output.",
"id": "GHSA-xg2h-5xr2-29jw",
"modified": "2026-08-17T14:52:43Z",
"published": "2026-07-24T15:44:32Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/microsoft/kiota/security/advisories/GHSA-xg2h-5xr2-29jw"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59861"
},
{
"type": "WEB",
"url": "https://github.com/microsoft/kiota/pull/7746"
},
{
"type": "WEB",
"url": "https://github.com/microsoft/kiota/commit/fee1b648bb4394ba7ba72de9c0ce4f2a0bad0cb6"
},
{
"type": "PACKAGE",
"url": "https://github.com/microsoft/kiota"
},
{
"type": "WEB",
"url": "https://github.com/microsoft/kiota/releases/tag/v1.32.0"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "Microsoft Kiota: Code Generation Literal Injection in Kiota Ruby Generator"
}
GHSA-XG2H-7CXJ-3GVH
Vulnerability from github – Published: 2025-02-12 00:32 – Updated: 2025-02-14 21:30Withdrawn Advisory
This advisory is a duplicate of GHSA-6wgj-66m2-xxp2 / CVE-2023-48022.
Original Description
An issue in Anyscale Inc Ray between v.2.9.3 and v.2.40.0 allows a remote attacker to execute arbitrary code via a crafted script.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "ray"
},
"ranges": [
{
"events": [
{
"introduced": "2.9.3"
},
{
"last_affected": "2.40.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2024-57000"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2025-02-12T19:33:10Z",
"nvd_published_at": "2025-02-11T23:15:09Z",
"severity": "CRITICAL"
},
"details": "# Withdrawn Advisory\nThis advisory is a duplicate of GHSA-6wgj-66m2-xxp2 / CVE-2023-48022.\n\n# Original Description\nAn issue in Anyscale Inc Ray between v.2.9.3 and v.2.40.0 allows a remote attacker to execute arbitrary code via a crafted script.",
"id": "GHSA-xg2h-7cxj-3gvh",
"modified": "2025-02-14T21:30:14Z",
"published": "2025-02-12T00:32:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-57000"
},
{
"type": "WEB",
"url": "https://github.com/honysyang/Ray.git"
},
{
"type": "PACKAGE",
"url": "https://github.com/ray-project/ray"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Withdrawn Advisory: Command injection in Ray",
"withdrawn": "2025-02-14T21:30:14Z"
}
GHSA-XG4X-XHFV-P56H
Vulnerability from github – Published: 2022-05-24 17:29 – Updated: 2022-05-24 17:29The login page in Telmat AccessLog <= 6.0 (TAL_20180415) allows an attacker to get root shell access via Unauthenticated code injection over the network.
{
"affected": [],
"aliases": [
"CVE-2020-16147"
],
"database_specific": {
"cwe_ids": [
"CWE-78",
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2020-09-24T14:15:00Z",
"severity": "CRITICAL"
},
"details": "The login page in Telmat AccessLog \u003c= 6.0 (TAL_20180415) allows an attacker to get root shell access via Unauthenticated code injection over the network.",
"id": "GHSA-xg4x-xhfv-p56h",
"modified": "2022-05-24T17:29:23Z",
"published": "2022-05-24T17:29:23Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-16147"
},
{
"type": "WEB",
"url": "https://podalirius.net/cves/2020-16147"
},
{
"type": "WEB",
"url": "https://podalirius.net/en/cves/2020-16147"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-XG8J-6M35-M6WR
Vulnerability from github – Published: 2026-07-10 15:31 – Updated: 2026-07-10 15:31Grav before 2.0.2 contains a Twig sandbox bypass that allows a page author (any admin.pages user, or anyone able to write to user/pages) to exfiltrate configuration secrets. Although the sandbox replaces the 'config' variable with a redacted facade and strips Config::get/toArray from the method allowlist, the raw container remains accessible via the allow-listed grav.offsetGet('config'), which returns the real Config object. Allow-listed object-dumping filters (json_encode, print_r, yaml_encode) then serialize that object at the PHP level without invoking the sandbox method gate, exposing the full config tree including plugin secrets such as SMTP credentials, API keys, and plugin DB credentials. This is an incomplete fix for GHSA-j274-39qw-32c9.
{
"affected": [],
"aliases": [
"CVE-2026-61450"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-07-10T15:16:50Z",
"severity": "HIGH"
},
"details": "Grav before 2.0.2 contains a Twig sandbox bypass that allows a page author (any admin.pages user, or anyone able to write to user/pages) to exfiltrate configuration secrets. Although the sandbox replaces the \u0027config\u0027 variable with a redacted facade and strips Config::get/toArray from the method allowlist, the raw container remains accessible via the allow-listed grav.offsetGet(\u0027config\u0027), which returns the real Config object. Allow-listed object-dumping filters (json_encode, print_r, yaml_encode) then serialize that object at the PHP level without invoking the sandbox method gate, exposing the full config tree including plugin secrets such as SMTP credentials, API keys, and plugin DB credentials. This is an incomplete fix for GHSA-j274-39qw-32c9.",
"id": "GHSA-xg8j-6m35-m6wr",
"modified": "2026-07-10T15:31:42Z",
"published": "2026-07-10T15:31:42Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/getgrav/grav/security/advisories/GHSA-mc5q-6hpj-rp7j"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-61450"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/grav-before-config-exfiltration-via-offsetget-filter"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"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/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",
"type": "CVSS_V4"
}
]
}
Mitigation
Strategy: Refactoring
Refactor your program so that you do not have to dynamically generate code.
Mitigation
- Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product.
- Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection.
- This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise.
- Be careful to avoid CWE-243 and other weaknesses related to jails.
Mitigation MIT-5
Strategy: Input Validation
- Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
- When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."
- Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
- To reduce the likelihood of code injection, use stringent allowlists that limit which constructs are allowed. If you are dynamically constructing code that invokes a function, then verifying that the input is alphanumeric might be insufficient. An attacker might still be able to reference a dangerous function that you did not intend to allow, such as system(), exec(), or exit().
Mitigation
Use dynamic tools and techniques that interact with the product using large test suites with many diverse inputs, such as fuzz testing (fuzzing), robustness testing, and fault injection. The product's operation may slow down, but it should not become unstable, crash, or generate incorrect results.
Mitigation MIT-32
Strategy: Compilation or Build Hardening
Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's "-T" switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).
Mitigation MIT-32
Strategy: Environment Hardening
Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's "-T" switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).
Mitigation
For Python programs, it is frequently encouraged to use the ast.literal_eval() function instead of eval, since it is intentionally designed to avoid executing code. However, an adversary could still cause excessive memory or stack consumption via deeply nested structures [REF-1372], so the python documentation discourages use of ast.literal_eval() on untrusted data [REF-1373].
CAPEC-242: Code Injection
An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.
CAPEC-35: Leverage Executable Code in Non-Executable Files
An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
CAPEC-77: Manipulating User-Controlled Variables
This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An adversary can override variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the adversary can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.