GrepBoard/Manuals
605 manuals ·

Watch GitLab Patch Releases via RSS and Compare Your Version

·Tested on GitLab official release feed as of 2026-10-21 · Ubuntu 24.04 · curl 8.5.0 · Python 3.12·Test scope ↓·5 steps

Download GitLab's patch feed with curl and see whether your branch has a newer patch, and whether it is critical. Feed structure and refresh rate were checked.

GitLab also publishes patch announcements as feeds on its docs site. The official releases page lists three addresses: releases.xml for monthly releases, patch-releases.xml for patch releases, and all-releases.xml for both. Below, download the patch feed and compare it with your version. The critical patch already out is covered in the CVE-2026-110264 post.

[1] Download the feed from https://docs.gitlab.com/releases/patch-releases.xml. This command also prints the response code, size and content type.

console
$ curl -sS -L --max-time 60 -o patch-releases.xml -w "%{http_code} %{size_download} %{content_type}\n" https://docs.gitlab.com/releases/patch-releases.xml
output
200 1708320 text/xml; charset=utf-8

The feed is Atom and about 1.7 MB, because every entry carries the full advisory text.

[2] Decide how often to download from the response headers. Request the headers only.

console
$ curl -sS -I --max-time 30 https://docs.gitlab.com/releases/patch-releases.xml
output
HTTP/2 200content-type: text/xml; charset=utf-8cache-control: public, max-age=14400etag: W/"ed0d06b5cb1cfd7fe4c6f8058ec77a07e74f0493d1b32c86c215bebb7dcb55a9-br"last-modified: Fri, 23 Oct 2026 12:09:06 GMT

max-age=14400 is four hours; during that time a cached copy may be served, so polling more often gains little. It does not guarantee the origin stays unchanged for four hours. ETag and Last-Modified are present, so conditional requests are an option, but they were not tested here.

[3] Know the structure. Titles look like GitLab Critical Patch Release: 19.5.1, 19.4.3, … or GitLab Patch Release: 18.11.9, and a Critical in the title marks an ad-hoc patch. The 17 oldest entries use GitLab Security Release: … (13) and GitLab Critical Security Release: … (4) titles. The advisory text says scheduled releases come on the second and fourth Wednesdays, with critical patches released separately. The script below pulls versions out of the titles and collects patches in your branch (the first two numbers, such as 19.4) that are newer than your version.

run/gl_watch.py
NS = {"a": "http://www.w3.org/2005/Atom"}…    for e in root.findall("a:entry", NS):        title = e.find("a:title", NS).text        date = e.find("a:published", NS).text[:10]        vers = re.findall(r"\d+\.\d+\.\d+", title)        entries.append((date, "AI Gateway" in title, "Critical" in title, vers, title))…    mv = vt(mine)    branch = mv[:2]…    for date, gw, crit, vers, title in entries:        if gw:            continue        for v in vers:            t = vt(v)            if t[:2] == branch and t > mv:                newer.append((t, date, "CRITICAL" if crit else ("security" if "Security Release" in title else "")))

Entries with AI Gateway in the title are skipped. AI Gateway is a separate product whose version numbers overlap with GitLab itself (see the pitfalls below).

[4] Run it with your installed version. A -ee or -ce suffix, as printed by gitlab-rake or the API, is fine; only the first three numbers are read. This is the result for 19.4.2-ee.

console
$ python3 gl_watch.py patch-releases.xml 19.4.2-ee
output
feed updated: 2026-10-21T00:00:00Zentries: 109 latest 6 entries  2026-10-21 critical   19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13  2026-10-12 critical   19.4.2, 19.3.5, 19.2.8  2026-10-02 ai-gateway 19.2.4, 19.3.2, 19.4.1  2026-09-23 critical   19.0.9, 18.11.12  2026-09-23 critical   19.4.1, 19.3.3, 19.2.7  2026-09-10 critical   19.3.2, 19.2.6, 19.1.8 installed: 19.4.2-ee (branch 19.4)  newer: 19.4.3  2026-10-21  CRITICALlatest in branch: 19.4.3

A newer line means a patch is waiting, and CRITICAL means a critical patch is among them. For 19.5.1 the script prints no newer patch in this branch.

[5] The feed holds 109 entries going back to 2023-05-23, so even old branches return history. This is the whole output for 17.2.0.

output
installed: 17.2.0 (branch 17.2)  newer: 17.2.1  2024-07-24  newer: 17.2.2  2024-08-07  newer: 17.2.4  2024-08-21  newer: 17.2.5  2024-09-11  CRITICAL  newer: 17.2.7  2024-09-17  CRITICAL  newer: 17.2.8  2024-09-25  newer: 17.2.9  2024-10-09  CRITICALlatest in branch: 17.2.9

A branch the feed does not contain ends in one line (run for 14.10.0).

output
installed: 14.10.0 (branch 14.10)branch not in the feed at all

The 17.2 output only says 17.2.9 was the last patch of the 17.2 branch. It does not say the branch is safe today.

Where the comparison goes wrong

  • Even if 17.2.9 is the last patch of its branch, CVE-2026-110264 covers every version from 7.0 and the advisory lists no fixed release for 17.2. The feed answers only "does my branch have a newer patch". Which branch to move to comes from the advisory's per-branch fixed-release table.
  • 19.4.1 appears twice in the feed. 2026-09-23 is GitLab itself; 2026-10-02 is AI Gateway (GitLab AI Gateway Critical Patch Release). Reading only the numbers mixes the two products, so the script drops AI Gateway entries.
  • One date can hold two entries. On 2026-09-23, 19.0.9, 18.11.12 and 19.4.1, 19.3.3, 19.2.7 were posted separately. Counting "one release that day" by date is wrong.
  • Branches differ per entry. The 2026-10-12 entry has no 19.1; 19.1.9 first appears on 2026-10-21. An entry without your branch may simply not concern you, so collect per branch instead of reading only the newest entry.
  • last-modified is when the file landed on the server, while feed updated is the date of the latest release. In the output above they are two days apart. A changed header time does not mean a new patch.
  • The script treats only Critical in the title as critical (older Security Release titles are only labelled security). A high-severity fix inside a scheduled patch is in the entry body (content), so open the advisory page when you upgrade.

#gitlab#rss#patch