CVE-2026-53541

OliveTin gives access to predefined shell commands from a web interface. The `filterToDefinedArgumentsOnly` function in the executor is intended to discard any arguments not explicitly defined in the action's configuration. However, prior to commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d, a special case allows any argument whose name starts with `ot_` to bypass this filter. While two system arguments (`ot_executionTrackingId` and `ot_username`) are injected by OliveTin and overridden, all other `ot_`-prefixed arguments supplied by the user pass through unmodified. These bypassed arguments are not type-checked — the validation loop only iterates over the action's defined arguments, so `ot_`-prefixed arguments skip all type safety checks entirely; set as environment variables — via `buildEnv()`, with completely unvalidated values, and passed to the executed command; and included in the template context — available as `.Arguments.ot_*` in template rendering. Commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d contains a patch.
Configurations

No configuration.

History

14 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) OliveTin da acceso a comandos de shell predefinidos desde una interfaz web. La función 'filterToDefinedArgumentsOnly' en el ejecutor está destinada a descartar cualquier argumento no definido explícitamente en la configuración de la acción. Sin embargo, antes del commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d, un caso especial permite que cualquier argumento cuyo nombre comience con 'ot_' eluda este filtro. Si bien dos argumentos del sistema ('ot_executionTrackingId' y 'ot_username') son inyectados por OliveTin y sobrescritos, todos los demás argumentos con prefijo 'ot_' proporcionados por el usuario pasan sin modificar. Estos argumentos eludidos no son verificados por tipo - el bucle de validación solo itera sobre los argumentos definidos de la acción, por lo que los argumentos con prefijo 'ot_' omiten por completo todas las comprobaciones de seguridad de tipo; se establecen como variables de entorno - a través de 'buildEnv()', con valores completamente no validados, y se pasan al comando ejecutado; y se incluyen en el contexto de la plantilla - disponibles como '.Arguments.ot_*' en la renderización de plantillas. El commit ebffd9f040f791208aee1db2e5a8aecd1e3e603d contiene un parche.

Information

Published : 2026-08-21 23:16

Updated : 2026-10-14 19:10


NVD link : CVE-2026-53541

Mitre link : CVE-2026-53541

CVE.ORG link : CVE-2026-53541


JSON object : View

Products Affected

No product.

CWE
CWE-20

Improper Input Validation