{"id":"CVE-2026-33793","state":"PUBLISHED","title":"Junos OS and Junos OS Evolved: When an unsigned Python op script configuration is present, a local low privileged user can compromise the system","description":"An Execution with Unnecessary Privileges vulnerability in the User Interface (UI) of Juniper Networks Junos OS and Junos OS Evolved allows a local, low-privileged attacker to gain root privileges, thus compromising the system.\n\nWhen a configuration that allows unsigned Python op scripts is present on the device, a non-root user is able to execute malicious op scripts as a root-equivalent user, leading to privilege escalation. \n\nThis issue affects Junos OS: \n\n  *  All versions before 22.4R3-S7, \n  *  from 23.2 before 23.2R2-S4, \n  *  from 23.4 before 23.4R2-S6,\n  *  from 24.2 before 24.2R1-S2, 24.2R2, \n  *  from 24.4 before 24.4R1-S2, 24.4R2; \n\n\n\n\nJunos OS Evolved: \n\n\n\n  *  All versions before 22.4R3-S7-EVO, \n  *  from 23.2 before 23.2R2-S4-EVO, \n  *  from 23.4 before 23.4R2-S6-EVO,\n  *  from 24.2 before 24.2R2-EVO, \n  *  from 24.4 before 24.4R1-S1-EVO, 24.4R2-EVO.","publishedAt":"2026-04-09T21:24:50.485Z","updatedAt":"2026-04-16T15:14:18.212Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:L/AU:Y/R:U/V:C/RE:M/U:Amber","source":"juniper"},"assigner":"juniper","products":["Juniper Networks Junos OS","Juniper Networks Junos OS Evolved"],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.4R3-S7","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S4","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2-S6","versionType":"semver"},{"version":"24.2","status":"affected","lessThan":"24.2R1-S2, 24.2R2","versionType":"semver"},{"version":"24.4","status":"affected","lessThan":"24.4R1-S2, 24.4R2","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.4R3-S7-EVO","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S4-EVO","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2-S6-EVO","versionType":"semver"},{"version":"24.2","status":"affected","lessThan":"24.2R2-EVO","versionType":"semver"},{"version":"24.4","status":"affected","lessThan":"24.4R1-S1-EVO, 24.4R2-EVO","versionType":"semver"}]}],"references":["https://supportportal.juniper.net/JSA103142"],"weaknesses":["CWE-250"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33793.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33793","state":"PUBLISHED","datePublished":"2026-04-09T21:24:50.485Z","dateUpdated":"2026-04-16T15:14:18.212Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2026-03-23T19:46:13.672Z"},"containers":{"cna":{"title":"Junos OS and Junos OS Evolved: When an unsigned Python op script configuration is present, a local low privileged user can compromise the system","descriptions":[{"lang":"en","value":"An Execution with Unnecessary Privileges vulnerability in the User Interface (UI) of Juniper Networks Junos OS and Junos OS Evolved allows a local, low-privileged attacker to gain root privileges, thus compromising the system.\n\nWhen a configuration that allows unsigned Python op scripts is present on the device, a non-root user is able to execute malicious op scripts as a root-equivalent user, leading to privilege escalation. \n\nThis issue affects Junos OS: \n\n  *  All versions before 22.4R3-S7, \n  *  from 23.2 before 23.2R2-S4, \n  *  from 23.4 before 23.4R2-S6,\n  *  from 24.2 before 24.2R1-S2, 24.2R2, \n  *  from 24.4 before 24.4R1-S2, 24.4R2; \n\n\n\n\nJunos OS Evolved: \n\n\n\n  *  All versions before 22.4R3-S7-EVO, \n  *  from 23.2 before 23.2R2-S4-EVO, \n  *  from 23.4 before 23.4R2-S6-EVO,\n  *  from 24.2 before 24.2R2-EVO, \n  *  from 24.4 before 24.4R1-S1-EVO, 24.4R2-EVO."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.4R3-S7","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S4","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2-S6","versionType":"semver"},{"version":"24.2","status":"affected","lessThan":"24.2R1-S2, 24.2R2","versionType":"semver"},{"version":"24.4","status":"affected","lessThan":"24.4R1-S2, 24.4R2","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.4R3-S7-EVO","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S4-EVO","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2-S6-EVO","versionType":"semver"},{"version":"24.2","status":"affected","lessThan":"24.2R2-EVO","versionType":"semver"},{"version":"24.4","status":"affected","lessThan":"24.4R1-S1-EVO, 24.4R2-EVO","versionType":"semver"}]}],"references":[{"url":"https://supportportal.juniper.net/JSA103142","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV4_0":{"Automatable":"YES","Recovery":"USER","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.5,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"AMBER","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"CONCENTRATED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:L/AU:Y/R:U/V:C/RE:M/U:Amber","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"MODERATE"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-250","description":"CWE-250: Execution with Unnecessary Privileges","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"juniper","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateUpdated":"2026-04-16T15:14:18.212Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"This issue can affect all systems with Python 3 op scripts enabled:<br><br><tt>[ system scripts language python3 ]</tt><br><br>However, the risk of malicious exploitation is significantly higher when the ability to execute Python 3 op scripts from a remote location is enabled:<br><br>\n\n<tt>[ system scripts op allow-url-for-python ]</tt>\n\n<br><br>Starting in Junos OS Evolved Release 21.2R1, the <tt>junos-defaults</tt> configuration group includes '<tt>system scripts language python3</tt>' enabled by default.<br><br>\n\n<br>"}],"value":"This issue can affect all systems with Python 3 op scripts enabled:\n\n[ system scripts language python3 ]\n\nHowever, the risk of malicious exploitation is significantly higher when the ability to execute Python 3 op scripts from a remote location is enabled:\n\n\n\n[ system scripts op allow-url-for-python ]\n\n\n\nStarting in Junos OS Evolved Release 21.2R1, the junos-defaults configuration group includes 'system scripts language python3' enabled by default."}],"datePublic":"2026-04-08T16:00:00.000Z","exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The following software releases have been updated to resolve this specific issue: <br><br>Junos OS Evolved: 22.4R3-S7-EVO, 23.2R2-S4-EVO, 23.4R2-S6-EVO, 24.2R2-EVO, 24.4R1-S1-EVO, 24.4R2-EVO, 25.2R1-EVO and all subsequent releases.<br><br>Junos OS: 22.4R3-S7, 23.2R2-S4, 23.4R2-S6, 24.2R1-S2, 24.2R2, 24.4R1-S2, 24.4R2, 25.2R1 and all subsequent releases.<br><br><br>"}],"value":"The following software releases have been updated to resolve this specific issue: \n\nJunos OS Evolved: 22.4R3-S7-EVO, 23.2R2-S4-EVO, 23.4R2-S6-EVO, 24.2R2-EVO, 24.4R1-S1-EVO, 24.4R2-EVO, 25.2R1-EVO and all subsequent releases.\n\nJunos OS: 22.4R3-S7, 23.2R2-S4, 23.4R2-S6, 24.2R1-S2, 24.2R2, 24.4R1-S2, 24.4R2, 25.2R1 and all subsequent releases."}],"source":{"advisory":"JSA103142","defect":["1842247"],"discovery":"INTERNAL"},"timeline":[{"lang":"en","time":"2026-04-08T16:00:00.000Z","value":"Initial Publication"},{"lang":"en","time":"2026-04-16T16:00:00.000Z","value":"While 'language python3' allows an attacker to execute local Python scripts, the scenario with the highest risk of malicious exploitation occurs when an attacker can execute remote Python scripts"}],"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators.<br>"}],"value":"Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-13T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-33793"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-14T03:55:39.735Z"}}]}}}