← Back to CVE Explorer

CVE-2026-59854

Full vulnerability record from the local CVENow database.

Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, POST /api/file/globalCopyFiles accepts attacker-supplied absolute source paths and relies on util.IsSensitivePath in kernel/util/path.go, whose denylist misses common home-directory credential files such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg, allowing an authenticated administrator or API-token user to copy those files into the workspace and exfiltrate them through the file API. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.

Severity
MEDIUM
CVSS score
4.9 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-09 23:17:06.163000
Last modified
2026-10-25 15:10:00.147000
View original CVE JSON
{
  "id": "CVE-2026-59854",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-09T23:17:06.163",
  "lastModified": "2026-10-25T15:10:00.147",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, POST /api/file/globalCopyFiles accepts attacker-supplied absolute source paths and relies on util.IsSensitivePath in kernel/util/path.go, whose denylist misses common home-directory credential files such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg, allowing an authenticated administrator or API-token user to copy those files into the workspace and exfiltrate them through the file API. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1."
    },
    {
      "lang": "es",
      "value": "SiYuan es un sistema de gestión de conocimiento personal de código abierto. Antes de la versión 3.7.1, POST /API/file/globalCopyFiles acepta rutas de origen absolutas proporcionadas por el atacante y se basa en util.IsSensitivePath en kernel/util/path.go, cuya lista de denegación omite archivos de credenciales comunes del directorio de inicio como .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json y .gnupg, lo que permite a un administrador autenticado o a un usuario con token de API copiar esos archivos en el espacio de trabajo y exfiltrarlos a través de la API de archivos. Este problema se ha solucionado en las versiones 3.7.1-alpha.2 y 3.7.1."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "siyuan-note",
          "product": "siyuan",
          "versions": [
            {
              "version": "< 3.7.1",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
          "baseScore": 4.9,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "HIGH",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 1.2,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-10T20:46:29.340658Z",
          "id": "CVE-2026-59854",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-693"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/siyuan-note/siyuan/commit/914c5180a88d17f6d38716a56483327b367ef55f",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/siyuan-note/siyuan/commit/b54fee401799d987d2fd2888220938ad599b8c5e",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vmm8-3ccv-ppvw",
      "source": "[email protected]"
    }
  ]
}