{"id":"CVE-2026-48997","sourceIdentifier":"security-advisories@github.com","published":"2026-06-17T22:16:23.737","lastModified":"2026-10-26T12:10:00.130","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"e107 is a content management system (CMS). Versions  2.3.5 and earlier contain a command injection vulnerability in the ImageMagick resize destination path. In resize_image(), the source path is escaped with escapeshellarg(), but the destination path is inserted inside raw double quotes in the convert command; in the submit-news upload flow, that destination filename includes the first six characters of user-controlled news title input. Because the title filter removes literal spaces but not tab characters, and shell expansions such as $(...) and backticks can survive into the quoted destination argument, /bin/sh -c may evaluate attacker-controlled input. Exploitation is possible only when all of the following non-default settings are enabled: resize_method=ImageMagick, subnews_attach=1, upload_enabled=1, subnews_resize is numeric between 30 and 5000, and the attacker is a non-admin in classes permitted by both subnews_class and upload_class. This issue has been fixed in version 2.3.6."},{"lang":"es","value":"e107 es un sistema de gestión de contenido (CMS). Las versiones 2.3.5 y anteriores contienen una vulnerabilidad de inyección de comandos en la ruta de destino de redimensionamiento de ImageMagick. En resize_image(), la ruta de origen se escapa con escapeshellarg(), pero la ruta de destino se inserta dentro de comillas dobles sin procesar en el comando convert; en el flujo de carga de submit-news, ese nombre de archivo de destino incluye los primeros seis caracteres de la entrada del título de la noticia controlada por el usuario. Debido a que el filtro de título elimina los espacios literales pero no los caracteres de tabulación, y las expansiones de shell como $(...) y las comillas inversas pueden sobrevivir en el argumento de destino entre comillas, /bin/sh -c puede evaluar la entrada controlada por el atacante. La explotación es posible solo cuando todas las siguientes configuraciones no predeterminadas están habilitadas: resize_method=ImageMagick, subnews_attach=1, upload_enabled=1, subnews_resize es numérico entre 30 y 5000, y el atacante es un no-administrador en las clases permitidas por subnews_class y upload_class. Este problema ha sido solucionado en la versión 2.3.6."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"e107inc","product":"e107","versions":[{"version":"< 2.3.6","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-06-18T13:05:40.518821Z","id":"CVE-2026-48997","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-78"}]}],"references":[{"url":"https://github.com/e107inc/e107/releases/tag/v2.3.6","source":"security-advisories@github.com"},{"url":"https://github.com/e107inc/e107/security/advisories/GHSA-3j33-c9v4-4p42","source":"security-advisories@github.com"},{"url":"https://github.com/e107inc/e107/security/advisories/GHSA-3j33-c9v4-4p42","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}