← 뉴스

보안 뉴스PostgreSQL

PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE

VulnPulse 해설

PostgreSQL 18.7, 17.12, 16.16, 15.20 and 14.25 fix 52 security flaws. CVE-2026-6460 also needs C extensions rebuilt, and PostgreSQL 14 has reached end of life

On November 12 PostgreSQL shipped updates for every supported line, closing 52 vulnerabilities. The headline one, CVE-2026-6460, lets a user who can create objects such as tables run code as the operating-system account the database runs under, and fully closing it takes a rebuild of C-language extensions on top of the update.

목차
  1. 영향을 받는 대상
  2. 쉽게 말하면
  3. 작동 방식
  4. 공격 흐름
  5. 해야 할 일
  6. 아직 밝혀지지 않은 점
  7. 출처

영향을 받는 대상

Administrators who run PostgreSQL 14 through 18 themselves, and developers of the applications on top. CVE-2026-6460 affects everything older than 18.7, 17.12, 16.16, 15.20 and 14.25. An attacker needs a database login with the right to create objects (CVSS 8.8, low privileges required). The exposure is larger on shared databases that hand each tenant a schema, and where the application's own account is allowed to run DDL. For PostgreSQL 14 this is the last update.

쉽게 말하면

It is like changing how a warehouse shelf is divided while boxes labelled under the old layout are still sitting there. Staff trust the new ledger when they open a box and so misread what is inside. An attacker can cause that mix-up on purpose.

작동 방식

CVE-2026-6460 is a type confusion. After a statement that changes a column's data type, such as ALTER ... SET DATA TYPE, values still laid out for the old type could survive in places like catalog entries and PL/pgSQL variables, and the server would then read them as the new type. The project says values carried no marker of their own type and were not tracked well enough. According to the release notes, the fix gives row-shaped (composite) values version information so that a mismatch with the reader's definition is detected. That mechanism reaches into C extensions, which is why they must be rebuilt for full protection and why a few need source changes. Rules for changing a column type while other objects depend on the composite type were tightened as well. By our count of the announcement's list, 32 of the 52 flaws carry a CVSS score of 8.8, and they include bugs in extensions such as PL/Perl, PL/Tcl and dblink and in bundled tools such as pg_dump and pg_restore. CISA's SSVC assessment dated November 12 records no exploitation of CVE-2026-6460.

공격 흐름

  1. The attacker obtains a database account that may create objects, either a legitimate one or a hijacked application account
  2. They run type-changing DDL on objects they own so that values in the old type are left behind
  3. The server handles the leftover values as if they were of the new type
  4. Code then runs with the rights of the operating-system user that runs the database

해야 할 일

  • PostgreSQL administrators: move to the newest release of your line (18.7, 17.12, 16.16, 15.20 or 14.25). It is a minor update, so no dump and restore is needed; stop the server and swap the binaries
  • Admins who build and install C extensions themselves: rebuild them against the updated PostgreSQL, and check whether the extension's publisher has shipped new builds
  • If an extension breaks under the new checks: the composite_type_mismatch parameter can switch them off, but the release notes warn that this carries security risk. Treat it as a stopgap until the extension is fixed
  • Anyone on PostgreSQL 14: install 14.25, then plan the move to a supported line, because no further fixes will come
  • After updating: rebuild GiST indexes that use pg_trgm and B-tree indexes on bpchar columns declared without a length, plus any GIN index you suspect is damaged. If you rely on incremental backups, take a fresh full backup
  • Application developers: review whether the app's database account really needs CREATE or ALTER rights. If migrations use type-changing ALTER statements, try them in staging in case the stricter rules reject them
  • Users of managed database services: check the provider's notices for when the fixed releases are rolled out

아직 밝혀지지 않은 점

  • Which extensions need source changes. The release notes say only that some do and name none
  • When managed PostgreSQL offerings from cloud providers will apply the fixes (we did not check)
  • The "22-year-old" age given in the original article's headline. We could not confirm it in the announcement, the CVE page or the 18.7 release notes
  • The affected lines and conditions for each of the other 51 flaws. They differ case by case and need to be checked on PostgreSQL's security pages

출처

원문 기사와 공개 정보를 바탕으로 VulnPulse가 자체적으로 정리한 해설입니다. 정확한 내용은 출처를 확인하세요. 업데이트:

원문 공지

A type confusion flaw in PostgreSQL lets a database user who can create objects run code on the server. Updates released yesterday fix it, along with 51 other security flaws. Full protection from this flaw also requires rebuilding any C-language extensions installed on the server. The flaw, tracked as CVE-2026-6460, has a CVSS score of 8.8. Any code run this way has the rights of the operating

The Hacker News에서 읽기

2026. 11. 14. 오전 01:53, The Hacker News에서 "PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE"을(를) 게시했습니다 (유형: 보안 뉴스). 관련 기술: PostgreSQL. CVE: CVE-2026-6460.