← Back to CVE Explorer

CVE-2026-0394

Full vulnerability record from the local CVENow database.

Description

When dovecot has been configured to use per-domain passwd files, and they are placed one path component above /etc, or slash has been added to allowed characters, path traversal can happen if the domain component is directory partial. This allows inadvertently reading /etc/passwd (or some other path which ends with passwd). If this file contains passwords, it can be used to authenticate wrongly, or if this is userdb, it can unexpectly make system users appear valid users. Upgrade to fixed version, or use different authentication scheme that does not rely on paths. Alternatively you can also ensure that the per-domain passwd files are in some other location, such as /etc/dovecot/auth/%d. No publicly available exploits are known.

Severity
MEDIUM
CVSS score
5.3 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-03-27 09:16:19.283000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
  "id": "CVE-2026-0394",
  "sourceIdentifier": "[email protected]",
  "published": "2026-03-27T09:16:19.283",
  "lastModified": "2026-10-26T21:10:00.170",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "When dovecot has been configured to use per-domain passwd files, and they are placed one path component above /etc, or slash has been added to allowed characters, path traversal can happen if the domain component is directory partial. This allows inadvertently reading /etc/passwd (or some other path which ends with passwd). If this file contains passwords, it can be used to authenticate wrongly, or if this is userdb, it can unexpectly make system users appear valid users.  Upgrade to fixed version, or use different authentication scheme that does not rely on paths. Alternatively you can also ensure that the per-domain passwd files are in some other location, such as /etc/dovecot/auth/%d. No publicly available exploits are known."
    },
    {
      "lang": "es",
      "value": "Cuando dovecot ha sido configurado para usar archivos passwd por dominio, y estos se colocan un componente de ruta por encima de /etc, o se ha añadido una barra a los caracteres permitidos, puede ocurrir un salto de ruta si el componente de dominio es parcial de directorio. Esto permite leer inadvertidamente /etc/p4ssd (o alguna otra ruta que termine en passwd). Si este archivo contiene contraseñas, puede usarse para autenticar erróneamente, o si esto es userdb, puede hacer que los usuarios del sistema aparezcan inesperadamente como usuarios válidos. Actualice a la versión corregida, o use un esquema de autenticación diferente que no dependa de rutas. Alternativamente, también puede asegurarse de que los archivos passwd por dominio estén en otra ubicación, como /etc/dovecot/auth/%d. No se conocen exploits disponibles públicamente."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Open-Xchange GmbH",
          "product": "OX Dovecot Pro",
          "defaultStatus": "unaffected",
          "modules": [
            "core"
          ],
          "versions": [
            {
              "version": "0",
              "lessThanOrEqual": "2.3.0",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
          "baseScore": 5.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 1.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-03-27T19:41:07.297115Z",
          "id": "CVE-2026-0394",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:*",
              "versionEndExcluding": "2.4.0",
              "matchCriteriaId": "65BB008F-7133-4124-B6EC-8557857AA205"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:open-xchange:dovecot:*:*:*:*:pro:*:*:*",
              "versionEndExcluding": "3.1.0",
              "matchCriteriaId": "2B2A6FAE-BE83-47A7-9ECE-8F7B6EAF334B"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0001.json",
      "source": "[email protected]",
      "tags": [
        "Vendor Advisory"
      ]
    }
  ]
}