Varnish Release Notes
10 release notes curated from 1 source by the Releasebot Team. Last updated: Nov 2, 2026
- Sep 21, 2026
- Date parsed from source:Sep 21, 2026
- First seen by Releasebot:Nov 2, 2026
9.1.0
Varnish Cache ships a major update with security and HTTP handling fixes, new VCL and storage capabilities, faster request processing, and improved worker shutdown. It also updates build and testing workflows while refining tools, logging, and compatibility.
A workspace buffer overflow vulnerability was fixed in the [.upper()]{.title-ref} and [.lower()]{.title-ref} VCL string type methods. (VSV00020)
Varnish can now be built without the vtest2 git submodule and instead with an externally provided vtest program, as installed by running
DESTDIR=/prefix make installin the Vtest2 repository
https://code.vinyl-cache.org/vtest/VTest2
(#4398)The Varnish specific test commands [varnish]{.title-ref}, [logexpect]{.title-ref} and [vsm]{.title-ref} have been moved to a vtest extension.
For a build with the submodule, both a varnishtest program and vtest symlink continue to be built and installed as monolithic binaries which always include the extension.
For a build without the submodule (with an external vtest program), a varnishtest wrapper is built, which sets up the right command line arguments and calls vtest.
This is done to hopefully achieve a smooth transition, until we plan to eventually remove varnishtest and wholly replace it with
vtest -E libvtest_ext_varnish.so(or the equivalent for automake), which is what the varnishtest wrapper already calls.The following vtest feature tests have been moved to vcache_builtwith in the Varnish Cache VTest extension: 64bit, persistent_storage, coverage, asan, msan, tsan, ubsan, sanitizer, workspace_emulator and witness.
We added infrastructure to easily build VMODs for multiple Varnish Cache based projects. Besides changing how VMOD builds discover such projects and configure themselves appropriately, we also added the vcache command to the Varnish Cache VTest extension. (#4537)
With the same goal, cache/cache_vinyld.h has been renamed to cache/cache_int.h.
See Supporting multiple Varnish Cache based projects for details on how to migrate.
We also fixed the maxmimum version check in the VCACHE_REQUIRE macro from inclusive to exclusive, matching VARNISH_PREREQ's original documented behavior. So VCACHE_REQUIRE([varnish], [9.0.0], [9.1.0]) no longer implements "9.0.x OR 9.1.0" but rather "9.0.x".
The varnish-legacy.m4 macro collection for VMOD builds has been removed. VMODs should migrate to using the macros from varnish.m4.
The argument to std.rollback() is now obsolete and ignored, the appropriate headers to be rolled back are now inferred from the call site. This also fixes a panic when resp or beresp was passed. (4566)
HTTP/1 message framing checks have been tightened (4581):
- Backend responses with invalid body framing now fail the fetch.
- Multiple Transfer-Encoding fields are now considered as a whole, such that duplicate chunked codings are refused.
- Multiple Content-Length fields and values are now accepted if they all agree (leading zeroes are tolerated) and consolidated into a single canonical header, any disagreement is refused.
- Transfer-Encoding on an HTTP/1.0 request is now refused. For HTTP/1.0 backend responses, the new vcl_beresp_http10 built-in subroutine abandons the fetch, which VCL can override.
- The backend connection is now closed when the range check of a response fails, to avoid reusing a connection with an unread body.
- An existing, correct Connection response header is no longer overwritten when closing: other tokens are preserved and close or keep-alive are added as needed. If a Connection was not present, or was incorrect, we create a new, correct one. (4498)
Worker pool shutdown has been reworked: Acceptor tasks and waiters now terminate promptly, dying pools no longer starve queued tasks and worker threads are waited for before a pool is dismantled. The worker process now ignores SIGUSR1, which is used internally to interrupt blocking accept(2) calls. (4538).
A previous fix regarding false/true defaults for VMOD function BOOL arguments was incomplete and has been corrected. (4452)
VCC now refuses empty quoted header names as in req.http."", which could previously result in a C compiler error. (4577)
HttpGarbage log records now contain the offending data rather than just the request method.
HTTP header parsing now only accepts SP and TAB as optional white space. (4583)
In the Varnish Cache VTest extension, the log output of SLT_F_UNSAFE log records has been changed to escape unprintable characters as
\xFF, FF being the hexadecimal representation of the respective character.A simple perl script tools/vtclog2logexp.sh has been added to help create logexp commands for vtest from its output.
HTTP/1 messages rejected for invalid body framing now get a BogoHeader log record naming the offending field.
std.collect_all() has been added to combine all multiple headers of req, resp, bereq or beresp according to the HTTP RFCs: Set-Cookie is not combined, Cookie is combined with "; " and all other headers with ", ".
Header combining by std.collect() is now visible in the log.
The req0.method, req0.url, req0.proto and req0.http.* variables have been added for read access to the request almost exactly as it was originally received. In vrt.h, struct vrt_ctx gained the http_req0 member and enum gethdr_e gained HDR_REQ0.
The lock witness facility is now disabled at compile time by default and needs to be enabled with the --enable-witness configure option. (4574).
Note that even if enabled at compile time, it still also needs to be activated at runtime using param.set debug +witness as before.
The LBODY_SET and LBODY_ADD compatibility defines and the struct VCL_conf and struct VSC_main declarations have been removed from vrt.h. struct vmod_data has moved to vmod_abi.h.
The vtc VMOD gained the functions storage_revert(), storage_full(), storage_lessspace(), storage_maxspace(), and storage_frag() to simulate error conditions and allocation behavior of storage engines.
The debug storage engine lost all parameters except dinit and dopen, as these are replaced by the above now.
Likewise, the debug.fragfetch helper parameter has been removed, vtc.storage_frag() fills its place.
Fixed a manager abort when the worker process failed to cool a VCL being discarded, which also prevented auto_restart from taking effect. (4563)
Fixed a VCC bug where include of a BLOB literal file could fail with a spurious "Missing colon" error.
VTIM_format() no longer uses gmtime_r(), which improves performance.
std.strftime() now errors out it given a NULL format string. (4551)
math.strfromd(): format strings cannot contain extra data after the formatter. (4547)
blob.sub() now properly errors out if given a negative offset or size. (4549)
Malformed lines in the VSM _.index file are now reported with a meaningful diagnostic instead of a bare assertion failure in VSM readers like varnishstat and varnishlog. (4569)
Fixed a panic when a delivery processor (VDP) failed to initialize before allocating the private pointer. This changes the VDP api in that a VDP that returns non-zero from its .init() callback will no longer see its .fini() method called, which implies that all failure scenarios during .init() must clean up any allocated data before returning. (4539)
Fixed a bug causing std.fileread() to panic when pointed at a 0-length file. (4557)
blob.transcode() now limits its stack usage by decoding large inputs piecemeal, avoiding a potential stack overflow.
Fixed a potential buffer over-read when parsing HTTP dates. (4554)
PROXY v2 parsing now validates the length of the CRC32C TLV, avoiding an out-of-bounds read. (4560)
Fixed a bug in the poll waiter which could delay handling of events whose deadline had already passed. (4561)
The obj.hfm, obj.hfp, and obj.uncacheable ban variables have been added to allow banning hit-for-miss and hit-for-pass and uncachable (both) objects. (4532)
Range processing is now only applied to GET requests as mandated by RFC 9110, and the builtin VCL removes the Range header from other requests. (4533)
varnishd -x parameter-json has been added to output the parameter documentation in JSON format. (4378)
Setting req.max_age = 0s now forces a cache miss with request coalescing, where it previously had no effect. (4041)
The HTTP QUERY method has been added to the well known request methods and is passed by default in the builtin VCL. (4531)
Fetching of HTTP/1.1 chunked bodies has been optimized: Chunked body fetches now use readahead instead of the previous single byte read operations which were wasteful and inefficient. (4508)
varnishadm now only uses libedit if both stdin and stdout are terminals.
varnishd now checks for an already running instance before modifying the working directory. -C should not be used together with -n, see varnishd(1){.interpreted-text role="ref"}.
varnishtest gained the VTEST_VARNISH_VCL_PREPEND environment variable to inject VCL code into all VCL loaded by varnish instances.
std.getenv() gained an optional fallback argument which is returned if the environment variable is not set. (4527)
Fixed the alphabet of the built-in base64 encoder used when converting BLOBs to strings. (4522)
The esi_ignore_https, esi_disable_xml_check, esi_ignore_other_elements and esi_remove_bom feature flags can now be overridden per response with the new beresp.esi_ignore_https, beresp.esi_disable_xml_check, beresp.esi_ignore_other_elements and beresp.esi_remove_bom variables. (4518)
Object references are now retained until the end of a client task, such that object attributes accessed from VCL remain valid across restarts without being copied to the workspace. Consequently, max_restarts and max_retries gained upper limits of 32766 and 65534, respectively. (4269)
The new resp.esi_include_onerror variable allows to override the esi_include_onerror feature flag in vcl_deliver {}. (4054)
Starting sub-processes has become faster on systems with a high file descriptor limit by only closing file descriptors which are actually open. (3891)
Counters for backend connection closes have been added: MAIN.backend_closed, MAIN.backend_closed_err and the MAIN.bc_* close reason counters that are a subset of sc_* session counters, as well as the equivalent per-backend VBE..closed, VBE..closed_err and close reason counters. (4337)
Improved support for delivery processors (VDPs) changing the length of a request body: Content-Length is rewritten or removed and chunked encoding is used as required.
The range VDP now removes any existing Content-Range header to avoid duplicates.
The Tstrcmp() macro has been removed from vdef.h, Tstreq() is to be used for equality checks.
A deficiency in HTTP/2 request parsing has been fixed by properly comparing pseudo-header names instead of doing a prefix match. (VSV00019)
A new synth storage engine has been added, which avoids copying data for synthetic response bodies by referencing the constituents directly. It is used by default as the Synth storage. (4365)
When the worker process terminates, varnishd now reports resource usage in the Child dies usr=%f sys=%f message, usr and sys being the "user" and "system" time used as reported by getrusage().
The synthetic() VCL action has been removed. Since Varnish Cache 5.0.0, body data can be created by setting beresp.body in vcl_backend_error {} and by setting resp.body in vcl_synth {}, and these continue to be available as the one way to create body data, as in these examples:
set resp.body = "string" + " more strings"; set resp.body += " appending even " + "more strings"; set resp.body = :blob:; set resp.body += :blobappend:;These examples equally work on beresp.body in vcl_backend_error {}.
The direct replacement for synthetic(<string>); is set resp.body += <string>; in vcl_synth {} and set beresp.body += <string>; in vcl_backend_error {}.
The only difference in behavior is that synthetic(<nullstring>) would create the string (null) for <nullstring> being a NULL pointer internally, while set resp.body = <nullstring> creates the empty string "" and set resp.body += <nullstring> is a NOOP. (4503)
The functions VRT_synth_strands(), VRT_synth_blob(), VRT_synth_page() and VRT_Stv() have been removed from the runtime.
Handling of Connection: close has been made more consistent if the Connection header also contains other tokens. (4495)
The -x workdir option has been added to varnishadm to print the default work directory and exit. This is useful for tools that need to discover the VSM location in most setups. (4494)
Worker pools are now shut down during a worker process stop as initiated by varnishadm stop. This improves shutdown speed by releasing VCL references earlier.
The behavior now matches that with the drop_pools experimental parameter set, which has been removed.
storage.Synth, as configured through the -sSynth=... varnishd startup parameter is now the default resp.storage used for synthetic responses created in vcl_synth{}.
(4492)
varnish{log,ncsa,hist,top} all gained the -0 dry-run argument that allows validating command line arguments before running them for real. (4493)
A new resp.storage VCL variable available from vcl_synth{} was added to select which storage the synth response body gets created on. (4358)
STV_BanExport() no longer holds the ban_mtx (3853)
Failed objects no longer get added to LRU. (4428)
IPv4 compatible and IPv4 mapped IPv6 addresses now get rewritten to IPv4 addresses, which is relevant for ACL matches in particular. (4474)
make install now honours DESTDIR when creating VARNISH_STATE_DIR. (4512)
During build, the new configure option --with-statedir now allows to set the VARNISH_STATE_DIR directly, which is the default for VARNISH_DEFAULT_N, which, in turn, is the default for the -n argument to varnishd and varnish{log,ncsa,hist,top}. (4483)
The default for VARNISH_STATE_DIR has been changed back to ${localstatedir}/varnish. (4483)
tls.cert.list -j no longer returns an empty body with a 200 status when the child process is not running; it now returns an empty JSON array ([]).
Original source - Sep 16, 2026
- Date parsed from source:Sep 16, 2026
- First seen by Releasebot:Nov 2, 2026
9.0.4
Varnish Cache fixes a VCL string-method workspace overflow that could trigger remote denial of service, while tightening HTTP/1 message framing checks and improving backend response handling.
VSV20: VCL string methods workspace overflow
A workspace buffer overflow vulnerability was found in the .upper() and .lower() string type methods of VCL.
This can be used as a remote denial of service (DoS) vector to make the child process segfault or assert, and then restart.
Effectively exploiting this vulnerability requires prior knowledge about the VCL in use and the ability to craft a request that contains a string that is long enough to fill the remaining workspace at the call site while staying under the different request size limits (http_req_size, http_req_hdr_len, ..etc).
We recommend to upgrade to a version which is not affected, or, if not possible, to replace the .upper() and .lower() VCL type method calls by their respective vmod_std counterparts: std.toupper() and std.tolower().
Acknowledgements and credits
We thank Tristan Madani (Talence Security), for responsibly reporting this issue.
Other changes included in this release
HTTP/1 message framing checks have been tightened:
- Backend responses with invalid body framing now fail the fetch.
- Multiple Transfer-Encoding fields are now considered as a whole, such that duplicate chunked codings are refused.
- Multiple Content-Length fields and values are now accepted if they all agree (leading zeroes are tolerated) and consolidated into a single canonical header, any disagreement is refused.
- Transfer-Encoding on an HTTP/1.0 request is now refused. For HTTP/1.0 backend responses, the new vcl_beresp_http10 built-in subroutine abandons the fetch, which VCL can override.
- The backend connection is now closed when the range check of a response fails, to avoid reusing a connection with an unread body.
- An existing, correct Connection response header is no longer overwritten when closing: other tokens are preserved and close or keep-alive are added as needed. If a Connection was not present, or was incorrect, we create a new, correct one.
All of your release notes in one feed
Join Releasebot and get updates from Varnish and hundreds of other software products.
- May 18, 2026
- Date parsed from source:May 18, 2026
- First seen by Releasebot:Nov 2, 2026
9.0.3
Varnish Cache addresses an HTTP/2 request parsing vulnerability that could enable request smuggling, cache poisoning, or authentication bypass. The advisory recommends upgrading to an unaffected version or disabling HTTP/2, and provides a VCL mitigation for enabled deployments.
A deficiency in HTTP/2 request parsing can be exploited to launch a backend request desync attack (request smuggling), which in turn can be used for cache poisoning, authentication bypass or possibly even information disclosure and manipulation.
The attack vector only exists if HTTP/2 support is enabled by setting the feature parameter to contain +http2. HTTP/2 support is disabled by default.
We recommend to upgrade to a version which is not affected, to disable HTTP/2 support or to mitigate the issue in VCL, as detailed below.
Mitigation Options
Several options to mitigate this issue exist. The safest is disabling HTTP/2.
Disable HTTP/2
The vulnerability can only be exploited if HTTP/2 support is enabled. Where it is, it can be disabled:
- at runtime by issuing
varnishadm param.set feature -http2 - persistently by removing
-p feature=+http2from the varnishd startup parameters
In VCL, close desync
This method requires no additional VMODs, but needs inline-C to be enabled:
- at runtime by issuing
varnishadm param.set vcc_feature +allow_inline_c - persistently by adding
-p vcc_feature=+allow_inline_cto the varnishd startup parameters
This method works by combining two techniques:
- rendering a smuggled request invalid
- avoiding backend connection reuse.
Besides enabling inline-C, the following snippet needs to be added at the top of the custom VCL:
## BEGIN vsv19 mitigation # sub recv_vsv19 { unset req.http.vsv19; if (req.proto != "HTTP/2.0") { return; } set req.http.vsv19 = "1"; if (req.http.content-length) {C{ VRT_SetHdr(ctx, &VGC_HDR_REQ_content_2d_length, 0, TOSTRAND(VRT_GetHdr(ctx, &VGC_HDR_REQ_content_2d_length))); }C} } sub vcl_recv { call recv_vsv19; } sub vcl_backend_fetch { if (bereq.http.vsv19) { set bereq.http.Connection = "close"; } } # ## END vsv19 mitigationIn addition, care must be taken that bereq.http.Connection is not unset anywhere else in the custom VCL.
Acknowledgements and credits
We thank Lam Jun Rong of Calif.io, who used Anthropic Research’s tool “Claude”, for reporting this issue.
For the Vinyl Cache project, the issue has been handled by Nils Goroll of UPLEX. The merged fix is a slight variation of the proposed fix by Lam Jun Rong, which had already been found independently by Dridi Boukelmoune of Varnish Software.
Original source - May 18, 2026
- Date parsed from source:May 18, 2026
- First seen by Releasebot:Nov 2, 2026
8.0.2
Varnish Cache addresses an HTTP/2 request parsing flaw that could enable request smuggling and cache poisoning. The advisory recommends upgrading to an unaffected version, disabling HTTP/2, or applying a VCL mitigation.
A deficiency in HTTP/2 request parsing can be exploited to launch a backend request desync attack (request smuggling), which in turn can be used for cache poisoning, authentication bypass or possibly even information disclosure and manipulation.
The attack vector only exists if HTTP/2 support is enabled by setting the feature parameter to contain +http2. HTTP/2 support is disabled by default.
We recommend to upgrade to a version which is not affected, to disable HTTP/2 support or to mitigate the issue in VCL, as detailed below.
Mitigation Options
Several options to mitigate this issue exist. The safest is disabling HTTP/2.
Disable HTTP/2
The vulnerability can only be exploited if HTTP/2 support is enabled. Where it is, it can be disabled:
- at runtime by issuing
varnishadm param.set feature -http2 - persistently by removing
-p feature=+http2from the varnishd startup parameters
In VCL, close desync
This method requires no additional VMODs, but needs inline-C to be enabled:
- at runtime by issuing
varnishadm param.set vcc_feature +allow_inline_c - persistently by adding
-p vcc_feature=+allow_inline_cto the varnishd startup parameters
This method works by combining two techniques:
- rendering a smuggled request invalid
- avoiding backend connection reuse.
Besides enabling inline-C, the following snippet needs to be added at the top of the custom VCL:
## BEGIN vsv19 mitigation # sub recv_vsv19 { unset req.http.vsv19; if (req.proto != "HTTP/2.0") { return; } set req.http.vsv19 = "1"; if (req.http.content-length) {C{ VRT_SetHdr(ctx, &VGC_HDR_REQ_content_2d_length, 0, TOSTRAND(VRT_GetHdr(ctx, &VGC_HDR_REQ_content_2d_length))); }C} } sub vcl_recv { call recv_vsv19; } sub vcl_backend_fetch { if (bereq.http.vsv19) { set bereq.http.Connection = "close"; } } # ## END vsv19 mitigationIn addition, care must be taken that bereq.http.Connection is not unset anywhere else in the custom VCL.
Acknowledgements and credits
We thank Lam Jun Rong of Calif.io, who used Anthropic Research’s tool “Claude”, for reporting this issue.
For the Vinyl Cache project, the issue has been handled by Nils Goroll of UPLEX. The merged fix is a slight variation of the proposed fix by Lam Jun Rong, which had already been found independently by Dridi Boukelmoune of Varnish Software.
Original source - May 18, 2026
- Date parsed from source:May 18, 2026
- First seen by Releasebot:Nov 2, 2026
6.0.18
Varnish Cache addresses an HTTP/2 request-parsing flaw that could enable request smuggling, cache poisoning and authentication bypass. The advisory recommends upgrading, disabling HTTP/2 or applying a VCL mitigation.
A deficiency in HTTP/2 request parsing can be exploited to launch a backend request desync attack (request smuggling), which in turn can be used for cache poisoning, authentication bypass or possibly even information disclosure and manipulation.
The attack vector only exists if HTTP/2 support is enabled by setting the feature parameter to contain +http2. HTTP/2 support is disabled by default.
We recommend to upgrade to a version which is not affected, to disable HTTP/2 support or to mitigate the issue in VCL, as detailed below.
Mitigation Options
Several options to mitigate this issue exist. The safest is disabling HTTP/2.
Disable HTTP/2
The vulnerability can only be exploited if HTTP/2 support is enabled. Where it is, it can be disabled
- at runtime by issuing
varnishadm param.set feature -http2 - persistently by removing
-p feature=+http2from thevarnishdstartup parameters
In VCL, close desync
This method requires no additional VMODs, but needs inline-C to be enabled:
- at runtime by issuing
varnishadm param.set vcc_feature +allow_inline_c - persistently by adding
-p vcc_feature=+allow_inline_cto thevarnishdstartup parameters
This method works by combining two techniques:
- rendering a smuggled request invalid
- avoiding backend connection reuse.
Besides enabling inline-C, the following snippet needs to be added at the top of the custom VCL:
## BEGIN vsv19 mitigation # sub recv_vsv19 { unset req.http.vsv19; if (req.proto != "HTTP/2.0") { return; } set req.http.vsv19 = "1"; if (req.http.content-length) {C{ VRT_SetHdr(ctx, &VGC_HDR_REQ_content_2d_length, 0, TOSTRAND(VRT_GetHdr(ctx, &VGC_HDR_REQ_content_2d_length))); }C} } sub vcl_recv { call recv_vsv19; } sub vcl_backend_fetch { if (bereq.http.vsv19) { set bereq.http.Connection = "close"; } } # ## END vsv19 mitigationIn addition, care must be taken that bereq.http.Connection is not unset anywhere else in the custom VCL.
Acknowledgements and credits
We thank Lam Jun Rong of Calif.io, who used Anthropic Research’s tool “Claude”, for reporting this issue.
For the Vinyl Cache project, the issue has been handled by Nils Goroll of UPLEX. The merged fix is a slight variation of the proposed fix by Lam Jun Rong, which had already been found independently by Dridi Boukelmoune of Varnish Software.
Original source Similar to Varnish with recent updates:
- Smokeball release notes149 release notes · Latest Nov 11, 2026
- Cosmolex release notes20 release notes · Latest Jul 30, 2025
- PracticePanther release notes37 release notes · Latest Oct 27, 2026
- Salesforce release notes105 release notes · Latest Nov 1, 2026
- Microsoft release notes1238 release notes · Latest Nov 30, 2026
- Zoom release notes230 release notes · Latest Nov 26, 2026
- May 13, 2026
- Date parsed from source:May 13, 2026
- First seen by Releasebot:Nov 2, 2026
9.0.2
Varnish Cache stabilizes tests, fixes documentation, and clarifies varnishd’s TLS usage with the -A option.
Stabilize multiple tests.
Documentation fixes.
Update varnishd usage to advertise -A for TLS.
Original source - Apr 9, 2026
- Date parsed from source:Apr 9, 2026
- First seen by Releasebot:Nov 2, 2026
9.0.1
Varnish Cache releases a security update addressing two denial-of-service vulnerabilities tied to HTTP/1 and HTTP/2 session pipelining, including an HTTP/1 workspace overflow that could crash the server.
This is a security release fixing two Denial of Service vulnerabilities related to session pipelining for HTTP/1 and HTTP/2 sessions.
Workspace overflow in HTTP/1 lingering sessions
A malicious client could send an HTTP/1 request, wait long enough until the session releases its worker thread (timeout_linger) and resume traffic before the session is closed (timeout_idle) sending more than one request at once to trigger a pipelining operation between requests.
This vulnerability affecting Varnish Cache 9.0.0 emerged from a port of the Varnish Enterprise non-blocking architecture for HTTP/2. New code was needed to adapt to a more recent workspace API that formalizes the pipelining operation. In addition to the workspace change on the Varnish Cache side, other differences created merge conflicts, like partial support for trailers in Varnish Enterprise.
The conflict resolution missed one code path configuring pipelining to perform a complete workspace rollback, losing the guarantee that prefetched data would fit inside workspace_client during the transition from one request to the next.
This can result in a workspace overflow, triggering a panic and crashing the Varnish server.
Workspace overflow in HTTP/2 sessions
Please refer to the public advisory for Varnish Enterprise.
https://docs.varnish-software.com/security/VEV00002/
Original source - Mar 17, 2026
- Date parsed from source:Mar 17, 2026
- First seen by Releasebot:Nov 2, 2026
9.0.0
Varnish Cache releases updates that improve HTTP request handling, add TLS support and structured JSON logging, and expand VCL with new math and backend controls. The release also brings API improvements and fixes for compilation, logging, and cache revalidation.
The handling of HTTP/1.1 requests to an "absolute form" URI has been fixed to also cover the case where the absolute form has an empty path component:
Previously, a request with an empty path like GET http://example.com HTTP/1.1 would cause req.url to contain http://example.com and the Host: header to remain unchanged. This has now been fixed:
- req.url gets set to * if the request method is OPTIONS and to / otherwise
- The Host: header gets set to example.com.
For an empty path with query parameters like http://example.com?/foo, req.url gets normalized by addition of the leading slash. For the example, req.url would contain /?/foo.
(VSV18)
- varnishlog-json has been added to produce structured JSON logs.
- TLS is now supported via varnishd -A FILE with FILE beting the path of a hitch-like configuration file. It's also possible to use varnishd -a :443,https and to use varnishdadm tls.* to dynamically configure the certificates.
- For requests to an absolute form URI, the host field is now required. Requests without a host field are rejected with a Status 400 error.
- The built-in VCL has been changed to require req.url to start with /, unless the request method is CONNECT or OPTIONS. For CONNECT, no additional check is applied, but CONNECT is not allowed by default. For OPTIONS, * is also allowed.
- The ReqTarget Vinyl Shared Log (VSL) Tag has been added to log the original request target before any handling of absolute form URIs. To preserve the existing log format and ordering, the tag is marked by default. It can be unmasked by adding +ReqTarget to the vsl_mask parameter.
- The MAIN.http1_absolute_form counter has been added to track the number of times an HTTP/1.1 request with an absolute form request target has been handled.
- The https_scheme parameter is now enabled by default to process https:// absolute form URLs by default.
- The VCL variable beresp.storage_hint no longer exists.
- The VAI interface gained:
- the IOV_NIL macro to return leases once delivery has reached a certain point,
- the viov_take() function to transfer ownership of byte ranges from one viov to another and
- ObjVAInotify() / VDPIO_Notify() to allow filters to return -EAGAIN and notify for delivery resumption at a later point.
- VSL_Setup() has been replaced with VSL_Init() to initialize caller-provided space as a vsl buffer and VSL_Alloc() to allocate the default vsl_buffer on the heap.
- VSL_Free() has been added to free the memory allocated by VSL_Alloc().
- tools/coccinelle/vsl_setup_retire.cocci can be used to partially automate the transition (it does not add VSL_Free()).
- Added vmod math.
- Fixed a bug in VCC where using false/true as a value for VCL_BOOL would result in a C-compiler error under certain platforms. (4452)
- Request methods are now represented as a bitmap in struct http, which allows turning method evaluations as simple bitwise operations instead of string comparisons. (4438)
- For requests having no request body, Content-length header will now only be unset when the request method is one of: GET, HEAD, DELETE, OPTIONS, TRACE. Otherwise, a Content-length with value 0 will be set. (4340)
- Added vmod math. (4422)
This adds all mathematical functions, macros and constants from math.h like sqrt() , exp(), pow() or log() (just to name a few prominent ones) as well as:
math.approx() implementing a notion of "approximately equal"
math.strfromd() for REAL formatting without the limitations of the built-in formatter
vmod_std has a new .rfc_ttl() to re-calculate the object timers (beresp.ttl, beresp.grace and beresp.keep) based on the current state of beresp as if it had been processed by core code before vcl_backend_response was called. This does not change beresp.uncacheable (4427)
VEXTs can now be loaded by specifying their basename as -E<name>. When is not a path (does not contain /), a search in vmod_path is conducted for libvmod_<name>.so. (4419)
The new unused VCL keyword has been added to mark symbols as intentionally unused, which prevents errors about them being unused during VCL compilation. This gives finer grained control compared to the -err_unref VCC feature, which disables the error globally for all symbols. (4421)
Improved VCL comparison for probes, backends and ACLs that could lead to C-compiler errors in the past. (4418)
Fixed probes comparison in VCC which used to wrongly convert operands to string before performing the comparison. (4417)
Receiving SIGTERM in the management process is no longer logged as an error, but rather as an INFO log record. (4409)
The BackendOpen VSL tag now also logs Connection age and Connection reuses when relevant. These can be useful when trubleshooting idle timeout from the backend. (4007)
Fixed a VCC bug where VCL would refuse to compile when a probe was never referenced, even when 'vcc_feature=-err_unref' was set. (4415)
A new bereq.retry_connect variable was added to VCL to control whether varnishd will make a second attempt to connect to the backend if a first connection reuse attempt failed. This can be useful to prevent undesired retries of potentially non-idempotent requests. Setting this to false means that no retries will be made. However, setting it to true does not guarantee that a retry will always be attempted, as there are other factors involved in the decision (e.g. a request body not being cached). This parameter only affects automatic retries triggered by connection reuse failures and does not affect VCL retries. (4416)
The ACL's +fold feature can now be followed with an optional (-report) to not output folding-related warnings during VCL compilation.
Fixed a VCC bug where a number expressed in scientific notation could trigger an assertion failure.
Fixed data race between BOC state and objcore flags that could result in a panic under certain conditions. (4402)
The response reason when the stale object is not a valid object for refresh has been made more descriptive to make it easier to differentiate between the failure cases in the logs. (4399)
A conditional GET for object revalidation is now demoted to a regular fetch if the stale object being revalidated gets invalidated (e.g. by a ban or purge) while the backend request is in progress. This also applies to retries. (4399)
req.ttl has been renamed to req.max_age for clarity, with req.ttl being retained as an alias. req.ttl is now deprecated, but no warning is emitted yet. It will be removed in a future version of Varnish-Cache. (4389)
- Mar 16, 2026
- Date parsed from source:Mar 16, 2026
- First seen by Releasebot:Nov 2, 2026
8.0.1
Varnish Cache fixes HTTP/1.1 absolute-form request handling, including empty paths and missing Host headers, and adds request-target logging and a handling counter. HTTPS absolute-form URLs are now enabled by default.
The handling of HTTP/1.1 requests to an "absolute form" URI has been fixed to also cover the case where the absolute form has an empty path component:
Previously, a request with an empty path like
GET http://example.com HTTP/1.1would causereq.urlto containhttp://example.comand theHost:header to remain unchanged. This has now been fixed:req.urlgets set to*if the request method is OPTIONS and to/otherwise- The
Host:header gets set toexample.com.
VSV18
For requests to an absolute form URI, the host field is now required. Requests without a host field are rejected with a Status 400 error.
The built-in VCL has been changed to require
req.urlto start with/, unless the request method is CONNECT or OPTIONS. For CONNECT, no additional check is applied, but CONNECT is not allowed by default. For OPTIONS,*is also allowed.The ReqTarget Vinyl Shared Log (VSL) Tag has been added to log the original request target before any handling of absolute form URIs. To preserve the existing log format and ordering, the tag is marked by default. It can be unmasked by adding
+ReqTargetto thevsl_maskparameter.The MAIN.http1_absolute_form counter has been added to track the number of times an HTTP/1.1 request with an absolute form request target has been handled.
The https_scheme parameter is now enabled by default to process
Original sourcehttps://absolute form URLs by default. - Mar 16, 2026
- Date parsed from source:Mar 16, 2026
- First seen by Releasebot:Nov 2, 2026
6.0.17
Varnish Cache fixes handling of HTTP/1.1 absolute-form requests with empty paths, validates required host fields, and updates built-in VCL checks. It also adds request-target logging and a usage counter, with HTTPS absolute-form URLs enabled by default.
The handling of HTTP/1.1 requests to an "absolute form" URI has been fixed to also cover the case where the absolute form has an empty path component:
Previously, a request with an empty path like
GET http://example.com HTTP/1.1would causereq.urlto containhttp://example.comand theHost:header to remain unchanged. This has now been fixed:req.urlgets set to*if the request method is OPTIONS and to/otherwise- The
Host:header gets set toexample.com.
VSV18
For requests to an absolute form URI, the host field is now required. Requests without a host field are rejected with a Status 400 error.
The built-in VCL has been changed to require
req.urlto start with/, unless the request method is CONNECT or OPTIONS. For CONNECT, no additional check is applied, but CONNECT is not allowed by default. For OPTIONS,*is also allowed.The ReqTarget Vinyl Shared Log (VSL) Tag has been added to log the original request target before any handling of absolute form URIs. To preserve the existing log format and ordering, the tag is marked by default. It can be unmasked by adding
+ReqTargetto thevsl_maskparameter.The
MAIN.http1_absolute_formcounter has been added to track the number of times an HTTP/1.1 request with an absolute form request target has been handled.The
Original sourcehttps_schemeparameter is now enabled by default to processhttps://absolute form URLs by default.
This is the end. You've seen all the release notes in this feed!
Curated by the Releasebot team
Releasebot is an aggregator of official release notes from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.