CVE-2026-40163 (GCVE-0-2026-40163)

Vulnerability from cvelistv5 – Published: 2026-04-10 17:07 – Updated: 2026-04-15 14:50
VLAI
Title
Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read
Summary
Saltcorn is an extensible, open source, no-code database application builder. Prior to 1.4.5, 1.5.5, and 1.6.0-beta.4, the POST /sync/offline_changes endpoint allows an unauthenticated attacker to create arbitrary directories and write a changes.json file with attacker-controlled JSON content anywhere on the server filesystem. The GET /sync/upload_finished endpoint allows an unauthenticated attacker to list arbitrary directory contents and read specific JSON files. This vulnerability is fixed in 1.4.5, 1.5.5, and 1.6.0-beta.4.
CWE
  • CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Assigner
References
Impacted products
Vendor Product Version
saltcorn saltcorn Affected: < 1.4.5
Affected: >= 1.5.0-beta.0, < 1.5.5
Affected: >= 1.6.0-alpha.0, < 1.6.0-beta.4
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-40163",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-04-15T14:49:25.336831Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-04-15T14:50:01.616Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "saltcorn",
          "vendor": "saltcorn",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 1.4.5"
            },
            {
              "status": "affected",
              "version": "\u003e= 1.5.0-beta.0, \u003c 1.5.5"
            },
            {
              "status": "affected",
              "version": "\u003e= 1.6.0-alpha.0, \u003c 1.6.0-beta.4"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Saltcorn is an extensible, open source, no-code database application builder. Prior to 1.4.5, 1.5.5, and 1.6.0-beta.4, the POST /sync/offline_changes endpoint allows an unauthenticated attacker to create arbitrary directories and write a changes.json file with attacker-controlled JSON content anywhere on the server filesystem. The GET /sync/upload_finished endpoint allows an unauthenticated attacker to list arbitrary directory contents and read specific JSON files. This vulnerability is fixed in 1.4.5, 1.5.5, and 1.6.0-beta.4."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-22",
              "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-10T17:07:49.067Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292"
        }
      ],
      "source": {
        "advisory": "GHSA-32pv-mpqg-h292",
        "discovery": "UNKNOWN"
      },
      "title": "Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-40163",
    "datePublished": "2026-04-10T17:07:49.067Z",
    "dateReserved": "2026-04-09T19:31:56.014Z",
    "dateUpdated": "2026-04-15T14:50:01.616Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-40163",
      "date": "2026-05-30",
      "epss": "0.0018",
      "percentile": "0.39313"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-40163\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-04-10T18:16:46.233\",\"lastModified\":\"2026-04-27T13:36:14.653\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Saltcorn is an extensible, open source, no-code database application builder. Prior to 1.4.5, 1.5.5, and 1.6.0-beta.4, the POST /sync/offline_changes endpoint allows an unauthenticated attacker to create arbitrary directories and write a changes.json file with attacker-controlled JSON content anywhere on the server filesystem. The GET /sync/upload_finished endpoint allows an unauthenticated attacker to list arbitrary directory contents and read specific JSON files. This vulnerability is fixed in 1.4.5, 1.5.5, and 1.6.0-beta.4.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N\",\"baseScore\":8.2,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":4.2}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-22\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"1.4.5\",\"matchCriteriaId\":\"87D06CD8-6A31-44F3-A1DE-D1E2AA8F3274\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"1.5.0\",\"versionEndExcluding\":\"1.5.5\",\"matchCriteriaId\":\"7E3412F3-9513-4A2F-9B81-0CC96A38BDA7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha0:*:*:*:*:*:*\",\"matchCriteriaId\":\"B9F0B1DA-694D-46DC-B1C3-B013AC4A849C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha1:*:*:*:*:*:*\",\"matchCriteriaId\":\"5A1F05CD-57F4-419B-ACA8-D7C9B6368863\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha10:*:*:*:*:*:*\",\"matchCriteriaId\":\"EBF44DCF-6989-4E65-97D0-7C8A9260189A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha11:*:*:*:*:*:*\",\"matchCriteriaId\":\"E6666919-896F-4D1D-8225-3E91BAC9F101\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha12:*:*:*:*:*:*\",\"matchCriteriaId\":\"B1724AAF-1FDA-402D-94D2-86CF9DD8839C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha13:*:*:*:*:*:*\",\"matchCriteriaId\":\"696855BA-6E8A-4170-8CC9-8C267C85397B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha14:*:*:*:*:*:*\",\"matchCriteriaId\":\"8B954E3D-95F4-49FB-8A3A-1DFAE831EAEE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha15:*:*:*:*:*:*\",\"matchCriteriaId\":\"E0EEE350-1436-4C28-B0D7-B2EC26CEF65C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha16:*:*:*:*:*:*\",\"matchCriteriaId\":\"DD555EEB-8C7B-4519-8037-3F4E8CDFFA51\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha17:*:*:*:*:*:*\",\"matchCriteriaId\":\"12C8A9DD-0E70-4BD2-A0DF-8951757200DA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha2:*:*:*:*:*:*\",\"matchCriteriaId\":\"E8F83440-DA15-4415-B29F-4710021E06A8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha3:*:*:*:*:*:*\",\"matchCriteriaId\":\"0276E1CB-EFFA-47DF-A281-3317F9EA566E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha4:*:*:*:*:*:*\",\"matchCriteriaId\":\"399C6A3D-4EC0-498A-98E6-A81E581E8A10\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha5:*:*:*:*:*:*\",\"matchCriteriaId\":\"9A768259-04EC-4EA7-83E6-F802A43F7F12\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha6:*:*:*:*:*:*\",\"matchCriteriaId\":\"9E0E2D7E-96AA-427A-9043-460C8D6C718E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha7:*:*:*:*:*:*\",\"matchCriteriaId\":\"22CA8D18-519C-4DA9-B245-2E2BA6651ED7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha8:*:*:*:*:*:*\",\"matchCriteriaId\":\"E2820DF8-8124-4880-86F4-A262E5E884AB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:alpha9:*:*:*:*:*:*\",\"matchCriteriaId\":\"2A3A7215-0C13-4611-8846-804853DAA0B0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:beta1:*:*:*:*:*:*\",\"matchCriteriaId\":\"480F4CEF-4019-41AC-AD7B-8D317619132A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:beta2:*:*:*:*:*:*\",\"matchCriteriaId\":\"CB023AEF-5AEF-4923-9552-028BF47D7119\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:saltcorn:saltcorn:1.6.0:beta3:*:*:*:*:*:*\",\"matchCriteriaId\":\"959C8B5C-080D-48AA-A91A-AC3F50128450\"}]}]}],\"references\":[{\"url\":\"https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Exploit\",\"Mitigation\",\"Vendor Advisory\"]}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-40163\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-04-15T14:49:25.336831Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-04-15T14:49:42.801Z\"}}], \"cna\": {\"title\": \"Saltcorn has an Unauthenticated Path Traversal in sync endpoints allows arbitrary file write and directory read\", \"source\": {\"advisory\": \"GHSA-32pv-mpqg-h292\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 8.2, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}}], \"affected\": [{\"vendor\": \"saltcorn\", \"product\": \"saltcorn\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 1.4.5\"}, {\"status\": \"affected\", \"version\": \"\u003e= 1.5.0-beta.0, \u003c 1.5.5\"}, {\"status\": \"affected\", \"version\": \"\u003e= 1.6.0-alpha.0, \u003c 1.6.0-beta.4\"}]}], \"references\": [{\"url\": \"https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292\", \"name\": \"https://github.com/saltcorn/saltcorn/security/advisories/GHSA-32pv-mpqg-h292\", \"tags\": [\"x_refsource_CONFIRM\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Saltcorn is an extensible, open source, no-code database application builder. Prior to 1.4.5, 1.5.5, and 1.6.0-beta.4, the POST /sync/offline_changes endpoint allows an unauthenticated attacker to create arbitrary directories and write a changes.json file with attacker-controlled JSON content anywhere on the server filesystem. The GET /sync/upload_finished endpoint allows an unauthenticated attacker to list arbitrary directory contents and read specific JSON files. This vulnerability is fixed in 1.4.5, 1.5.5, and 1.6.0-beta.4.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-22\", \"description\": \"CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-04-10T17:07:49.067Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-40163\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-04-15T14:50:01.616Z\", \"dateReserved\": \"2026-04-09T19:31:56.014Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-04-10T17:07:49.067Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…