Skip to content
Heist/ feed
Back to feed
UnratedFix available

Fix CVE(s): CVE-2026-6475

Type: advisorySources: OSV

* SECURITY UPDATE: Path traversal in pg_rewind: file, directory and symlink paths received from the source server over libpq were acted on without validation, so a rogue origin could make pg_rewind write, truncate or unlink files outside the target data directory - debian/patches/CVE-2026-6475.patch: Add path_is_safe_for_extraction() in src/port/path.c, which canonicalises a path and requires it to stay relative and below the current directory, and gate every pg_rewind target file/dir/symlink operation on it with pg_fatal() (upstream commit 498829dca4; the pg_basebackup astreamer half of that commit is v15+ and absent from 9.6) - CVE-2026-6475: path traversal in pg_rewind target file operations via unvalidated paths supplied by the source server

Products
libecpg-compat3-9.6, libecpg-dev-9.6, libecpg6-9.6, libpgtypes3-9.6, libpq-dev-9.6, libpq5-9.6, postgresql-9.6, postgresql-client-9.6, postgresql-contrib-9.6, postgresql-doc-9.6, postgresql-plperl-9.6, postgresql-plpython-9.6, postgresql-plpython3-9.6, postgresql-pltcl-9.6, postgresql-server-dev-9.6
Affected versions
Not specified
Fixed versions
9.6.24-0+deb10u1+tuxcare.els5
CVEs
CVE-2026-6475
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 11:22 UTC · Revision 1

Source evidence

Fix CVE(s): CVE-2026-6475

core-osv · Original source

Published 31 Aug 2026, 16:19 UTC

* SECURITY UPDATE: Path traversal in pg_rewind: file, directory and symlink paths received from the source server over libpq were acted on without validation, so a rogue origin could make pg_rewind write, truncate or unlink files outside the target data directory - debian/patches/CVE-2026-6475.patch: Add path_is_safe_for_extraction() in src/port/path.c, which canonicalises a path and requires it to stay relative and below the current directory, and gate every pg_rewind target file/dir/symlink operation on it with pg_fatal() (upstream commit 498829dca4; the pg_basebackup astreamer half of that commit is v15+ and absent from 9.6) - CVE-2026-6475: path traversal in pg_rewind target file operations via unvalidated paths supplied by the source server

osv:CLSA-2026-1788193166

libecpg-compat3-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

libecpg-dev-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

libecpg6-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

libpgtypes3-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

libpq-dev-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

libpq5-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-client-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-contrib-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-doc-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-plperl-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-plpython-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-plpython3-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-pltcl-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

postgresql-server-dev-9.6

Fixed versions: 9.6.24-0+deb10u1+tuxcare.els5

Complete source record
{
  "id": "377be792a613cdf14458c48e86b440b4b8e1b2dd3139f07689e9d20d3ffaccd0",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1788193166",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Fix CVE(s): CVE-2026-6475",
    "summary": "* SECURITY UPDATE: Path traversal in pg_rewind: file, directory and symlink paths received from the source server over libpq were acted on without validation, so a rogue origin could make pg_rewind write, truncate or unlink files outside the target data directory - debian/patches/CVE-2026-6475.patch: Add path_is_safe_for_extraction() in src/port/path.c, which canonicalises a path and requires it to stay relative and below the current directory, and gate every pg_rewind target file/dir/symlink operation on it with pg_fatal() (upstream commit 498829dca4; the pg_basebackup astreamer half of that commit is v15+ and absent from 9.6) - CVE-2026-6475: path traversal in pg_rewind target file operations via unvalidated paths supplied by the source server",
    "evidence": "osv:CLSA-2026-1788193166",
    "products": [
      {
        "name": {
          "value": "libecpg-compat3-9.6",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libecpg-dev-9.6",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libecpg6-9.6",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libpgtypes3-9.6",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libpq-dev-9.6",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libpq5-9.6",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-9.6",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/6/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-client-9.6",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/7/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-contrib-9.6",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/8/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-doc-9.6",
          "evidence": "/affected/9/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/9/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-plperl-9.6",
          "evidence": "/affected/10/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/10/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-plpython-9.6",
          "evidence": "/affected/11/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/11/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-plpython3-9.6",
          "evidence": "/affected/12/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/12/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-pltcl-9.6",
          "evidence": "/affected/13/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/13/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "postgresql-server-dev-9.6",
          "evidence": "/affected/14/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.6.24-0+deb10u1+tuxcare.els5",
            "evidence": "/affected/14/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1788193166",
      "aliases": [
        "CLSA-2026-1788193166"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "libecpg-compat3-9.6",
            "purl": "pkg:deb/tuxcare/libecpg-compat3-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "libecpg-dev-9.6",
            "purl": "pkg:deb/tuxcare/libecpg-dev-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "libecpg6-9.6",
            "purl": "pkg:deb/tuxcare/libecpg6-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "libpgtypes3-9.6",
            "purl": "pkg:deb/tuxcare/libpgtypes3-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "libpq-dev-9.6",
            "purl": "pkg:deb/tuxcare/libpq-dev-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "libpq5-9.6",
            "purl": "pkg:deb/tuxcare/libpq5-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-client-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-client-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-contrib-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-contrib-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-doc-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-doc-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-plperl-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-plperl-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-plpython-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-plpython-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-plpython3-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-plpython3-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-pltcl-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-pltcl-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.6.24-0+deb10u1+tuxcare.els5"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-server-dev-9.6",
            "purl": "pkg:deb/tuxcare/postgresql-server-dev-9.6?distro=debian-10",
            "ecosystem": "TuxCare:Debian:10"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1788193166.json"
          }
        }
      ],
      "modified": "2026-10-26T09:31:53.127776301Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-6475"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/debian10els/CLSA-2026-1788193166.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-6475"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-6475",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 448829,
  "published_at": "2026-08-31T16:19:38+00:00"
}