Ubuntu's Edge archive: should a server use it?
Canonical's Edge archive gives Ubuntu Pro servers machine-made CVE fixes before qualification. How to install one fix by hand, and when to wait instead.
What the Edge archive is
The Ubuntu Edge archive is an opt-in Ubuntu Pro repository. It carries machine-generated fixes for known CVEs (Common Vulnerabilities and Exposures) before Canonical has qualified them. Canonical announced it on 12 November 2026. For most servers the right choice is simple: enable it only when an exposed service has a CVE with no qualified fix yet, and then install that one fix by hand.
The fixes come from Surge. Canonical describes Surge as "a multi-agent orchestration framework for CVE remediation and backporting". It works on the existing backlog of known vulnerabilities in Ubuntu userspace, which means the programs and libraries outside the kernel. Surge builds each patched package and runs deterministic tests on it, the same way other Ubuntu packages are tested. It sends edge cases, low-confidence results and deadlocked votes to Ubuntu security engineers for human review. So a person has looked at some Edge fixes. Do not assume a person has looked at every one.
Canonical's own summary is one sentence: "This is an opt-in preview of fixes in development, not a change to our security policy." The rest of this guide explains what that sentence means on a server you run.
How Edge differs from the Ubuntu security pocket
An Ubuntu archive is split into pockets. The -security pocket is where normal security updates come from. Canonical's Edge guide says updates in that pocket "remain human-validated". Edge does not replace that pocket, and it does not feed into it automatically.
Canonical writes that it "will not automatically upload Surge-generated fixes to our stable releases". An Edge fix can still reach everyone later. First it goes through what the guide calls "extensive qualification". Then it is released in the standard Ubuntu archive, or in the ESM (Expanded Security Maintenance) archive for Pro users. Neither the announcement nor the guide gives a timeframe for that step. The guide also invites users to test the Edge security updates in parallel.
Kernel CVE fixes are not part of Surge. The kernel has its own track. In September 2026 Canonical announced a two-week SRU (Stable Release Update) cycle for kernels, published weekly. What that cycle means for your reboot schedule is covered in the Ubuntu kernel SRU cycle and when to reboot. Edge changes nothing there.
Which servers can use the Edge archive
Edge is available for Ubuntu LTS (long-term support) releases from 18.04 to 26.04. It is not currently available for interim releases such as 26.10. Two of those LTS releases are past standard support. 18.04 left standard security maintenance in May 2023, and its ESM coverage with Ubuntu Pro runs to May 2028. 20.04 left standard support in May 2025.
The server must also have at least one of ESM Infra or ESM Apps enabled. In practice that means the server is attached to Ubuntu Pro. Ubuntu Pro is free for personal use on up to 5 physical machines. The free tier is stated for physical machines, so check the Ubuntu Pro page for how a VPS counts. Do not assume a business server qualifies for the free tier. What attaching changes on a server is covered in Ubuntu Pro on a server, explained.
Run every command in this guide on your own server. Attaching needs your Ubuntu Pro account, so start there:
sudo pro attach
pro statussudo pro attach prints a link and a code. Open the link in a browser and enter the code to finish. By default it enables the recommended services. In Canonical's example output those are esm-apps, esm-infra and livepatch. After that, pro status should show esm-infra or esm-apps as enabled. If neither is enabled, the Edge requirement is not met, so enable one first with sudo pro enable esm-infra.
How to enable the Edge archive
Canonical's guide enables Edge in two steps. First, install the pro-edge package with APT, the same way you install any other package. Then run the enable command:
sudo pro-enable-edgeThis command configures the system with access to the Edge archive.
The default setup is cautious. The guide says the Edge archive "is configured with a lower priority than the Ubuntu or ESM archives", and that updates from it are not installed automatically. So a normal sudo apt upgrade does not put Edge builds on the server. An Edge build is installed only when you ask for its exact version.
Should you turn on automatic Edge updates?
The guide offers a second form of the enable command:
sudo pro-enable-edge --automatic-updatesWith this on, the guide says sudo apt upgrade installs updates from Edge. That applies to every package with an Edge build, not to one package you chose. On a production server this means every upgrade can bring in fixes that have not passed qualification. Leave it off unless the machine is a test box whose job is to try Edge builds.
Your normal security updates are a separate matter. Ubuntu Server turns on automatic installation of security updates right after installation, and unattended upgrades on Ubuntu explains how that works and how to check it. Updates from the -security pocket stay human-validated whether Edge is enabled or not.
Check whether an official fix already exists
Before you reach for Edge, check the qualified archives. pro fix with --dry-run shows which packages would be installed to fix a CVE, without installing anything. Replace CVE_ID with the real identifier, such as one from your scanner report:
pro fix CVE_ID --dry-runIf the dry run shows a fix from the Ubuntu or ESM archives, install that fix the normal way. You do not need Edge for this CVE. Whether pro fix looks at Edge builds is not documented, so do not read its output as a statement about Edge. For a wider scan of what is still open on the machine, see how to check your server for known CVEs.
List the fixes Edge offers
Refresh the package lists, then run the list command from Canonical's guide:
sudo apt update
apt list --upgradable '?origin(^Ubuntu.*Edge$)'The pattern selects packages whose origin name starts with Ubuntu and ends with Edge. The --upgradable option lists APT's upgrade candidates, not every available Edge fix. With Edge's default lower priority, an available Edge fix can be omitted entirely, and a displayed version can come from Ubuntu or ESM instead. Keep the single quotes, because the shell would otherwise try to read ?, ( and $ itself. The guide does not list which packages or CVEs have Edge builds, so check the package's apt policy version table for an Edge version even if this list command shows nothing.
On Ubuntu 18.04 this command is not expected to work. APT patterns such as ?origin() start with APT 2.0, and 18.04 ships APT 1.6. On 18.04, check one package at a time with apt policy, as shown in the next section.
See which archive a version came from with apt policy
apt policy shows how APT chooses a version for one package. Use it before and after every Edge install:
apt policy opensslThe output starts with an Installed: line and a Candidate: line. The candidate is the version APT would install on the next upgrade. Below them is a version table. Each version in the table lists the archives that offer it, each with a priority number. APT uses those priorities to choose the candidate. Because Edge has a lower priority than the Ubuntu and ESM archives, an Edge version can appear in the table without becoming the candidate. To see whether the running package is an Edge build, find the Installed: version in the table and read which archive it is listed against.
Before you install anything from Edge, save the version you have now:
dpkg-query -W -f='${Version}\n' opensslWrite that number down. You need it if you later want to go back.
Install one Edge fix by hand
The guide writes the install command as sudo apt install <PACKAGE>=<VERSION>. Replace <PACKAGE> with the package name and <VERSION> with the exact version listed against the Edge archive in that package's apt policy version table, and leave out the angle brackets.
Naming the exact version is what makes APT install the lower-priority Edge build. A fix in one source package can touch several binary packages, for example a library and the tools built from it. If APT reports unmet dependencies that name another package at the same version, add that package with the same version to the same command.
A fixed library protects a process only after the process loads the new library. From Ubuntu 24.04, needrestart restarts affected services automatically by default, so expect a short restart. On older releases, restart the service yourself, then confirm the result:
sudo systemctl restart SERVICE
apt policy PACKAGEThe Installed: line should now show the Edge version. Watch the service logs for a while after the restart. If the Edge build causes a problem, report it as a bug against the ubuntu-security-edge project on Launchpad, which Canonical set up to track bugs in Edge security updates.
How to turn off Edge and roll back a package
Canonical's guide and announcement give no steps for disabling Edge or rolling back a package. Check your installed pro-edge package for a disable script:
dpkg -L pro-edgedpkg -L lists every file the package installed. If the list includes pro-disable-edge, open that file with a pager such as less and read it before running it. Do not assume it rolls packages back. If the script disables the Edge archive, run the command and check the result:
sudo pro-disable-edge
sudo apt update
apt policy PACKAGEExpect an Edge build you already installed to stay installed. APT never downgrades a package on its own unless an available version has a priority of 1000 or higher. So unless you have set a pin that high, removing the Edge source should leave the Edge build in place, and apt policy shows you which version you have.
To go back by hand, install the version you saved earlier with the same command form, sudo apt install <PACKAGE>=<OLD_VERSION>, where <OLD_VERSION> is the number you wrote down.
The APT manual warns that selecting a version this way can downgrade packages and must be used with care. Remember that the old version still has the CVE you were trying to fix. A downgrade makes sense only when the Edge build broke the service and you have another way to reduce the risk.
The guide also does not describe how an installed Edge build hands over to the qualified fix when that fix is published. After the security or ESM update for the same CVE appears, run apt policy PACKAGE again. The Installed: version should be one listed against the Ubuntu security archive or the ESM archive. If it is still listed only against Edge, install the qualified version by name.
When an early fix is worth the risk
Livepatch may look like the safe alternative, but it does not cover this case. Livepatch addresses high and critical kernel vulnerabilities, and Canonical states that it does not patch userspace libraries like OpenSSL or glibc. Edge, in turn, has no kernel fixes. So for a userspace CVE the real choice is the Edge build now, or the qualified update later with a mitigation in place until it arrives.
An Edge build is a reasonable choice when all of these are true:
- The service is reachable from the internet, or from users you do not trust.
- The CVE is in a userspace package that the service loads, not in the kernel.
pro fixshows no qualified fix, and no mitigation exists, such as turning off the affected feature or closing the port.- You can test the Edge build on a copy of the server first, or you can accept a short outage if it fails.
Wait for the qualified update when any of these is true:
- The CVE is in the kernel. Edge does not help. Use Livepatch on a supported kernel for high and critical kernel CVEs, and still reboot, because Canonical says Livepatch "is not a replacement for rebooting". Live kernel patching on a VPS covers what it can and cannot do.
- The service is not exposed, or a firewall rule or config change removes the attack path.
- The server holds the only copy of something important, and you cannot test the build first.
- Your team or your customers require packages that went through Canonical's normal release process.
If you do install an Edge build, treat it as temporary. Keep a note of the package, the Edge version, the version it replaced and the CVE it fixes. Check apt policy each week until the qualified fix replaces it.
FAQ
Is the Ubuntu Edge archive safe to use on a production server?
Canonical calls Edge "an opt-in preview of fixes in development, not a change to our security policy". Edge packages are built and pass deterministic tests, but they have not passed Canonical's qualification, and only some are reviewed by a human. Leave Edge at its default low priority, never turn on --automatic-updates on production, and install a single fix with sudo apt install <PACKAGE>=<VERSION> only for an exposed service with no qualified fix and no other mitigation.
Does the Edge archive include kernel fixes?
No. Canonical states that kernel CVE fixes are not part of Surge, the pipeline that produces Edge packages. Kernel fixes follow Canonical's own kernel SRU cycle. Livepatch can cover high and critical kernel CVEs on supported kernels until you reboot, but it does not patch userspace libraries such as OpenSSL or glibc.
How do I turn off the Edge archive?
Canonical's Edge guide does not document a disable command. Check the installed files with dpkg -L pro-edge; if they include pro-disable-edge, read the script before running sudo pro-disable-edge. Do not expect it to downgrade packages: APT does not downgrade on its own, so an installed Edge build likely stays. Check with apt policy PACKAGE, and go back by hand with sudo apt install <PACKAGE>=<OLD_VERSION> if you must.
Can I use the Edge archive on Ubuntu 26.10 or 18.04?
Edge supports LTS releases from 18.04 to 26.04, and it is not currently available for interim releases such as 26.10. The server needs ESM Infra or ESM Apps enabled through Ubuntu Pro. On 18.04 the guide's apt list pattern command needs APT 2.0 or later, and 18.04 ships APT 1.6, so check each package with apt policy PACKAGE instead.