{"id":82554,"date":"2026-07-26T08:46:23","date_gmt":"2026-07-26T05:16:23","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-63720-datamodel-code-generator-code-injection-via-unvalidated-custombasepath-schema-field\/"},"modified":"2026-07-26T08:46:23","modified_gmt":"2026-07-26T05:16:23","slug":"cve-2026-63720-datamodel-code-generator-code-injection-via-unvalidated-custombasepath-schema-field","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-63720-datamodel-code-generator-code-injection-via-unvalidated-custombasepath-schema-field\/","title":{"rendered":"CVE-2026-63720 &#8211; datamodel-code-generator Code Injection via Unvalidated customBasePath Schema Field"},"content":{"rendered":"<p>CVE ID :CVE-2026-63720<\/p>\n<p>  Published : July 26, 2026, 5:16 a.m. | 37\u00a0minutes ago<\/p>\n<p>  Description :datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression. The crafted value is emitted verbatim into a generated &#8216;from &#8230; import &#8230;&#8217; statement without identifier validation, causing arbitrary Python code to execute when the generated module is imported.<\/p>\n<p>  Severity: 7.5 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-63720 Published : July 26, 2026, 5:16 a.m. | 37\u00a0minutes ago Description :datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression. The crafted value is emitted &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82554","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82554"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82554\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}