diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md
index 74d236d653c402ce77ad07d7177d7cb41158bd0b..586240b3a8fc7364f2b92a11ec23ebf4a91cd04d 100644
--- a/docs/usage/configuration-options.md
+++ b/docs/usage/configuration-options.md
@@ -1996,6 +1996,11 @@ It will be compiled using Handlebars and the regex `groups` result.
 It will be compiled using Handlebars and the regex `groups` result.
 It will default to the value of `depName` if left unconfigured/undefined.
 
+### currentValueTemplate
+
+If the `currentValue` for a dependency is not captured with a named group then it can be defined in config using this field.
+It will be compiled using Handlebars and the regex `groups` result.
+
 ### datasourceTemplate
 
 If the `datasource` for a dependency is not captured with a named group then it can be defined in config using this field.
diff --git a/lib/config/definitions.ts b/lib/config/definitions.ts
index 8cff7fab64a1b9ec79b31a1c8d02b7176f7edfe8..e76131de8a0778a423666f0bba4b65e125f9a97b 100644
--- a/lib/config/definitions.ts
+++ b/lib/config/definitions.ts
@@ -1929,6 +1929,15 @@ const options: RenovateOptions[] = [
     cli: false,
     env: false,
   },
+  {
+    name: 'currentValueTemplate',
+    description:
+      'Optional currentValue for extracted dependencies. Valid only within a `regexManagers` object.',
+    type: 'string',
+    parent: 'regexManagers',
+    cli: false,
+    env: false,
+  },
   {
     name: 'versioningTemplate',
     description:
diff --git a/lib/config/validation.ts b/lib/config/validation.ts
index 7c0a400bda4648cf29afd70c64a78f13c7ad2fdd..b331e7c29c1472aede24081167c2ca1224150e1a 100644
--- a/lib/config/validation.ts
+++ b/lib/config/validation.ts
@@ -387,6 +387,7 @@ export async function validateConfig(
                 'datasourceTemplate',
                 'versioningTemplate',
                 'registryUrlTemplate',
+                'currentValueTemplate',
               ];
               // TODO: fix types
               for (const regexManager of val as any[]) {